*{
    margin: 0;
    padding: 0;
    font-family: 'Cinzel', serif;
    /* font-family:Verdana, Geneva, Tahoma, sans-serif; */
    box-sizing: border-box;

}
body{
    background-color: #f3e3c3;
    /* background-image: linear-gradient(450deg, #f0d398 0% , #f6df88, #ecbc43); */
    background-image: linear-gradient(450deg, #f3e3c3 0% , #fbe7a1, #ede275);
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.card{
    width: 90%;
    max-width: 570px; 
    background: linear-gradient(135deg, #2d0b00, #140352);
    color: #fff;
    /* margin: 50px auto 0; */
    margin-bottom: 12%;
    padding-left: 20%;
    margin-top: 18%;
    border-radius: 20px;
    padding: 40px 35px;
     margin-inline: auto;
    text-align: center;
    box-shadow: #be8406 3px 8px;
}
.head{
    margin-bottom: 30px;
}
.head h4{
    margin-top: 10px ;
    font-size: 15px;
    font-family:'Times New Roman', Times, serif;
}
.search{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}

.search input{
    border: 0;
    outline: 0;
    background: #ebfffc;
    color: #050505;
    padding: 10px 25px;
    height: 60px;
    border-radius: 15px;
    flex: 1;
    margin-right: 16px;
    font-size: 18px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.search input::placeholder {
    color:  #1b0909;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    /* font-family: cursive; */
  }
.search button {
    background-color: transparent;
    font-size: 18px;
    padding: 6px 9px;
    margin-left: -60px;
    border:none;
    color: #1d0a0a;
    transition: all .4s;
    z-index: 0;
  }
/*.search button{
    border: 0;
    outline: 0;
    background: #ebfffc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
*/
.search button img{
    width: 18px;
}
.search button :hover{
    scale: 130%;
    transition: .3s;
}

.weather-icon{
    width: 170px;
    margin-top: 30px;
}
.weather h1{
    font-size: 80px;
    font-weight: 500;
}
.weather h2{
    font-size: 45px;
    font-weight: 400;
    margin-top: -10px;
}
.detail{
    display: flex ;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-top: 50px;
}
.coll{
    display: flex;
    align-items: center;
    text-align: left;

}
.coll img{
    width:30px;
    margin-right: 8px;

}
.humidity, .wind{
    font-size: 25px;
    margin-top: -6px;
}
.weather{
    display: none;
}
.error{
    text-align: left;
    margin-left: 10px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}


@media(max-width: 550px){
    .card{
        width: 92%;

    }
    .search input{
        height: 45px;
        font-size: 14px;
        width: 250px;
        margin-right: 10px;
        margin-left: 2px;

        padding: 8px 22px;
    }
    .search button{
        width: 40px;
        height: 40px;
        padding-right: auto;
        margin-right: 2px;
        /* border-radius: 70%; */
    }
    .search button img{
        width: 22px;
    }
    head h4{
        font-size: 8px;
    }
}


 .header{
    padding: 0 2 rem;
    height: 5.3rem;
    width: 100%;
    z-index: 1;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:black; 
    background: linear-gradient(to right, #00093c , #2d0b00);
    position: fixed;
    border:2px solid darkblue;
} 


.icon{
    width: 3rem;
    height: 3rem;
}

.icon[name="close-outline"]{
    display: none;
}

.button{
    display: none;
    background: transparent;
    color: white;
    cursor: pointer;
}
.header h2{
     font-size: 1.5rem; 
     /* margin-bottom: 70px;  */
     margin-left: 10px;
    transition: 0.8s;
    background-image: linear-gradient(
        to right,
        #b8860b 0,
        #b8860b 22%, 
        #b8860b 45%,
        #b8860b 50%,
        #b8860b 55%,
        #b8860b 78%,
        #b8860b 100%
        );
       color:transparent;
       -webkit-background-clip:text;
}

.header h2 span{
    color: white;
    font-size: 1.7rem; 
}
body{
    overflow-x: hidden;
}
 .list{
    display: flex;
    font-size: large;
     gap: 4.1rem; 
     margin-right: 12px;
    list-style: none;
    background-image: linear-gradient(
	to right,
    
        white,
        white 22%, 
        gold 45%,
        rgb(214, 217, 31),
        #eac117 55%,
        #eac117 78%,
        #eac117 100% 
	 );
    -webkit-background-clip: text;
}
 /* .list:hover{
    color:white;
    scale(1.2);
    transform: .2s;
}   */

.link:link,.link:visited{
    display: inline-block;
    text-transform:uppercase;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color:transparent;
}

@media(max-width:920px){
    .header{
        height: 5rem;
    }
    .button{
        display: block;
        z-index: 999;
        border: 3px solid black;
    }


    .navbar{
        width: 100%;
        height: 100vh;
         /* background: #041a31 ;  */
         background: linear-gradient(to right, #00093c , #2d0b00);
        position: absolute;
        top: 0;
        left: 0;


        display: flex;
        justify-content: center;
        align-items: center;

        transform: translateX(100%);
        transition: all 0.2s linear;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

      
    } 

    .list{
        flex-direction: column;
        align-items:center ;
        
    }

    .active .navbar{
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .active .button .icon[name="close-outline"]{
        display: block;
    }

    .active .button .icon[name="menu-outline"]{
        display: none;
    }


}
 
#pagecontainer{
    position: relative;
    min-height: 100vh;
}
#contentwrap{
    padding-bottom: 22.75rem;
} 

footer{
    width: 100%;
      position: absolute;  
    bottom: 0;
    /* z-index: 1; */
 height: 22.75rem;
    background: linear-gradient(to right, #00093c , #2d0b00);
    color: white;
    padding: 30px 0 20px;
    border-top-left-radius: 125px;
    font-size: 13px;
    line-height: 17px;

}
.row{
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: auto;
    flex-wrap: wrap;
    align-items: flex-start;
}
.col{
    flex-basis: 25%;
    padding: 10px;
}
.logo{
    width: 80px;
    margin-bottom: 30px;
}
.col h3{
    width: fit-content;
    margin-bottom: 40px;
    position: relative;  
}
ul li{
    list-style: none;
  
    margin-bottom: 12px;
}
 ul li a{
    text-decoration: none;
     color: white; 
}
.social .fa-brands{
    height: 40px;
    border-radius: 50%;
    width: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    background: #fff;
    color: #000;
    margin-right: 15px;
    cursor: pointer;
}

.social .fa-solid{height: 40px;
    border-radius: 50%;
    width: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    background: #fff;
    color: #000;
    margin-right: 15px;
    cursor: pointer;}
h3{
    color: white;
}
.col:nth-child(2){
    flex-basis: 15%;
}
hr{
    width: 90%;
    border:0;
    border-bottom: 1px solid #ccc;
    margin:20px auto ;
}
.copyright{
    text-align: center;
}

@media(max-width:920px){
    footer{
        bottom: unset;  
    }
    main{
        margin-top: 27%;
        padding-top: 10%;
    }
    .col{
        flex-basis: 100%;

    }
    body{
        box-sizing: unset;
        
    }
    footer{
        padding: 30px 0 30px;
        position: absolute;
        height: unset;
    }
    #contentwrap{
        /* padding-bottom: unset; */
    }
}

.underline{
    width: 100%;
    height: 5px;
    background: #767676;
    border-radius: 3px;
    position: absolute;
    top: 25px;
    left: 0;
}
.underline span{
    width: 15px;
    height: 100%;
    background: #fff;
    border-radius: 3px;
    position: absolute;
    top: 0;
    left: 15px;
    animation: run 2s linear infinite;
}


@keyframes run{
    0%{
        left: 0px;
    }
100%{
    left: 80%;
}



}

main{
    margin-top: 13%;
}

@media screen and (max-width: 480px) {
    .header{
         height: 4.86rem; 
    }};