@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
    --primary: #111;
    --secondary: #fd0;
}	

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
    font-weight: 500;
}


/* HEADER */

header {
    z-index: 9999;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color:rgb(255, 255, 255);
}

.Logo-ECOPXXI{
    width: 200px;
    margin: 10px;
    margin-left: 50px;
}

nav{
   z-index: 9999;
}



nav ul{ 
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
} 

nav ul li a {
    font-family:'Poppins', sans-serif;
    display: inline-block;
    font-weight:600;
    font-size: 17px;
    padding: 14px 25px ;
    color: rgb(39, 197, 0);
    text-decoration: none;
    transition:0.3s ease;
} 

 nav ul li a:hover {
    transform: scale(1.2);
    background-color: rgb(221, 255, 225);
    border-radius: 2px;
    color: rgb(39, 197, 0);
  
}


#Invenciones {
    font-family:'Poppins', sans-serif;
    display: inline-block;
    font-weight:600;
    font-size: 17px;
    padding: 14px 25px ;
    color: rgb(39, 197, 0);
    text-decoration: none;
    cursor: pointer;
    transition:0.3s ease;
} 

#Invenciones:hover{
    transform:scale(1);
    background-color: rgb(255, 255, 255);
    border-radius: 2px;
    color: rgb(39, 197, 0);

}


#SANAVIR:hover {
    transform: scale(1.3);
    background-color: white;
}


#idiomas{
    font-family:'Poppins', sans-serif;
    display: inline-block;
    font-weight:600;
    font-size: 17px;
    padding: 14px 25px ;
    color: rgb(0, 0, 0);
    text-decoration: none;
    cursor: pointer;
    transition:0.3s ease;
    margin-right: 13px;
}

#idiomas:hover{
    color: rgb(0, 0, 0);
    background-color: white;
    transform: scale(1);
    
}
/* DROPDOWN MENU */
nav ul li ul.dropdown li{
    display: block;
    transition: 0.3s ease;
}

 nav ul li ul.dropdown{
    background-color: white;
    position: absolute;
    z-index: 999;
    display:none;
}

 nav ul li:hover ul.dropdown{
   display: block;
}

nav ul li ul.dropdown li a{
    width: 160px;
   
} 


nav ul li ul.dropdown li a:hover {
    background-color: rgb(221, 255, 225);
    padding-left: 35px;
    transform: scale(1);
}

/* FIN DROPDOWN MENU */




/* RESPONSIVE HEADER */


.menu-icon {
    display: none;
}
.idiomas-responsive {
    display: none;
}

.x-icon{
    display: none;
}

@media (max-width: 1140px) {
    

header .navigation {
    display: none;
}


header .navigation.active{
    position: absolute;
    left: 0;
    top: 6rem;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: rgba(1, 1, 1, 0.5);
    
} 


.navigation ul {
    margin-top: 0;
    list-style: none;
    background: white;
    width: 100%;
    margin: 10px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: flex-start;
    border-radius: 5px;
    margin-top: 0;
    height: fit-content;
    box-shadow: 0px 5px 25px rgb(1,1,1,0.5);
}


.navigation li ul.dropdown{
    position: relative;
    width: 100%;
    box-shadow: none;
}

nav #idiomas{
    display: none;
}
 
nav #SANAVIR img{
    width: 100px;
}

header ul{
    list-style:none;
}



nav ul li a{
    color: black
};

nav ul li a::before{
    background: black;
    height: 5px;
}

.idiomas-menu-container{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: end;
    align-items: center;
  }

.idiomas-responsive {
    display: flex;
   margin-right: 0;
  }


/* NAVEGADOR IDIOMAS */

.idiomas-responsive ul li a {
    font-family:'Poppins', sans-serif;
    display: inline-block;
    font-weight:600;
    font-size: 17px;
    padding: 14px 25px ;
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition:0.3s ease;
} 

 .idiomas-responsive ul li a:hover {
    transform: scale(1.2);
    background-color: rgb(221, 237, 255);
    border-radius: 2px;
    color: rgb(39, 197, 0);
  
}

.idiomas-responsive ul li ul.dropdown li{
    display: block;
    transition: 0.3s ease;
}

.idiomas-responsive ul li ul.dropdown{
    
    background-color: white;
    position: absolute;
    z-index: 999;
    display:none;
}

 .idiomas-responsive li:hover ul.dropdown{
   display: block;
} 

.idiomas-responsive ul li ul.dropdown li  a{
    width: 140px;
} 


.idiomas-responsive ul li ul.dropdown li a:hover {
    background-color: rgb(221, 237, 255);
    padding-left: 35px;
    transform: scale(1);
}

