body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    /* background-image: url('calendario/img/4p-logo.jpg'); */
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    color: #000; /* Ensure body text is visible */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column; /* Stack elements vertically on small screens */
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px; /* Adjust the gap between the containers */
    flex-wrap: wrap; /* Allow containers to wrap on smaller screens */
}

.container, .container-info {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 10px; /* Add margin to separate containers on small screens */
}

.logo-container {
    text-align: center;
    padding: 15px;
}

.info-container {
    text-align: center;
    margin-bottom: 20px;
    color: #000;
}

.info-container ol {
    text-align: left; /* Align the text of the ordered list to the left */
    padding-left: 20px; /* Add padding to the left for better alignment */
}

.logo-container img {
    max-width: 100%;
    height: auto;
    width: 150px;
    border-radius: 50%;
}

.form-container {
    text-align: center;
}

.form-toggle {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.form-toggle button {
    background: #053671;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.form-toggle button:hover {
    background: #5F5F5F;
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.form-content h2 {
    margin-bottom: 20px;
    color: #000; /* Ensure heading text is visible */
}

.form-content form {
    display: flex;
    flex-direction: column;
}

.form-content label {
    margin-bottom: 5px;
    text-align: left;
    color: #000; /* Ensure label text is visible */
}

.form-content input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #000; /* Ensure input text is visible */
    background-color: #fff; /* Ensure input background is white */
}

.form-content input::placeholder {
    color: #888; /* Placeholder color */
}

.form-content button {
    background: #053671;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
}

.form-content button:hover {
    background: #5F5F5F;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column; /* Stack containers vertically on small screens */
        align-items: center; /* Center align containers */
    }

    .container, .container-info {
        width: 90%; /* Make containers take up most of the screen width */
    }
}

@media (max-width: 480px) {
    .logo-container, .container-info {
        display: none; /* Hide logo and info container on very small screens */
    }

    .form-toggle {
        flex-direction: column; /* Stack buttons vertically on very small screens */
    }

    .form-toggle button {
        width: 100%; /* Make buttons take up full width */
        margin-bottom: 10px; /* Add margin between buttons */
    }

    .form-content input, .form-content button {
        font-size: 1.5em; /* Increase font size for better readability */
        padding: 20px; /* Increase padding for better touch targets */
    }

    .form-content label {
        font-size: 1.5em; /* Increase label font size */
    }
}