.page--wrapper {
    position: relative;
}

.home--container {
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    margin-top: 0;
    color: var(--white);
    position: relative;
}

.image--gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: 1;
}

.layer--blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 1;
    rotate: -30deg;
    z-index: -1;
    color: var(--white);
}

.container {
    width: 100%;
    margin: 5vh auto;
    padding: 0;
    position: relative;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    font-family: var(--main--font);
    color: var(--white);
    text-transform: uppercase;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, backdrop-filter 0.4s ease, margin 0.4s ease, width 0.4s ease, border-radius 0.4s ease, border 0.4s ease;
    transform: translateY(0);
}

header.header--scrolled {
    background-color: transparent;
    backdrop-filter: blur(10px);
    margin: 1rem 5rem;
    width: calc(100% - 10rem);
    border-radius: 50px;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

header.header--hidden {
    transform: translateY(-150%);
}

header h1 {
    margin: 0;
    width: 40px;
    height: 40px;
}

header h1 img {
    filter: invert(1);
}

nav {
    display: flex;
    gap: 3rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
}

nav a {
    font-size: 1rem;
    position: relative;
    letter-spacing: 0.1rem;
    text-decoration: none;
    color: inherit;
    padding-bottom: 0.5rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

.btn--contact {
    background-color: var(--text--color);
    color: var(--bg--color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.btn--contact:hover {
    background-color: #ccc;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
    max-width: 40rem;
    margin-left: 5%;
    z-index: 999;
}

.tag--box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18rem;
    height: 3rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 10px rgb(255, 255, 255, 0.3);
    transition: 0.5s ease;
    padding: 2px;
    cursor: no-drop;
}

@keyframes animationGradient {
    to {
        background-position: 200%;
    }
}

.tag--box .tag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: var(--bg--color);
    color: var(--text--color);
    font-weight: 500;
    border-radius: 50px;
}

.content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    margin: 2rem 0;
    line-height: 1.2;
}

.description {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    max-width: 35rem;
    color: var(--subtext--color);
    font-family: var(--secundary--font);
}

.btns--container {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    font-family: var(--main--font);
}

.btn--get-projects,
.btn--get-contact {
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn--get-contact {
    background: var(--white);
    color: var(--bg--color);
    padding: 0.8rem 5rem;
}

.btn--get-projects {
    padding: 1px;
    background: linear-gradient(to right, #656565, #7f42a7, #6600c5, #5300a0, #757575, #656565);
    background-size: 200%;
    animation: animationGradient 2.5s linear infinite;
    box-shadow: 0 0 3px rgb(255 255 255 / 30%);
}

.btn--get-projects span {
    display: block;
    padding: 0.8rem 5rem;
    background-color: var(--bg--color);
    color: var(--text--color);
    border-radius: 50px;
}

.btn--get-projects span,
.btn--get-contact span {
    display: block;
}

.btn--get-contact:hover {
    background-color: #ccc;
}

.robot--3d {
    position: absolute;
    top: 0;
    right: -25%;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.back--to-top-arrow {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background-color: transparent;
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back--to-top-arrow.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back--to-top-arrow:hover {
    transform: scale(1.1);
}

.back--to-top-arrow .arrow-icon {
    stroke: var(--white);
}

.scroll--down-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: var(--subtext--color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0;
    animation: fadeInScrollIndicator 1s ease 2.5s forwards;
    z-index: 10;
}

@keyframes fadeInScrollIndicator {
    to {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }
}

.mouse--icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--subtext--color);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--subtext--color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheelAnimation 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheelAnimation {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0;
    }

    60% {
        top: 8px;
        opacity: 0;
    }
}