:root {
    --maincolor: #151646;
    --white: #FFFFFF;
    --fsp: clamp(15px, 3vw, 24px);
    --fsh2: clamp(25px, 3vw, 35px);
    --fsh1: clamp(30px, 3vw, 45px);
    --fs20: clamp(20px, 3vw, 35px);
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;

}

h1, p, h2, h3, h4 {
    padding: 0;
    margin: 0;
    color: var(--white);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(16px, 2vw, 25px);
    
}

@font-face {
    font-family: "Inter";
    src: url("font/Inter-VariableFont_opsz\,wght.ttf") format("truetype");
    font-weight: 100-900;
    font-style: normal;
    font-display: swap;
}
body {
    background-color: var(--maincolor);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
    
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
li {
    width: 100%;
}

a {
    text-decoration: none;
    color: white;
    font-size: var(--fsp);
    font-weight: 400;
}

h2 {
    font-size: var(--fsh2);
    font-weight: 500;
}

h1 {
    font-size: var(--fsh1);
    font-weight: 500;
}

p {
    font-size: var(--fsp);
    font-weight: 400;
}

.main1 {
    width: 100vw;
    max-width: 1260px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.main1 section {
    max-width: 1040px;
    margin: 0 auto;
}

.gapmain1 {
    gap: 90px;
}

.header1 {
    width: 100%;
    padding: 40px 80px 0px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    transition: scale 0.1s;
}

.img1 {
    aspect-ratio: 1;
}

.img2 {
    width: 30px;
}

.header3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.nav2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.navlang {
    display: contents;
}

.navlangimg {
    border-radius: 50%;
    background: #FFFFFF;
    width: var(--fsp);
}

.nav1, .nav2, .afooter1, .scw2, .img3, .navlangimg:hover {
    transition: scale 0.1s;
}

.header2:hover, .nav1:hover, .nav2:hover, .afooter1:hover, .scw2:hover, .img3:hover, button:hover, .navlangimg:hover {
    scale: 1.03;
}

.section1 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.s11 {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 51px;
}

.h11 {
    max-width: 17ch;
    text-align: center;
}

.s12 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1px;
    width: 304px;
    height: 50px;
    border: 1px solid var(--white);
    padding: 10px 15px;
    border-radius: 5px;
}

.input1 {
    border: none;
    width: 100%;
    background-color: transparent;
    outline: none;
    color: var(--white);
    font-size: 25px;
    font-weight: 300;
}

.input1::placeholder {
    font-size: 25px;
    font-weight: 300;
    color: var(--white);
}

.input1::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.img3 {
    filter: drop-shadow(8px 8px 10px rgba(255, 255, 0, 0.2));
}
.searchbutton {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.currentweather {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-direction: column;
    width: 100%;
}

.scw1 {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.img5 {
    width: 170px;
    
}

.scw2 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
    flex-direction: column;
    width: 274px;
    background: none;
    border: none;
    
}

.scw2:hover {
    cursor: pointer;
}

.img101 {
    display: none;
}

.img10 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.scw3, .st1 {
    width: 200px;
    height: 197px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.scw4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.p4, .p5 {
    max-width: 34ch;
    text-wrap: pretty;
}

.about {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    flex-direction: column;
}

.sa1 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 20px;
    max-width: 1040px;
}

.hr1 {
    width: 100%;
    height: 0px;
    border: 0.1px solid var(--white);
    color: var(--white);
}

.footer1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer2 {
    display: flex;
    justify-content: space-between;
    gap: 65px;
    align-items: center;
}

.total, .failer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.st6 {
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
}

.st7 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.st8 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.st9 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.st11 {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
}

.failer1 {
    text-align: center;
}

@media screen and (min-width: 1281px) {
    .headerbutton {
        display: none;
    }
}

.headerbutton {
    cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
    .main1 {
        max-width: 90vw;
    }
    .header1 {
        position: relative;
        padding: 30px 20px 0px 20px;
        z-index: 10;
    }
    .header3 {
        position: absolute;
        z-index: 9;
        top: 100px;
        transition: all 0.5s ease-in-out;
        left: -100%;
    }

    .gapmain1 {
        gap: 60px;
    }
    
    .img3 {
        width: 30%;
    }

    .about, .currentweather {
        gap: 30px;
    }

    .scw2 {
        width: 25vw;
    }

    .st6 {
        max-width: 450px
    }

}


.nav3, .logop {
    white-space: nowrap;
}

.p3 {
    text-align: center;
}

@media screen and (max-width: 767px) {
    .main1 {
        max-width: 90vw;
    }

    .gapmain1 {
        gap: 40px;
    }
    .header1 {
        padding: 20px 0px 0px 0px;
        position: relative;
        z-index: 10;
    }
    .header3 {
        position: absolute;
        z-index: 9;
        top: 50px;
        transition: all 0.5s ease-in-out;
        left: -120%;
    }

    .img1, .img2 {
        width: 25px;
    }

    .logop {
        font-size: 20px;
    }

    .header3 {
        gap: 15px
    }

    .nav2 {
        gap: 5px;
    }

    .section1 {
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px;
    }

    .img3 {
        width: 214px;
    }

    .s11 {
        gap: 20px;
    }

    .currentweather {
        gap: 20px;
    }

    .scw1 {
        justify-content: flex-start;
        align-items: center;
        flex-direction: column;
        gap: 20px;
    }

    .scw2 {
        gap: 15px;
        width: 240px;
    }

    .h21 {
        text-align: center;
    }

    .about {
        gap: 20px;
        align-items: center;
    }

    .sa1 {
        gap: 20px;
        flex-direction: column;
    }

    .p4, .p5 {
        max-width: 100%;
    }

    .footer1 {
        flex-wrap: wrap-reverse;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .footer2 {
        width: 100%;
    }

    .p6, .h21 {
        text-align: center;
    }

    .total {
        flex-direction: column;
        gap: 20px;
    }
    
    .st9 {
        gap: 10px;
    }

    .arrow {
        width: 30px;
    }
}

.wind, .windgust {
    white-space: nowrap;
}

.open {
    left: 50%;
    transform: translateX(-50%);
}

.h22, .h23 {
    white-space: nowrap;
    font-size: 1.2rem;
}
.h23 {
    padding-left:15px;
}





