/* Precode settings */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
}

.main{
    width: 100vw;
    height: 100vh;
    /* background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTiIjSLw9LPY-GEYrMZ_CyBYvX9ZVrH8QowgQ&s); */
    /* background-image: url(); */
    background-image: url('./assets/fewClouds.png');
    background-size: cover;
    background-position: center;
    overflow:hidden;
}

.flex{
    display: flex;
}

/* Utility Classes */

.overlay{
    background-color: rgba(255, 255, 255, 0.066);
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
}

/* Header */

.header{
    flex-direction: column;
    gap: 4vh;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 2vh;
}

.inputField{
    width: 50vw;
    height: 6vh;
    text-align: center;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    transform: translateX(30px);
}

.submitButton{
    transform: translateX(32px);
    height: 7vh;
    width: 7vw;
    border-radius: 10px;
    border: 2px solid #0bb122;
    background-color: #0bb122;
    color: white;
    transition: all 0.3s ease-in-out;

}

.submitButton:hover{
    background-color: #1bc832;
}

/* Main Body */
.mainBody{
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-top: 2vh;
    flex-direction: column;
    height: 76vh;
    display: none;
}

.mainLogo{
    width: 10vw;
}

.cityNameField{
    font-size: 2rem;
    text-align: center;
}

.tempField{
    text-align: center;
    font-size: 1.8rem;
    margin-top: 2vh;
}

.weatherDetails{
    gap: 4vw;
    justify-content: center;
    align-items: center;
    margin-top: 4vh;
}

.descriptionField{
    margin-top: 4vh;
}

.weatherDetails2{
    margin-top: 4vh;
    gap: 4vw;
    justify-content: center;
    align-items: center;
}

.card{
    color: white ;
    width: 14vw;
    height: 12vh;
    justify-content: center;
    align-items: center;
    border-radius: 5vw;
    padding: 1vw;
    background-color: rgba(255, 255, 255, 0.148);
    border: 1px solid white;
}

.displayWeather{
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Warning Logo */
.cityNotFound{
    background-color: rgba(255, 255, 255, 0.26);
    width: 30vw;
    height: 30vh;
    border-radius: 15px;
    position: absolute;
    top: 30%;
    left: 35%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
}

.warnLogo{
    width: 10vw;
    height: 17vh;
}