/* Reset de estilos para asegurar una base consistente */
* {
    box-sizing: border-box;
}

/* Estilo para el cuerpo de la página */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Estilos para encabezados */
h1 {
    font-size: 24px;
    color: #333;
}

h2 {
    font-size: 20px;
    color: #555;
}

/* Estilos para párrafos */
p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}

/* Estilo para enlaces */
a {
    color: #007bff;
    text-decoration: none;
}

/* Estilos para enlaces cuando están en estado hover (sobre) */
a:hover {
    text-decoration: underline;
}

/* Estilo para botones */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.barra_red {
    width: 50px;
    border: #9c1f2e solid 3px;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.barra_gris {
    width: 50px;
    border: #d9d8d8 solid 3px;
    border-radius: 10px;
}

/*Inicio */

.main_inicio {
    display: flex;
    flex-direction: column;
}

.Sec1 {
    background-image: url('../img/homeHero.png');
    background-size: cover;
    background-repeat: no-repeat;
    height: 92vh;
}

@media (max-width: 768px) {
    .Sec1 {
        background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1)), url('../img/homeHero.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 80% 20%;
        width: 100%;
    }
}


.degradado {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.7);
}

.Sec2 {
    position: relative;
    width: 100%;
}

.card {
    flex: 1 0 auto;
    width: 280px;
    height: 300px;
}

@media (min-width: 1100px) {

    .card_Hitos {
        overflow-x: hidden;
    }

    .card {
        overflow-x: hidden;
    }

}

.content_ODS {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(90px,
                1fr));
    gap: 5px;
}

.div_principios {
    display: grid;
    grid-template-columns: 1fr;
}

.principios {
    width: 100%;
}


@media (min-width: 640px) {
    .div_principios {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (min-width: 1280px) {
    .div_principios {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

}

.div_clientes {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 10px;
}

.clientes {
    flex: 1 0 auto;
    width: 180px;
    height: 200px;
}

/* Funds*/

.funds {
    display: grid;
    grid-template-columns: repeat(auto-fit,
            minmax(200px,
                1fr));
    gap: 5px;
}

.clipDivisor {
    clip-path: polygon(0% 100%, 0% 85%, 100% 100%);
    height: 10rem;
}

@media (min-width: 1024px) {
    .clipDivisor {
        clip-path: polygon(0% 100%, 50% 90%, 100% 100%);
        height: 24rem;
    }
}

.slikPrev,
.slikNext {
    padding: 2rem;
}

@media (min-width:768px) {
    .carrousel {
        display: flex !important;
        align-items: center;
    }
}


.contactBar {
    background-color: #ddd;
}

/* fondosTitulacion */

.fondosTitulacion {
    background-size: cover;
}

/* toast */

.toastBox {
    position: fixed;
    top: 10%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 17rem;
    z-index: 35;
}

.toastState {
    height: 2rem;
    width: 2rem;
}

.toastClose {
    width: .75rem;
    height: .75rem;
}

@media (min-width: 768px) {
    .toastBox {
        height: fit-content;
        position: fixed;
        /* Fija el toast en la ventana visible */
        top: 10%;
        /* Distancia desde la parte superior de la ventana */
        left: 84%;
        /* Centrar horizontalmente */
        transform: translateX(-50%);
        /* Ajustar para centrar */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }
}