*{
    font-family: 'Poppins', sans-serif;
    scrollbar-width: auto;
    scrollbar-color: #c4c4c4 #ffffff;
}


*::-webkit-scrollbar {
    width: 0px;
}

*::-webkit-scrollbar-track {
    background: #fcfcfc;
}

*::-webkit-scrollbar-thumb {
    background-color: #adadad;
    border-radius: 6px;
    border: 2px solid white;
}

*::-webkit-scrollbar-thumb:hover {
    background: #949494; /* set the color of the scrollbar thumb on hover */
}


#body{
    background-image: url('../background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}
.inActiveSideBar{
    animation: CloseSideBar 0.5s ease-in-out 1;
}
@keyframes CloseSideBar {
    100% {
        width: 0px; 
        display:none;
    }
}

.sideArea{
    position: fixed;
    right:0;
    background-color: rgb(53 53 53 / 35%);
    backdrop-filter: blur(30px);
    height: 100vh;
    overflow-y: scroll;
    transition: 0.3s ease-in-out;
}
.sideArea::-webkit-scrollbar {
    width: 10px;
}

.sideArea::-webkit-scrollbar-track {
    background: #ffffff03;
}

.sideArea::-webkit-scrollbar-thumb {
    background-color: #adadad;
    border-radius: 6px;
    border: none;
}

.sideArea::-webkit-scrollbar-thumb:hover {
    background: #949494; /* set the color of the scrollbar thumb on hover */
}

.MainArea{
    display: flex;
    align-items:end;
    height: 70vh;
}
.temp{
    font-family: 'Jost', sans-serif;
    font-size: 120px;
    margin: 0px 25px 0px 0px;
}
.location{
    font-size: 45px;
}
.location .configuration{
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    display: block;
    font-weight:300;
}
.main{
    display:flex;
    flex-direction: row;
    align-items:center;
    margin-bottom:50px;
}
.icon .IconImage{
    width: 110px;
    margin-left: 30px;
    opacity: 0.8;
}
.searchArea{
    margin-top: 65px;
    display: flex;
    justify-content: center;
}
.search-area:focus{
    outline: none;
}
.search-area:focus-visible{
    outline: none;
}
.search-area:active{
    outline:none;
}
.search-area{
    width:100%;
    background-color: transparent;
    padding:4px 20px;
    border: 1px solid rgb(202 199 202);
    color: rgb(202 199 202);
    font-size: 18px;
}
.search-area::placeholder{
    color: rgb(202 199 202);
}
.WeatherSearchButton{
    width:60px;
    height:60px;
    border: none;
    background-color: rgb(202 199 202);
    color: white;
    border:1px solid rgb(202 199 202);
}
.WeatherDetails{
    width: 90%;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top : 1px solid rgba(143, 143, 143, 0.5);
}
.WeatherDetails .heading{
    font-size: 22px;
    color: rgb(223, 223, 223);
    font-weight: 400;
    margin-bottom: 40px;
}
.WeatherDetails .Item{
    margin-top:25px;
    display: flex;
    color: rgb(223, 223, 223);
    font-size: 18px;
    justify-content: space-between;
    font-weight: 300;
}
.AirQuality{
    width: 90%;
    margin-top: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-top : 1px solid rgba(143, 143, 143, 0.5);
    border-bottom : 1px solid rgba(143, 143, 143, 0.5);
}
.AirQuality .heading{
    font-size: 22px;
    color: rgb(223, 223, 223);
    font-weight: 400;
    margin-bottom: 40px;
}
.AirQuality .Item{
    margin-top:25px;
    display: flex;
    color: rgb(223, 223, 223);
    font-size: 18px;
    justify-content: space-between;
    font-weight: 300;
}
.LocationDetails{
    width: 90%;
    margin-top: 20px;

}
.LocationDetails span{
    color:rgb(202, 202, 202);
    display: block;
    font-size: 18px;
    padding-top: 6px;
    padding-bottom: 6px;
    padding: 12px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px;
}
.LocationDetails span:hover{
    background-color: #85858589;
}
.w-value{
    font-weight: 500;
}

/* Button  */

.toggle-button-cover {
    display: table-cell;
    position: relative;
    width: 0px;
    height: 140px;
    box-sizing: border-box;
  }
  
  .button-cover {
    height: 100px;
    margin: 20px;
    background-color: #fff;
    box-shadow: 0 10px 20px -8px #c5d6d6;
    border-radius: 4px;
  }
  
  .button-cover:before {
    counter-increment: button-counter;
    content: counter(button-counter);
    position: absolute;
    right: 0;
    bottom: 0;
    color: #d7e3e3;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
  }
  
  .button-cover,
  .knobs,
  .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .button {
    position: relative;
    top: 50%;
    width: 74px;
    height: 36px;
    margin: -20px auto 0 auto;
    overflow: hidden;
  }
  
  .button.r,
  .button.r .layer {
    border-radius: 100px;
  }
  .checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
  }

