@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=Roboto:wght@100;300;400&display=swap');

* {
    margin: 0;
    padding: 0px;
    font-family: 'Outfit', sans-serif;
    

}

/*nav */
nav1 {
    display: flex;
    justify-content: space-between;
    max-width: 80%;
    margin: auto;
    padding: 1.4rem 1rem;
    background-color: #000000b5;
    backdrop-filter: blur(10px);
    border-radius: 3rem;
    margin-top: 1rem;
    /* box-shadow: 0px 0px 3px rgb(254 116 62); */
}

.logo1 {
    font-size: 1.3rem;
    font-weight: 600;
}

.logo1 a {
    color: #fff;
    text-decoration: none;
}

nav1 ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    overflow: hidden;
    margin-bottom: 0;
}

nav1 ul li {
    padding: 0rem 1.1rem;
    float: left;
}

nav1 ul li a {
    color: #ff004f;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .7px;
    position: relative;
}

nav1 ul li a::before {
    content: "";
    position: absolute;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background-color: #fff;
}

/* Center Animation */
nav1 ul li a::before {
    transform: scale(0, 1);
    transition: transform .3s ease;
}

nav1 ul li a:hover::before {
    transform: scale(1, 1);
}
nav1 ul li a.active,
nav1 ul li a:hover {
    color: #fff;
    transition: all .3s ease-in-out
}

#click {
    display: none;
}

.menu {
    display: none;
}

@media only screen and (max-width:1024px) {
    nav1 {
        max-width: 98%;
    }
}

@media only screen and (max-width:768px) {
    html {
        font-size: 80%;
    }

    nav1 {
        max-width: 100%;
    }
}

@media only screen and (max-width:480px) {
    html {
        font-size: 85%;
    }

    header {
        height: 100vh;
    }

    nav1 ul li {
        padding: 1rem 1.1rem;
    }

    .menu {
        display: block;
        font-size: 2rem;
        font-weight: bold;
        color: #fff;
    }

    nav1 ul {
        width: 100%;
        height: 60vh;
        position: absolute;
        display: flex;
        flex-direction: column;
        text-align: center;
        top: 4rem;
        left: -100%;
        background-color: #000000b5;
        backdrop-filter: blur(10px);
    }

    #click:checked~ul {
        left: 0%;
        transition: all 0.3s ease;
    }
}
