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

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

:root{
    --titulos:"Montserrat";
    --parrafos:"Roboto";
    --orange:#FF9372;
    --orangeRadial:#633d26;
    --green:#00D695;
    --pink:#FF93F1;
    --yellow:#FFD900;
    --softYellow:#FFE447;
    --darkYellow:#99892B;
    --blue:#1E50E6;
    --darkBlue:#08038D;
    --lightBlue:#BFFFEC;
    --lightBlueRadial:#73998D;
    --violetaClaro:#D6DFFA;
    --orangeShadow:#ff937276;
    --darkPink:#A9369A;
    --darkGreen:#679B4E;

}

body{
    font-size: 16px;
}

h1,h2,h3{
    font-family: var(--titulos);
}

p,a{
    font-family: var(--parrafos);
}

        /* MENU */
header{
    position: fixed;
    width: 100%;
    font-family:var(--titulos);
    background-color: transparent;
}

nav{
    display:flex;
    justify-content: space-around;
    align-items: center;
    font-size: 1.2rem;
}

nav div{
    display: flex;
}

nav>div img{
    width: 100px;
    height: 60px;
}

nav div:nth-child(2){
    width: 40%;
}

nav div:nth-child(2) ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

nav a{
    text-decoration: none;
    color:black;
    position: relative;/
}


nav>div:nth-child(2)  ul a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px; 
    background-color: black; 
    transition: width 0.5s ease;
}

nav>div:nth-child(2) ul a:hover::after {
    width: 100%;  /*La línea se extiende en hover */
} 

nav div:nth-child(3){
    gap: 20px;
    align-items: center;
    width: fit-content;
}

nav div:nth-child(3) input{
    height: 25px;
}

nav div:nth-child(3) img{
    height: 20px;
    width: 20px;
}

nav input[type="search"]{
    outline: none;
    border: none;
    border-radius: 5px;
    padding: 15px;
}

.menuIcono{
    display: none;
    position: absolute;
    width: 100%;
    text-align: end;
}

.menuIcono img{
    width: 50px;
}

/* BANNER */

#banner{
    width: 100%;
}
#banner div{
    width: 100%;
}

#banner div img{
    max-width: 100%;
}

    /* PRODUCTOS ESTRELLA */

#best-sellers{
    padding-bottom: 10%;
}

#best-sellers>div{
    width: 80%;
    padding-top: 40px;
    margin: auto;
}

#best-sellers>div>div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5%;
}

#best-sellers div img{
    width: 200px;
    height: 200px;
}

#best-sellers div p{
    font-family: var(--titulos);
    font-weight: bold;
}

#best-sellers>div>div div{
    padding:35px;
    border-radius: 10px;
    line-height: 35px;
}

#best-sellers>div>div div:nth-child(1){
    background-color: #FF9372;
}

#best-sellers>div>div div:nth-child(2){
    background-color: #00D695;
}

#best-sellers>div>div div:nth-child(3){
    background-color: #FF93F1;
}

#best-sellers>div>div div:nth-child(4){
    background-color: #FFD900;
}


#best-sellers>div>div div:nth-child(1):hover{
    box-shadow: 0px 0px 20px 0px #ff937276,
    0 0px 20px #ff937276, /* Resplandor cercano */
    0 0px 25px 1px #ff937276; /* Color secundario del resplandor */
}

#best-sellers>div>div div:nth-child(2):hover{
    box-shadow: 0px 0px 10px 0px #00d69684,
    0 0px 20px #00d69684, /* Resplandor cercano */
    0 0px 25px 1px #00d69684; /* Color secundario del resplandor */
}

#best-sellers>div>div div:nth-child(3):hover{
    box-shadow: 0px 0px 10px 0px #ff93f18d,
    0 0px 20px #ff93f18d, /* Resplandor cercano */
    0 0px 25px 1px #ff93f18d; /* Color secundario del resplandor */
}

#best-sellers>div>div div:nth-child(4):hover{
    box-shadow: 0px 0px 10px 0px #ffd9007f,
    0 0px 20px #ffd9007f, /* Resplandor cercano */
    0 0px 25px 1px #ffd9007f; /* Color secundario del resplandor */
}



/* SECCIÓN 2 - MÁS SOBRE FINI */
#moreFini{
    padding-bottom:10%;
}
#moreFini>div{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
    padding: 25px;
    background-color: #D6DFFA;
    box-shadow: 10px 5px 11px rgb(78, 78, 78),
    -0px -1px 10px #D6DFFA;
    border-radius: 20px;
}

#moreFini>div div:nth-child(1){
    width: 60%;
    padding: 0 50px;
}

