* {
    box-sizing: border-box;
    margin: -1px; padding: 0;
    scroll-behavior: smooth;
}
@font-face {
    font-family: Rundeck;
    src: url(Rundeck.ttf);
    
}
@font-face {
    font-family: IntroRust;
    src: url(IntroRust-Base.otf);
}

@font-face {
    font-family: RollerCoaster;
    src: url(Roller\ Coaster.ttf);
}

.header {
    width: 100%;
    height: 110px;
    background-color: #8b1e1e;
    
    top: 0;
    z-index: 1;
    
}

.logo {
    position: absolute;
    width: 55px !important;
    top: -5px; left:40%;
    border-radius: 50%;
}

.menu {
    width: 100%;
    gap: 10px;
    height: 100%;
    font-family: TT Coomons Pro Expanded;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: white;
    list-style-type: none;
    font-size: 12px;
    margin-left: -18px;
    padding-top: 60px;
}
.menu h1 {
    font-family: RollerCoaster;
    position: absolute;
    top: 20px;
    justify-content: center;
    align-items: center;
    color: #c46838;
    filter: drop-shadow(4px 5px 10px rgba(0, 0, 0, 0.5));
    font-size: 60px;
    
}

.dropdown {
    position: relative;
    float:right;
    left: -10px; top: 20px;
}


.btn-secondary {
    background-color: #601616 !important;
    border: 1px solid #601616 !important;
    height: 40px;
    border-radius: 20px !important;
}
  


.dropdown-menu.show {
    background-color: #8b1e1e;
    border: 1px solid #c46838;
    border-radius: 20px;
    width: max-content;
    position: absolute;
    top: 10px !important;
    z-index: 999 !important;
}

.elemento {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    list-style: none;
    text-decoration: none;
    font-size: 12px;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.1));
    border: 1px solid #a32f2f;
    background-color: #a32f2f;
    border-radius: 10px;
    margin: 20px;
    height: 40px;
    width: 80%;
    text-align: center;
}

.xde {
    position: relative;
    color:white;
    width: 100%; height: 100%;
    list-style: none;
    text-decoration: none;
    font-size: 20px;
    z-index: 10000000000;

}


.elementos1 {
    color: white;
    text-decoration: none;
    font-size: 13px;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.1));
    border: 1px solid #a32f2f;
    background-color: #a32f2f;
    padding: 8px;
    border-radius: 10px;
}

.menu1 {
    width: 100%;
    gap: 10px;
    height: 100%;
    font-family: TT Coomons Pro Expanded;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    color: white;
    list-style-type: none;
    font-size: 12px;
    padding: 72px 12px 0px 12px;
}
.menu1 h1 {
    font-family: Rundeck;
    position: absolute;
    top: 10px;
    justify-content: center;
    align-items: center;
    color: #c46838;
    filter: drop-shadow(4px 5px 10px rgba(0, 0, 0, 0.5));
    font-size: 40px;
    
}

.buttonContainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    background-color: #a32f2f;
    border: none;
}

.xde:hover {
    color: #fff;
    background-color: #601616;
}

.buttonContainer:focus {
    color: #c46838;
}

.dropdown-item:hover {
    display: none !important;
}

.dropdown-item:focus {
    display: none !important;
}

.elemento:hover, .elementos1:hover{
    background-color: #601616;
    border:1px solid #601616;
    color: antiquewhite;
    transform: scale(1.1);
    transition: transform .5s;
}

.body, .body2, .body3, .body4 {
    display: flex;
    width: 100%;
    justify-content: center; align-items: center;
    background-color: #8b1e1e;
}
.body5 {
    display: flex;
    background: url(/pages/inicio5.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height:950px;
    justify-content: center; align-items: center;
    background-color: #8b1e1e;
    flex-direction: column;
}

.body img {
    width: 100%;
    object-fit: contain;
}
.body2 img {
    width: 100%;
    object-fit: contain;
}
.body3 img {
    width: 100%;
    object-fit: contain;
}
.body4 img {
    width: 100%;
    object-fit: contain;
}
.body5 img {
    width: 100%;
    object-fit: contain;
}

.body .button {
    position: absolute;
    background-color: #a32f2f;
    width: 180px;
    height: 50px;
    color: white;
    border: none;
    border-radius: 7px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
    font-family: sans-serif;
    top: 450px;
    font-size: 20px;
}
.body .button a {
    text-decoration: none !important;
    color: white !important;
}

.body2 {
    flex-direction: column;
}

.button2 {
    position: relative;
    top:-110px;
    background-color: #a32f2f;
    width: 210px;
    height: 60px;
    border: none;
    border-radius: 2px;
}

#button2 {
    background-color: #a32f2f;
    width: 210px;
    height: 60px;
    color: white;
    border: none;
    border-radius: 2px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
    font-family: sans-serif;
    font-size: 23px;
    transition: transform .5s;
}

