.content-wrapper {
    height: 100vh;
    width: 100vw;

    position: relative;

    overflow: hidden;
}

.content-wrapper::after {
    content: "";

    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;

    height: 100%;
    width: 100%;

    background-color: #f6fefd;
    opacity: .6;
}

.video-bg {
    min-height: 100vh;
    min-width: 100vw;

    position: absolute;
    top: 0;
    left: 0;
    z-index: -3;

    object-fit: cover;

    pointer-events: none;
    overflow: hidden;
}

.corners {
    height: 100vh;
    width: 100vw;

    position: relative;
}

.corners::before,
.corners::after {
    content: "";

    position: absolute;

    height: 5rem;
    width: 30vw;
}

.corners::before {
    top: 2rem;
    left: 2rem;

    border-top: 1.5px solid #010a09;
    border-left: 1.5px solid #010a09;
}

.corners::after {
    bottom: 2rem;
    right: 2rem;

    border-bottom: 1.5px solid #010a09;
    border-right: 1.5px solid #010a09;
}

.section {
    min-height: 50vh;

    position: relative;
    padding: 3rem;
    z-index: 1;
}

.section-author {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 1rem;

    animation: authorEnter 1.2s ease forwards;
}

.section-works {
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: end;
    gap: 1rem;

    opacity: 0;
    animation: worksEnter 1s ease forwards;
    animation-delay: 0.6s;
}

.title {
    font-size: 34px;
    font-family: var(--font-primary);
    color: #010a09;

    animation: titleEnter 1.1s ease forwards, titleBreath 6s ease-in-out infinite;
    animation-delay: 0.1s, 2s;
}

.rol-description-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: .25rem;
}

.subtitle-rol {
    max-width: 40%;

    font-size: 20px;
    font-family: var(--font-primary);
    color: #010a09;

    opacity: 0;
    animation: subtitleEnter 1s ease forwards;
    animation-delay: 0.25s;
}

.description {
    max-width: 40%;

    font-size: 18px;
    font-family: var(--font-secondary);
    font-weight: lighter;
    color: #010a09;

    opacity: 0;
    animation: descEnter 1s ease forwards;
    animation-delay: 0.4s;
}

.nav-resources .nav-link:nth-child(3) {
    display: none;
}

.nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 1rem;
}

.nav-link {
    position: relative;

    font-size: 20px;
    font-family: var(--font-secondary);
    font-weight: lighter;
    text-decoration: none;
    color: #010a09;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        filter 0.25s ease;
}

.nav-link::after {
    content: "";

    height: 2px;
    width: 0;

    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: -1;

    background-color: #010a09;

    transition: all .2s ease-out;
}

.nav-link:hover::after {
    width: 100%;
}

.video-author {
    position: absolute;
    bottom: 2rem;
    left: 2rem;

    font-size: 14px;
    font-family: var(--font-secondary);
    font-weight: lighter;
    color: #010a09;
}

@media (max-width: 1050px) {

    .corners::before,
    .corners::after {
        content: "";
        height: 8rem;
        width: 40vw;
    }

    .title {
        font-size: 38px;
    }

    .subtitle-rol {
        max-width: 60%;
        font-size: 24px;
    }

    .description {
        max-width: 60%;

        font-size: 20px;
    }

    .nav-link {
        font-size: 20px;
    }
}

@media (max-width: 590px) {
    .corners::before {
        top: 1rem;
        left: 1rem;
    }

    .corners::after {
        bottom: 1rem;
        right: 1rem;
    }

    .section {
        height: auto;
        padding: 2rem;
    }

    .title {
        font-size: 32px;
    }

    .subtitle-rol {
        max-width: 80%;
        font-size: 18px;
    }

    .description {
        max-width: 80%;

        font-size: 16px;
    }

    .nav-resources .nav-link:nth-child(3) {
        display: block;
    }

    .nav-link {
        font-size: 16px;
    }

    .video-author {
        display: none;
    }
}

@media (max-width: 270px) {

    .corners::before,
    .corners::after {
        content: "";
        height: 20vh;
        width: 30vw;
    }

    .title {
        font-size: 26px;
    }

    .subtitle-rol {
        max-width: 80%;
        font-size: 16px;
    }

    .description {
        max-width: 80%;
        font-size: 13px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 270px) {
    .corners::before {
        top: .5rem;
        left: .5rem;
    }

    .corners::after {
        bottom: .5rem;
        right: .5rem;
    }

    .section {
        padding: 1.25rem;
    }

    .title {
        max-width: 90%;
        font-size: 22px;
    }

    .subtitle-rol {
        max-width: 90%;
        font-size: 14px;
    }

    .description {
        max-width: 90%;
        font-size: 12px;
    }

    .nav-link {
        font-size: 12px;
    }
}

@keyframes bgBreath {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes authorEnter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleBreath {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-1px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes subtitleEnter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes descEnter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes worksEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}