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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;

    overflow-x: hidden;
}

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


/* =========================================
   CONTENEDOR GENERAL
========================================= */

.artistico-page {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    padding:
        50px
        60px
        40px;
}


/* =========================================
   VIDEO
========================================= */

.background-video {
    position: fixed;
    inset: 0;

    z-index: -2;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.video-overlay {
    position: fixed;
    inset: 0;

    z-index: -1;

    background-color: rgba(0, 0, 0, 0.12);
}


/* =========================================
   FLECHA
========================================= */

.back {
    position: absolute;

    top: 45px;
    left: 60px;

    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 38px;
    font-weight: 300;
    line-height: 1;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.back:hover {
    opacity: 0.55;
    transform: translateX(-5px);
}


/* =========================================
   MENÚ
========================================= */

.menu {
    position: absolute;

    top: 60px;
    right: 60px;

    z-index: 10;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    gap: 2px;
}

.menu a {
    color: #ffffff;

    font-family: "Inclusive Sans", sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.menu a:hover {
    opacity: 0.55;
    transform: translateX(-3px);
}

.menu .active {
    color: #ffffff;
    opacity: 1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* =========================================
   COMPOSICIÓN DE PROYECTOS
========================================= */

.projects {
    width: min(1250px, 92%);
    min-height: 720px;

    margin:
        90px
        auto
        120px;

    display: grid;

    grid-template-columns:
        minmax(250px, 1fr)
        minmax(320px, 1.15fr)
        minmax(250px, 1fr);

    grid-template-rows:
        auto
        minmax(210px, auto)
        auto;

    grid-template-areas:
        "vida vida vida"
        "desconexion titulo piel"
        "mundos mundos mundos";

    align-items: center;
    justify-items: center;

    column-gap: 45px;
   row-gap: 20px;
}


/* =========================================
   TÍTULO PRINCIPAL
========================================= */

.projects h1 {
    grid-area: titulo;

    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 96px;
    font-weight: 600;
    line-height: 0.95;

    text-align: center;
    white-space: nowrap;
}


/* =========================================
   PROYECTOS
========================================= */

.project {
    color: #ffffff;

    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    font-weight: 500;
    line-height: 1;

    text-align: center;

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project:hover {
    opacity: 0.62;
    transform: translateY(-5px);
}

.project-vida {
    grid-area: vida;

    max-width: 1050px;
}

.project-desconexion {
    grid-area: desconexion;

    justify-self: start;
}

.project-piel {
    grid-area: piel;

    justify-self: end;
}

.project-mundos {
    grid-area: mundos;
}

.project-disabled {
    cursor: default;
}

.project-disabled:hover {
    opacity: 1;
    transform: none;
}


/* =========================================
   PUNTOS DECORATIVOS
========================================= */

.dot {
    position: absolute;

    z-index: 6;

    width: 15px;
    height: 15px;

    background-color: #ffffff;
    border-radius: 50%;

    pointer-events: none;
}

.dot1 {
    top: 35px;
    left: 30px;
}

.dot2 {
    top: 35px;
    left: 50%;

    transform: translateX(-50%);
}

.dot3 {
    top: 35px;
    right: 30px;
}

.dot4 {
    bottom: 250px;
    left: 30px;
}

.dot5 {
    right: 30px;
    bottom: 250px;
}


/* =========================================
   FOOTER
========================================= */

footer {
    width: 100%;

    margin-top: 80px;
    padding-top: 45px;

    border-top: 1px solid rgba(255, 255, 255, 0.28);

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    color: #ffffff;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 55px;
}

.footer-left p {
    font-family: "Inclusive Sans", sans-serif;
    font-size: 20px;
    font-weight: 300;
}

.footer-left i {
    font-size: 19px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 18px;
}

.footer-right {
    display: flex;
    justify-content: flex-start;
}

footer a {
    color: #ffffff;

    font-family: "Inclusive Sans", sans-serif;
    font-size: 15px;
    font-weight: 300;

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

footer a:hover {
    opacity: 0.55;
    transform: translateX(3px);
}


/* =========================================
   PANTALLAS MEDIANAS
========================================= */

@media (max-width: 1150px) {

    .projects {
        width: 94%;

        grid-template-columns:
            minmax(200px, 1fr)
            minmax(260px, 1.1fr)
            minmax(200px, 1fr);

        column-gap: 25px;
    }

    .projects h1 {
        font-size: 82px;
    }

    .project {
        font-size: 48px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 850px) {

    .artistico-page {
        padding:
            40px
            30px
            35px;
    }

    .back {
        top: 35px;
        left: 24px;
    }

    .menu {
        top: 45px;
        right: 24px;
    }

    .menu a {
        font-size: 16px;
    }

    .projects {
        min-height: auto;

        margin:
            160px
            auto
            100px;

        grid-template-columns: 1fr;
        grid-template-rows: auto;

        grid-template-areas:
            "vida"
            "desconexion"
            "titulo"
            "piel"
            "mundos";

        gap: 55px;
    }

    .projects h1 {
        font-size: 82px;
    }

    .project {
        justify-self: center;

        font-size: 48px;
        text-align: center;
    }

    .project-desconexion,
    .project-piel {
        justify-self: center;
    }

    footer {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        align-items: flex-start;
        justify-content: flex-start;
    }

    .footer-left {
        gap: 25px;
    }

}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 520px) {

    .artistico-page {
        padding:
            35px
            24px
            30px;
    }

    .dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    transform: none !important;
    border-radius: 50%;
}

    .dot1 {
        top: 25px;
        left: 24px;
    }

    .dot2 {
        top: 25px;
    }

    .dot3 {
        top: 25px;
        right: 24px;
    }

    .dot4 {
        bottom: 220px;
        left: 24px;
    }

    .dot5 {
        right: 24px;
        bottom: 220px;
    }

    .projects {
        width: 100%;
        margin-top: 155px;
        gap: 42px;
    }

    .projects h1 {
        font-size: 64px;
    }

    .project {
        font-size: 38px;
        line-height: 1.03;
    }
}