#button2:hover {
    background-color: #8b1e1e;
    color: white;
    transform: scale(1.1);
}

.button3 {
    position: absolute;
    background-color: #a32f2f;
    width: 250px;
    height: 60px;
    border: none;
    border-radius: 30px;
    top: 274%;
}

#button3 {
    border-radius: 30px;
    background-color: #c46838;
    width: 250px;
    height: 60px;
    color: WHITE;
    border: none;
    border-radius: 2px;
    filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
    font-family: sans-serif;
    font-size: 23px;
    transition: transform .5s;
}


.rpp-container {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 65%;
    border: none;

}

.rpp, .rpp1, .rpp2, .rpp3, .rpp4, .rpp5 {
    height: 150px;
    border: none;
    border-radius: 10px;
    overflow: hidden
}

.Rocio, .Abril, .Emma, .Felipa, .Matias  {
    width: 32% !important;
    height: 150px;
    border-radius: 10px;
    overflow: hidden    
    ;margin:20px;
    filter: drop-shadow(8px 8px 10px rgba(132, 32, 32, 0.362));

}

.rpp2 img, .rpp3 img, .rpp4 img, .rpp5 img,.rpp img {
    width:103% ;
    height:104% ;
    object-fit: contain;
    filter: brightness(.9);

     
}

.momentImg {
    width: 40% !important;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px;
    filter: drop-shadow(4px 4px 10px rgba(132, 32, 32, 0.362));
}
.momentImg:hover {
    transform: scale(1.1);
}

.h1-momentos {
    position:absolute;
    top: 20%;
    filter: drop-shadow(14px 14px 14px rgba(0,0,0 .3));
    z-index: 10;
    font-family: IntroRust;
    color: #fff;
    font-size: 50px;
}

.nazi {
    position: absolute;
    bottom: 8%;
    width: 350px;
    border-radius: 20px;
}



@media (min-width: 1079px) {
    /* Estilos para pantallas de escritorio estándar */

    .body,.body2,.body3 {
        width: 100%;
        height: 900px;
    }
  }
  
