* {
    font-family: 'Montserrat', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #c4c4c4;
}

div.titulo {
    height: 132px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    z-index: 4;
    position: relative;
    width: 100%;
}

#logo {
    height: 70%;
    flex-shrink: 0;
    margin-left: 10%;
}

#titu {
    color: #878787;
    font-size: 4vh;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1%;
    margin-left: 8%;
}

#titu2 {
    color: #878787;
    font-size: 3vh;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1%;
    text-align: center;
}

#usuario {
    margin-left: 15%;
    height: 50%;
}

.sobre {
    color: #878787;
    font-size: 3vh;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1%;
    text-align: center;
    text-decoration: none;
}

#icono {
    width: 50px;
    height: 40px;
}

#tour {
    margin-top: 2%;
    margin-left: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contenedor-imagen {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.capa-blanca {
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    text-align: center;
    justify-content: center;
    background-image: url('../imagenes/fondo_sesion.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

#azul {
    margin-top: 2%;
    margin-left: 10%;
    background: #ffffff;
    width: 32%;
    height: 92%;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}


#a {
    color: #000;
    font-size: 45px;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1px;
    margin-top: -20px;
    margin-bottom: 0px;
    font-weight: bold;
}

.con {
    width: 80%;
    height: 5vh;
    flex-shrink: 0;
    border: none;
    border-bottom: 2px solid #6e6e6e;
    margin-top: 15px;
    color: #000000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
    text-align: left;
    padding-left: 40px;
    background-image: url('../imagenes/cafe.jpeg');
    background-size: 20px;
    background-position: 10px center;
    background-repeat: no-repeat;
    transition: border-color 0.5s ease;
    outline: none;
}

#con::placeholder {
    color: #000000;
}

#con:focus {
    border-bottom: solid 4px;
    border-color: #83E9E3;
}

.in {
    width: 80%;
    height: 5vh;
    flex-shrink: 0;
    border: none;
    border-bottom: 2px solid #6e6e6e;
    margin-top: -10px;
    color: #000000;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
    text-align: left;
    padding-left: 40px;
    background-image: url('../imagenes/cafe.jpeg');
    background-size: 20px;
    background-position: 10px center;
    background-repeat: no-repeat;
    transition: border-color 0.5s ease;
    outline: none;
}

#in::placeholder {
    color: #000000;
}

#in:focus {
    border-bottom: solid 4px;
    border-color: #83E9E3;
}

button.ingresar {
    width: 80%;
    height: 7vh;
    flex-shrink: 0;
    border: none;
    background: #83E9E3;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1px;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}


button.ingresar:hover {
    transform: scale(1.1);
}

#huella {
    margin-top: 10px;
}

.container {
    width: 80%;
    display: flex;
    align-items: center;
}

#centrar {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

#terminos {
    margin-right: 0px;
}

label {
    font-size: 11px;
}

#no {
    margin-top: 0px;
    font-size: 17px;
}

#registrar {
    margin-top: -10px;
    font-size: 16px;
    color: #83E9E3;
    margin-top: -10px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#registrar:hover {
    transform: scale(1.07);
    color: #53cac2;
}

.modal {
    display: none; /* Default is hidden */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal content container */
.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: 80vh;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #999;
}

/* Modal header and subheader styles */
.modal-content h1,
.modal-content h2 {
    color: #444;
    text-align: center;
    margin-top: 0;
    max-width: 90%;
    margin-left: 5%;
}

.modal-content h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-content h2 {
    font-size: 20px;
    color: #666;
    margin-bottom: 15px;
}

/* Terms list styles */
.modal-content dl {
    color: #333;
}

.modal-content dt {
    font-weight: bold;
    margin-top: 15px;
    font-size: 18px;
    color: #222;
}

.modal-content dd {
    font-size: 16px;
    margin-left: 20px;
    color: #555;
}

.modal-content ul {
    margin-left: 30px;
    padding-left: 10px;
}

.modal-content ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* Scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.blue-text {
    color: #40d6cc;
    font-weight: bold;
}

form {
    width: 100%;
}

@media (max-width: 800px) {

    div.titulo {
        height: 13vh;
        justify-content: space-between;
        position: fixed;
        margin-top: -13vh;
    }

    div.contenedor-imagen {
        margin-top: 13vh;
        height: 87vh;
    }

    #azul {
        width: 80%;
    }

    #preguntas {
        font-size: 4rem;
        text-align: center;
    }

    #tour {
        visibility: hidden;
        display: none;
    }

    #usuario {
        margin-left: 0%;
        margin-right: 5vw;
    }

    .social-media {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .enlaces {
        width: 100%;
        overflow: hidden;
    }

    .cuenta {
        margin-left: 0;
        width: auto;
    }

    .somos {
        margin-left: 0;
        width: auto;
    }

    .seguridad {
        margin-left: 0;
        width: auto;
    }

    .tour {
        margin-top: 5vh;
    }

    .titu-tour {
        font-size: 1.8rem;
        max-width: 80%;
        transform: translate(5vw, -10vh);
    }

    .texto {
        display: none;
    }

    footer {
        margin-top: 5vh;
    }
}

a {
    text-decoration: none;
}