@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Sacramento&display=swap');

*{
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
}

body{
    width: 100vw;
    height: 100vh;
    background-image: url("./images/bg.jpg");
    font-family: 'Montserrat', sans-serif;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 12%;
    width: 100%;
}

#header h1{
    font-family: 'Sacramento', cursive;
    margin-left: 5.5%;
    font-size: 3.5rem;
    font-weight: 500;
    text-shadow: 0.5px 0.5px 0px #000000;
}

#header div{
    margin-right: 5%;
    width: 20%;
}

#header input{
    padding: 3%;
    width: 58%;
    outline: none;
    border: none;
    border-bottom: 2px solid white;
    background-color: transparent;
    text-align: center;
    font-size: 1.4rem;
    color: white;
}

::-webkit-input-placeholder{
    color: white;
    opacity: 0.5;
    font-size: 1.2rem;
}

button{
    padding: 5%;
    border-radius: 50px;
    background-color: white;
    width: 35%;
    font-size: 1rem;
}

button:hover{
    background-color: #F0F0F0;
    cursor: pointer;
}

#section{
    height: 65%;
    width: 55%;
    position: absolute;
    top: 52.4%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    animation: fadeout 4s;
    animation-timing-function: ease-in-out;
}

#sectionBg{
    position: absolute;
    top: 52.4%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 65%;
    width: 55%;
    background-color: black;
    opacity: 0.3;
    border-radius: 15px;
    z-index: -5;
    animation: fadeout 2s;
    animation-timing-function: ease-in-out;
}

@keyframes fadeout{
    0%{
        transform: scale(0.4);
        opacity: 0;
    }
    53%{opacity: 0.1;}
}

#upper-section{
    height: 30%;
    width: 100%;
    display: flex;
}

#searchInfo{
    width: 50%;
    color: white;
}

#searchInfo *{
    padding: 3% 7% 0% 0%;
    display: flex;
    justify-content: flex-end;
    opacity: 0.9;
    font-size: 3.6rem;
}

#searchInfo h2{
    padding-top: 0%;
    font-size: 1.8rem;
}

#temp{
    width: 50%;
    font-size: 4rem;
    padding: 2% 0% 0% 3%;
    opacity: 0.8;
}

#lower-section{
    height: 70%;
    display: flex;
}

#left-div{
    width: 60%;
}

#desc{
    height: 20%;
    width: 80%;
    border-bottom: 3px solid black;
    font-size: 2.3rem;
    display: flex;
    justify-content: space-evenly;
    padding-top: 3.5%;
    margin-left: 4.7%;
}

#desc img{
    padding-bottom: 1.5%;
}

#otherInfo{
    height: 80%;
    width: 100%;
    display: flex;
}

#info-title{
    width: 50%;
    height: 100%;
}

#info-title *{
    font-size: 1.9rem;
    margin: 10% 0% 10% 10%;
}

#info-values{
    width: 50%;
    height: 100%;
}

#info-values *{
    font-size: 1.9rem;
    margin: 10% 0% 10% 10%;
}

#right-div{
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#right-div *{
    padding: 0% 7% 7% 0%;
    width: 100%;
    text-align: right;
    font-size: 3.4rem;
}

#time{
    padding-bottom: 0%;
}

#date{
    font-size: 1.4rem;
}

#footer{
    position: absolute;
    left: 0%;
    top: 93%;
    height: 7%;
    width: 100%;
    display: flex;
    justify-content: center;
}

#footer a{
    color: black;
    margin: 1%;
    text-decoration: none;
}

#footer a:hover{
    color: brown;
}