#moreFini>div div:nth-child(1) h3{
    font-size: 3.4rem;
    margin-bottom: 25px;
}

#moreFini>div div:nth-child(1) p{
    margin-bottom: 200px;
    font-size: 1.5rem;
}

#moreFini>div>div>div{
    display: flex;
    width: 50%;
    gap: 40px;
}

#moreFini>div>div>div a{
    display: inline-block;
    text-decoration: none;
    font-size: 1.5rem;
    color: black;
    background-color: whitesmoke;
    border-radius: 5px;
    padding: 20px 30px;
    box-shadow: 7px 0px 11px rgba(112, 112, 112, 0.5),
     -0px -1px 10px rgba(112, 112, 112, 0.5);
}


#moreFini>div>div>div a:hover{
    box-shadow: 7px 0px 11px #9747FF,
     -0px -1px 10px #9747FF;
}


/* VENTAS */

#sell-number div{
    display: flex;
    background-color:#FFF4F4;
    height: 30vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 3rem;
    font-family: var(--titulos);
    font-weight:300;
}

/* NOTICIAS */

#noticias .articulos{
    display: flex;
    gap: 30px;
    padding: 20px;
    margin: 3% 0;
}

.articulos article{
    width: 33%;
}

#noticias article img{
    width: 100%;
    height: 80%;
}

#noticias article a:nth-child(1){
    text-decoration: none;
    color: black;
}

.enlaceNot{
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    color: black;
    padding: 10px;
    border: solid 1px black;
    border-radius: 15px;
}


/* .iconos{
    position: absolute;
    display: flex;
    width: 100%;
}

.iconos img{
    width: 70px;
    height: 70px;
}

.iconos div:nth-child(1){
    position: absolute;
    top:200px;
    z-index: 999;
}

.iconos div:nth-child(2){
    width: 100%;
    display: flex;
    justify-content: end;
    position: absolute;
    top:200px;
    z-index: 999;
} */


/* PÁGINA 2 - CONOCENOS */

/* BANNER */
#about-banner{
    width: 100%;
}

#about-banner div{
    width: 100%;
}

#about-banner div img{
    max-width: 100%;
}

/* AÑOS AL FRENTE */
#leading-years div{
    display: flex;
    height: 30vh;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 4rem;
    font-family: var(--titulos);
    font-weight:300;
    background: linear-gradient(white 90%,#08038D);
}

/* HISTORIA DE LA EMPRESA */
#brand-journey{
    background-color: #08038D;
}

#brand-journey h2, #brand-journey p{
    text-align: center;
    color: white;
}

#brand-journey h2{
    font-size: 4rem;
    padding: 5% 0;
}

#brand-journey p{
    width: 70%;
    margin: auto;
    text-wrap:wrap;
    font-size: 2rem;
    padding-bottom: 5%;
}

#brand-journey div{
    width: 100%;
    text-align: center;
}

#brand-journey div img{
    max-width: 100%;
}


/* FAQS */
#faqs{
    background:linear-gradient(var(--darkBlue) 90%,whitesmoke) 100%;
    padding: 5%;
}
#faqs>div{
    display: flex;
    width: 70%;
    height: 60vh;
    gap: 30px;
    margin: auto;
    align-items: center;
    background-color: whitesmoke;
    padding: 50px;
    border-radius: 20px;
}

#faqs .img-history img{
    height: 500px;
    width: 400px;
    box-shadow: 7px 0px 20px rgba(84, 84, 84, 0.5),
     5px -1px 20px rgba(84, 84, 84, 0.5);
}

.accordion{
    background-color: gray;
    width: 70%;
    max-width: 100%;
    height: fit-content;
}

.accordion .block{
    background-color: whitesmoke;
    padding:5px;
    padding-top: 0px;
}

.accordion .ac-title{
    background-color: var(--violetaClaro);
    margin: 0 0 10px;
    padding: 1em;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--titulos);
    font-weight: 450;
    cursor: pointer;
}

.accordion .ac-content{
    /*Inicialmente el contenido está escondido*/
    background-color: var(--violetaClaro);
    padding: 0;
    height: 0;
    overflow: hidden;
    transition:all 0.5s ease;
}

.accordion .block.active .ac-content{
    /*Cuando el bloque tenga la clase active el contenido será visible*/
    height: 12em;
    padding: 10px;
}

/* PERSONAS */
#team-members h2{
    margin-top: 30px;
    font-size: 3rem;
    text-align: center;
}

.slider-container {
    overflow: hidden;
    position: relative; 
    width: 100%; 
    height: 60vh;
}

