/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('/images/fondo.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center; /* Centra el contenido del cuerpo */
}

.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 800px;
}
.header {
    text-align: center;
    margin-bottom: 20px;
}
.panel {
    border: 1px solid #ccc;
    padding: 20px;
    margin-bottom: 20px;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 10px;
    background-color: #007bff;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
}
.form-group {
    margin-bottom: 20px;
}


.vertical-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2rem;
}

.horizontal-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.login-form, .search-form, .register-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 0.5rem;
    width: 45%;
}

.register-form {
    width: 90%;
    text-align: center;
}

h2 {
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

a {
    display: block;
    margin-top: 1.5rem;
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .vertical-container {
        flex-direction: column;
        align-items: center;
    }

    .login-form, .search-form {
        width: 100%;
        margin: 0.5rem 0;
    }

    .register-form {
        width: 100%;
        margin-top: 1rem;
    }
}
