:root{
    --cloudy: url("./Components/clouds.jpg");
    --sunny: url("./Components/sunny.jpg");
    --rainy: url("./Components/Thander.png");
    --textColor : azure;
    --boxColor : rgba(0, 0, 0, 0.281);
    --boxBlackShadow : 0px 0px 20px 0px rgba(27, 27, 27, 0.582);
    --boxWindowShadow : 0px 0px 20px 0px rgba(242, 243, 243, 0.582);

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: var(--rainy);
    background-size: cover;
    background-position: top center;
    background-blend-mode:saturation;
    background-color: rgba(0, 0, 0, 0.281);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
header{
    width: 100%;
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items:  center;
}
header p{
    margin: 0 auto;
    font-size: 40px;
    font-style: italic;
    font-weight: 700;
    font-family: cursive;
    color: azure;
}
.search{
    display: flex;
    /* margin: 20px auto; */
    /* width:80%; */
    /* flex-direction: row; */
    align-items: center;
    justify-content:center;
    /* gap: 10px; */
    
}
.searchBox{
    color: azure;
    margin: 10px auto;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-family: system-ui;
    width: 50%;
    background-color: rgba(0, 0, 0, 0.562);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.555);
    box-shadow: var(--boxWindowShadow)
}
.searchBox:hover{
    border: 1px solid var(--textColor);
    cursor: pointer;
}
#searchBtn{
    margin: 10px auto;
    font-family: cursive;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    padding: 15px 35px;
    font-size: 25px;
    border-radius: 10px;
    border: none;
    background-color: rgba(0, 0, 0, 0.5);
    color: azure;
    cursor: pointer;
    box-shadow: var(--boxWindowShadow)
}
#searchBtn:hover{
    background-color: var(--textColor);
    color: #000000;
}

.container{
    background-color: rgba(0, 0, 0, 0.281);
    width: 90%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: var(--boxWindowShadow);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 300px;
    color: azure;
    font-size: 25px;
    font-weight: 600;
    font-family: system-ui;

}

.inside-container{
    /* background-color: aliceblue; */
    width: 100%;
    height: 350px;   
    border-radius: 10px;
    /* box-shadow: 0px 0px 20px 0px rgba(125, 188, 243, 0.582); */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px;
    min-height: 300px;
    color: var(--textColor);
    font-size: 25px;
    font-weight: 600;
    font-family: system-ui;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.city{
    position: absolute;
    top: 20px;
    left: 20px;    
    background-color: rgba(0, 0, 0, 0.267);
    width: 70%;
    height: 65%;
    background-size: cover;
    background-position: center;
    background-blend-mode:saturation;
    font-size: 3rem;
    font-weight: 700;
    font-family: cursive;
    color: var(--textColor);
    border-radius: 10px;
    box-shadow: var(--boxWindowShadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.city p{
    font-size: 2.5rem;
}
.temp, .wind-chill, .humidity, .pressure, .wind-speed, .state, .country{
    font-size: 25px;
    font-weight: 700;
    font-family: cursive;
    color: var(--textColor);
    background-color: transparent;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: var(--boxWindowShadow);
    border:1px transparent solid;
}
.temp{
    position: absolute;
    left: 20px;
    bottom: 20px;
}
.wind-chill{
    position: absolute;
    left: 350px;
    bottom: 20px;
}
.humidity{
    position: absolute;
    right: 20px;
    bottom: 20px;
}
.pressure{
    position: absolute;
    right: 280px;
    bottom: 20px;
}
.country{
    position: absolute;
    right: 20px;
    top: 20px;
}
.wind-speed{
    position: absolute;
    right: 20px;
    bottom: 110px;
}
.state{
    position: absolute;
    right: 20px;
    top: 100px;
}
#deleteModal{
     width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.349);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}
.modal-content{
    width: 40%;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

.modal-content > h2{
    font-size: 25px;
    font-weight: bold;
}
.modal .modal-content> p{
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0;
    padding: 10px 0;
}
@media (max-width: 768px){
    header p{
        font-size: 30px;
    }
    .searchBox{   
        width: 65%;
        font-size: 18px;
    }
    #searchBtn{
        width: 30%;
        font-size: 20px;
        padding: 10px 20px;
    }
    .inside-container{
        height: auto;
        min-height: 500px;
    }
    .city{
        position: static;
        width: 90%;
        height: auto;
        font-size: 2rem;
        padding: 20px 10px;
    }
    .city p{
        font-size: 1rem;
    }
    .temp, .wind-chill, .humidity, .pressure, .wind-speed, .state, .country{
        font-size: 18px;
        padding: 8px 15px;
    }
    .temp{
        position: static;
        margin: 10px 0;
    }
    .wind-chill{
        position: static;
        margin: 10px 0;
    }
    .humidity{
        position: static;
        margin: 10px 0;
    }
    .pressure{
        position: static;
        margin: 10px 0;
    }
    .country{
        position: static;
        margin: 10px 0;
    }
    .wind-speed{
        position: static;
        margin: 10px 0;
    }
    .state{
        position: static;
        margin: 10px 0;
    }
    .modal{
        width: 100%;
        height: 100vh;
    }
    .modal-content{
        width: 80%;
        height: auto;
    }
    
}
@media(max-width: 1300px) and (min-width: 769px){
    .inside-container{
        height: auto;
        min-height: 500px;
    }
    .city{
        position: static;
        width: 90%;
        height: auto;
        font-size: 3rem;
        padding: 20px 10px;
    }
    .city p{
        font-size: 1.5rem;
    }
    .temp, .wind-chill, .humidity, .pressure, .wind-speed, .state, .country{
        font-size: 20px;
        padding: 10px 15px;
    }
    .temp{
        position: static;
        margin: 10px 0;
    }
    .wind-chill{
        position: static;
        margin: 10px 0;
    }
    .humidity{
        position: static;
        margin: 10px 0;
    }
    .pressure{
        position: static;
        margin: 10px 0;
    }
    .country{
        position: static;
        margin: 10px 0;
    }
    .wind-speed{
        position: static;
        margin: 10px 0;
    }
    .state{
        position: static;
        margin: 10px 0;
    }
}