.team-container{
    display: flex;
    width:100%;
}

.person1, .person2, .person3{
    flex: 0 0 100%;
    height: 60vh;
    display: flex;
}

.p-info{
    display: flex;
    width: 60%;
    margin: auto;
    gap: 50px;
    align-items: flex-end; 
}

.team-container img{
    border-radius: 50%;
}

.profile-data{
    line-height: 80px;
}

.profile-data p:nth-child(1){
    font-size: 2rem;
    font-family: var(--parrafos);
    margin-left: 50px;
}

 .profile-data p:nth-child(2){
    font-size: 3rem;
    font-family: var(--titulos);
    font-weight: bold;
}

.slider-controls{
    display: flex;
    position: relative;
    width: 100%;
    justify-content: space-between;
    top: -350px; /*Se puede calcular con js obteniendo la altura entera del contenedor, restarle la altura del slider-controls, y dividiendolo entre 2 */
}

.slider-controls svg{
    width: 115px;
    cursor: pointer;
    z-index: 999;
}

/* PREVIEW COMPROMISO */
#projects-preview{
    margin: 5% 0;
}

#projects-preview h2{
    text-align: center;
    font-size: 3.5rem;
    padding-bottom: 5%;
}

#projects-preview>div{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: space-around;
    width: 90%;
    padding: 30px 0;
    background-color: #BBD2D2;
    border-radius: 20px;
    box-shadow: 7px 0px 11px rgba(84, 84, 84, 0.5),
     -0px -1px 10px rgba(84, 84, 84, 0.5);
}

.img_preview{
    display: flex;
    justify-content: center;
    width: 40%;
}

#projects-preview div:nth-child(2) img{
    width: 100%;
    height: auto;
    border-radius: 50px;
    box-shadow: 7px 0px 11px rgba(112, 112, 112, 0.5),
     -0px -1px 10px rgba(112, 112, 112, 0.5);
}

#projects-preview .text-preview{
    width: 50%;
    font-size: 1.2rem;
}

#projects-preview .text-preview p{
    padding-bottom: 35px;
}

#projects-preview .text-preview>p:nth-child(3){
    padding-top: 35px;
}

#projects-preview>div div:nth-child(2)>div a{
    text-decoration: none;
    color: black;
    display: inline-block;
    padding: 20px 60px;
    background-color: whitesmoke;
    border:solid 1px black;
    border-radius: 15px;
    text-align: center;
    font-size: 1.1rem;
}

#projects-preview>div div:nth-child(2)>div a:hover{
    background-color: black;
    border:solid 1px whitesmoke;
    color: white;
}

#projects-preview>div div:nth-child(2) ul{
    list-style-position: inside;
    line-height: 40px;
    font-family: var(--parrafos);
    font-size: 1.1rem;
}

/* TERCERA PÁGINA - COMPROMISO SOCIAL Y MEDIOAMBIENTAL */

#commitment-banner div{
    width: 100%;
}

#commitment-banner div{
    width: 100%;
}

#commitment-banner div img{
    max-width: 100%;
}


/* PRIORIDADES */
#brand-goals div:nth-child(1){
    display: flex;
    flex-wrap: wrap;
    padding: 5% 0px;
    margin: auto;
    width: 80%;
    justify-content: space-between;
}

#brand-goals div:nth-child(1) h2{
    font-size: 5rem;
}

#brand-goals div:nth-child(1) p{
    width: 50%;
    font-size: 1.3rem;
    padding-top: 15px;
}

#brand-goals div:nth-child(2) img{
    width: 280px;
    height: auto;
    border-radius: 20px;
}

#brand-goals div:nth-child(2){
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
    justify-content: space-between;
    padding: 20px 0px;
    gap: 20px;
}

#brand-goals div:nth-child(2) div:nth-child(1) img:nth-child(even){
    border: solid 1px black;
}

#brand-goals div:nth-child(2) div:nth-child(2) img:nth-child(odd){
    border: solid 1px black;
}


/* I+D */
#I_D div{
    display: flex;
    width: 80%;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
}

#I_D div:nth-child(2){
    align-items: baseline;
    padding-bottom: 5%;
}

#I_D div:nth-child(1) h2{
    font-size: 5rem;
    width: 50%;
}

#I_D div:nth-child(1) img{
    width: 40%;
}

#I_D div:nth-child(2) h2{
    font-size: 5rem;
    width: 47%;
}

#I_D div:nth-child(2) p{
    width: 40%;
    font-size: 1.3rem;
}


/* ACCIONES SOCIALES */

#social-projects h2{
    text-align: center;
    font-size: 3rem;
    padding:10px 0;
    width: 100%;
    background-color: var(--pink);
}

