* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.intro-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: background-image 1s ease-in-out; /* Transición suave */
}

.header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    position: absolute;
    top: 0;
    z-index: 2; /* Asegura que los botones estén por encima de todo */
}

.header .btn-login,
.header .btn-register {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    color: white;
    transition: box-shadow 0.3s;
    margin: 5px;
}

.btn-update{
    background-color:hwb(48 7% 15%);
    cursor: pointer;
    width: 100%;
    height: 100%;
    border: none;
    padding: 3px;
    font-size: 16px;
    font-weight: bold;
 }

.btn-login {
    background-color: #28a745; /* Verde */
}

.btn-register {
    background-color: #007bff; /* Azul */
}

.header .btn-login:hover,
.header .btn-register:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.logo-cormillot{
    margin-top: -50px;
    width: 190px;
}

.title-content {
    max-width: 90%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: opacity 1s ease-in-out;
}

.main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 3rem; /* Ajusta el tamaño de la fuente según sea necesario */
    color: white;
    margin: 6vh 0; /* Ajusta el espaciado superior e inferior */
    z-index: 2; /* Asegura que el título esté por encima del slider */
}


.slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1;
}

.content {
    max-width: 90%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    position: absolute;
}

.content.active {
    opacity: 1;
}

.content .title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.content .description {
    font-size: 1rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .header {
        justify-content: center;
    }

    .main-title {
        font-size: 2.5rem; /* Tamaño de fuente ajustado para dispositivos móviles */
    }
}
