@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Heavy.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir';
    src: url('../fonts/Avenir-Roman.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}


:root {
    --primary-color: #E2BC0B;
    --body-color: #000000;
    --plus-color-main: var(--primary-color);
    --plus-color-secundair: #F6F6F6;

    --font-family: 'Avenir', sans-serif;

    --font-weight-roman: 400;
    --font-weight-heavy: 800;
    --font-weight-black: 900;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: var(--font-family);
    color: var(--body-color);
}

.plus {
    z-index: -1;
    position: absolute;
    scale: 0;
    transform-origin: center;
    transition: scale 1000ms ease-out;
}

.plus.active {
    scale: 1;
}

.plus::before,
.plus::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.plus::before {
    height: 100%;
    width: 22%;
}

.plus::after {
    height: 22%;
    width: 100%;
}


.plus.plus--1 {
    width: 300px;
    height: 300px;
    left: 30vw;
    top: -60px;
}

.plus.plus--1::before,
.plus.plus--1::after {
    background-color: var(--plus-color-secundair);
}

.plus.plus--2 {
    width: 300px;
    height: 300px;
    right: -120px;
    top: 60vh;
    transition-delay: 300ms;
}

.plus.plus--2::before,
.plus.plus--2::after {
    background-color: var(--plus-color-secundair);
}


.plus.plus--3 {
    width: 100px;
    height: 100px;
    left: -200px;
    bottom: -200px;
    transition-delay: 600ms;
}

.plus.plus--3::before,
.plus.plus--3::after {
    background-color: var(--plus-color-main);
}


main {
    padding: 130px 20px;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 120px;
    align-items: center;
    min-height: 100vh
}

.content {
    width: 100%;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1000ms ease, transform 1000ms ease;
}

.content h1 {
    font-weight: var(--font-weight-black);
    font-style: normal;
    font-size: 48px;
    line-height: 66px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.content h2 {
    font-weight: var(--font-weight-black);
    font-style: normal;
    font-size: 24px;
    line-height: 34px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

p + h2
{
    margin-top: 40px;
}

ul
{
    margin-left: 20px;
}

.content.active {
    opacity: 1;
    transform: translateY(0);
}

.content p {
    position: relative;
    font-weight: var(--font-weight-roman);
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 11px;
}

.links {
    width: 100%;
}

.links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 27px;
}

.links .icon-container {
    padding-top: 100%;
    position: relative;
}


.links .card .icon-container .icon-container__inner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: perspective(300px);
    transform-style: preserve-3d;
    transition: background-color 300ms ease;
}

.links .card .icon-container .icon-container__inner span {
    color: var(--body-color);
    font-family: var(--font-family);
    font-weight: var(--font-weight-heavy);
    font-style: normal;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    transform: translateZ(3.4722222222vw);
}

.links .card .icon-container .icon-container__inner:hover {
    background-color: #F2F2F2;
}

.links .card a {
    text-decoration: none;
}

.links .card a > span {
    display: inline-block;
    color: var(--body-color);
    font-family: var(--font-family);
    font-weight: var(--font-weight-heavy);
    font-style: normal;
    font-size: 14px;
    line-height: 19px;
    text-transform: uppercase;
    padding-top: 8px;
}


.links .card a > span::before {
    content: '';
    display: inline-block;
    width: 54px;
    height: 3px;
    vertical-align: middle;
    margin-right: 18px;
    background-color: var(--body-color);
}

@media screen and (max-width: 1024px) {
    main {
        padding: 100px 20px;
        flex-direction: column;
        gap: 20px;
    }

    .content {
        margin-bottom: 40px;
    }

    .plus.plus--1 {
        left: 50vw;
    }

    .plus.plus--3 {
        display: none;
    }


}

@media screen and (max-width: 640px) {

    main {
        gap: 0px;
    }

    .content h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 20px
    }

    .links .card .icon-container .icon-container__inner span {
        font-size: 16px;
        line-height: 22px;
    }

    .links .card a > span {
        font-size: 12px;
        line-height: 16px;
    }

    .links .card a > span::before {
        width: 25px;
    }

    .plus.plus--1,
    .plus.plus--2 {
        width: 200px;
        height: 200px;
    }

    .plus.plus--1 {
        left: 40vw;
    }

    .plus.plus--2 {
        top: 100vh
    }

}
