@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');
:root {
    --background-color: #1a1a1a;
    --text-color: #f5f5f5;
    --accent-color: #00bcd4;
    --card-bg-color: #2e2e2e;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url(../img/happyandsad2.png) no-repeat center center fixed, linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 70%);
    background-size: cover;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 7, 7, 0.756);
    z-index: -1;
}

.container,
.login-container {
    padding: 40px 50px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.6);
    max-width: 700px;
    width: 100%;
    text-align: center;
    margin: 20px;
    margin-top: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

h1,
h2 {
    margin-bottom: 20px;
    color: #e0e0e0;
    font-size: 2.5rem;
}

form {
    display: flex;
    flex-direction: column;
}





label {
    margin-bottom: 5px;
    text-align: left;
    font-weight: bold;
    color: #b0b0b0;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="tel"],
select,
input[type="file"] {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 16px;
    background-color: #2b2b2b;
    color: #ffffff;
    transition: border-color 0.3s, background-color 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
input[type="file"]:focus {
    border-color: #007bff;
    background-color: #333;
}

button {
    background-color: black;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: white;
    color: black;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4), 0 0 25px rgba(255, 255, 255, 0.4), 0 0 35px rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

a {
    color: white;
    text-decoration: none;
    margin-top: 20px;
    display: block;
    transition: color 0.3s;
}

a:hover {
    color: black;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6), 0 0 10px rgba(255, 255, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.6);
    font-weight: bold;
}

.error-message,
.modal {
    background-color: #ff4d4d;
    color: #ffffff;
    padding: 10px;
    border: 1px solid #ff1a1a;
    border-radius: 8px;
    margin-top: 20px;
}


/* Media queries para hacer el diseño responsive */

@media (max-width: 1024px) {
    .container,
    .login-container {
        padding: 30px 20px;
    }
    h1,
    h2 {
        font-size: 2rem;
    }
    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="tel"],
    select,
    input[type="file"] {
        font-size: 14px;
    }
    button {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .container,
    .login-container {
        padding: 20px 15px;
    }
    h1,
    h2 {
        font-size: 1.8rem;
    }
    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="tel"],
    select,
    input[type="file"] {
        font-size: 12px;
    }
    button {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .container,
    .login-container {
        padding: 15px 10px;
    }
    h1,
    h2 {
        font-size: 1.6rem;
    }
    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="tel"],
    select,
    input[type="file"] {
        font-size: 11px;
        padding: 10px;
    }
    button {
        font-size: 10px;
        padding: 8px;
    }
}