/* Estilos generales */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/fondo 1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

header {
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 150px;
}

.return-link {
    text-align: right;
    margin: 10px 0;
}

/* Estilos del contenido principal */
main {
    margin-top: 25px;
    padding-bottom: 5%;
    margin-left: 5%;
    background: transparent;
}

.section {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-gap: 0;
    margin-bottom: 33px;
}

.section .content {
    padding: 5%;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.section .text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section .text-container h1 {
    color: #333;
    font-size: 1.5rem; /* Reducido */
    font-weight: bold;
    text-align: left;
}

.section .text-container h2 {
    color: #333;
    font-size: 1.2rem; /* Reducido */
    font-weight: normal;
    text-align: left;
}

.section .text-container p {
    color: #333;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
}

.section img {
    max-width: 100%;
    height: auto;
}

.image-section img {
    width: 100%;
    max-width: 500px;
}

/* Estilos de la sección secundaria y terciaria */
.section-secondary, .section-tertiary {
    border: none;
    border-radius: 5px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 33px;
}

/* Estilos para la columna 1 */
.left-column {
    text-align: center;
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-column p {
    width: 100%;
    text-align: justify;
}

/* Estilos para el formulario de inscripción */
#mc_embed_shell {
    width: 100%;
    max-width: 90%;
    grid-column: 2 / 3;
    font-family: 'Montserrat', sans-serif;
}

/* Estilo para el tamaño de letra más pequeño */
.small-text {
    font-size: 0.8rem;
}

/* Estilos para el botón de inscripción */
.button,
.hs-button {
    background-color: #F36E27;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.button:hover,
.hs-button:hover {
    background-color: #000000;
}

/* Estilos para la columna derecha con formulario HubSpot */
.right-column {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px;
}

/* Estilos para la cuarta sección */
.section-quaternary {
    background-color: white;
    margin-left: 100px;
    margin-right: 100px;
    padding: 20px;
}

.section-quaternary h2 {
    margin-bottom: 10px;
}

.section-quaternary p {
    margin-bottom: 20px;
}

/* Estilos específicos para la página "formindexar.html" */
.formindexar .section-quaternary {
    background-color: white;
    margin-left: 100px;
    margin-right: 100px;
    padding: 20px;
}

.formindexar .section-quaternary h2 {
    margin-bottom: 10px;
}

.formindexar .section-quaternary p {
    margin-bottom: 20px;
}

.formindexar body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/fondo 1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.formindexar main {
    margin-top: 25px;
    padding-bottom: 5%;
    margin-left: 5%;
    background: transparent;
}

.formindexar header {
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formindexar .logo img {
    width: 150px;
}

.formindexar .section {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 0;
    margin-bottom: 0;
}

.formindexar .content {
    padding: 5%;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.formindexar .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.formindexar .text-container h1 {
    color: #333;
    font-size: 1.5rem; /* Reducido */
    font-weight: bold;
    margin-bottom: 10px;
}

.formindexar .text-container p {
    color: #333;
    font-size: 1rem; /* Reducido */
    font-weight: normal;
    margin-bottom: 10px;
}

.formindexar img {
    max-width: 100%;
    height: auto;
}

.formindexar .small-text {
    font-size: 0.8rem;
}

.formindexar .button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none; /* Agregado */
}

.formindexar .button:hover {
    background-color: #2980b9;
}

.formindexar .right-column {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px;
}

/* Estilos específicos para la página "termsofuse.html" */
.termsofuse .content {
    margin-left: 150px;
    text-align: left;
}

.termsofuse .text-container {
    margin-left: 150px;
    text-align: left;
}

.termsofuse .text-container h1 {
    text-align: left;
}

.termsofuse .text-container h2 {
    text-align: left;
}

.termsofuse p {
    text-align: left;
}

.termsofuse body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../images/fondo 1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.termsofuse main {
    margin-top: 25px;
    padding-bottom: 5%;
    margin-left: 5%;
    background: transparent;
}

.termsofuse header {
    background-color: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.termsofuse .logo img {
    width: 150px;
}

.termsofuse .section {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 0;
    margin-bottom: 0;
}

.termsofuse .content {
    padding: 5%;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.termsofuse .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-left: 150px;
}

.termsofuse .text-container h1 {
    color: #333;
    font-size: 1.5rem; /* Reducido */
    font-weight: bold;
    text-align: left;
}

.termsofuse .text-container h2 {
    color: #333;
    font-size: 1.2rem; /* Reducido */
    font-weight: normal;
    text-align: left;
}

.termsofuse img {
    max-width: 100%;
    height: auto;
}

.termsofuse .small-text {
    font-size: 0.8rem;
}

.termsofuse .button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none; /* Agregado */
}

.termsofuse .button:hover {
    background-color: #2980b9;
}

.termsofuse .right-column {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px;
}

/* Estilos específicos para la página de error 404 */
.error-page .content {
    text-align: center;
    padding: 2rem;
}

.error-page h1 {
    font-size: 1.5rem; /* Reducido */
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.25rem; /* Reducido */
    margin-bottom: 2rem;
}

.error-page .button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.error-page .button:hover {
    background-color: #2980b9;
}

/* Estilos específicos para la página "encuesta.html" */
.encuesta {
    margin-left: 5%;
    margin-right: 5%;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.encuesta header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.encuesta .logo img {
    width: 150px;
}

.encuesta .return-link {
    text-align: right;
    margin: 10px 0;
}

.encuesta main {
    margin-top: 25px;
    padding-bottom: 5%;
    background: transparent;
}

.encuesta .section {
    display: grid;
    grid-template-columns: 100%;
    grid-gap: 0;
    margin-bottom: 0;
}

.encuesta .content {
    padding: 5%;
    background-color: transparent;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.encuesta .text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.encuesta iframe {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 8px;
}

.encuesta .button {
    background-color: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}

.encuesta .button:hover {
    background-color: #2980b9;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .section {
        grid-template-columns: 1fr;
    }

    .section-secondary, .section-tertiary {
        grid-template-columns: 1fr;
    }

    .logo img {
        width: 100px;
    }

    .section .text-container h1 {
        font-size: 4vw; /* Ajustado */
    }

    .section .text-container h2 {
        font-size: 3.5vw; /* Ajustado */
    }

    .section .text-container p {
        font-size: 3vw; /* Ajustado */
    }

    .error-page h1 {
        font-size: 4vw; /* Ajustado */
    }

    .error-page p {
        font-size: 3.5vw; /* Ajustado */
    }
}

.secondary-section {
    margin-top: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 100px;
    margin-right: 100px;
}

.secondary-section .secondary-content {
    padding: 10px;
}

.secondary-section h2 {
    color: #333;
    font-size: 1.8vw;
    font-weight: bold;
    text-align: center;
}

.secondary-section p {
    color: #555;
    font-size: 1.2vw;
    text-align: center;
}

.return-link-footer {
    text-align: right;
    margin: 20px 5% 0 0;
}
