@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica', sans-serif;
}

html,
body {
    overflow-x: hidden;
    /* Previene el desbordamiento horizontal */
    scroll-behavior: smooth;
}

/*configuraciones que se itilizan en toda las paginas .boton 
.container-presentacion-seccion .line*/

h1 {
    font-size: 5.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 1px;
    /* Más separación entre letras */
}

h3 {
    font-size: 2.3rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

h4 {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 1px;
}

h5 {
    font-size: 1.2rem;
    line-height: 1.7;
    letter-spacing: 1px;
}

h6 {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 1px;
}



p {
    font-size: 1.1rem;
}

span {
    color: #dd0000;
}


.line {
    margin-top: 10px;
    width: 150px;
    height: 3px;
    border-radius: 10px;
    background-color: #002b5c;
}

.boton {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    background-color: #002b5c;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.boton:hover {
    background-color: #004080;
}

.boton i {
    font-size: 25px;
}

.icon-text {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    gap: 10px;
    background-color: whitesmoke;
    color: #002b5c;
    font-size: 16px;
    border-radius: 25px;
}

.icon-text p {
    text-align: center;
    color: #002b5c;
}

.icon-text i {
    font-size: 25px;
} 


.image {
    display: inline-block;
    border-radius: 10px;
}

.image img {
    border-radius: 10px;
    max-width: 450px;
    height: 550px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.image img:hover {
    transform: scale(1.05);
}

/* estas es la personalizacion de la barra scroll para toda la pagina y secciones*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}


::-webkit-scrollbar-thumb {
    background: #002b5c9f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #002b5cc2;
}



.toast-error {
    position: fixed;
    top: 80px;
    right: 5px;
    background-color: #e74c3c;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.toast-error.show {
    display: block;
    opacity: 1;
}



/*se encarga de optimizar el tamaño de las letras a las pantallas de celular*/

@media screen and (max-width:550px) {

    .texto-inicio p {
        font-size: 0.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    h4 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: 0.9rem;
    }

    h6 {
        font-size: 0.8rem;
    }

    p {
        font-size: 1rem;
    }

}