/* Estilos base anteriores */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 2px solid #eaeaea;
}

header h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.btn-primary {
    background-color: #374a67;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #506080;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    opacity: 0;
    transform: scale(0.9);
    animation: fadeInScale 1s forwards ease-in-out;
}

@keyframes fadeInScale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.left {
    flex: 1;
    text-align: center;
    padding-right: 40px;
}

.left h1 {
    font-size: 50px;
    color: #333;
}

.right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-circle {
    position: relative;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.image-circle:hover {
    transform: scale(1.05);
}

.circle-image {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

footer {
    background-color: #374a67;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer p {
    font-size: 16px;
    margin-bottom: 10px;
}

.btn-donate {
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-donate:hover {
    background-color: #ffd633;
    transform: scale(1.1);
}

/* Media queries para pantallas más pequeñas */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        text-align: center;
    }

    .left {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .image-circle {
        width: 400px;
        height: 400px;
    }

    .circle-image {
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 480px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .btn-primary {
        margin-top: 10px;
    }

    .main-content {
        padding: 20px;
    }

    .image-circle {
        width: 300px;
        height: 300px;
    }

}
/* Estilo para el modal de login */
.modal {
    display: none;  /* Oculto por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);  /* Fondo semitransparente */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 320px;  /* Tamaño similar al formulario de ejemplo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;  /* Color de borde al hacer focus */
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
}

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

.close-btn:hover, .close-btn:focus {
    color: #000;
}

.extra-options {
    margin-top: 15px;
    font-size: 14px;
}

.extra-options a {
    color: #007bff;
    text-decoration: none;
}

.extra-options a:hover {
    text-decoration: underline;
}

/* Estilos específicos para el botón de login */
.btn-login {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    font-size: 16px;
}

.btn-login:hover {
    background-color: #0056b3;
}

/* Fin de Estilos para el modal*/