body {
  	font-size: 1.6rem;
  	font-family: "Montserrat", sans-serif!important;
	color: #ffffff;
  	margin: 0;
	width: 100vw;
	height: 100vh;
	background-image: url(../img/bg2.jpg);
	background-position:center;
	background-size: cover;
	background-repeat: no-repeat;
}

#wrapper {
    position: relative;
    width: 100%;
    display: table;
}

#top, #bottom {
    left: 0;
}

#top{
    background-color: inherit!important;
    font-size: 45px;
    height: 55%;
    top: 10%;
    width: 90%;
    position: fixed;
    border-radius: 5px 5px 0 0;
    background-image: url(../img/bg.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    left: 50%;
    -webkit-transform: translate(-50%,0%);
		transform: translate(-50%,0%);
}

#bottom{display: none!important;}

#middle {
	position: fixed;
    width: 100%;
    height: 25%;
    display: table-cell;
    vertical-align: middle;
    padding: 0;
    background-color: inherit!important;
    top: 65%;
}

#cards-container {
    display: table;
    width: 90%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	border-radius: 0 0 5px 5px;
	position: absolute;
	top: 50%;
	left: 50%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

.card {
    display: table-cell;
	height: 100%;
}

#cards-container .card:nth-child(1){
	position: fixed;
	top: -600px;
	width: 100%;
	height: 250px;
}

#cards-container .card:nth-child(1) h4{
	display: none;
}

#cards-container .card:nth-child(1) .round{
	text-align: center;
	position: absolute;
	top: 240px;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	width: 250px;
	height: 250px;
	font-weight: 300;
	background-color: rgba(0,0,0,0.6);
	border-radius: 500px;
}

#cards-container .card:nth-child(1) .round img{
	position: absolute;
	width: 180px;
	height: 180px;
	top: 50%;
	left: 50%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

#cards-container .card:nth-child(1) .temperature{
	position: absolute;
    top: 300px;
    left: 520px;
    font-size: 60px;
    width: 20%;
    text-align: left;
    font-weight: 500;
}

#cards-container .card:nth-child(2),
#cards-container .card:nth-child(4),
#cards-container .card:nth-child(6),
#cards-container .card:nth-child(8),
#cards-container .card:nth-child(10),
#cards-container .card:nth-child(12)
{
	background-color: rgba(255,0,0,0.2);
}

#city{
	text-align: center;
	font-size: 60px;	
	position: absolute;
	top: 30px;
	right: 50px;
	width: calc(100% - 100px);
	font-weight: 500;
}

#date{
	position: absolute;
	top: 110px;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	font-size: 30px;
	font-weight: 300;
}

#info{
	position: absolute;
    width: 38%;
    height: 250px;
    top: 240px;
    right: 0;
    font-size: 35px;
    font-weight: 500;
}

.humidity{
 	width: 100%;
    height: 50%;
    top: 40px;
    position: absolute;
}

.wind{
	width: 100%;
    height: 50%;
    top: 110px;
    position: absolute;
}

.humidity img, .wind img{
	height: 110px;
    width: 110px;
    float: left;
}

#humidity, #wind{
	line-height: 110px;
    display: inline-block;
    float: left;
    padding: 0 10px;
}

.weather-block {
    text-align: center;
    padding: 20px 10px;
    border-radius: 5px;
    max-height: 65vh;
	position: relative;
	height: 100%;
}

.weather-block h4 {
	text-align: center;
	font-size: 30px;	
	position: absolute;
	top: 20px;
	font-weight: 300;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	margin: 0;
	width: 100%
}

.weather-block .temperature {
	text-align: center;
	font-size: 24px;	
	position: absolute;
	bottom: 20px;
	font-weight: 300;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	width: 90%;
}

.round{
	width: 70px;
	height: 70px;
	padding: 10px;
	border-radius: 50px;	
	background-color: rgba(0,0,0,0.7);
	position: absolute;
	left: 50%;
  	top:45%;
	-webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

.round img{
	width: 55px;
	height: 55px;
	position: absolute;
  	left: 50%;
  	top:50%;
	-webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}


@media (max-width: 1360px) {
	#cards-container .card:nth-child(1) .round{top: 360px;width: 180px;height: 180px;}
	#cards-container .card:nth-child(1) .round img{width: 150px;height: 150px;}
	#info{height: 200px;top: 170px;font-size: 25px;}
	.humidity img, .wind img{height: 80px;width: 80px;}
	#humidity, #wind{line-height: 80px;}
	#cards-container .card:nth-child(1) .temperature{top: 400px;width: 50%;font-size: 50px;}
	.weather-block h4{top:10px; font-size: 25px;}
	.weather-block .temperature{bottom:10px;font-size: 20px;}
	.round{width: 60px;height: 60px;}
	.round img{width: 50px;height: 50px;}
}

@media (max-width: 400px) {
    #weatherText {
        display: none;
    }
}

@media (max-width: 225px) {
    .card {
        padding: 0;
    }
}

@media (max-height: 600px), (max-width: 230px) {
    #bottom {
        display: none;
    }

    .weather-block {
        max-height: calc(100vh);
    }

    .weather-block h4 {
        margin-bottom: 5px;
        font-size: 2.5em;
    }
}

@media (max-height: 370px) {
    .weather-block h4 {
        font-size: 1.5em;
    }

    .weather-block hr {
        margin: 0;
    }

    .weather-block img {
        max-width: 25px;
    }

    .weather-block .temperature {
        font-size: 15px;
    }
}

@media (max-height: 320px) {
    .weather-block {
        padding: 0;
    }
}
