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

@font-face {
    font-family: "aktiv";
    src: url(fonts/aktiv_grotesk_regular.woff);
}

body {
    font-family: "aktiv";
    color: white;
    background-image: url("../img/textura.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}


/* LINKS */

a {
    text-decoration: none;
    color: inherit;
}


/* HEADER */

header {
    padding: 2rem;
    font-family: "aktiv";
}

header ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    height: 24px;
}


/* HOME */

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 80vw;
    max-width: 1100px;
}


/* WORK */

.works-page {
    padding: 2rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.work-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ABOUT */

.about-page {
    position: relative;
    padding: 2rem;
    height: auto;
    font-family: "aktiv";
}

.about-content,
.about-education-text {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    margin-bottom: 5rem;
    line-height: 1.6;
}

.about-content {
    margin-bottom: 5rem;
}

.about-content-pt,
.about-content-en,
.about-education-text-pt,
.about-education-text-en {
    width: 50%;
    max-width: 600px;
    align-self: flex-start;
}

.about-content-en,
.about-education-text-en {
    opacity: 0.7;
}

.contacts {
    display: flex;
    gap: 8rem;
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.contacts p {
    margin-bottom: .5rem;
}

.background-logo {
    width: 80%;
    opacity: .3;
    position: fixed;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

@media (max-width: 768px) {

    .about-page {
        padding: 1.25rem;
    }

    .about-content,
    .about-education-text {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .about-content-pt,
    .about-content-en,
    .about-education-text-pt,
    .about-education-text-en {
        width: 100%;
        max-width: 100%;
    }

    .contacts {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .background-logo {
        width: 120%;
    }
}

/* PROJECT */

.project-page {
    position: relative;
    padding: 0 0 4rem;
    height: auto;
    font-family: "aktiv";
}

.project-gallery {
    overflow: hidden;
    margin-bottom: 3rem;
}

.gallery-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-left 80s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    height: 420px;
    width: auto;
    flex-shrink: 0;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.project-info {
    display: flex;
    gap: 8rem;
    align-items: flex-start;
    margin-bottom: 6rem;
    padding: 0 2rem;
}

.project-name {
    min-width: 200px;
    line-height: 1.8;
}

.project-text,
.project-text-en {
    max-width: 600px;
    line-height: 1.6;
}

.project-text-en {
    opacity: 0.7;
}

@media (max-width: 768px) {

    .gallery-item {
        height: 260px;
    }

    .project-info {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 3rem;
        padding: 0 1.25rem;
    }

    .project-name {
        min-width: unset;
        width: 100%;
    }

    .project-text,
    .project-text-en {
        max-width: 100%;
    }
}