/* FIN NAVEGADOR IDIOMAS */ 


.menu-icon {
  display: flex;
  background: url(menu-icono.jpg)no-repeat;
  background-size: 50px;
  width: 40px;
  height: 40px;
  background-position: center;
  margin-right: 30px;
  color:  rgb(39, 197, 0);
  font-size: 40px;
  cursor: pointer;
  transition: 0.3s ease;
}



.menu-icon.active{
   background: url(x.jpg)no-repeat;
   background-size: 40px;
   background-position: center;
   width: 40px;
  }
}


@media (max-width:560px){
   .Logo-ECOPXXI{
    width: 140px;
   }
   .menu-icon {
    margin-right: 20px;
    width: 30px;
    height: 30px;
}


header .navigation.active{
    top: 4.5rem;}

}

@media (max-width:350px){
  .Logo-ECOPXXI{
    width: 120px;
  }
 
}


/* FIN RESPONSIVE HEADER*/


/* FIN HEADER */

.container-all {
    
    display: flex;
    flex-direction: column;
}



h1{
    font-size: 30px;
    text-align: center;
    color: rgb(38, 192, 56);
}

.contacto-container{
    z-index: 990;
    position: relative;
   display: flex;
   flex-direction: row;
   height: 100vh;
   background: linear-gradient(
    
rgb(38, 192, 56),
rgb(17, 93, 24)
   );
}

.contact-info{
    position: absolute;
    background-color: rgb(0, 68, 28);
    width: 27%;
    height: 60.3%;
    margin: 3%;
    padding: 30px;
    top: 5%;
    left: 3%;

}
 

.contact-info h3{
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    color: white;
}

.icon-info{
  margin-bottom: 1.6rem;
}

.icon-info .icon{
    display: flex;
    flex-direction: row;
}

.icon-info i{
    color: #ffffff;
    background-color: #16832a;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-info h4{
    margin-left: 10px;
    margin-top: 5px;
    text-align: center;
    font-weight: 500;
    color: white;
}

.icon-info p{
    display: flex;
    margin-top: 5px;
    margin-left: 40px;
    font-weight: 300;
    color: rgb(224, 224, 224) ;
}


.media-icons {
    z-index: 990;
    font-size: 2rem;
    text-align: center;
    background-color: rgb(119, 219, 130);
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}


.media-icons a:not(:last-child){
    margin-right:  10px; ;
}

.media-icons a{
    color:#000000;
}
.media-icons a:hover{
    color: rgb(8, 118, 47);
    
}


.form-container {
    background-color: rgb(255, 255, 255);
    width: 55%;
    min-width: 420px;
    padding: 35px 50px;
    transform: translate(-50%,-50%);
    position: absolute;
    left: 60%;
    top: 45%;
    border-radius: 10px;
    box-shadow: 20px 30px 25px rgba(0,0,0,0.15);
}


form{
    width: 100%;
    position: relative;
    margin: 30px auto 0 auto;
}
.row{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    grid-gap: 20px 30px;
    margin-bottom: 20px;
}

.column {
    display: flex;
    flex-direction: column;
}



/* BANDERAS PREFIJO TELEFONOS INPUT */

.select-box {
    position: relative;
    margin:0;
    margin-top: 5px;
}


.select-box input:focus {
    border: .1rem solid var(--primary);
}

.selected-option {
    background-color: #eee;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div{
    position: relative;
    width: 12rem;
    text-align: center;
    cursor: pointer;
    margin-right: 20px;
}

.selected-option div::after{
    position: absolute;
    content: "";
    transform: translateY(-50%) rotate(45deg);
    top: 0.5rem;
    left: 6rem;
    width: .8rem;
    height: .8rem;
    border-right: .12rem solid var(--primary);
    border-bottom: .12rem solid var(--primary);

    transition: .2s;
}

.selected-option div.active::after{
    transform: translateY(-50%) rotate(225deg);
}

.select-box .options {
    position: absolute;
    top: 3rem;
    width: 100%;
    background-color: #fff;
    border-radius: .5rem;
    border: 2px solid black;
    display: none;
}

.select-box .options.active {
    display: block;
}

.select-box .options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;
    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--primary);
}

#contact{
    width: 100%;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1.2px solid #c4cae0;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
}

input.search-box {
    background-color:rgb(179, 255, 189);
    color: #c4cae0;
    font-weight: 500;
    border-radius: .5rem .5rem 0 0;
    padding: 10px 1rem;
    margin: 0;
    width: 100%;
}

.select-box ol {
    list-style: none;
    max-height: 11rem;
    overflow: overlay;
}

.select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

