/* ==========================================================
   PREVIA - DESKTOP
   La Mente por Dentro
   ========================================================== */


/* ==========================================================
   RESET
   ========================================================== */

* {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}


/* ==========================================================
   BODY
   ========================================================== */

body {
    background: #E2D0BE;

    overflow: hidden;

    color: #34261D;
}


/* ==========================================================
   ESCENARIO
   ========================================================== */

.preview {
    position: relative;

    width: 100vw;
    height: 100vh;

    overflow: hidden;
}


/* ==========================================================
   FONDO
   ========================================================== */

.preview-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image:
        url("/previa/desktop/base.png");

    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    z-index: 1;
}


/* ==========================================================
   TRANSICIÓN DEL FONDO
   ========================================================== */

.preview-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,

            rgba(248, 244, 239, 0.98) 0%,

            rgba(248, 244, 239, 0.94) 18%,

            rgba(248, 244, 239, 0.78) 29%,

            rgba(248, 244, 239, 0.45) 39%,

            rgba(248, 244, 239, 0.12) 49%,

            rgba(248, 244, 239, 0.00) 59%
        );
}


/* ==========================================================
   CONTENIDO
   ========================================================== */

.preview-content {
    position: relative;

    z-index: 3;

    width: 100%;
    height: 100%;

    display: flex;

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

    padding-left:
        clamp(
            6vw,
            10vw,
            13vw
        );
}


.preview-content-inner {
    width:
        min(
            520px,
            42vw
        );

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


/* ==========================================================
   LOGO
   ========================================================== */

.preview-logo {
    width: 170px;
    height: auto;

    display: block;

    margin: 0 auto;
}


.preview-logo img {
    display: block;

    width: 100%;
    height: auto;

    user-select: none;

    -webkit-user-drag: none;
}


/* ==========================================================
   AIRE DESPUÉS DEL LOGO
   ========================================================== */

.preview-logo-spacing {
    height:
        clamp(
            45px,
            4vh,
            70px
        );
}


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

.preview-title {
    max-width: 520px;

    margin: 0 auto;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            52px,
            4vw,
            66px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.02em;

    text-align: center;

    color: #30241D;
}


/* ==========================================================
   RIBBON
   ========================================================== */

.preview-ribbon {
    margin: 30px auto;

    display: flex;

    align-items: center;
    justify-content: center;
}


.ribbon-line {
    flex: 1;

    height: 1px;

    background:
        rgba(
            72,
            53,
            40,
            0.65
        );
}


.ribbon-symbol {
    margin: 0 9px;

    font-family: serif;

    font-size: 17px;

    line-height: 1;

    color: #49362A;

    transform: translateY(-1px);
}


/* ==========================================================
   TEXTO INTRODUCTORIO
   ========================================================== */

.preview-intro {
    max-width: 430px;

    margin: 0 auto;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;

    font-weight: 300;

    line-height: 1.55;

    text-align: center;

    color: #3B3028;
}


.preview-intro strong {
    font-weight: 600;
}


/* ==========================================================
   COUNTDOWN
   ========================================================== */

.preview-countdown {
    margin-top: 38px;

    display: flex;

    align-items: flex-start;
    justify-content: center;
}


.countdown-item {
    display: flex;

    flex-direction: column;

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

    min-width: 95px;

    padding: 0 15px;

    text-align: center;

    border-left:
        1px solid
        rgba(
            48,
            36,
            29,
            0.30
        );
}


.countdown-item:first-child {
    border-left: none;
}


/* ==========================================================
   NUMERO
   ========================================================== */

.countdown-number {
    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size:
        clamp(
            48px,
            3.5vw,
            60px
        );

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.02em;

    color: #34261D;
}


/* ==========================================================
   ETIQUETA
   ========================================================== */

.countdown-label {
    margin-top: 12px;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 400;

    letter-spacing: 0.20em;

    text-transform: uppercase;

    color: #493B32;
}


/* ==========================================================
   SEPARADORES
   ========================================================== */

.countdown-separator {
    width: 1px;

    height: 82px;

    margin: 0 10px;

    background:
        rgba(
            67,
            52,
            43,
            0.35
        );
}


/* ==========================================================
   HOJITA
   ========================================================== */

.preview-leaf {
    width: 20px;
    height: auto;

    margin: 32px auto 20px;

    opacity: 0.75;
}


.preview-leaf svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* ==========================================================
   FRASE FINAL
   ========================================================== */

.preview-footer-text {
    max-width: 440px;

    margin: 0 auto;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 10px;

    font-weight: 400;

    line-height: 1.5;

    letter-spacing: 0.17em;

    text-transform: uppercase;

    text-align: center;

    color: #55463B;
}


/* ==========================================================
   PANTALLAS ALTAS
   ========================================================== */

@media (min-height: 900px) {

    .preview-content-inner {
        transform: translateY(-5px);
    }

}


/* ==========================================================
   PANTALLAS BAJAS
   ========================================================== */

@media (max-height: 760px) {

    .preview-logo {
        width: 145px;
    }


    .preview-logo-spacing {
        height: 25px;
    }


    .preview-title {
        font-size: 48px;
    }


    .preview-ribbon {
        margin-top: 18px;
        margin-bottom: 22px;
    }


    .preview-intro {
        font-size: 14px;
    }


    .preview-countdown {
        margin-top: 25px;
    }


    .countdown-number {
        font-size: 48px;
    }


    .countdown-label {
        font-size: 8px;
    }


    .countdown-separator {
        height: 65px;
    }


    .preview-leaf {
        margin-top: 18px;
    }


    .preview-footer-text {
        font-size: 9px;
    }

}


/* ==========================================================
   PANTALLAS MUY ANCHAS
   ========================================================== */

@media (min-width: 1800px) {

    .preview-overlay {

        background:
            linear-gradient(
                90deg,

                rgba(248, 244, 239, 0.98) 0%,

                rgba(248, 244, 239, 0.94) 17%,

                rgba(248, 244, 239, 0.76) 28%,

                rgba(248, 244, 239, 0.42) 39%,

                rgba(248, 244, 239, 0.10) 49%,

                rgba(248, 244, 239, 0.00) 59%
            );
    }

}