@font-face {
    font-family: 'Barricada W01 Regular';
    src: url('./Barricada W01 Regular.ttf');
}

p, a {
    color: #00318a;
}

h1,h2,h3,h4,h5,h6, strong, a {
    font-family: 'Barricada W01 Regular', 'Open Sans', sans-serif;
    color: #00318a;
    font-weight: lighter;
}


body {
    background-image: url('../img/fondo.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#seccion1 {
    background-image: url('../img/desktop.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 0px 90%;
}

#seccion2 {
    background-image: none;
    background-size: cover;
    background-position: center;
}

#seccion3 {
    background-image: none;
    background-size: cover;
    background-position: center;
}

#seccion4 {
    background-image: none;
    background-size: contain;
    background-position: center;
}

#seccion5 {
    background-image: url('../img/banner-5-min.png');
    background-size: cover;
    background-position: center;
}

#seccion6 {
    background-image: url('../img/banner-6-min.png');
    background-size: cover;
    background-position: center;
}

.section-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0 50vh 0; /* Añade espacio arriba y abajo */
}

.content-wrapper {
    max-width: 100%; /* Ajusta según necesites */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.spacer {
    height: 20vh; /* O el valor que prefieras */
    width: 100%; /* Asegura que ocupe todo el ancho */
}

/* Estilo general del slider */
.custom-slider {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Contenedor de las imágenes */
.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

/* Cada diapositiva */
.slide {
    flex: 0 0 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Imagen dentro de la diapositiva */
.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Estilos para el contenido de las diapositivas */
.slide-content {
    padding: 20px;
}

/* Título en el contenido de las diapositivas */
.slide-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Estilo de los botones de navegación */
.slider-nav button {
    background: transparent;
    border: none;
    font-size: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2; /* Asegura que los botones estén encima de las imágenes */
}

/* Botón anterior */
.slider-nav .prev { 
    left: 10px; 
}

/* Botón siguiente */
.slider-nav .next { 
    right: 10px; 
}

/* Efecto hover en los botones */
.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Dots de navegación */
.slider-dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background: #fff;
}

.prev, .next {
    background: transparent;
        border: none;
        font-size: 0;
        
    }

/* Estilo del icono del menú */
.menu-icon {
    position: fixed;
    top: 30px;
    left: 20px;
    cursor: pointer;
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
}

/* Estilo del menú flotante */
.floating-menu {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    top: 85px;
    /* Debajo del icono */
    left: 20px;
    background-color: #fff;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    z-index: 999;
    /* Asegura que esté por encima de otros elementos */
    font-weight: bold;
}

.floating-menu a {
    display: block;
    color: #00318a;
    text-decoration: none;
    padding: 5px 0;
}

.floating-menu a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    #seccion1 {
        background-image: none;
    }
    .slide img {
        width: 80%;
        height: auto;
        object-fit: cover;
    }
}