#social-projects .p1, .p2{
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    justify-content: space-between;
}

#social-projects .img-p img{
    width: 100%;
    border:solid 1px black;
}

#social-projects .tp{
    width: 40%;
    padding: 0 50px;
}

#social-projects .p1>div{
    padding-left: 40px;
    width: 50%;
}

#social-projects .p2>div{
    width: 50%;
}

#social-projects .tp p{
    font-size: 1.3rem;
    padding-top: 20px;
    padding-bottom: 50px;
}

#social-projects .tp h3{
    font-size:1.7rem;
}

#social-projects .mas img{
    width: 20px;
    height: auto;
}

#social-projects .mas a{
    text-decoration: none;
    color: black;
    display: inline-flex;
    gap: 10px;
    padding: 15px 25px;
    border: solid 1px black;
    border-radius: 15px;
    font-size: 1.2rem;
    font-family: var(--titulos);
}

#social-projects .mas a:hover{
    box-shadow: 7px 0px 11px var(--pink),
     -0px -1px 11px var(--pink),
     -7px 0px 11px var(--pink);
}

#social-projects>div:last-child, #environment-projects>div:last-child{
    margin: auto;
    width: 100%;
    text-align: center;
}

#social-projects>div:last-child img{
    width: 20px;
    height: auto;
}

#social-projects>div:last-child a{
    display:inline-flex;
    gap:10px;
    font-family: var(--titulos);
    font-size: 1.3rem;
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    border-radius: 15px;
    background-color: rgb(173, 173, 173);
}

#social-projects>div:last-child a:hover{
    background-color:var(--darkPink);
}

/* ACCIONES MEDIOAMBIENTALES */
#environment-projects{
    padding: 5% 0;
}
#environment-projects h2{
    text-align: center;
    font-size: 3rem;
    padding:10px 0;
    width: 100%;
    background-color: var(--green);
}

#environment-projects .p1, #environment-projects .p2{
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    justify-content: space-between;
}

#environment-projects .p1 div:nth-child(2) img{
    width: 100%;
    height: 100%;
    border:solid 1px black;
}

#environment-projects .p2 div:nth-child(1) img{
    width: 100%;
    height: auto;
    border:solid 1px black;
}


#environment-projects .tp{
    width: 40%;
    padding: 0 50px;
}

#environment-projects .p1>div{
    padding-left: 40px;
    width: 50%;
}

#environment-projects .p2>div {
    width: 50%;
}

#environment-projects .tp p{
    font-size: 1.3rem;
    padding-top: 20px;
    padding-bottom: 50px;
}

#environment-projects .tp h3{
    font-size:1.7rem;
}

#environment-projects .mas img{
    width: 20px;
    height: auto;
}

#environment-projects .mas a{
    text-decoration: none;
    color: black;
    display: inline-flex;
    gap: 10px;
    padding: 15px 25px;
    border: solid 1px black;
    border-radius: 15px;
    font-size: 1.2rem;
    font-family: var(--titulos);
}

#environment-projects .mas a:hover{
    box-shadow: 7px 0px 11px var(--green),
     -0px -1px 11px var(--green),
     -7px 0px 11px var(--green);
}

#environment-projects>div:last-child img{
    width: 20px;
    height: auto;
}

#environment-projects>div:last-child a{
    display:inline-flex;
    gap:10px;
    font-family: var(--titulos);
    font-size: 1.3rem;
    padding: 15px 25px;
    text-decoration: none;
    color: black;
    border-radius: 15px;
    background-color: rgb(173, 173, 173);
}

#environment-projects>div:last-child a:hover{
    background-color: var(--darkGreen);
}

/* SABER MÁS */
#know h2{
    text-align: center;
    font-size: 2.5rem;
    padding-bottom: 50px;
}
#know div{
    margin: auto;
    width: 60%;
}

#know video{
    max-width:100%;
    margin: auto;
}


/* FOOTER */
footer{
    background-color: var(--blue);
    color: whitesmoke;
}

footer .footer-container{
    width: 80%;
    padding-top: 2%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

footer ul{
    list-style: none;
}

footer li{
    line-height: 60px;
}

footer a{
    text-decoration: none;
    color: whitesmoke;
    font-family: var(--titulos);
}

footer .rights{
    width: 80%;
    margin: auto;
}

footer .rights p{
    font-family: var(--titulos);
    padding: 15px 0;
}

.footer-container div:nth-child(3){
    padding-top: 3%;
    width: 30%;
}

.footer-container div:nth-child(3) input[type="email"]{
    width: 100%;
    margin: 20px 0;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-family: var(--parrafos);
}

.footer-container div:nth-child(3) a{
    display: inline-block;
    padding: 10px 30px;
    background-color: rgb(156, 156, 156);
    border-radius: 10px;
    color: black;
}

.footer-container div:nth-child(3) a:hover{
    background-color: whitesmoke;
}


/* CUARTA PÁGINA - PRODUCTOS */
#banner-prod{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#banner-prod>div:nth-child(1){
    width: 100%;
    border-bottom: solid 5px black;
    margin: 70px;
}

