body {
  	font-size: 1.6rem;
  	font-family: "Montserrat", sans-serif!important;
	color: #000000;
  	margin: 0;
	width: 100vw;
	height: 100vh;
	background-image: url(../img/bg.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-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: block;
    padding: 0;
    background-color: inherit!important;
    top: 65%;
}

#cards-container {
    display: table;
    width: 90%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

.card {
    /* display: table-cell; */
	height: 100%;
	padding-bottom: 100px;
}

#cards-container .card:nth-child(1){
	position: fixed;
	top: -550px;
	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: 170px;
	left: 65%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	width: 250px;
	height: 250px;
	font-weight: 300;
	border-radius: 500px;
}

#cards-container .card:nth-child(1) .round img{
	position: absolute;
	width: 480px;
	height: 480px;
	top: 160%;
	left: -220%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

#cards-container .card:nth-child(1) .temperature{
    position: absolute;
    top: 400px;
    left: 800px;
    font-size: 100px;
    width: 20%;
    font-weight: 500;
    font-family: Intro;
}
#cards-container .card:nth-child(1) .tempMin{
	color:#45546e;
	font-size: 115%;
}
#cards-container .card:nth-child(1) .tempMax{
	color: #000000;
	font-size: 140%;
}
#cards-container .card:nth-child(2) {
	position: fixed;
	bottom: 45%;
	right: -22%;
	width: 100%;
	height: 250px;
}

#cards-container .card:nth-child(2) .round{
	position: absolute;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	width: 250px;
	height: 150px;
	font-weight: 300;
	border-radius: 500px;
	text-align: center;
}

#cards-container .card:nth-child(2) .round img{
	position: absolute;
	width: 150px;
	height: 150px;
	top:70%;
	left: 90%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

#cards-container .card:nth-child(2) .temperature{
	position: absolute;
    top: -5%;
    left: 65%;
    font-size: 60px;
    width: 20%;
	font-weight: 500;
	font-family: Intro;
	padding:4% 0 0 3%; 
}
#cards-container .card:nth-child(2) .tempMin, #cards-container .card:nth-child(3) .tempMin{
	color:#45546e;
	font-size: 70%;
}
#cards-container .card:nth-child(2) .tempMax, #cards-container .card:nth-child(3) .tempMax{
	color: #000000;
	font-size: 100%;
}
/*  */
#cards-container .card:nth-child(3) {
	position: fixed;
	bottom: -50%;
	right: -22%;
	width: 100%;
	height: 250px;
}

#cards-container .card:nth-child(3) h4, #cards-container .card:nth-child(2) h4{
font-family: IntroRegularCaps;
text-align: start;
}

#cards-container .card:nth-child(3) .round{
	position: absolute;
	left: 50%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	width: 250px;
	height: 150px;
	font-weight: 300;
	border-radius: 500px;
	text-align: center;
}

#cards-container .card:nth-child(3) .round img{
	position: absolute;
	width: 150px;
	height: 150px;
	top:70%;
	left: 90%;
    -webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}

#cards-container .card:nth-child(3) .temperature{
	position: absolute;
    top: 1%;
    left: 65%;
    font-size: 60px;
    width: 20%;
	font-weight: 500;
	font-family: Intro;
	padding:4% 0 0 3%; 
}

#city{
	text-align: center;
	font-size: 80px;	
	position: absolute;
	top: 45%;
	left: 13.5%; 
	font-weight: 300;
	color: #BF2A20;
	font-family: IntroBold, sans-serif;
}

#date{
	position: relative;
	top: 165px;
	left: -21%;
    -webkit-transform:translate(-50%,0%);
			transform:translate(-50%,0%);
	font-size: 45px;
	font-family: IntroSemiBold, sans-serif;
	color: #000000;
}

#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: 10%;
}

.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 img{
	width: 55px;
	height: 55px;
	position: absolute;
  	left: 45%;
  	top:50%;
	-webkit-transform:translate(-50%,-50%);
			transform:translate(-50%,-50%);
}


@media (max-width: 1360px) {
	#cards-container .card:nth-child(1) .round{top: 270px;width: 180px;height: 180px;}
	#cards-container .card:nth-child(1) .round img{width: 200px;height: 200px;}
	#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{padding-top: 5% ;width: 50%;font-size: 50px; left: 45%;}
	.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;}
	#date{top: 30%; padding-left: 13%;}
	#cards-container .card:nth-child(2) .round{width: 180px;height: 180px;top: -10%}
	#cards-container .card:nth-child(3) .round{top: -10%;width: 180px;height: 180px;}
	#cards-container .card:nth-child(2) .round img{width: 100px;height: 100px;}
	#cards-container .card:nth-child(3) .round img{width: 100px;height: 100px;}
	#cards-container .card:nth-child(2) .temperature{width: 50%;font-size: 50px; }
	#cards-container .card:nth-child(3) .temperature{width: 50%;font-size: 50px; }
	#cards-container .card:nth-child(2) {bottom: -4%}
	#cards-container .card:nth-child(3) {bottom: -100%}
}

@media (max-width: 1280px) {
	#cards-container .card:nth-child(2) .round{width: 180px;height: 180px;top: -15%}
	#cards-container .card:nth-child(2) {bottom: -10%}
	#cards-container .card:nth-child(2) .temperature{width: 50%;font-size: 50px; }
	#cards-container .card:nth-child(2) .round img{width: 100px;height: 100px;}

	#cards-container .card:nth-child(3) .round{top: -15%;width: 180px;height: 180px;}
	#cards-container .card:nth-child(3) {bottom: -115%}
	#cards-container .card:nth-child(3) .temperature{top: -5% ;width: 50%;font-size: 50px;}
	#cards-container .card:nth-child(3) .round img{width: 100px;height: 100px;}

}



@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;
    }
}
