*{margin:0;padding:0;box-sizing:border-box}


body{

    background: #9fafe2bd;
    /*background: linear-gradient(to right, #859398, #28304800);*/
    /*background-image:url(http://localhost/capaxion/img/clase-linea-sesion.jpg);*/
    background-attachment:fixed;background-size:cover;background-position:center;
    background-repeat:no-repeat;
    font-family:"Poppins","Arial",sans-serif;color:#fff;
    overflow-x:hidden;width:100%;
    font-size:min(14px,max(4.66vw,12px))

}
#frameContainer{
    display: flex;            /* Utiliza flexbox */
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.425); 
}


.galeriatext p {

    text-align: justify;
    margin-bottom: 30px;

}


#bodyindex {
    animation: fadeIn 0.5s ease-in 1;
    height: 100vh;
    display: grid;
    grid-template-rows: 18% 66% 14%;
    /*grid-template-rows: auto 1fr auto;*/ /* Tres filas: auto para el menú, 1fr para el carrusel y auto para el footer */
   /* grid-template-rows: 20% 60% 20%;*/
    min-height: 60vh;
    align-items: center;
    justify-content: center;
    background: #9fafe2bd
    /* background: linear-gradient(to right, #859398, #283048); */

}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 3; }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 3; }
}

@keyframes fadeOut {
    from { opacity: 3; }
    to { opacity: 0; }
}





@media screen and (max-width: 768px) {
#bodyindex {
    animation: fadeIn 0.5s ease-in 1;
    height: 100vh;
    display: grid;
    grid-template-rows: 18% 33% 14%;
    /*grid-template-rows: auto 1fr auto;*/ /* Tres filas: auto para el menú, 1fr para el carrusel y auto para el footer */
   /* grid-template-rows: 20% 60% 20%;*/
    min-height: 60vh;
    align-items: center;
    justify-content: center;
    background: #9fafe2bd
   

}
}

/* @media screen and (max-width: 1000px) {
    #frameContainer {
        padding-top: 30px;
        width: 800px;
        height: 500px;
} 
}*/
footer {
    background-color: #33333300;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;

}


#footerindex {
    background-color: #33333300;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.5;
}

#footerindex1 {
    background-color: #33333300;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 0.8;
}


@media (max-width: 768px) {
    footer {
        font-size: 12px;
    }

}



@media screen and (max-width: 1920px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
        margin-bottom: 5px;
        width: 1200px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%;

    }
}

/* Pantallas de 1600px de ancho o menos */
@media screen and (max-width: 1600px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
        margin-bottom: 5px;
        width: 900px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%;
    }
}

/* Pantallas de 1440px de ancho o menos */
@media screen and (max-width: 1440px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
        margin-bottom: 5px;
        width: 900px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%;
    }
}

/* Pantallas de 1280px de ancho o menos */
@media screen and (max-width: 1280px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
        margin-bottom: 5px;
        width: 900px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%;
    }
}

/* Pantallas de 1024px de ancho o menos */
@media screen and (max-width: 1024px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 10px;
        width: 900px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%; /* Asegura que no exceda el ancho del contenedor padre */
    }
}

/* Pantallas de 768px de ancho o menos */
@media screen and (max-width: 768px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 1px;
        margin-bottom: 1px;
        width: 600px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%; /* Asegura que no exceda el ancho del contenedor padre */
    }
}

/* Pantallas de 600px de ancho o menos */
@media screen and (max-width: 600px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        margin-top: 1px;
        margin-bottom: 1px;
        width: 500px;
        height: 95%; /* Restado 100px de la altura original */
        max-width: 100%; /* Asegura que no exceda el ancho del contenedor padre */
    }
}

/* Pantallas de 480px de ancho o menos */
@media screen and (max-width: 400px) {
    #frameContainer {
        margin-right: auto;
        margin-left: auto;
        display: flex;            /* Utiliza flexbox */
        justify-content: center;  /* Centra horizontalmente */
        align-items: center;
        margin-top: 15px;
        margin-bottom: 10px;
        width: 99%;
        height: 95%;
        padding-left: 30px;
        padding-right: 30px;
        box-shadow: none;
        
    }
}


