html,body {
    height:100%;
    margin:0;
    padding:0;
    overflow: hidden;
}
#wrapper {
    position:relative;
    display: table;
    width: 100%;
    height: 100%;
    background-image: url(../img/bg.jpg);
	background-size: cover;
	background-repeat: no-repeat;
}

.parent {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
}
.parent > .child {
    display: table-cell;
    vertical-align: middle;
    font-size: 100px;
}

h4{
	font-size: 150%;
	padding-right: 20px;
	margin-bottom: 20px;
}

p{
	font-size: 140%!important;
	padding-right: 20px;
}

#top{
	padding:20px;
	width: 40%;
	position: fixed;
	top: 11%;
    right: 5%;
    text-align:end; 
}

#bottom{
	display: none!important;
}

#time{
	line-height: 60px;
	font-size: 40px;
    font-weight: bold;
}

#cards-container {
    display: table-cell;
    vertical-align: middle;
    width: 100%;
	padding-top: 200px;
}

.card {
    width: 79% !important;
    height: 228px;
    border: 0 !important;
    margin-top: 10px;
    border-radius: 50px !important;
    margin-right: 5%;
    margin-left: auto;
    background-color: rgba(255,255,255,0.8);
}

.card > .image {
    display: table;
    width: 30%;
    height: 228px;
    float: left;
}

.image > div {
    display: table-cell;
    vertical-align: middle;
    background-position: center;
    background-size: contain;
    border-radius: 50px 0 0 50px;
}

.card img {
    width: 100%;
    max-height: 228px;
}

.card > .body {
    margin-left: 32%;
    padding: 5px 20px 5px 5px;
}

.card .card-text {
    font-size: 1.1em;
}

@media (max-width: 1680px) {
	.card > .image {width: 34.5%;}
	.card > .body {margin-left: 36%;}
}

@media (max-width: 1360px) {
	.card > .image {width: 42%;}
	.card > .body {margin-left: 44%;}
	h4{font-size: 140%;}
	p{font-size: 130%!important;}
	#top{width: 45%; top: 55px;}
	#time{font-size: 35px; line-height: 45px;}
	#cards-container{padding-top: 90px;}
}

@media (max-width: 1280px) {
	h4{font-size: 135%;}
	p{font-size: 120%!important;}
	.card > .image {width: 45%;}
	.card > .body {margin-left: 47%;}
	#top{top: 40px;font-size: initial!important; padding: 10px;}
	#time{font-size: 26px!important;line-height: 40px;}
}

@media (max-width: 1050px) {
    .card-title {
        font-size: 1em;
    }

    .card-text {
        font-size: 0.7em;
    }
}

@media (max-width: 770px) {
    #top {
        font-size: 25px;
    }

    .card-text {
        display: none;
    }
}

@media (max-width: 450px) {
    .card > .image {
        display: block;
        width: 100%;
        height: auto;
    }
    .card > .body {
        margin-left: 0;
    }
}

@media (max-width: 250px) {
    #top {
        display: none;
    }

    #bottom {
        display: none;
    }
}

@media (max-height: 410px) {
    #top {
        display: none;
    }

    #bottom {
        display: none;
    }
}

@media (max-width: 300px), (max-height: 290px) {
    .card {
        height: auto;
    }

    .card > .image {
        display: none;
    }

    .card > .body {
        margin-left: 0;
    }
}

@media (min-width: 576px) {
    .col-sm {
        -webkit-flex-basis: 0;
        -webkit-flex-grow: 1;
    }
}