#banner-prod h1{
    font-size: 7rem;
    padding-bottom: 30px;
}

/* PRODUCTOS EN JS */
.prImage{
    width: 80%;
}

.pr-container{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    padding: 50px 0;
    justify-content: space-between;
}

.product{
    width: 50%;
    padding: 40px;
}

.product h3, .product p{
    opacity: 0;
    font-size: 3rem;
}

.imgContainer{
    width: 100%;
    text-align: center;
}


.pr-container .product:nth-child(1){
    background:radial-gradient(var(--orangeRadial) 10%,orange);
}

.pr-container .product:nth-child(2){
    background:radial-gradient(var(--lightBlueRadial) 30%,var(--lightBlue));
}

.pr-container .product:nth-child(3){
    background:radial-gradient(var(--darkYellow) 30%,var(--softYellow));
}

.pr-container .product:nth-child(4){
    background:radial-gradient(#996692 30%,#FFAAF4);
}

.pr-container .product:nth-child(5){
    background:radial-gradient(#789969 30%,#C8FFAE);
}

.pr-container .product:nth-child(6){
    background:radial-gradient(#395F99 30%,#5F9FFF);
}

/* BANNER JOIN US */
#join-us{
    height: 60vh;
    background-image: url(./img/rana_opacidad.png);
    background-size: cover;
    background-position: center ;
}

#join-us h3{
    font-size: 3rem;;
    padding:3% ;
}

#join-us p{
    font-size: 1.2rem;
}

#join-us h3, #join-us p{
    width: 50%;
    padding-left: 5%;
}

#join-us a{
    display:inline-flex;
    padding: 30px;
    width: 89%;
    justify-content: center;
    background-color: whitesmoke;
    color: black;
    text-decoration: none;
    font-size: 1.7rem;
    font-family: var(--titulos);
    font-weight: bold;
    border-radius: 15px;
    margin:5% 5% 0% 5%;
}

#join-us a:hover{
    background-color: black;
    color: whitesmoke;
}

/* PROMOCIONES */

#promo>div{
    background-color: var(--violetaClaro);
    border-radius:350px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding: 3%;
    margin: 50px 0;
}

#promo>div div:nth-child(1){
    width: 60%;
}

#promo>div div:nth-child(2){
    width: 30%;
}

#promo img{
    width: 300px;
    height: auto;
}

#promo>div div:nth-child(1) h3{
    font-size: 3rem;
    padding-bottom: 30px;
}

#promo>div div:nth-child(1) p{
    font-size: 1.3rem;
}

#promo>div div:nth-child(1) h3, #promo>div div:nth-child(1) p{
    margin:0 90px;
}


/* QUINTA PÁGINA - TRABAJA CON NOSOTROS */
/* BANNER */
#work-banner{
    width: 100%;
}
#work-banner div{
    width: 100%;
}

#work-banner div img{
    max-width: 100%;
}

/* Puestos disponibles */
#careers>div:nth-child(1){
    width: 50%;
    margin: auto;
}

#careers>div:nth-child(1) h2{
    margin-bottom: 20px;
    margin-top: 80px;
    text-align: center;
    font-size: 3rem;
}

#careers>div:nth-child(1) p{
    text-align: center;
    font-size: 1.1rem;
}

#careers input{
    width: 30%;
    padding: 10px;
    outline-color: var(--blue);
}

#careers>div:nth-child(2){
    width:80%;
    margin: auto;
    text-align: center;
}

#careers>div:nth-child(2)>div:nth-child(1){
    margin: 30px 0;
}

.position{
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    margin: auto;
    gap:40px;
    text-align: left;
    align-items: center;
    border-bottom: solid 1px black;
    padding: 20px 0;
}

.position div:nth-child(1){
    width: 30%;
}

.position div:nth-child(1) img{
    width: 100%;
}

.position div:nth-child(2){
    line-height: 30px;
}

.position div:nth-child(2) a:nth-child(1) , .position span{
    font-weight: bold;
}

.position div:nth-child(2) a:nth-child(1){
    text-decoration: none;
    color: black;
}


