/* HEADER */

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    --opacity-menu: 0;
    --transform-menu: translate(-120%);
    --pointer-menu: none;

    --position-menu: initial;
    --rotate-1-menu: rotate(0deg);
    --rotate-2-menu: rotate(0deg);

    z-index: 4;

    &:has([id="menu"]:checked) {
        --opacity-menu: 1;
        --transform-menu: translate(0);
        --pointer-menu: unset;
        --position-menu: absolute;
        --rotate-1-menu: rotate(45deg);
        --rotate-2-menu: rotate(-45deg);
    }

}

.nav__logo {
    width: 40%;
    max-width: 150px;
}

.nav__img {
    width: 100%;
    display: block;
}

.nav__menu {
    position: absolute;
    top: 80px;
    inset-inline: 0;
    padding: 30px 5%;
    background-color: rgba(12, 22, 2, .5);
    backdrop-filter: blur(40px);
    box-shadow: 1px 1px 3px #333;
    z-index: 1;

    pointer-events: var(--pointer-menu);
    transform: var(--transform-menu);
    opacity: var(--opacity-menu);

    transition: .8s opacity, .8s transform;
}

.nav__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.nav__link {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    transition: transform .3s;

    &:hover {
        transform: scale(1.1);
    }

}

.nav__buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.btn {
    text-decoration: none;
    background-color: var(--color-six);
    text-align: center;
    padding: .6rem 1rem;
    border-radius: 24px;
    color: #fff;
    width: 100%;
    min-width: max-content;
}

.btn-transparent {
    background-color: transparent;
}

.btn {
    background: radial-gradient(231.94% 231.94% at 50% 100%, var(--color-three) 0, rgba(53, 41, 128, 0) 25.24%), linear-gradient(180deg, rgba(243, 238, 255, 0), rgba(243, 238, 255, .04)), rgba(147, 130, 255, .01);
    box-shadow: 0 0 0 0 rgba(16, 0, 51, .4), 0 2px 5px 0 rgba(16, 0, 51, .39), 0 8px 8px 0 rgba(16, 0, 51, .34), 0 19px 11px 0 rgba(16, 0, 51, .2), 0 34px 14px 0 rgba(16, 0, 51, .06), 0 53px 15px 0 rgba(16, 0, 51, .01), inset 0 0 12px 0 hsla(0, 0%, 100%, .08), inset 0 -8px 32px 0 #1e0d49;
}

.btn:hover {
    background: radial-gradient(231.94% 231.94% at 50% 100%, var(--color-three) 0, rgba(53, 41, 128, 0) 25.24%), linear-gradient(180deg, rgba(243, 238, 255, 0), rgba(243, 238, 255, .04)), rgba(147, 130, 255, .6);
    box-shadow: inset 0 0 12px 0 hsla(0, 0%, 100%, .08), inset 0 -8px 32px 0 #1e0d49, 0 0 0 0 rgba(16, 0, 51, .4), 0 2px 5px 0 rgba(16, 0, 51, .39), 0 8px 8px 0 rgba(16, 0, 51, .34), 0 19px 11px 0 rgba(16, 0, 51, .2), 0 34px 14px 0 rgba(16, 0, 51, .06), 0 53px 15px 0 rgba(16, 0, 51, .01)
}

.btn-play {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5em;
    background-color: var(--color-two);
    box-shadow: none;

    &:hover {
        box-shadow: none;
        background: radial-gradient(231.94% 231.94% at 50% 100%, var(--color-two) 0, rgba(53, 41, 128, 0) 25.24%), linear-gradient(180deg, rgba(243, 238, 255, 0), rgba(243, 238, 255, .04)), rgba(147, 130, 255, .6);
    }
}

.nav__label {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-image .3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

input[id='menu'] {
    display: none;
    width: 20px;
    height: 20px;
}

.menu__icon {
    display: block;
    width: 80%;
    background-color: #fff;
    padding: 2px;
    margin-bottom: 4px;
    border-radius: 20px;
    position: var(--position-menu);
    transition: transform .3s;

    transform: var(--rotate-1-menu);

    &:last-child {
        transform: var(--rotate-2-menu);
    }

}

/* Hero main */

.hero {
    height: 100%;
    min-height: max-content;
    position: relative;
    overflow: hidden;

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle farthest-side, rgba(255, 0, 182, .15), hsla(0, 0%, 100%, 0));
        z-index: -1;
    }

}