.select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: .4rem;
}

.select-box ol li {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.select-box ol li.hide {
    display: none;
}

.select-box ol li:not(:last-child) {
    border-bottom: .1rem solid #eee;
}

.select-box ol li:hover {
    background-color: lightcyan;
}

.select-box ol li .country-name {
    margin-left: .4rem;
}

/* FIN BANDERAS PREFIJO TELEFONOS INPUT*/





textarea,
input{
    width: 100%;
    font-weight: 400;
    padding: 10px 10px;
    border-radius: 5px;
    border: 1.2px solid #c4cae0;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-right: 10px;
}


textarea{
    resize: none;
}


button{
    border: none;
    padding: 10px 20px;
    background: linear-gradient(
        130deg,
        #008223,
        #00c500
    );
    color: #ffffff;
    border-radius: 3px;
    cursor: pointer;
}



/**************************************************/


.popup {
    background: white;
    width: 400px;
    padding: 0px 20px 20px;
    position: absolute;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5);
    top: 80%;
    left: 70%;
   transform:  translate(-50%,-50%);
    visibility: hidden;
}

.popup img{
    width: 100px;
    margin-top: -45px;
    margin-bottom: -5px;
}

.popup button{
    margin-top: 20px;
    background: green;
    cursor: pointer;
}

.open-popup{
visibility: visible;

}

/*********************************/

/* RESPONSIVE CONTACTO */

@media (max-width:1300px){

    .contact-info {
        width: 40%;
        height: fit-content;
        margin: 0;
        top: 10%;
        left: 2%;
    }

    .form-container {
        left: 70%;
    }
    
}


@media (max-width:1024px) {
    .contacto-container {
        flex-direction: column;
        height: 100vh;
    }


    .contact-info {
        position: relative;
        background-color: rgb(0, 68, 28);
        width: 100%;
        height: fit-content;
        margin: 0;
        top: 0;
        left: 0;
        padding-top: 60px;
    }

    .contact-info h3 {
        margin-bottom: 50px;
        font-size: 30px;
       
    }
     
    .media-icons {
        margin-top: 80px;
        border-radius: 25px;
    }


    .form-container {
        width: 100%;
        position: relative;
        transform: none;
        left:0;
        top: 0;
        min-width: 200px;

    }

   .boton-popup{
    position: relative;
   }
   
   .popup{
    position: absolute;
    top: 50%;
    left: 50%;
   }

 
}

 @media (max-width:768px){

    .popup {
       
        width: 350px;
     
    }
} 

@media (max-width: 400px){

    .select-box {
        width: 90%;
    }

    textarea, input {
        width: 90%;}


    .popup {
       
        width: 320px;
     
}
}

/* FIN RESPONSIVE CONTACTO */



/* FOOTER */

.footer-container{
    max-width: 1170px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
}



footer ul {
    list-style: none;
}

.ECOP21-footer-logo {
    margin-bottom: 40px;
}

.footer {
   position: relative;
    width: 100%;
    background-color: white;
    padding: 70px 0;
    margin-top: 95vh;
    padding-bottom: 300px;
}

.Bandera-Arg{
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
}

.Bandera-Arg p{
    margin-left: 5px;
}

.Copyright{
    color: rgb(112, 111, 111);
}

.footer-col{
    width: 25%;
    padding: 0 15px;
}

.footer-col h4{
    font-size: 18px;
    text-transform: capitalize;
    margin-top: 15px;
    margin-bottom: 40px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom:  -10px;
    background-color: rgb(6, 187, 0);
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li:not(:last-child){
   margin-bottom: 10px;
}



.footer-col ul li a{
  font-size: 16px;
  text-transform: capitalize;
  color: rgb(58, 56, 56);
  text-decoration: none;
  font-weight: 400;
  display: block;

  transition: all 0.3s ease;
}

.footer-col ul li a:hover{
    color: black;
    padding-left: 8px;
}

.footer-col .footer-media-icons a{
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(0, 0, 0, 0.2);
    margin-right: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: black;
    transition: all 0.5s ease;
}

.footer-col .footer-media-icons a:hover{
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}


/* RESPONSIVE FOOTER */
@media (max-width:1024px){
    .footer {
        margin-top: 0vh;
        padding-bottom: 30px;
    }
    
}


@media (max-width: 767px) {
  .footer{
    padding-left: 10px;
  }

 .footer-col {
    width: 50%;
    margin-bottom: 30px;
 }
}


@media (max-width: 574px) {
    .footer-col {
       width: 100%;
       margin-left: 20px;
    }
   }

/* FIN RESPONSIVE FOOTER */
/* FIN FOOTER */
