* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.slider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen para cubrir todo el espacio */
    object-position: top; /* Prioriza la parte superior de la imagen */
    
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

/* Overlay oscuro */
.slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece con 50% de opacidad */
    z-index: 1; /* Capa encima de la imagen */
}

/* Contenedor de texto */
.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2; /* Capa encima del overlay */
}

.big-text {
    font-size: 48px; /* Tamaño del texto grande */
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra para destacar más */
}
.text-overlay {
    background-color: rgba(0, 123, 255, 0.75);
    padding: 10px 20px;
    font-size: 24px;
    border-radius: 10px;
    z-index: 1;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 100;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Logo */
.logo-container {
    position: absolute;
    top: 180px;
    left: 50%; /* Centra horizontalmente */
	transform: translateX(-50%); /* Ajusta para centrar completamente */
    z-index: 3; /* Encima del slider */
}

.logo {
    width: 168px;
    height: 70px;
    object-fit: contain; /* Mantiene la proporción */
}

/* Footer */
.footer-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 3;
}

.footer-text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.social-icons img {
    width: 30px;
    height: 30px;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2); /* Efecto al pasar el cursor */
}


@media (max-width: 768px) {
    .slide img {
        object-fit: contain; /* Mantiene la horizontalidad */
        object-position: center; /* Centra la imagen para dispositivos móviles */
    }

    .big-text {
        font-size: 28px; /* Reduce el tamaño del texto grande para pantallas pequeñas */
        font-weight: bold;
        margin-bottom: 10px;
        z-index: 2;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Sombra para mejorar visibilidad */
    }

    .text-overlay {
        background-color: rgba(0, 123, 255, 0.75);
        padding: 8px 16px; /* Reduce el padding para mejor proporción */
        font-size: 16px; /* Reduce el tamaño de la etiqueta */
        border-radius: 8px; /* Mantiene bordes redondeados */
        z-index: 1;
    }
	
	.logo {
        width: 120px;
        height: auto; /* Ajusta automáticamente la altura */
		top: 10px;
		
    }*/
	.footer-text {
        font-size: 18px; /* Texto más pequeño para móviles */
    }

    .social-icons img {
        width: 24px;
        height: 24px;
    }
}
