body{
    overflow: hidden;
    margin:0;
    background-image: linear-gradient(to bottom, #00ffff,#6600cc);
    background-size: cover;
    background-position: center;
    height: 100vh;
}

/*----------MAIN HEADER------------------*/
#main_header{
    color: white;
    background-color: #333;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    align-items: center;
    justify-content: center;
}

#date{
    grid-column: 2/5;
    font-size: 35px;
    text-align: center;
}

#logo{  grid-column: 1/2;    }

#logo img{  width: 100px;   }

.head_item{     align-self: center; }
/*----------MAIN HEADER------------------*/

/*----------SEARCH BAR------------------*/
#search_bar{
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

input{
    font-size: 30px;
    text-align: center;
    border-radius: 20px;
    border-bottom-right-radius:-10% ;
    border-top-right-radius: -10%;
}
.search_button{
    background-color: rgba(27, 27, 145, 0.834);
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    transform: translateX(-30px);
}

button img{
    width: 35px;
    border-radius: 100%;
}
/*----------SEARCH BAR------------------*/

/*----------LOADING ANIMATION-----------*/
#loader{
    position: relative;
    top: 100px;
    display: none;
    opacity: 0;
    justify-content: center;
    align-items: center;
    transition: opacity 1s;
    animation: change-background 6s linear infinite;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 5em;
}

.circle-loader {
    border: 12px white;
    border-radius: 50%;
    padding: 80px;
    border-left-style: dotted;
    border-right-style: dotted;    
    transition: all 1s linear;
    animation: rotate-loader 3s linear infinite;
}

@keyframes change-background {
    0% {    background-image: url("resources/icons/sun.png");    }
    25% {    background-image: url("resources/icons/rain.png");    }
    50% {    background-image: url("resources/icons/cloud.png");    }
    75% {    background-image: url("resources/icons/thunder.png");    }
    100% {    background-image: url("resources/icons/sun.png");    }
}

@keyframes rotate-loader {
    0% {    transform: rotateZ(0);    }
    100% {  transform: rotateZ(360deg);    }
}
/*----------LOADING ANIMATION-----------*/

/*----------RESULTS------------------*/
.results{
    display: flex;
    justify-content: space-evenly;
    align-items:center;
}
.box{
    position: relative;
    box-sizing: border-box;
    width: 350px;
    height: 400px;
    box-shadow:-1px 5px 10px rgb(46, 46, 46);
    border-radius: 1em;
    text-align: center;
    border: 0.05em solid #747474;
    background-color: #ffffff;
    color: #ffffff;
    font-size: 20px;
    text-shadow: -1px 5px 10px black;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.desc, .temp_head, .weather_date{
    grid-column: 1/3;
}

.temp_head{
    font-size: 50px;
    font-weight: bold;
    margin: 0;
}

#leftslide, #rightslide{
    font-size: 50px;
    font-weight: bold;
    color: white;
    background-color: rgba(27, 27, 145, 0.834);
    border-radius: 20px;
    box-shadow:-1px 5px 10px rgb(46, 46, 46);
}
.desc, .weather_date{
    font-size: 25px;
    font-weight: bold;
}

#result{    display: none;  }

a{
    text-decoration: none;
    color: #ffffff;
}
/*----------RESULTS------------------*/