/* Desktop Styles - Solo para los fondos de los contenedores */
@media (min-width: 1024px) {

    .logo {
        left: 12% !important;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }
    .button2 {
        top: 200px !important;
        left: -600px;
    }
    
    .body img,
    .body2 img,
    .body3 img,
    .body4 img,
    .body5 img {
        display: none;
    }

    /* Estilos base para todos los contenedores principales */
    .body, .body2, .body4, .body5 {
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover; /* Cambiado para cubrir todo el contenedor */
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 0;
        display: flex;
        position: relative;
        background-color: #8b1e1e;
    }
    .body3{
        background-image: url('./PagesDK/Inicio3.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover; /* Cambiado de contain a cover */
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 0;
        display: flex;
        position: relative;
        background-color: #8b1e1e;
        margin-top: -130px;
        top: 130px;
        z-index: 1;
    }

    /* Asignación de imágenes de fondo */
    .body {
        background-image: url('/pagesDk/Inicio.svg');
    }
    
    .body2 {
        background-image: url('/pagesDk/Inicio2.svg');
    }
    
    .body3 {
        background-image: url('/pagesDk/Inicio3.svg');
        margin-top: -130px;
        position: relative;
        z-index: 1;
        height: 100vh;
        background-color: #8b1e1e;
    }
    
    .body4 {
        background-image: url('/pagesDk/Inicio4.svg');
        position: relative;
        z-index: 1;
        margin-top: -130px;
        top: 130px;
    }

    .body5 {
        background-image: url('./pagesDk/Inicio5.svg');
        margin-top: 0px;
        position: relative;
    }

    /* Ocultar las imágenes originales en desktop */
    

    /* Mostrar las imágenes RPP en la última página */
    .body5 img {
        display: block !important; /* Anulamos el display: none anterior */
    }

    /* Ajustes para el contenedor de RPP en desktop */
    .rpp-container {
        position: absolute;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: auto;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        z-index: 10;
        gap: 30px;
        padding: 0;
    }

    /* Ajustes para las imágenes RPP */
    .Rocio, .Abril, .Emma, .Felipa, .Matias {
        width: calc(33.33% - 40px) !important;
        height: 220px;
        margin: 10px;
        border-radius: 10px;
        overflow: hidden;
        filter: drop-shadow(8px 8px 10px rgba(132, 32, 32, 0.362));
        transition: transform 0.3s ease;
        display: block !important;
    }

    /* Ajuste del título para dar más espacio al carrusel */
    .h1-momentos {
        top: 17% !important;
        font-size: 60px;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    /* Ajuste de la imagen inferior para dar más espacio al carrusel */
    .nazi {
        bottom: -5%;
        width: 400px !important;
        z-index: 10;
        left: 10%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 90px;
    }

    /* Mostrar todos los elementos de RPP */
    .body5 .rpp-container,
    .body5 .rpp,
    .body5 .rpp1,
    .body5 .rpp2,
    .body5 .rpp3,
    .body5 .rpp4,
    .body5 .rpp5,
    .body5 img {
        display: block !important;
    }

    /* Ajustes para el contenedor principal de RPP */
    .rpp-container {
        position: absolute;
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: auto;
        top: 65% !important;
        left: 54% !important;
        transform: translate(-50%, -50%);
        z-index: 10;
        gap: 30px;
        padding: 0;
    }

    /* Ajustes para los contenedores individuales de RPP */
    .rpp, .rpp1, .rpp2, .rpp3, .rpp4, .rpp5 {
        height: 250px;
        width: 300px;
        border: none;
        border-radius: 10px;
        overflow: hidden;
        display: block !important;
    }

    /* Ajustes para las imágenes dentro de los RPP */
    .rpp2 img, .rpp3 img, .rpp4 img, .rpp5 img, .rpp img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.9);
        display: block !important;
    }

    /* Ajustes para las clases de las imágenes */
    .Rocio, .Abril, .Emma, .Felipa, .Matias {
        width: calc(33.33% - 40px) !important;
        height: 250px;
        margin: 10px;
        border-radius: 10px;
        overflow: hidden;
        filter: drop-shadow(8px 8px 10px rgba(132, 32, 32, 0.362));
        transition: transform 0.3s ease;
        display: block !important;
    }

    /* Ajustes específicos para la primera imagen */
    .body > img {
        display: none !important;
    }

    .body .button {
        position: absolute;
        background-color: #a32f2f;
        width: 220px;
        height: 60px;
        color: white;
        border: none;
        border-radius: 7px;
        filter: drop-shadow(4px 4px 10px rgba(0, 0, 0, 0.5));
        font-family: sans-serif;
        top: 65%;
        left:44%;
        transform: translateX(-50%);
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .body .button a {
        text-decoration: none !important;
        color: white !important;
    }

    .body .button:hover {
        background-color: #601616;
        transform: translateX(-50%) scale(1.05);
    }

    /* Ajustes para el texto en la página 4 */
    .body4 h2, 
    .body4 p, 
    .body4 .text-content {
        position: relative;
        z-index: 3; /* Mayor que body5 */
    }

    /* Asegurarnos de que la imagen original esté oculta */
    .body3 img {
        display: none !important;
    }

    /* Ajustes específicos para la página de momentos */
    .pages-moments {
        background-image: url('/PagesDK/Inicio5.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #8b1e1e;
        position: relative;
        overflow: hidden;
    }

    .moment-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 130px 5% 5% 5%;
        gap: 30px;
        z-index: 2;
        position: relative;
    }

    .momentImg {
        width: 30% !important;
        height: auto;
        max-height: calc((100vh - 300px) / 2);
        object-fit: cover;
        border-radius: 15px;
        margin: 15px;
        transition: transform 0.3s ease;
    }

    .h1-momentos {
        font-size: 70px;
        position: absolute;
        top: 8%;
        text-align: center;
        z-index: 2;
        width: 100%;
        margin: 0;
    }
}
  