:root {
    --font-principal: "Cormorant Garamond", serif;
    --font-color: #8c3e53;
    --font-numeros: "Public-sans", sans-serif;
}
b, strong {
  font-weight: 1000;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-principal);
    font-style: normal;
    text-transform: uppercase;
}
.numeros{
    font-family: var(--font-numeros);
    font-weight: 100 !important;
    font-style: normal;
}
body {
    font-family: 'Cormorant Garamond', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #faf9f6;
    color: var(--font-color);
    font-style: italic;
}

#menu{
    position: relative;
}

#menu-foto{
    width:100%;
    height: 50vh;
    min-height: 280px;

    background: url(../img/menu-bg.png) bottom center no-repeat;
    background-size: cover;
    position: relative;
}

.scroll-down{
    position:absolute;
    left:50%;
    bottom:25px;
    transform:translateX(-50%);
    animation:bounce 2s infinite;
    z-index: 5;
}

@keyframes bounce{
    0%,20%,50%,80%,100%{
        transform:translateX(-50%) translateY(0);
    }

    40%{
        transform:translateX(-50%) translateY(-12px);
    }

    60%{
        transform:translateX(-50%) translateY(-6px);
    }
}

/* =========================================
   SECCIÓN INFERIOR
========================================= */

#menu-section {
    position: relative;
    width: 100%;
    background: #fdfbf8;
    min-height: 900px;
    overflow: visible;
}


/* =========================================
   CONTENEDOR
========================================= */

.menu-container {
    position: relative;
    width: min(1200px, 90%);
    min-height: 850px;
    margin: 0 auto;
}


/* =========================================
   SOBRE
   Se eleva sobre la sección superior
========================================= */

.menu-envelope {
    position: absolute;
    z-index: 2;

    left: 0;
    top: -100px;

    width: 52%;
}

