* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    height: 100vh;
    width: 100%;
    background-color: #0D47A1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    user-select: none;
}

/****************  nav *******************/
nav {
    height: 60px;
    width: 350px;
    border: 5px solid white;
    background-image: url(nav.jpg);
    background-size: 100% 100%;
    border-radius: 7px;
    box-shadow: inset 0px 0px 3px black;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

nav p {
    font-size: 30px;
    font-weight: 700;
    color: white;
    text-shadow: 0px 0px 2px black;
}

nav img {
    height: 40px;
    width: 45px;
    border: 3px solid white;
    border-radius: 5px;
    box-shadow: 0px 0px 2px white;
}

/**************** container ***************/
.container {
    height: min-content;
    width: 350px;
    border: 6px solid white;
    background-image: url(night\ background.jpg);
    background-size: 100% 100%;
    border-radius: 10px;
    padding-left: 5px;
    padding-right: 5px;
    box-shadow: inset 0px 0px 3px white;
}

/**************  header ******************/
header {
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

#search-bar {
    height: 45px;
    width: 75%;
    display: flex;
    align-items: center;
}

#city {
    height: 40px;
    width: 100%;
    outline: none;
    border: 3px solid white;
    border-radius: 30px;
    padding-left: 10px;
    padding-right: 5px;
    font-size: 18px;
    font-weight: 600;
    background: none;
    color: white;
    text-shadow: 0px 0px 1px black;
}

#city::placeholder {
    color: white;
    text-shadow: 0px 0px 1px black;
}

#glass-box {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0px 0px 2px black;
    color: #0D47A1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#glass {
    font-size: 20px;
    cursor: pointer;
}

/***************  main ******************/
#main {
    height: 440px;
    width: 100%;
}

/************** class nav ****************/
.nav {
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

#img-box {
    height: 100px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#weather-img {
    height: 100%;
    width: 100%;
    filter: drop-shadow(0px 0px 1px black);
}

#name-box {
    height: 40px;
    width: 200px;
    border: 3px solid white;
    color: white;
    text-shadow: 0px 0px 1px black;
    border-radius: 6px;
    box-shadow: 0px 0px 2px black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 60px;
}

#disc-box {
    height: 40px;
    width: 300px;
    border: 3px solid white;
    color: white;
    text-shadow: 0px 0px 1px black;
    border-radius: 6px;
    box-shadow: 0px 0px 2px black;
    display: flex;
    padding-top: 5px;
    padding-bottom: 5px;
}

#disc-para-box {
    height: 100%;
    width: 60%;
    border-right: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#disc {
    font-size: 18px;
}

#temp-box {
    height: 100%;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

#temp-box img {
    height: 20px;
    width: 10px;
    filter: drop-shadow(0px 0px 1px white);
}

/*****************  footer ********************/
.footer {
    height: 160px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer1 {
    height: 75px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.footer1 div {
    height: 70px;
    width: 45%;
    border: 3px solid white;
    border-radius: 4px;
    box-shadow: 0px 0px 1px white;
    background-color: #0d48a13a;
    backdrop-filter: blur(8px);
}

.footer1 div span {
    height: 25px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 5px;
    gap: 10px;
}

.footer1 div span img {
    height: 15px;
    width: 25px;
    filter: drop-shadow(0px 0px 0.5px black);
}

.footer1 div span h5 {
    font-size: 16px;
    color: white;
    text-shadow: 0px 0px 1px black;
}

.footer1 div p {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/*****************  alert message *********/
#alert-message {
    height: 40px;
    width: 280px;
    background-color: white;
    border: 5px solid white;
    border-radius: 4px;
    box-shadow: 0px 0px 2px black;
    display: none;
    align-items: center;
    justify-content: center;
}

#alert-message p {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0px 0px 1px black;
}

/***************  responsive design **********/
@media (max-width : 355px) {
    nav {
        width: 300px;
    }
    
    nav p {
        font-size: 20px;
    }

    .container {
        width: 300px;
    }
    
    #disc-box {
        width: 250px;
    }
    
    #disc-para-box {
        width: 55%;
    }
    
    #disc {
        font-size: 16px;
        font-weight: 600;
    }
    
    #temp-box {
        width: 45%;
        font-size: 16px;
        font-weight: 600;
    }
    
    #temp-box img {
        height: 18px;
    }
    
    .footer1 div span h5 {
        font-size: 14px;
    }
    
    .footer1 div p {
        font-size: 16px;
    }
}


