@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
/* Headings use Raleway */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif !important;
}

/* Everything else uses DM Sans */
body, p, span, a, li, div, input, button, textarea {
    font-family: 'DM Sans', sans-serif !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
    background-image: url('https://images.unsplash.com/photo-1560439514-4e9645039924?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body.event4950 {
    background-image: url('https://accesofacil.com/images/sustainablebrands.jpg');
}

body.event4957 {
    background-image: url('https://accesofacil.com/images/ajeconecta.jpg');
}


@media (max-width: 768px) {
    body {
        background-size: cover; 
        background-position: center bottom;
    }
}


#login-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    margin-top: -40px;
}

#login-form h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.error-message {
    color: red;
    margin-bottom: 1rem;
    text-align: center;
    display: none; 
}

label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background-color: #0063FF;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0053d8;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}



@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #login-container {
        padding: 1.5rem;
    }

    #login-form h2 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    input[type="email"],
    input[type="password"] {
        padding: 0.5rem;
    }

    button[type="submit"] {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}