/* Formulario contacto */
#contact{
    padding: 3% 0;
    background-color: var(--violetaClaro);
}

#contact h2 {
    margin-top: 5%;
    width: 80%;
    margin: auto;
    border-bottom: solid black 2px;
}

.form-container{
    width: 40%;
}

.contact-container{
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 5%;
    margin-bottom: 5%;
    width: 80%;
    align-items: baseline;
    padding: 3%;
    background-color: whitesmoke;
    border-radius: 20px;
}

.contact-container h3{
    margin-bottom: 30px;
}

.contact-container>div{
    width: 40%;
}

form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: var(--titulos);
}

.form-container input{
    width: 100%;
    margin-bottom: 20px;
    border: none;
    padding: 10px;
    border-radius: 2px;
    outline-color: var(--blue);
}

.form-container input[type="submit"]{
    width: 20%;
    margin: auto;
    border: none;
    background-color: var(--violetaClaro);
    border-radius: 2px;
}

.form-container input[type="submit"]:hover{
    background-color: rgba(255, 172, 142, 0.753);
}

/* RESPONSIVE */
@media screen and (max-width:1400px){
    
    /* PAGINA INICIAL */

    /* Barra navegación */
    nav div {
        display: flex;
        font-size: 0.9rem;
    }

    nav>div img{
        width: 80px;
        height: 50px;
    }

    nav div:nth-child(1){
        width: fit-content;
    }

    nav div:nth-child(2) {
        width: 50%;
    }

    nav div:nth-child(3){
        width: 33%;
    }

    nav input[type="search"] {
        padding: 15px 10px;
        height: 25px;
        width: 60%;
        font-size: 0.9rem;
    }


    /* Productos estrella */
    #best-sellers>div>div{
        gap: 40px;
        justify-content: center;
    }

    #best-sellers>div>div div {
        padding: 71px;
        border-radius: 10px;
        line-height: 35px;
    }

    /* Productos que sorprenden de manera infinita */
    #moreFini>div div:nth-child(1) h3{
        font-size: 1.4rem;
    }

    #moreFini>div div:nth-child(1) p{
        font-size: 1rem;
        margin-bottom: 200px;
    }
    
    #moreFini>div div:nth-child(2)>img{
        max-width: 100%;
    } 

    #moreFini>div>div>div{
        width: 100%;
        
    }

    #moreFini>div>div>div a {
        font-size: 1.2rem;
        padding: 20px 25px;
    }

    /* PÁGINA 2- CONOCENOS */
    /* faqs */
    #faqs>div{
        display: block;
        height: fit-content;
    }

    #faqs .img-history{
        text-align: center;
        margin-bottom: 30px;
    }
    
    #faqs .img-history img{
        height: 100%;
        width: 100%;
    }

    .accordion{
        width: 100%;
        height: fit-content;
    }

    .accordion .block.active .ac-content{
        height: 10em;
        font-size: 0.9em;
    }

    /* personas */

    .p-info {
        width: 80%;
        justify-content: center;
    }
    
    .profile-data {
        line-height: 60px;
    }

    .profile-data p:nth-child(2) {
        font-size: 2.5rem;
    }

    /* Projects-preview */
    
    /* TERCERA PÁGINA - COMPROMISO */
    #I_D div:nth-child(1) h2{
        font-size: 3rem;
    }

    #I_D div:nth-child(2) h2{
        font-size: 3rem;
    }
    
    #I_D div:nth-child(2) p{
        font-size: 1rem;
    }

    #brand-goals div:nth-child(2) img {
        width: 17%;
        height: auto;
        border-radius: 20px;
    }

    #brand-goals div:nth-child(1) p {
        width: 100%;
    }
    
    /* CUARTA PÁGINA - PRODUCTOS */
    .product h3, .product p{
        font-size: 2rem;
    }
    
    /* Join us */
    #join-us a {
        padding: 20px;
        width: 70%;
        margin: 5% 5% 0% 5%;
    }

    #join-us h3, #join-us p {
        width: 70%;
        padding-left: 5%;
    }

    #join-us p {
        width: 55%;
        padding-left: 5%;
    }

    /* promociones */
    #promo>div {
        flex-wrap: wrap;
    }

    #promo>div {
        align-items: center;
    }

    #promo>div div:nth-child(2) {
        width: 40%;
    }

    #promo>div div:nth-child(1) h3{
        font-size: 2rem;
    }

    #promo>div div:nth-child(1) p{
        font-size: 1.2rem;
        padding: 0;
    }


    /* QUINTA PÁGINA - TRABAJA CON NOSOTROS */
    .contact-container>div {
        width: 45%;
    }

    .position {
        width: 85%;
    }
    

}