.envelope-image {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   TARJETA / MENÚ
========================================= */

.menu-card {
    position: absolute;
    z-index: 3;

    top: 180px;
    right: 0;

    width: 52%;
    min-height: 700px;

    background: #f5eee3;

    box-sizing: border-box;
}


/* Marco interior del menú */

.menu-card-inner {
    position: relative;

    width: calc(100% - 80px);
    min-height: 620px;

    margin: 40px auto;
    padding: 70px 40px 50px;

    border: 2px solid #8f4055;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* =========================================
   LOGO
========================================= */

.menu-logo {
    width: 100px;
    height: 100px;

    margin-bottom: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: Georgia, serif;
    font-size: 48px;
    color: #8f4055;

    border: 1px solid #8f4055;
    border-radius: 50%;
}


/* =========================================
   LINKS DEL MENÚ
========================================= */

.wedding-menu {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 30px;
}

.wedding-menu a {
    color: #985066;
    text-decoration: none;
    font-weight: 600;
    font-style: italic;
    font-size: 27px;

    transition: color 0.3s ease;
}

.wedding-menu a:hover {
    color: #6f2d40;
}


/* =========================================
   BOTÓN CONFIRMAR
========================================= */

.confirm-button {
    display: inline-block;

    margin-top: 55px;
    padding: 13px 28px;

    background: #913f54;
    color: #fff;


    font-style: italic;
    font-size: 24px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 5px;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.confirm-button:hover {
    background: #753044;
    color: #fff;

    transform: translateY(-2px);
}
/*collage*/
.collage {
    width: 100%;
    
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin: 0;
    padding: 0;

    gap: 0;
}

.collage-item {
    width: 100%;
    aspect-ratio: 1 / 1;

    margin: 0;
    padding: 0;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hashtag{
    font-style: italic;
    text-transform: none;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    #menu-section {
        min-height: 750px;
    }

    .menu-container {
        width: 94%;
        min-height: 700px;
    }

    .menu-envelope {
        top: -70px;
        width: 55%;
    }

    .menu-card {
        top: 130px;
        width: 55%;
    }

    .menu-card-inner {
        width: calc(100% - 50px);
        padding: 50px 25px 40px;
    }

    .wedding-menu a {
        font-size: 22px;
    }

    .confirm-button {
        font-size: 20px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
    
    #menu-foto{
        height: 32vh;
        min-height: 280px;
    }
    
    .separador{
        height: auto !important;
        width: 56%;
        margin: 0 auto;
        margin-bottom: 0px;
    }
    .laterales{
        margin: 0 42px;
    }
    .clover{
        width: 10% !important;
        margin: 30px auto;
        
    }
    #menu-section {
        min-height: auto;
        padding: 0 0 60px;
    }

    .menu-container {
        width: 100%;
        min-height: auto;

        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .scroll-down {
        bottom: -20px;
    }

    /*
     * El sobre continúa sobresaliendo
     * sobre la sección superior.
     */

    .menu-envelope {
        position: relative;
        top: -40px;
        left: auto;
        width: 90%;
        margin-bottom: -20px;
    }
    .envelope-image {
        display: block;
        width: 75%;
        height: auto;
    } 
    /*
     * El menú pasa debajo del sobre.
     */

    .menu-card {
        position: relative;
        height: 475px;
        top: -284px;
        right: auto;
        width: 66%;
        min-height: auto;
        margin-top: 0;
        left: 46px;
    }
        .menu-card img{
            width: 17px;
            
        }

    .menu-card-2 {
        position: relative;
        top: 0;
        right: auto;
        
        max-height: 280px;
        
        left: 0px;
        margin: 0px 15px;
        background: #CCB3AF;
        background: linear-gradient(148deg, rgba(204, 179, 175, 1) 0%, rgba(240, 230, 225, 1) 54%);
    }
    .menu-card-3 {
        position: relative;
        background: #eee1d2;

        top: -50px;
        right: auto;
        
        min-height: auto;
        margin: 5px 15px;
        left: 0px;
        padding: 15px;
    }
        .menu-card-3 h2{
            margin-top: 10px;
        }

    .menu-card-frame-3 {
        position: absolute;
        z-index: 1;

        top: 0;
        left: 0;

        width: 100%;
        height: 108%;
    }
    .menu-card-inner {
        width: calc(100% - 30px);
        min-height: auto;
        margin: 15px auto;
        padding: 30px 15px 30px;
    }
    

    .menu-card-content {
        position: relative;
        z-index: 2;

        width: 100%;
        height: 100%;
        min-height: 490px;
        padding: 60px 35px 0;

        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .menu-card-content-2 {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        top: -320px;
        left: 0;
        padding: 4px 42px;
       
    }
    .menu-card-content-3 {
        position: relative;
        z-index: 1;

        width: 100%;
        height: 745px;
        min-height: 520px;
        padding: 40px 28px 0px;

        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }


    .menu-logo {
        border: none;
        margin-bottom: 20px;
    }
    .menu-logo img {
        width: 90px;
        height: auto;
        border: none;
    }

    .wedding-menu {
        gap: 10px;
    }

    .wedding-menu a {
        font-size: 22px;
    }
    .fechas{
        font-size: 18px;
    }
    .confirm-button {
        margin-top: 20px;
        padding: 0px 8px;
        text-transform: capitalize;
        font-size: 17px;
        text-align: center;
    }
    .confirm-button-small {
        margin-top: 5px;
        padding: 0cap 8px;

        font-size: 15px;
        text-align: center;
        font-weight: 600;

        display: inline-block;

        background: #913f54;
        color: #fff;
        font-style: italic;
        
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .badge-container{
        margin-top: -30px;
        z-index: 3;
    }  
        .badge-container img{
            width: 20%;
        }

    #regalos {
        margin: 20px 0;
        padding: 0;
    }


    /* =========================================
    FILA SUPERIOR
    1 y 2 siempre cuadrados
    ========================================= */

    .square-item {
        aspect-ratio: 1 / 1;

        padding: 0;
        margin: 0;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
        background: #cfb2ae;
    }


    /* =========================================
    FILA INFERIOR
    3 y 4 = 50% del ancho
    La altura puede ser vertical
    ========================================= */

    .vertical-item {
        min-height: 300px;

        padding: 0;
        margin: 0;

        overflow: hidden;

        display: flex;
        align-items: center;
        justify-content: center;
    }


    /* =========================================
    IMÁGENES
    ========================================= */

    .square-item img,
    .vertical-item img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;
        object-position: center center;
    }


    /* =========================================
    TEXTO
    ========================================= */

    .text-content {
        width: 100%;
        padding: 5px;
        background: #cfb2ae;
        text-align: center;
    }
        .text-content h2 {
            margin:10px 0 0 0;
        }
        .text-content img {
            margin-bottom: 2px;
        }
    .regalos-text {
        width: 100%;
        padding: 0 42px;
        font-size: 16px;
        line-height: 1.5;
    }
        .regalos-text img{
            height: auto !important;
            width: 56%;
            margin: 0 auto;
        }
/* =========================================
    Trintena
    ========================================= */
    #treintena{
        background-color: #cfb2ae;
    }  
        #treintena p{
            padding-top:30px;
        }
    #treintena img {
        width: 100%;
        height: 100%;
        
        display: block;

        object-fit: cover;
        object-position: center center;
    }
    .menu-card-4 {
        position: relative;
        top: 0;
        right: auto;
        
        max-height: 280px;
        
        left: 0px;
        margin: 0px 5px;
        background: #CCB3AF;
        background: linear-gradient(148deg, rgba(204, 179, 175, 1) 0%, rgba(240, 230, 225, 1) 54%);
    }
    .menu-card-frame-4 {
        position: absolute;
        z-index: 1;

        top: 0;
        left: 0;

        width: 100%;
        height: 108%;
    }
    .menu-card-content-4 {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        min-height: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        top: -320px;
        left: 0;
        padding: 4px 50px;
       
    }
    .logo-footer{
        text-align: center;
        width: 27%;
    }
    #timer a{
        margin-top: 3px;
    }
}

