.body {
    width: 100vw;
    height: 100vh;
    padding: 5vh 10vh;
    background-image: url("../img/fondo.png");
    background-size: cover;       
    background-repeat: no-repeat; 
    background-position: center;  
    background-attachment: fixed; 
    position: relative;
    display: flex;
    justify-content: space-between;
}

.left_side, .right_side, .header_login, .body_login{
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.left_side {
    width: 50vw;
    padding: 7vh;
}

.right_side {
    width: 320px;
    background-color: #e2e1dfcc;
    border-radius: 2.5vh;
}

/* Elementos del cuerpo izquierdo */
.left_side img{
    display: block;
    width: 100%;
    max-width: 18vw;
    margin-bottom: 3vh;
}

.left_side h2, .text-body{
    width: 100%;
    text-align: center;
    margin-bottom: 3vh;
    font-family: 'Amarante', sans-serif;
}

.left_side h2{
    font-size: var(--tamano-titulo);
    color: var(--color-black);
}

.left_side p{
    font-size: var(--tamano-subtitulo);
    color: var(--color-white);
}

.data{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vh; 
}

.data li{
    list-style: none;
}

.data li a{
    text-decoration: none;
    font-size: 4.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8vh;
    height: 8vh;
    background-color: var(--color-black);
    border-radius: 50%;
    color: var(--color-white);
    position: relative;
}

.tooltip {
    position: absolute;
    bottom: 120%; 
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 0.5vh 1vh;
    border-radius: var(--padding-pequeno);
    font-size: var(--tamano-texto);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

/* Flechita */
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.7vh;
    border-style: solid;
    border-color: var(--color-red) transparent transparent transparent;
}

.data li a:hover .tooltip {
    opacity: 1;
    bottom: 140%;
}

.data li a:hover {
    transform: scale(1.1);
    background-color: var(--color-red);
    transition: 0.3s;
}

/*Elementos del cuerpo derecho */

.header_login{
    width: 100%;
    border-bottom: 2px solid #000;
    padding-bottom: 2vh;
}

.h_icono{
    font-size: 15vh;
}

.h_text{
    font-size: var(--tamano-titulo);
}

.body_login{
    width: 100%;
    padding: 2vh;
}

.b_text{
    width: 100%;
    font-size: var(--tamano-subtitulo);
    font-family: 'Amarante', sans-serif;
    text-align: center;
    padding-bottom: 2vh;
}

.body_login form{
    width: 100%;
}

.inputLogin{
    width: 100%;
    position: relative;
    margin-bottom: 2vh;
}

.txt_input:focus {
    border-color: var(--color-red);
    box-shadow: 0 0 5px rgba(195, 22, 21, 0.4);
    outline: none;
}

.txt_input{
    width: 100%;
    font-size: var(--tamano-subtitulo);
    outline: none;
    padding: 1.2vh 7vh; /* espacio para iconos */
    border-radius: 50px;
    border: 1px solid #999;
}

#icono_1 {
    position: absolute;
    left: 2.5vh;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: var(--tamano-subtitulo);
}

#icono_2 {
    position: absolute;
    right: 2.5vh;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: var(--tamano-subtitulo);
    cursor: pointer;
}

.btn-olvido {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 2vh;
    font-size: var(--tamano-texto);
    
    color: var(--color-black);
    cursor: pointer;
}

.btn-olvido:hover {
    color: var(--color-red);
}

.btn_iniciar {
    display: block;
    margin: 0 auto;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 1.2vh 3vh;
    border-radius: 30px;
    font-size: var(--tamano-subtitulo);
    cursor: pointer;
    transition: 0.3s;
}

.btn_iniciar:hover {
    background-color: var(--color-red);
    transform: scale(1.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .body{
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
    }

    .left_side {
        width: 100%;
        height: auto;
        padding: 5vh;
    }

    .left_side img{
        max-width: 80%;
        margin: auto;
    }

    .left_side h2, .text-body, .data{
        display: none;
    }

    .right_side {
        flex: 1;
        width: 100%;
        border-radius: 0;
        border-top: 2px solid var(--color-black);
    }

    .header_login{
        display: none;
    }
}