@media screen and (max-width:992px){
    

    /* PAGINA INICIAL */

    /* Barra navegación */
    nav div {
        display: flex;
        font-size: 0.9rem;
    }

    nav>div img{
        width: 80px;
        height: 50px;
    }

    nav div:nth-child(1){
        width: fit-content;
    }

    nav div:nth-child(2) {
        width: 58%;
    }

    nav div:nth-child(3){
        width: 25%;
    }

    nav div:nth-child(3) input{
        height: 25px;
        width: 40%;
        padding: 15px 10px;
    }

    nav input[type="search"] {
        padding: 15px 0px;
    }

    /* Productos estrella */
    #best-sellers>div>div{
        gap: 40px;
        justify-content: center;
    }

    /* Productos que sorprenden de manera infinita */
    #moreFini>div {
        width: 90%;
    }

    #moreFini>div div:nth-child(1){
        width: 100%;
    }

    #moreFini>div div:nth-child(1) h3{
        font-size: 1.4rem;
    }

    #moreFini>div div:nth-child(1) p{
        font-size: 1rem;
        margin-bottom: 100px;
    }

    #moreFini>div>div>div{
        width: 100%;
    }

    #moreFini>div>div>div a {
        font-size: 1.2rem;
        padding: 20px 12px;
    }

    #moreFini>div div:nth-child(2){
        width: 100%;
        height: 45vh;
    }

    #moreFini>div div:nth-child(2)>img{
        max-width: 100%;
        min-height: 100%;
    }

    /* Noticias */

    #noticias .articulos{
        display: flex;
        flex-wrap: wrap;
    }

    .articulos article{
        width: 80%;
        margin: auto;
    }

    /* PAGINA 2 - CONOCENOS */
    /* faqs */

    .accordion .block.active .ac-content{
        height: 14em;
    }

    /* Historia */
    #brand-journey p {
        font-size: 1.5rem;
    }

    /* personas */
    .profile-data p:nth-child(1) {
        font-size: 1.5rem;
        line-height: 30px;
    }

    .profile-data p:nth-child(2){
        font-size: 2rem;
        line-height: 50px;
    }

    .img-profile img{
        width: 300px;
    }
    
    /* Projects-preview */

    #projects-preview>div {
        padding: 30px 30px;
        gap: 30px;
    }

    .img_preview {
        width: 100%;
    }

    #projects-preview .text-preview{
        width: 100%;
        font-size: 1.1rem;
    }

    #brand-journey h2, #team-members h2, #projects-preview h2{
        font-size: 2.5rem;
        padding: 0 40px;
        padding-bottom: 5%;
    }



    /* TERCERA PÁGINA - COMPROMISO */
    #I_D div:nth-child(1) h2{
        font-size: 2rem;
    }

    #I_D div:nth-child(2) h2{
        font-size: 2rem;
        width: 37%;
    }
    
    #I_D div:nth-child(2) p{
        font-size: 1rem;
        width: 50%;
    }

    #I_D div {
        justify-content: space-between;
    }

    #social-projects .p1>div, #social-projects .p2>div, #environment-projects .p1>div, #environment-projects .p2>div{
        padding-left: 40px;
        padding-right: 40px;
        width: 100%;
    }

    #social-projects .p1, #social-projects .p2, #environment-projects .p1, #environment-projects .p2{
        gap:40px
    }

    #social-projects .p2, #environment-projects .p2{
        flex-direction: column-reverse;
    }

    #brand-goals div:nth-child(2) img {
        width: 48%;
        height: auto;
        border-radius: 20px;
    }

    #know div {
        margin: auto;
        width: 75%;
    }

    /* CUARTA PAGINA - PRODUCTOS */
    #banner-prod h1 {
        font-size: 5rem;
    }

    .product h3, .product p{
        font-size: 1.5rem;
    }    

    #join-us h3{
        width: 75%;
        font-size: 2.5rem;
    }

    #join-us p{
        font-size: 1.3rem;
    }

    #join-us a {
        width: 90%;
        padding: 10px 0;
    }

    /* promociones */
    #promo img {
        width: 100%;
    }

    #promo>div div:nth-child(1) {
        width: 90%;
        padding-top: 50px;
        padding-bottom: 40px;
        margin: auto;
    }

    #promo>div div:nth-child(1) h3 {
        text-align: center;
        font-size: 3rem;
    }

    #promo>div div:nth-child(1) p {
        font-size: 1.1rem;
        text-align: justify;
        margin-right: 90px;
    }

    #promo>div div:nth-child(2) {
        width: 40%;
        margin:auto;
        padding-bottom: 30px;
    }


    /* QUINTA PÁGINA - TRABAJA CON NOSOTROS */
    /* Puestos de trabajo */
    #careers>div:nth-child(1) h2{
        font-size: 2.5rem;
    }
    
    #careers>div:nth-child(1) p{
        font-size: 1rem;
    }


    /* formulario contacto */
    .contact-container {
        display: flex;
        flex-direction: column;
        margin: auto;
        margin-top: 5%;
        margin-bottom: 5%;
        width: 80%;
    }
    
    .contact-container>div {
      width: 100%;
      margin-bottom: 5%;
    }
    
    .contact-container>div p{
      text-align: justify;
    }
    

}






