*{
    z-index: 3;
}

*::-webkit-scrollbar {
    width: 12px; /* Ancho de la scrollbar */
    background-color: transparent;
}


*::-webkit-scrollbar-thumb {
    background-color: red; /* Color de la scrollbar */
    border-radius: 6px; /* Bordes redondeados */
    border: hidden; /* Espacio alrededor de la scrollbar */
    background-clip: content-box; /* Fondo del contenido */
}

/* Para Firefox */
* {
    scrollbar-width: thin; /* Ancho del scrollbar */
    scrollbar-color: red transparent; /* Color de la scrollbar y la pista */
}

html {
    scroll-behavior: smooth;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px; /* distancia desde abajo */
    left: 0px;   /* distancia desde la izquierda */
    z-index: 9999; /* siempre encima */
    background-color: #25d366;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.whatsapp-float img {
    width: 50px;  /* más grande */
    height: 50px;
}

.whatsapp-float span {
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

.light {
    color: white !important;
}


a {
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Hereda el color del texto del elemento padre */
    cursor: default; /* Cambia el cursor a predeterminado */
}

a:hover {
    text-decoration: none; /* Elimina el subrayado en el hover */
    color: inherit; /* Mantiene el color del texto en el hover */
}


/* Imagen de fondo */

.fondo{
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url('../src/img/background/ham.webp');
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding-top: 10vmax;
}

.fondo h1,h2{color: white;opacity: 95%;}
.fondo h1{font-size: 7vmax;}.fondo h2{font-size: 3vmax;}

@media only screen and (max-width: 768px) {
    .fondo{
        padding-top: 12vh;
    }
}

.contenido{
    position: absolute;
    width: 100%;
    margin-top: 30%;
}
@media only screen and (max-width: 600px) {
    .contenido{
        margin-top: 60%;
    }
}

.article{
    padding: 2% 10%;
}

article h2{
    font-size: 3.5vmax;
    color: black;
}
article p{
    font-size: large;
}

@media only screen and (max-width: 768px) {
    article h1{
        font-size: 3vmax;
    }
    article p{
        font-size: 2.5vmax;
    }
}

.contenedor-imagenes {
    display: flex; /* Utilizamos Flexbox */
    padding: 1%;
}

.contenedor-imagenes [class*="col-"] div{
    padding: 20px 40px;
}

.contenedor-imagenes img {
    width: 100%;
}
.contenedor-imagenes img:hover {
    filter: brightness(0.5);
}

.contenedor-imagenes *{color: rgb(255, 255, 255) !important;}
.contenedor-imagenes span{color: rgb(255, 0, 0);}

.round{
    border-radius: 100%;
    width: 60%;
}

.clientes ul{
    padding: 5% 20%;
    text-align: left;
}

.separator{
    margin-bottom: 8px;
}

.separate{
    padding: 5% 10%;
    background-color: rgba(255, 255, 255, 0.849);
    color: black;
    text-align: center;
}

form input[type="email"],
form input[name="nombre"]{
    width: 49.78%;
}

@media only screen and (max-width: 600px) {
    form input[type="email"],
    form input[name="nombre"]{
        width: 100%;
    }
}

form input[type="tel"],
form input[type="number"]{
    width: 100%;
}


form input[name="asunto"],
form textarea,
form input[type="submit"]{
    width: 100%;
}

form input,
form textarea{
    background-color: transparent;
    border: 2px solid white;
    color: white;
    padding: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

form input::placeholder,
form textarea::placeholder
{
    color: white;
    opacity: 0.7; /* Opcional: para hacer el placeholder un poco más tenue */
}

form input[type="submit"]{
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

form input[type="submit"]:hover {
    background-color: #ff000041;
    color: white;
}


.footer{
    background-color: black;
    color: white;
    padding: 2% 10%;
}

.footer [class*="col-"]{
    padding: 0 5%;
    text-align: center;
}
.footer [class*="col-"] *{
    text-align: center;
}

.derechos{
    margin-top: 30px;
    text-align: center;
}


/*Estilos y colores*/

.bg-dark{background-color: rgba(23, 23, 23, 0.803); color: white;}
.bg-light{background-color: rgba(255, 255, 255, 0.904); color: rgba(23, 23, 23)}
.bg-transparent{color: white !important; background-color: transparent !important;}
.bg-red{background-color: #8F0000;color: white;}

.button{
    padding: 8px;
    font-size: 1.5vmax;
    border-radius: 3px;
    font-size: 15px;
    border: hidden;
}

.button:hover{
    border-radius: 7px;
}

.btn-div{
    background-color: transparent; /* Fondo transparente */
    border: none; /* Sin borde */
    outline: none; /* Sin contorno alrededor del botón cuando está enfocado */
    cursor: pointer; /* Cambiar el cursor al puntero */
    padding: 0; /* Sin relleno */
    margin: 0; /* Sin margen */
    text-decoration: none; /* Sin decoración de texto */
    color: inherit; /* Heredar el color del texto del elemento padre */
}

/*IDs*/
#introduccion{
    text-align: justify;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 500px) {
    #introduccion{
        margin-top: 150px;
    }
    #texto{
        display: none;
    }
}

.course-container {
    display: none;
}

.course-container h2{
    color: black;
}

.course-container.active {
    display: block;
}


.curso{
    padding: 4px;
    position: relative;
}

.curso img{
    border-radius: 10px;
    filter: brightness(70%);
}
.curso:hover{
    padding: 1px;
}
.curso:hover img{
    filter: brightness(80%);
}

.active{
    padding: 1px;
}
.active img{
    filter: brightness(90%);
}

.texto {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* Color del texto */
    padding: 10px; /* Espaciado interno */
    font-size: 2vmax; /* Tamaño de fuente */
    font-weight: 500;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center; /* Alineación del texto */
}