:root {
    --image-size: 70px; /* Definimos la variable global */
    --space-between: 15px; /* Definimos el espacio entre la imagen y el texto */
}

/* Reset de márgenes y paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General */

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background: linear-gradient(to bottom, #004ca4, #003973);
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    text-align: center;
}

thead, tbody, tfoot, tr, td, th {
    max-width: 0;
}


.header img {
    width: 100%;
    height: auto;
}

header .logo img {
    /* max-width: 300px; */
    width: 350px;
}

.header {
    /* background-image: linear-gradient(rgba(7, 55, 104, 0.5), rgba(32, 81, 163, 0.2)), url('../img/background.jpg'); */
    /* background-blend-mode:darken; */
    background-image: url('../img/background_min768.jpg');
    background-size: cover;
    /* background-position:center; */
    background-position: 50% 70%; /* Ajusta el foco (50% horizontal, 30% vertical) */
    background-repeat: no-repeat;
    height: 50vh;
    display: flex;
    justify-content: start; /*center;*/
    align-items: start; /*center;*/
    padding: 50px 0 0 50px; /* sin padding */
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to bottom, #004ca4, #003973);
}

.title {
    font-size: 1.9em;
    margin: 10px 0 30px 0;
    color: white;
    font-weight:700;
}

.buttons, .button-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

button {
    background-color: #ff6b00;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.5em;
    cursor: pointer;
    border-radius: 0; /*5px;*/
    text-transform: uppercase;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

button:hover {
    background-color: #e55e00;
}

.thanks-container {
    display: flex;
    align-items: end;
    justify-content: center;
    margin: 20px 0 30px calc(-1 * (var(--image-size) + var(--space-between)));
}

.thanks-image {
    width: var(--image-size);
    height: var(--image-size);
    margin-right: var(--space-between);
}

.thanks {
    font-size: 1.5em;
    color: white;
    font-weight: 600;
    text-align: center;
}

.footer {
    width: 100%;
    background-color: #ff6b00;
    color: white;
    padding: 20px;
    font-size: 0.9em;
    text-align: center;
    margin-top: auto;
}

.footer p {
    margin: 0;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
    margin-top: 50px;
}

a, footer a {
    color: white;
    text-decoration: none;
}

a:hover, footer a:hover {
    text-decoration: underline;
}


/* Estilos para los botones de mover */

button[type="button"] {
    padding: 5px 10px;
    margin: 5px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button[type="button"]:hover {
    background-color: #218838;
}

/* Responsive */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
    .header {
        background-image: url('../img/background_max768.jpg');
        background-position: 50% 35%; /* Ajusta el foco (50% horizontal, 30% vertical) */
        background-repeat: no-repeat;
        height: 35vh;
        display: flex;
        justify-content: center;
        align-items: start;
        padding: 0;
    }
    header .logo img {
        max-width: 300px;
        margin-top: 3.5em;
        
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 100%;
        border-radius: 0;
    }
    .header, .footer {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
}