/* Root */

html,
body {
    color-scheme: dark;
    scroll-behavior: smooth;
    text-rendering: optimizelegibility;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    background-color: #FFFFFF;
    background-image: url(../images/background.png);
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Lato', sans-serif;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    cursor: default;
}

a {
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

a:active {
    opacity: 0.5;
}

.app-logotype {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-logotype img {
    width: 230px;
    height: 60px;
    -o-object-fit: contain;
    object-fit: contain;
}

/* Header */

header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
}

header .content {
    width: 90%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .content .links {
    display: flex;
    align-items: center;
    gap: 65px;
}

header .content .links a {
    color: #414141;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.04px;
}

header .content .links a svg {
    width: 22px;
    height: 22px;
}

header .content .links a:hover {
    color: #FA6504;
}

header .content .media {
    display: none;
    position: absolute;
    right: 5%;
}

.media-menu {
    display: none;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    -webkit-backdrop-filter: blur(64px);
    backdrop-filter: blur(64px);
    background-color: #FFFFFF50;
    z-index: 123456789;
}

.media-menu .close {
    position: absolute;
    top: 30px;
    right: 32px;
    font-size: 32px;
}

.media-menu .close svg {
    width: 48px;
    height: 58px;
}

.media-menu .media-content {
    position: relative;
    padding: 32px 28px;
    background-image: url(../images/footer_2.png);
    background-color: #202020;
    background-size: cover;
    background-repeat: no-repeat;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-menu .media-content .content {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 100%;
    display: grid;
    text-align: center;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.media-menu .media-content .content .links {
    margin-top: 30px;
    display: grid;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 30px;
}

.media-menu .media-content .content .links:first-of-type {
    margin-top: 60px;
}

.media-menu .media-content .content .links a {
    color: #b3b3b3;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1.04px;
    justify-content: center;
}

.media-menu .media-content .content .links a svg {
    width: 22px;
    height: 22px;
}

.media-menu .media-content .content .links a:hover {
    color: #FA6504;
}

/* Content */

main {
    margin: auto;
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin-top: 70px;
    min-height: calc(100vh - 110px - 100px - 70px - 240px);
}

main .wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

main .wrapper .link {
    border-radius: 20px;
    padding: 25px;
    background-color: #000000;
    background-size: cover;
    background-repeat: no-repeat;
}

main .wrapper .big-link {
    transition: 0.3s;
    width: calc((100% - 15px * 3) / 4 - 25px * 2);
    height: calc(470px - 25px * 2);
}

main .wrapper .big-link:hover {
    transform: scale(1.025);
}

main .wrapper .small-link {
    width: calc((100% - 15px * 2) / 3 - 25px * 2);
    height: calc(150px - 25px * 2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main .wrapper .link h1 {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    text-wrap: balance;
}

main .wrapper .link h2 {
    color: rgba(255, 255, 255, 0.70);
    margin-top: 25px;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    text-wrap: balance;
}

main .wrapper .link a {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    color: #FA6504;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    margin-top: 25px;
}

main .wrapper .link a:hover {
    -webkit-text-decoration: underline 1px;
    text-decoration: underline 1px;
}

main .wrapper .link img {
    -o-object-fit: contain;
    object-fit: contain;
}

/* Footer */

footer {
    margin-top: 100px;
    position: absolute;
    width: 100%;
    background-image: url(../images/footer.png);
    background-color: #202020;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 50px 0;
    display: flex;
}

footer .content {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer .content .company-container,
footer .content .links-container {
    display: flex;
    gap: 60px;
}

footer .content .company-container .company .app-logotype img {
    width: 155px;
}

footer .content .company-container .copyright {}

footer .content .company-container .copyright h1 {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    text-wrap: balance;
}

footer .content .company-container .copyright h2 {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%;
    max-width: 360px;
    text-wrap: balance;
}

footer .content .company-container .copyright h2 a {
    color: #FA6504;
    -webkit-text-decoration: underline 1px;
    text-decoration: underline 1px;
}

footer .content .links-container .links {
    max-width: 175px;
}

footer .content .links-container .links h1 {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    white-space: nowrap;
}

footer .content .links-container .links .list {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}

footer .content .links-container .links .list a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: capitalize;
}

footer .content .links-container .links .list a:hover {
    color: #FA6504;
}

/* Adaptation */

@media screen and (max-width: 1280px) {
    header .content .links {
        gap: 45px;
    }

    main {
        max-width: 1000px;
    }

    main .wrapper .big-link {
        width: calc((100% - 15px * 2) / 3 - 25px * 2);
    }

    main .wrapper .big-link:last-of-type {
        width: calc(100% - 25px * 2);
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    main .wrapper .big-link:last-of-type h2 {
        max-width: 250px;
        text-wrap: balance;
    }

    footer .content {
        max-width: 1000px;
        gap: 30px;
    }

    footer .content .company-container,
    footer .content .links-container {
        gap: 30px;
    }
}

@media screen and (max-width: 950px) {
    header .content {
        justify-content: center;
    }

    header .content .links {
        display: none;
    }

    header .content .app-logotype img {
        width: 155px;
    }

    header .content .media {
        display: block;
    }

    main {
        margin-top: 25px;
        max-width: 430px;
    }

    main .wrapper {
        display: grid;
        gap: 10px;
    }

    main .wrapper .link {
        width: calc(100% - 25px * 2) !important;
    }

    main .wrapper .big-link {
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
        min-height: calc(240px - 25px * 2);
    }

    main .wrapper .link h1 {
        font-size: 18px;
    }

    main .wrapper .link h2 {
        font-size: 10px;
        max-width: 170px;
    }

    main .wrapper .link a {
        font-size: 14px;
    }

    main .wrapper .link img {
        max-width: 75px;
    }

    footer .content .company-container {
        display: grid;
    }

    footer .content .company-container .app-logotype {
        justify-content: center;
    }

    footer .content .company-container .company .app-logotype img {
        width: 200px;
    }

    footer .content {
        display: grid;
        justify-content: center;
        text-align: center;
        align-items: center;
        align-content: center;
    }
}

@media screen and (max-width: 500px) {
    footer .content .links-container {
        display: grid;
        justify-content: center;
    }
}