.hero__main {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    position: relative;
}

.hero__title {
    font-family: Now;
    text-transform: uppercase;
    text-wrap: pretty;
    font-size: clamp(2rem, (4vw), 3rem);

    & span {
        font-weight: 900;
        color: var(--color-six);
        letter-spacing: 1.5px;
    }

}

.hero__paragraph {
    font-size: 1.3rem;
    line-height: 1.5;
    text-wrap: balance;
    margin: 2rem 0;
    color: #fff;
    opacity: .6;
}


.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero__figure {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.hero__img {
    display: block;
    width: 100%;
    mask-image: linear-gradient(black 80%, transparent);
}

.nav__logo-bg {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 10%;
    font-family: 'Now-font';
    font-size: 8rem;
    font-weight: 600;
    color: transparent;
    backdrop-filter: blur(3px);
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #aaa5a5;
    /* transform: rotate(-90deg); */
    mask-image: linear-gradient(to bottom, black 80%, transparent);
}

.hero__social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-left: 5px;

    &::before,
    &::after {
        content: "";
        width: 4rem;
        height: 4px;
        border-radius: 10px;
        background-color: #fff;
        opacity: .4;
        left: 0;
        top: 0;
    }

}

.link__social {
    background-color: rgba(147, 130, 255, .05);
    padding: 10px;
    border-radius: 100%;
    align-items: center;
    display: flex;
    transition: transform .3s;

    &:hover {
        transform: scale(1.1);
    }
}

.hero__icon {
    width: 24px;
    color: #fff;
}

.hero__scroll {
    display: none;
    color: #fff;
    position: absolute;
    bottom: 5%;
    text-align: center;
    left: 50%;
    cursor: pointer;
}

.logo-mouse {
    width: 40px;
    height: 40px;
}

.nav__logo-name {
    font-family: 'Now-font';
    font-size: 3.5rem;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke-width: .5px;
    -webkit-text-stroke-color: #fff;
    transition: transform .5s;
    cursor: pointer;
}

.nav__logo-name:hover {
    transform: scale(1.05);
}

/* Responsive */

@media (width > 768px) {

    .hero__main {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 90px;
    }

    .hero__content {
        width: 50%;
        order: 2;
    }

    .hero__paragraph {
        font-size: 1.2rem;
    }

    .hero__buttons {
        width: 30%;
    }

    .hero__scroll {
        display: block;
    }

    .hero__social {
        order: 1;
        flex-direction: column;
        /* width: 10%; */

        &::before {
            content: "";
            height: 4rem;
            width: 3px;
            border-radius: 10px;
            background-color: #fff;
            left: 0;
            top: 0;
        }

        &::after {
            content: "";
            height: 4rem;
            width: 3px;
            border-radius: 10px;
            background-color: #fff;
            right: 0;
            top: 0;
        }

    }

    .hero__figure {
        order: 3;
        width: 40%;
    }

}

@media (width > 1024px) {

    .nav {
        height: 120px;
        --opacity-menu: 1;
        --transform-menu: unset;
        --pointer-menu: unset;

        height: 80px;
        background-color: rgba(29, 28, 28, 0.8);
        padding: 1rem 2rem;
        border-radius: 80px;
        margin-top: 2em;

    }

    .nav__menu {
        position: static;
        flex-grow: 1;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .nav__links {
        flex-direction: row;
        gap: 1rem;
        margin: 0 auto;
    }

    .nav__buttons {
        flex-direction: row;
        margin-top: 0;
        gap: 1em;
    }

    .nav__label {
        display: none;
    }

    .hero{

        &::after {
            content: "";
            top: 15%;
            right: -10%;
            z-index: -1;
            width: 600px;
            height: 90%;
            position: absolute;
            background-image: radial-gradient(circle farthest-side, rgba(255, 0, 182, .15), hsla(0, 0%, 100%, 0));
        }

        &::before {
            top: 15%;
            left: -10%;
            width: 600px;
            height: 90%;
        }

    }

    .hero__buttons {
        flex-wrap: nowrap;
    }

}

@media (width > 768px) and (width < 1024px) {
    .nav__logo-bg {
        font-size: 5rem;
    }
}