﻿/* Asegúrate de que el contenedor ocupe todo el área visible */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden; /* Cambia a auto si es necesario */
    font-family: 'Roboto', sans-serif;
}

.contenedor {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

    .contenedor::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url(../Images/fondo.jpg);
        background-size: cover;
        background-position: center;
        filter: blur(5px) brightness(50%);
        z-index: -1;
    }

.logo {
    position: absolute;
    width: 450px;
    height: auto;
    z-index: 1;
}

.logo-top {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
}

.logo-bottom {
    bottom: 10px;
    left: 87%;
    transform: translateX(-50%);
    width: 300px;
}

.texto-contenido {
    position: absolute;
    left: 100px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-align: left;
}

h1 {
    font-size: 4em;
    margin: 0;
    color: aliceblue;
}

p {
    font-size: 2em;
    margin: 0;
    color: aliceblue;
}

.registro-formulario {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: center;
    position: absolute;
    right: 230px;
    top: 50%;
    transform: translateY(-50%);
}

    .registro-formulario h2 {
        display: none;
    }

    .registro-formulario label {
        display: block;
        margin: 10px 0 5px;
        font-weight: bold;
        color: #555;
    }

    .registro-formulario input {
        width: 100%;
        padding: 12px;
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 10px;
        font-size: 1em;
        transition: border-color 0.3s;
    }

        .registro-formulario input:focus {
            border-color: #0e6423;
            outline: none;
        }

    .registro-formulario button {
        padding: 12px 20px;
        border: none;
        background-color: #0e6423;
        color: #ffffff;
        border-radius: 10px;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s;
    }

        .registro-formulario button:hover {
            background-color: #0056b3;
        }

/* Medias Queries */
@media (max-width: 768px) {
    .logo {
        width: 250px;
    }

    .texto-contenido {
        left: 20px;
        font-size: 1.5em;
    }

    .registro-formulario {
        right: 20px;
        width: 90%;
    }

    h1 {
        font-size: 2.5rem;
    }

    p {
        font-size: 1.5rem;
    }
}
