@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

    .main-header img {
    margin-top: 20px; 
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
}

body {
    font-family: "Funnel Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-image: url('images/pexels-nano-erdozain-120534369-17240938.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid white;

}

.top-green-line {
    width: 1px;
    height: 100%;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
}


.top-bar {
    width: 100%;
    height: 80px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 1px;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e0e0e0
}

.company-logo-top {
    max-height: 60px;
    width: auto;
}

.container {
    min-height: calc(100vh - 81px);
    padding-top: 81px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.header-txt {
    color: white;
    text-align: center;
    font-size: 1.2em;
    line-height: 1.5;
    position: relative;
    z-index: 5;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    max-width: 300px;
    margin: 0 20px 45px 20px;
}

button {
    padding: 17px 30px;
    background-color: #02b1f4;
    width: 650px;
    border: 0;
    box-shadow: 0 0 20px  rgb(0,0,0,0,2);
    border-radius: 25px;
    color: floralwhite;
    font-size: 15px;
    cursor: pointer;

}

.button-comtainer {
    text-align: center;
    margin-top: 20px;
}

.promise-text-overlay {
    position: absolute;
    top: 70%;
    left: 25%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 1.8em;
    line-height: 1.4;
    z-index: 5;
    padding: 40px 50px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promise-text-overlay h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
}

.promise-text-overlay p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 0;
    color: white;
}

.about-txt {
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    font-size: 2.3em;
    line-height: 1.5;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
    font-weight: bold;
    position: relative;
    top: -20px; /* Mueve el elemento 20px hacia arriba */
    left: -50px; /* Mueve el elemento 50px hacia la izquierda */
}

.about-txt p {
    margin-bottom: 50px;
}

.formulario_container {
    background-color: #0d47a1;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 700px;
    max-width: 100%;
    z-index: 10;
    position: relative;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    box-sizing: border-box;
}

.formulario_container h2 {
    font-size: 2.2em;
    color: white;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.input-group {
    display: block;
    margin-bottom: 7px;
    font-weight: bold;
    color: white;
    font-size: 0.95em;
}

.formulario_container input[type="text"],
.formulario_container input[type="email"],
.formulario_container input[type="number"],
.formulario_container select,
.formulario_container textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: white;
    color: #272727;
}

.formulario_container input[type="text"]:focus,
.formulario_container input[type="email"]:focus,
.formulario_container input[type="number"]:focus,
.formulario_container textarea:focus {
    border-color: #00bcd4;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.formulario_container textarea {
    min-height: 80px;
    resize: vertical;
}

.footer-text{
    color: #e0e0e0;

}

.mani-footer {
    text-align: center; 

}
.privacy-link {
  color: red;
}

@media (max-width: 991px) {
    body {

        @media (max-width: 991px) {
    body {
    
        display: block;
        background-size: cover; 
        background-position: center center; 
        min-height: 100vh; 
        padding: 0; 
        border-top: none; 
    }   
} 
    }
    .main-header img {
        margin-top: 15px; 
        max-width: 90%; 
    }

    .menu {
        display: none; 
    }

    .top-bar {
        height: 60px; 
    }
    .company-logo-top {
        max-height: 45px; 
    }

    .container {
        padding-top: 61px; 
        padding-left: 15px; 
        padding-right: 15px;
        justify-content: flex-start; 
    }

    .header-txt {
        font-size: 1em; 
        padding: 15px; 
        max-width: 90%; 
        margin: 0 auto 30px auto; 
    }

    button {
        width: 90%; 
        padding: 12px 20px; 
        font-size: 14px; 
    }

    .promise-text-overlay {
        position: static; 
        transform: none; 
        left: auto; 
        top: auto; 
        width: 90%; 
        max-width: none; 
        margin: 20px auto; 
        font-size: 1.1em; 
        padding: 15px; 
        text-align: center; 
    }

    .promise-text-overlay h2 {
        font-size: 1.3em; 
    }

    .promise-text-overlay p {
        font-size: 0.9em; 
    }

    .about-txt {
        font-size: 1.5em;
        margin: 30px auto;
        padding: 0 15px; 
        max-width: 90%; 
    }

    .formulario_container {
        width: 90%; 
        margin: 30px auto; 
        padding: 20px; 
        margin-right: auto; 
    }

    .formulario_container h2 {
        font-size: 1.8em; 
        margin-bottom: 20px;
    }

    .formulario_container input[type="text"],
    .formulario_container input[type="email"],
    .formulario_container input[type="number"],
    .formulario_container select,
    .formulario_container textarea {
        padding: 10px 12px; 
        font-size: 0.9em;
    }

    .input-group {
        font-size: 0.9em; 
    }

    .footer-text {
        font-size: 0.9em; 
    }

    .mani-footer img {
        max-width: 80%; 
        height: auto;
    }
}