.knobs {
    z-index: 2;
  }

.layer {
    width: 100%;
    background-color: #e9e9e9;
    opacity: 0.4;
    backdrop-filter: blur(40px);
    transition: 0.3s ease all;
    z-index: 1;
}
#button-3{
    z-index: 0;
}
#button-3 .knobs:before {
    content: "°C";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 32px;
    height: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 9px 4px;
    background-color: #777777;
    border-radius: 50%;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
}

#button-3 .checkbox:active + .knobs:before {
    width: 46px;
    border-radius: 100px;
}

#button-3 .checkbox:checked:active + .knobs:before {
    margin-left: -26px;
}

#button-3 .checkbox:checked + .knobs:before {
    content: "°F";
    left: 39px;
    background-color: #717171;
}

#button-3 .checkbox:checked ~ .layer {
    background-color: #e9e9e9;
}

.ForcastArea{
    position: relative;
    /* background: rgba(53, 53, 53, 0.524); */
    /* backdrop-filter: blur(30px); */
    padding: 20px;
    padding-right: 60px;
    padding-left: 60px;
    border-radius: 20px;
    /* box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; */
}
.ForcastArea .row::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.ForcastArea .row::-webkit-scrollbar-track {
    background: #ffffff03;
}

.ForcastArea .row::-webkit-scrollbar-thumb {
    background-color: #adadad;
    border-radius: 6px;
    border: none;
}

.ForcastArea .row::-webkit-scrollbar-thumb:hover {
    background: #949494; /* set the color of the scrollbar thumb on hover */
}

.fTime{
    font-size: 17px;
    color: #e7e7e7;
}
.fImg{
    margin-top: 10px;
  
}
.fTemp{
    font-size: 22px;
    font-weight: 600;
    color: #e7e7e7;
}
.mainTempBox{
    background: #b6b6b650;  
    backdrop-filter: blur(30px);  
    margin:0px;
    border-radius:15px;
    padding: 10px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
/* Arrow Icons */
.arrow {
    margin: 25px;
    display: inline-block;
    height: 12px;
    position: relative;
    width: 12px;
}
.arrow::after {
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-right-style: solid;
    border-right-width: 2px;
    content: '';
    display: inline-block;
    height: 15px;
    left: 0;
    position: absolute;
    top: 0;
    width: 15px;
}

.arrow.is-right {
    -moz-transform: rotate(315deg);
    -ms-transform: rotate(315deg);
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    position: absolute;
    right:0;
    top: 35%;
}

.arrow.is-left {
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    position: absolute;
    left: 0;
    top: 35%;
}

.hamburger{
    position: absolute;
    right: 1%;
    top:10px;
    display:none;
    transition: .5s ease-in-out;
}
.hamburger .line{
    width: 48px;
    height: 5px;
    border-radius: 20px;
    background-color: #ffffff;
    display: block;
    margin: 8px auto;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.hamburger:hover{
    cursor: pointer;
}

/* ------------------------------------------ */

.close {
    position: absolute;
    left: 22px;
    top: 6px;
    width: 32px;
    height: 32px;
    opacity: 0.8;
}
.close:hover {
    opacity: 1;
}
.close:before, .close:after {
    position: absolute;
    border-radius: 40px;
    content: ' ';
    height: 40px;
    width: 3px;
    background-color: #ffffff;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}

/* ------------------------------------------ */
/* Arrow Icons */
/* Loader */
.main_container{
    display: none;
}
.loader{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background: rgba(68, 68, 68, 0.418);
    backdrop-filter: blur(20px);
}
.loader4 {
    width:45px;
    height:45px;
    display:inline-block;
    padding:0px;
    border-radius:100%;
    border:5px solid;
    border-top-color:rgb(203, 203, 203);
    border-bottom-color:rgba(255,255,255, 0.3);
    border-left-color:rgb(203, 203, 203);
    border-right-color:rgba(255,255,255, 0.3);
    -webkit-animation: loader4 1s ease-in-out infinite;
    animation: loader4 1s ease-in-out infinite;
 }
 @keyframes loader4 {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
 }
 @-webkit-keyframes loader4 {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(360deg);}
 }
 
/* Responsivness */
@media screen and (max-width: 1120px) {
    .sideArea {
        width: 100%;
    }
}
@media screen and (max-width: 780px) {
    .main {
        flex-direction: column;
        margin-top:10px;
    }
    .MainArea{
        display: block;
    }
    .temp{
        font-size: 90px;
    }
    .MainArea{
        height: fit-content;
    }
    .toggle-button-cover{
        left:-50%;  
    }
    .main {
        flex-direction: column;
    }
    .MainArea{
        display: block;
    }
    .location{
        text-align:center;
    }
}
