@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
}

:root {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    background-color: #e0e0e0;
}

body {
    width: 80%;
    margin: 0 auto;
}

header {
    background-color: #DC2626;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img:first-child {
    width: 80px;
    margin-left: 1rem;
}

header img:last-child {
    width: 80px;
    margin-right: 1rem;
}

header ul {
    list-style: none;
}

header ul li {
    display: inline-block;
}

header ul li a {
    display: block;
    padding: 1.5rem;
    font-size: 2rem;
    color: white;
}

header ul li a:hover {
    color: black;
    transition: color 0.3s;
}

.acceso {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acceso_contenedor {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    margin-top: 3rem;
    position: relative;
}

.acceso_contenedor::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: #ccc;
}

.login,
.registro {
    display: flex;
    flex-direction: column;
}

.login h1,
.registro h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.form_login,
.form_registro {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.campo input {
    width: 100%;
    height: 4.5rem;
    background-color: #d9d9d9;
    border: none;
    border-radius: 6px;
    padding: 0 1.2rem;
    font-size: 1.4rem;
}

.opciones {
    font-size: 1.2rem;
}

.btn_principal {
    width: 100%;
    height: 4.5rem;
    background-color: #DC2626;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn_principal:hover {
    background-color: #b91c1c;
}

.enlace {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #DC2626;
}

.enlace:hover {
    text-decoration: underline;
}

.acceso_info {
    margin-top: 4rem;
    text-align: center;
    font-size: 1.3rem;
}


footer {
    background-color: black;
    color: white;
    margin-top: 3rem;
    padding: 2rem 0 0 0;
}

.footer-contenido {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.footer-columna {
    width: 50%;
}

.footer-columna h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid red;
    padding-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    font-size: 1.2rem;
}

.redes-sociales {
    display: flex;
    gap: 1rem;
}

.redes-sociales img {
    width: 40px;
    background-color: white;
    padding: 5px;
}

.footer-derechos {
    background-color: #111;
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-derechos p {
    font-size: 1rem;
    color: #aaa;
}

@media (max-width: 768px) {

    body {
        width: 100%;
        margin: 0;
    }

    header {
        flex-direction: column;
        padding: 1rem 0;
    }

    header ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header ul li a {
        font-size: 1.6rem;
        padding: 1rem;
    }

    header img:first-child,
    header img:last-child {
        width: 60px;
        margin: 0.5rem 0;
    }

    .acceso_contenedor {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-top: 2rem;
    }

    .acceso_contenedor::before {
        display: none;
    }

    .login h1,
    .registro h1 {
        font-size: 2.4rem;
        text-align: center;
    }

    .form_login,
    .form_registro {
        padding: 0 1.5rem;
    }

    .campo input {
        height: 5rem;
        font-size: 1.5rem;
    }

    .btn_principal {
        height: 5rem;
        font-size: 1.6rem;
    }

    .opciones {
        font-size: 1.3rem;
    }

    .enlace {
        text-align: center;
        font-size: 1.3rem;
    }

    .acceso_info {
        padding: 0 1.5rem;
        font-size: 1.2rem;
        text-align: center;
    }

    .footer-contenido {
        flex-direction: column;
        text-align: center;
    }

    .footer-columna {
        width: 100%;
        margin-bottom: 2rem;
    }

    .redes-sociales {
        justify-content: center;
    }
}
