html {
    scroll-behavior: smooth;
    scroll-padding-top: 30px;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 900px;
    max-width: 100%;
    margin: 0em auto;
    padding-top: 60px;
}


main article {
    padding-block:30px;
}


body {
    color: #ffffff;
    font-family: "Sora", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #ffffff;
    background-size: 100px;
}

a {
    text-decoration: none;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: grey;
    padding: 15px;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    height: 55px;
    box-shadow: 0px 4px 4px 0px rgba(219, 219, 219, 0.25);
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.innerHeaderL {
    width: 100%;
    max-width: 1550px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

nav ul {
    display: none;
    flex: 1;
    justify-content: center;
    align-items: center;
    list-style: none;
    color: black;
    margin: 0;
}

nav ul li {
    padding-right: 50px;
    transition: color 0.3s;
    transition: transform 0.3s ease;
    cursor: pointer;
}

nav ul li a {
    text-decoration: none;
    color: inherit;
}

ul li:hover {
    color: #0038FE;
}


li a:active {
    color:#0038fe;
}

.containerLogo img {
    height: 50px;
}

.innerCabecera::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000e4059, #0037fe60);
    z-index: 1;
}
.imgCabecera {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.cabecera {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100vw;
    height: auto;
    position: relative;
    padding-right: var(--bs-gutter-x, 1.75rem);
    padding-left: var(--bs-gutter-x, 1.75rem);
}

.cabecera::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #000e4059, #0037fe60);
    z-index: 1;
}
.imgCabecera {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.innerCabecera {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    margin-right: 50px;
}

.innerCabecera h1 {
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.imgCabecera {
    background-image: url("../../assets/img/link/bgCabecera.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.logo {
    position: relative;
    z-index: 2;
    width: 4em;
}

/* MENU responsive  */

.hidden-menu {
    display: none;
}

.visible-menu {
    display: flex;
    position: fixed;
    background-color: #dfe7fffa;
    width: 100%;
    z-index: 1000;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding-block: 25px;
    transform: translateY(-35px);
}

#menu li a {
    color:black;
}
/* FIN MENU responsive  */

/* FORMULARIO */
.form-section,
.form-section-responsive {
    background-color: #fff;
    padding: 30px;
    margin: 30px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    z-index: 1;
}
.form-section-responsive {
    width: auto;
    margin-inline: 20px;
    margin-top: 20px;
    background-color: #f3f6ff;
    z-index: 1;
}

.form-section h2,
.form-section-responsive h2 {
    color: black;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.form-section input,
.form-section-responsive input,
.form-section textarea,
.form-section-responsive textarea {
    width: 100%;
    padding: 12px;
    /* margin-bottom: 15px; */
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    resize: none;
}
.form-section textarea,
.form-section-responsive textarea {
    margin-bottom: 15px;
}

.form-section input:focus,
.form-section-responsive input:focus,
.form-section textarea:focus,
.form-section-responsive textarea:focus {
    border-color: #3b82f6;
}

.form-section button,
.form-section-responsive button {
    width: 100%;
    padding: 15px;
    background-color: #006bff;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.form-section button:hover,
.form-section-responsive button:hover {
    background-color: #0055d4;
    transition: transform 0.3s ease;
}

.form-section button.formOk,
.form-section-responsive button.formOk {
    width: 100%;
    padding: 15px;
    background-color: #00ba1c;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.error-message1 {
    color: red;
    font-size: 0.875em;
}
input.input-error {
    border: 1px solid red;
}

.input-wrapper {
    padding-bottom: 15px;
}

.input-wrapper img {
    width: 1.2vh;
}

.formOk {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: none;
}

/* FIN FORMULARIO */

/* FORMULARIO POPUP */
.popup-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

.form-section-responsive {
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    overflow-y: auto;
    max-height: 90vh;
}


/* FIN FORMULARIO POPUP */

.features {
    padding-inline: 20px;
    width: 100%;
    position: relative;
}

.features h2 {
    padding: 20px;
    font-size: 28px;
    font-weight: 600;
    color: black;
    text-align: center;
}



.containerFeatures {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    padding-block: 25px;
    flex-wrap: wrap;
}

.boxFeatures {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 350px;
}

.feature {
    background-color: #f3f6ff;
    box-shadow: 0px 1px 4px 0px rgba(209, 209, 209, 0.25);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.feature img {
    width: 2.5em;
}

.feature h4 {
    color: black;
    font-weight: 600;
}

.feature p {
    color: black;
}

.premium {
    padding-inline: 20px;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.premium h2 {
    font-size: 28px;
    font-weight: 600;
    color: black;
    text-align: center;
}

.premium h3 {
    color:black;
    font-weight: 400;
    text-align: center;
}

.premium .brandImg {
    width: 100%;
    padding-block: 15px;
}

.masInfo {
    margin-bottom: 20px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: left;
    padding-left: 20px;
    padding-right: 40px;
    border: none;
    background-color: #0038fe;
    border-radius: 20px;
    position: relative;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.4;
    transition: color 0.3s;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* .partners .masInfo {
  width: 12em;
} */

.innerCabecera .masInfo {
    z-index: 990;
    width: 10em;
}

.masInfo img {
    font-size: inherit;
    color: #fff;
    position: absolute;
    right: 14px;
    box-sizing: border-box;
    font-weight: 600;
}

.masInfo:hover {
    background: #0055d4;
    border: none;
}

.ambassadors {
    width: 100vw;
    background: linear-gradient(0deg, #00186c, #0038fe);
    height: auto;
}

.ambassadors h2 {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 0;
    padding-top: 20px;
}

.ambassadors h3 {
    text-align: center;
    font-weight: 400;
    padding-bottom: 20px;
}


.containerCard {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    gap: 40px;
    padding-block: 25px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.card img {
    width: 150px;
}

.card p {
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-inline: 15px;
    border: 1px solid #ffffff;
    background-color: transparent;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
}

.card small {
    color: #ececec;
}

.card:last-child {
    padding-right: 20px;
}
.card:first-child {
    scroll-snap-align: start;
    padding-left: 20px;
}

.partners {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100vw;
    height: auto;
}

.partners h2 {
    font-size: 28px;
    font-weight: 600;
    color: rgb(0, 0, 0);
    text-align: center;
    margin-top: 0;
    padding: 20px;
}

.containerPartner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding-block: 25px;
}

.boxPartner {
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.boxPartner .containerImg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.boxPartner .containerImg img {
    width: 150px;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding-block: 50px;
    align-items: center;
    background-color: black;
    min-height: 15vh;
    padding: 20px;
    text-align: center;
}

footer .containerRss, .containerIdioma {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    align-items: center;
}

.legal a {
    font-size: 14px;
    color: white;
    /* text-decoration: none; */
}

.legal a:hover {
    color: grey;
}


.rss:hover {
    color: grey;
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.rss {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.rss img {
    width: 3.5vh;
}

.rss p {
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.idioma {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
}

.idioma img {
    width: 50%;
    padding-right:2px;
}

.idioma a {
    color:white;
}

.idioma:hover {
    cursor: pointer;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}


/* MEDIAS */
@media (min-width: 768px) {
    .scroll-container {
        justify-content: center;
    }

    .containerFeatures {
        flex-wrap: nowrap !important;
        gap: 20px;
    }

    h1 {
        width: 50vw;
        font-size: 36px;
    }

    footer {
        gap: 150px;
        text-align: right;
    }

}

@media (max-width: 576px) {
    .imgCabecera {
        background-image: url("../../assets/img/link/bgCabeceraMobile.webp");
    }


}

@media (min-width: 973px) {
    .form-section-responsive {
        display: none;
    }

    nav ul {
        display: flex;
    }

    .hamburgerContainer {
        display: none;
    }
    .innerCabecera .masInfo {
        display:none;
    }
}
@media (max-width: 973px) {
    .form-section {
        display: none;
    }
}

/* Adaptación solo para dispositivos móviles */
@media (min-width: 600px) {
    #contactPopup {
        display: none;
    }
}

@media (max-width: 600px) {
    .form-section-responsive {
        width: 100%;
        max-width: 95%;
        max-height: 85vh;
        padding: 15px;
    }
}


