@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
/* TODO PARA EL MENU PRINCIPAL*/
.nav-logo img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

nav {
    max-width: 1300px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    max-width: 300px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a {
    position: relative;
    padding-bottom: 0.75rem;
    color: black;
}

.link a::after {
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #122e5e;
    transition: all 0.3s ease;
}

.link a:hover::after {
    width: 70%;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #122e5e;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #96c144;
}

/* HASTA AQUI LLEGO EL MENU*/


/*PARTE DEL INICIO SEPSI*/
/*PORTADA DE INICIO*/
.container__cover{
    padding-top: 5px;
    padding-bottom: 10px;
    background-color: var(--color_text-verde); /*variable*/
}
.cover{
    max-width: 1300px;
    margin: auto;
    margin-top: 30px;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    margin-bottom: 100px;
}
.text__cover{
    width: 100%;
    padding-right: 45px;
}
.text__cover h1{
    font-size: 50px; /*Variable*/
    color: var(--color_text-blue);
}
.text__cover p{
    font-size: 15px; /*Variable*/
    margin-top: 40px;
    margin-bottom: 40px;
    color:black; /*Variable*/
}
.btn__text{
    display: block;
    width: 150px;
    margin-top: 40px;
    padding: 10px 20px;
    text-align: center;
    font-weight: 500;
    color: white; /*Variable*/
    background: red; /*Variable*/
    border-radius: 9px;
    border: 2px solid transparent;
    cursor: pointer;

}
.btn__text:hover{
    background-color: transparent;
    border: 2px solid var(--main_color-primaty);/*Variable*/
    color: var(--color_text-tertiary);/*Variable*/
}
.image__cover{
    width: 100%;
}
.image__cover img{
    width: 550px;
}

/*PARTE DEL FORMULARIO*/
.bodycenter{
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
form{
    padding: 35px 40px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    text-align: center;
    width: 550px;
}
.input-group{
    display: flex;
    flex-direction: column;
    text-align: left;
}
h2{
    color: #122e5e;
    font-size: 25px;
}
label{
    color: #122e5e;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}
input, textarea{
    padding: 17px 25px;
    border-radius: 25px;
    margin-bottom: 20px;
    background-color: rgba(136, 141, 143, 0.156);
    border: 2px solid #96c144 ;
    color: #888d8f;
    outline: none;
}
input::placeholder, textarea::placeholder{
    color: rgba(0, 0, 0, 0.435);
}
.form-txt{
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.form-text a{
    color: gray;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}








/* footer */
.pie-pagina {
    width: 100%;
    background-color: #122E5E;
}

.pie-pagina .group-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .group-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .group-1 .box figure img {
    width: 250px;
}

.pie-pagina .group-1 .box h2 {
    color: white;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .group-1 .box p {
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .group-1 .socialMedia a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 35px;
    line-height: 45px;
    color: withe;
    margin-right: 10px;
    background-color: #96C144;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .group-1 .socialMedia a:hover {
    color: #96C144;
}

.pie-pagina .group-2 {
    background-color: #0a1a2a;
    padding: 15px 10px;
    text-align: center;
    color: #FFFFFF;
}

.pie-pagina .group-2 small {
    font-size: 15px;
}

/* RESPONSIVE REVIZARLO CORRECTAMENTE  */
@media (width < 900px) {
    main {
        max-width: 900px;
    }

    .nav-links {
        display: none;
    }
    .image__cover{
        display: none;
    }
    .bodycenter {
        min-height: 20vh;
        margin-left: 50px;
    }
    form {
        width: 90%;
    }

    /*footer*/
    .pie-pagina .group-1 {
        width: 80%;
        grid-template-columns: repeat(1, 1fr);

    }

}


@media (width < 600px) {
    main {
        max-width: 500px;
    }

    .btn {
        padding: 10px 30px;
        font-size: 12px;
    }

        .bodycenter {
            min-height: 50vh;
            margin-left: 50px;

        }
    
        form {
            width: 200%;
        }


    /*footer*/
    .pie-pagina .group-1 {
        width: 80%;
        grid-template-columns: repeat(1, 1fr);

    }

}



