/* Importación de fuentes */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins:wght@400;500;600;700;800&display=swap');
* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(../img/Teatromania1.png) no-repeat center center fixed, linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 90%);
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
    overflow-y: auto;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.412);
    z-index: -1;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 600px;
    backdrop-filter: blur(10px);
    text-align: center;
    margin-top: 50px;
}

h1 {
    color: #f8f9fa;
    font-size: 2rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f8f9fa;
}

form {
    margin-top: 20px;
}

.contenedor-input {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #f8f9fa;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: background-color 0.3s ease;
}

textarea {
    resize: vertical;
}

select option {
    color: #000;
}

input[type="text"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
select:hover,
textarea:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

button.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-color: #00bcd4;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;
}

button.btn:hover {
    background-color: #0097a7;
}

button.btn:active {
    background-color: #0097a7;
}


/* Consultas de medios para hacer el diseño responsivo */


/* Teléfonos en modo retrato */

@media (max-width: 768px) {
    .form-container {
        padding: 20px;
        margin-top: 30px;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.4rem;
    }
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 0.9rem;
    }
    button.btn {
        padding: 12px;
        font-size: 1rem;
    }
}


/* Teléfonos más pequeños y tabletas en modo retrato */

@media (max-width: 480px) {
    .form-container {
        padding: 15px;
        margin-top: 20px;
    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select,
    textarea {
        font-size: 0.8rem;
    }
    button.btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}