@media screen and (max-width:768px) {
    
    /* PAGINA INICIAL */

    /* Barra navegación */
    .menuIcono{
        display: block;  
        position: fixed;
        font-size: 3rem;      
    }

    .menuIcono p{
        font-size: 2rem;
        padding: 0 20px;
        cursor: pointer;
        width: fit-content;
    }

    header,nav{
        height: 100vh;
    }
    
    header{
        top: -100%;
    }

    .desplegarMenu{
        top:0%;
        transition: all 0.6s linear;
        overflow: hidden;
    }

    .ocultarOverflow{
        overflow: hidden;
    }

    nav{
        background-color: var(--violetaClaro);
    }

    nav, nav div, nav ul{
        flex-direction: column;
    }
    
    nav div {
        display: flex;
        font-size: 0.9rem;
    }

    nav>div img{
        width: 100%;
        height: auto;
    }

    nav div:nth-child(1){
        width: fit-content;
    }

    nav div:nth-child(2) {
        width: 100%;
        text-align: center;
        font-size: 2rem;
        line-height: 90px;
    }

    nav div:nth-child(3) {
        width: 100%;
        font-size: 1.5rem;
    }

    nav input[type="search"] {
        padding: 15px 0px;
    }

    nav ul a{
        position: relative;
    }

    nav ul a::after{
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px; 
        background-color: black; 
        transition: width 0.5s ease;
    }
    
    nav ul a:hover::after {
        width: 100%; /* La línea se extiende en hover */
    } 

    li:last-child a{
        margin-left: 9px;
    }

    /* Productos estrella */

    #best-sellers>div>div{
        gap: 40px;
    }

    /* Productos que sorprenden de manera infinita */
    #moreFini>div{
        flex-wrap: wrap;
    }

    #moreFini>div div:nth-child(1){
        width: 100%;
    }

    #moreFini>div div:nth-child(1) h3{
        font-size: 1.4rem;
    }

    #moreFini>div div:nth-child(1) p{
        font-size: 1rem;
        margin-bottom: 100px;
    }

    #moreFini>div div:nth-child(2){
        display: none;
    }

    #moreFini>div>div>div{
        width: 100%;
        margin: auto;
        padding-bottom: 30px;
    }

    #moreFini>div>div>div a {
        font-size: 1.5rem;
        padding: 20px 29px;
    }

    #moreFini img{
       display: none;
    }

    

    /* PAGINA 2 - CONOCENOS */
    #brand-journey h2, #team-members h2, #projects-preview h2{
        font-size: 2.3rem;
    }

    /* PAGINA 3 COMPROMISO */
    #brand-goals div:nth-child(1) h2 {
        font-size: 3.5rem;
    }

    #brand-goals div:nth-child(1) p {
        width: 100%;
        font-size: 1rem;
        padding-top: 15px;
    }

    #brand-goals div:nth-child(2) img {
        width: 45%;
        height: auto;
        border-radius: 20px;
    }
/* 
    PAGINA 4 - PRODUCTOS */

    #banner-prod h1 {
        font-size: 4rem;
    }

    .product h3, .product p{
        font-size: 1rem;
    }

    #join-us h3{
        width: 75%;
        font-size: 2.5rem;
    }

    #join-us p{
        font-size: 1.1rem;
        width: 50%;
    }

    #join-us a {
        width: 90%;
        padding: 10px 0;
    }

    /* promociones */
    #promo>div div:nth-child(1) h3{
        font-size: 2.5rem;
    }

    #promo>div div:nth-child(1) p{
        font-size: 1rem;
    }


    /* PAGINA 5 - TRABAJA CON NOSOTROS */
    /* Puestos de trabajo */
    #careers>div:nth-child(1) h2{
        font-size: 2rem;
    }
    
    #careers>div:nth-child(1) p{
        font-size: 1rem;
    }
}
