﻿body {
    font-family: 'Aktiv Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('fondo2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: space-between; /* Distribuye el espacio entre los elementos */
    align-items: center;
    overflow: hidden; /* Evita que el contenido se desborde */
    padding: 20px;
}



form {
    width: 100%;
    max-width: 550px;
    background-color: rgba(255, 255, 255, 0.9); /* Agrega un fondo semi-transparente al formulario */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h2 {
    text-align: center;
    color: #333;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-weight: 400;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-weight: 400;
}

input[type="text"],
input[type="email"] {
    width: calc(100% - 24px); /* Calcula el ancho del input teniendo en cuenta el padding */
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    color: #333;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus {
    background-color: #fff;
}

button {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}


.success-message {
    text-align: center;
    color: #fff; /* Cambia el color del texto a blanco */
    font-family: 'Roboto', sans-serif;
    font-weight: bold; /* Hace que el texto sea bold */
    font-size: 20px;
    background-image: url('img/fondoex.jpeg'); /* Cambia la ruta de la imagen de fondo */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
    background-attachment: fixed; /* Fija la imagen de fondo para que no se desplace con el contenido */
}


.form-control {
    width: calc(100% - 24px); /* Calcula el ancho del input teniendo en cuenta el padding */
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: 'Aktiv Grotesk', sans-serif;
    font-size: 16px;
    color: #333;
    outline: none;
}

.form-control:focus {
    background-color: #fff;
}
