@charset "utf-8";
body{
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef); /* Un degradado suave */
    color: #333; /* Mejor contraste */
    font-family: 'Poppins', sans-serif; /* Fuente más moderna */
}

html, div, img{
    margin: 0;
    padding: 0;

}
.slider{
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); /* Sombra suave */
}
.slider img{  width: 100%; /* Ajusta el ancho al contenedor */
    height: auto; /* Mantiene la proporción */
    max-height: 570px; /* Limita la altura para evitar imágenes demasiado grandes */
    object-fit: cover; /* Recorta la imagen si es necesario para llenar el espacio */
}
.slideshow{
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: all 2500ms;
    animation-name: autoplay;
    animation-duration: 25s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
.item-slide{
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
}
.pagination{
    position: absolute;
    bottom: 20px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.pag-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #CCC;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
    text-align: center;
    transition: all 0.3s;
}
.pag-item:hover{ transform: scale(1.5);
    background: #4CAF50; }
.pag-item img{
    display: inline-block;
    max-width: none;
    height: 100%;
    transform: scale(1);
    opacity: 0;
    transition: all 300ms;
    background: #4CAF50;
}
.pag-item:hover img{
    opacity: 1;
}
input[id="1"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 0),0,0);
}
input[id="1"]:checked ~ .pagination .pag-item[for="1"]{
    background: #FFF;
}
input[id="2"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 1),0,0);
}
input[id="2"]:checked ~ .pagination .pag-item[for="2"]{
    background: #FFF;
}
input[id="3"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 2),0,0);
}
input[id="3"]:checked ~ .pagination .pag-item[for="3"]{
    background: #FFF;
}
input[id="4"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 3),0,0);
}
input[id="4"]:checked ~ .pagination .pag-item[for="4"]{
    background: #FFF;
}
input[id="5"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 4),0,0);
}
input[id="5"]:checked ~ .pagination .pag-item[for="5"]{
    background: #FFF;
}
input[id="6"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 5),0,0);
}
input[id="6"]:checked ~ .pagination .pag-item[for="6"]{
    background: #FFF;
}
input[id="7"]:checked ~ .slideshow{
    animation: none;
    transform: translate3d(calc(-100% * 6),0,0);
}
input[id="7"]:checked ~ .pagination .pag-item[for="7"]{
    background: #FFF;
}
@keyframes autoplay{
    20%{ transform: translate3d(calc(-100% * 0), 0, 0); }
    40%{ transform: translate3d(calc(-100% * 1), 0, 0); }
    60%{ transform: translate3d(calc(-100% * 2), 0, 0); }
    80%{ transform: translate3d(calc(-100% * 3), 0, 0); }
    100%{ transform: translate3d(calc(-100% * 4), 0, 0); }
    100%{ transform: translate3d(calc(-100% * 5), 0, 0); }
    100%{ transform: translate3d(calc(-100% * 6), 0, 0); }
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: #fff;

}
.logo-titulo {
    display: flex;
    align-items: center; /* Alinea el logo y el título verticalmente */
}

.logo-titulo img {
    height: 70px; /* Ajusta el tamaño del logo */
    width: auto; /* Mantiene la proporción */
    margin-right: 15px; /* Espacio entre el logo y el título */
}

.titulo {
    font-size: 28px; /* Ajusta el tamaño del título */
    font-weight: bold;
    color: #222;
}
.btn-login {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(45deg, #0056b3, #00d4ff); /* Azul con celeste */
    color: #fff; /* Texto en blanco */
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-login:hover {
    background: linear-gradient(45deg, #003366, #00aaff);
    transform: scale(1.1);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
/* 📌 Media Queries para Responsividad */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .titulo {
        font-size: 18px;
        margin-top: 10px;
    }

    .btn-login {
        font-size: 16px;
        padding: 8px 16px;
    }

    .slider {
        max-height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .titulo {
        font-size: 16px;
    }

    .btn-login {
        font-size: 14px;
        padding: 6px 12px;
    }

    .slider {
        max-height: 300px;
    }
}

