/*Font*/

@font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-Bold_142.ttf') format('truetype');
    font-weight: bold;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-BoldOblique_143.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-Book_80.ttf') format('truetype');
    font-weight: normal;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-BookOblique_146.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-Demi_147.ttf') format('truetype');
    font-weight: 600; /* Puedes usar 600 para semi-bold o el valor que prefieras */
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-DemiOblique_148.ttf') format('truetype');
    font-weight: 600; /* Puedes usar 600 para semi-bold o el valor que prefieras */
    font-style: italic;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-Medium_74.ttf') format('truetype');
    font-weight: normal;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-MediumOblique_151.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-XLig_77.ttf') format('truetype');
    font-weight: 200; /* Puedes usar 200 para extra-light o el valor que prefieras */
    }
    
    @font-face {
    font-family: 'All Round Gothic';
    src: url('../img/AllRoundGothic/AllRoundGothic/AllRoundGothic-XLigOblique_154.ttf') format('truetype');
    font-weight: 200; /* Puedes usar 200 para extra-light o el valor que prefieras */
    font-style: italic;
    }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'All Round Gothic', sans-serif;
}

body{
    background-color: #ffffff;
}

/*Sections*/

.box-bluegreen{
    background-image: linear-gradient(to right, #6dc5d9, #51BF83);
    padding: 20px;
}

.box-green{
    background-color: #107b6f;
    padding: 20px;
}

.box-white{
    background-color: #ffffff;
    padding: 20px;
    transition: 0.3s ease;
}

.box-black{
    background-color: #000000;
    padding: 20px;
}

/*Divisores*/

.divisor {
    width: 100%;
    height: 10px;
    border: none;
    background-color: #ffffff;
}

.divshapeTopB{
    background-color: #E6F4F1;
    clip-path: polygon(0% 100%, 20% 0%, 60% 50%,  100% 60%, 100% 50%, 100% 100%);
    height: 90px;
}


.divshapeTopG{
    background-color: #107b6f;
    clip-path: polygon(0% 100%, 20% 0%, 60% 50%,  100% 60%, 100% 50%, 100% 100%);
    height: 90px;
}

.divshapeBottomG{
    background-color: #107b6f;
    clip-path: polygon(0% 0%, 100% 0%, 40% 20%, 0% 70%, 0% 100%);
    height: 70px;
}


.divshapeTop{
    background-image: linear-gradient(to right, #6dc5d9, #51BF83);
    clip-path: polygon(0% 100%, 30% 0%, 60% 80%, 100% 6%, 100% 100%);
    height: 80px;
}

.divshapeBottom{
    background-image: linear-gradient(to right, #6dc5d9, #51BF83);
    clip-path: polygon(0% 0%, 100% 0%, 70% 100%, 60% 40%, 28% 100%);
    height: 80px;
}

.divwhite{
    background-color: #ffffff;
    padding: 20px;
    height: 200px;
}

.barrita{
    width: 100px;
    padding: 2px;
    border: none;
    background-color: #172134;
    border-radius: 5px;
    margin: 20px auto;
}
    

/*contenedores estilos*/

.container-1{
    margin: auto;
    text-align: center;
    padding: 20px;
    max-width: 80%;
}
.container-2{
    display: flex;
    padding: 10px;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 30px;
    max-width: 80%;
}

.container-3{
    margin: auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-content: center;
    max-width: 90%;
}

.container-4{
    margin: auto;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 20px;
    max-width: 90%;
}

.containerIcon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.containerP{
    display: flex;
    justify-content: center;
    margin: auto;
    max-width: 90%;
}

.hexagon{
    position: relative;
    overflow: hidden;
    width: 55vh;
    height: 55vh;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: auto;
}
    .hexagon img {
        max-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }

.text-right,
.text-left {
  flex: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 30px;
}

.imgBox{
    padding: 10px;
    margin: auto;
    overflow: hidden;
    width: 90%;
}

.imgBox img {
    max-width: 100%;
    max-height: 100%;
}

/*Estilos de texto*/


.title-bk{
    color: #000000;
    font-weight: 700;
    font-size: 40px;
    padding: 10px;
    font-style: oblique;
}

.title-b{
    color: #6dc5d9;
    font-weight: 700;
    font-size: 40px;
    padding: 10px;

}

.title-g{
    color: #018951;
    font-weight: 700;
    font-size: 40px;
    padding: 10px;

}

.title-w{
    color: #ffffff;
    font-weight: 700;
    font-size: 40px;
    padding: 10px;

}

.sub-bk{
    color: #000000;
    font-weight: 500;
    font-size: 30px;
    padding: 10px;

}

.sub-b{
    color: #6dc5d9;
    font-weight: 500;
    font-size: 30px;
    padding: 10px;

}

.sub-g{
    color: #018951;
    font-weight: 500;
    font-size: 30px;
    padding: 10px;

}

.sub-w{
    color: #ffffff;
    font-weight: 500;
    font-size: 30px;
    padding: 10px;

}

.text-p-bk{
    color: #000000;
    font-weight:400;
    font-size: 20px;
    padding: 10px;
    margin-bottom: 20px;

}

.text-p-w{
    color: #ffffff;
    font-weight:400;
    font-size: medium;
    padding: 10px;
    font-size: 20px;
}

.text-p-g{
    color: #018951;
    font-weight:500;
    font-size: 20px;
    padding: 10px;

}

.text-p-b{
    color: #6dc5d9;
    font-weight:400;
    font-size: medium;
    padding: 10px;
    font-size: 20px;
}

.textNav{
    font-weight: 400;
}

/*INDEX*/

/*Nav*/

nav {
    position: fixed;
    z-index: 1;
    padding: 10px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    background-color: transparent;
    transition: background-color 0.5s;
    transition: box-shadow 0.5s;
}

       

/*logo */
.logo-icon {
    max-width: 150px;
    padding: 5px;
    transition: transform 0.3s; 
}

.logo-icon img{
    max-width: 100%;
    max-height: 100%;
}

.logo-icon:hover {
    transform: scale(1.1);
}

/*menú de navegación */
nav ul {
    list-style: none;
    display: flex;
    padding: 5px;
}

nav ul li {
    margin: 0 5px;
}

nav ul li a {
    text-decoration: none;
    padding: 10px 20px;
    color: #000000;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #51BF83;
}

.active {
    color: #51BF83;
    border-radius: 8px;
    font-weight: 600;
    border-radius: 10px;
}

/*Menu responsive*/

 /*Nav 2*/

#menu2 {
    display: none;
}
.menucontainer {
    position: relative;
    display: inline-block;
    margin: 20px;
}

#menubutton {
    background-color: #ffffff;
    color: #000000;
    font-size: 20px;
    font-weight: bolder;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

    #menubutton:hover {
    background-color: #107b6f; 
    color: #ffffff;
    border-radius: 5px;
    }

#menu {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1;
}

#menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: left;
}

#menu li {
    padding: 10px;
    display: block;
}

#menu a {
    text-decoration: none;
    color: #000000;
    padding: 5px 0;
}

    #menu a:hover{
        color: #54b036;
    }


/*Banner*/

.home-banner {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: transparent;
    display: flex;
    align-items: center; 
    justify-content: center; 
}

.logo {
    margin-top: 70px;
    width: 350px;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
}

/*social media

.social-links{
    display: flex;
    justify-content:flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    list-style: none;
}

.hexagon{
    height: 40px;
    width: 40px;
    background-color: #54b036;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}
        .social-links li a {
            text-decoration: none;
            color: #ffffff;
            padding: 5px;
        }

        .hexagon:hover{
            background-color: #107b6f;
            transform: scale(1.2);
        }*/

/*seccion historia*/

.historia{
    background-image: url('../img/fondo_historia.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 20px;
}

.wave{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1; /* Coloca la línea detrás del contenido de la sección */
  }

/*Proyectos galeria*/

.projecthexagon{
    position: relative;
    overflow: hidden;
    width: 400px;
    height: 400px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s;
    margin: auto;
}

    .projecthexagon:hover{
        transform: scale(1.05);
    }

    .projecthexagon img {
        max-width: 100%;
        min-height: 100%;
        object-fit: cover;
    }


    /*.container-3 .sombra:nth-child(1){
        margin-top: -100px;
    }

    .container-3 .sombra:nth-child(3){
        margin-top: -100px;
    }*/

    .sombra{
        filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.5));
    }

/*Ventana Emergente*/

.ventanaemergente{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000b0;
}

.ventanaemergenteIMG{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.ventanaemergente img{
    max-width: 90%;
    max-height: 90%;
}
.cerrar{
    position: absolute;
    top: 15px;
    right: 35px;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .cerrar:hover{
        transform: scale(1.2);
        color: #6dc5d9;
        font-weight: bolder;
    }

.adelante, .atras{
    position: absolute;
    top: 300px;
    transform: translateY(-50);
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    color: #000000;
    background-color: #ffffff;
    border-radius: 50px;
    transition: transform 0.3s;
}

.adelante{
    left: 10px;
}

.atras{
    right: 10px;
}

    .adelante:hover, .atras:hover{
        transform: scale(1.2);
        color: #107b6f;
    }

    
/*hexagonos about us*/

.toolcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    margin: auto;
  }
  
  .toolhexagon {
    overflow: hidden;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s;
    margin-right: -20px;
  }
  
  .toolhexagon:hover {
    transform: translateY(-50px);
  }
  
  .toolhexagon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .tooltext {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #107b6eb6;
    color: #ffffff;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .toolhexagon:hover .tooltext {
    opacity: 1;
  }

/* css para hexagono 
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);*/

.icon{
    max-width: 200px;
    padding: 20px;
    margin: auto;
}

    .icon img{
        width: 100%;
        height: 100%;
    }

/*CONTACTO*/
/*Formulario contacto*/

.form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 20px;
}

.formInput {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.formTextarea {
    display: block;
    width: 100%;
    height: 200px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

.button {
    background-color: #172134;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #6dc5d9;
}

.formInput::placeholder {
    font-size: 14px;
}

.mensaje-enviado{
    display: none;
    margin: 10px auto;
    max-width: 60%;
    padding: 10px 5px;
    background-color: #ffffff;
    color: #018951;
    font-weight: 500;
    border-radius: 20px;
}

.mensaje-error{
    display: none;
    margin: 10px auto;
    max-width: 80%;
    padding: 10px 5px;
    background-color: #ffffff;
    color: #ca1b2a;
    font-weight: 500;
    border-radius: 20px;
}


/*FOOTER*/

footer {
    background-color: #E6F4F1;
    color: #000000;
    padding: 30px;
}

.box {
    display: flex;
    flex-wrap: wrap;
}

.footer-contacto {
    width: 700px;
    padding: 20px;
}

    .footer-contacto ul li, 
    .footer-contacto h1,
    .footer-box h1, .footer-box ul li {
        margin-bottom: 20px;
        list-style: none;
    }

    .footer-contacto h1,
    .footer-box h1 {
        font-size: 25px;
        color: #107b6f;
    }

        

.footer-box {
    width: 350px;
    padding: 20px;
}

        .footer-box ul li a{
            text-decoration: none;
            color: #000000;
        }

        .footer-box ul li a:hover{
            color: #51BF83;
            font-weight:bold;
        }

.separacion {
   border: 0;
   height: 2px;
   background-color: #00000048;
   margin-bottom: 20px;
}



.copy{
    padding: 5px;
}


/*Responsive*/

@media(max-width: 1000px){
    #menu2{
        display: block;
    }
    #menuBar{
        display: none;
    }

}

@media(max-width: 768px){
    .container-1, 
    .container-2, 
    .container-3, 
    .container-4{
        display: flex;
        flex-direction:column;
        margin: auto;
        text-align: center;
        max-width: 90%;
    }

    .historia{
        background-image: none;
    }
    .hexagon{
        max-width: 300px;
        max-height: 300px;
        margin: auto;
    }

    .projecthexagon{
        max-width: 300px;
        max-height: 300px;
        margin: auto;
    }
    
    .ventanaemergente img{
        max-width: 400px;
    }
    .cerrar{
        font-size: 30px;
    }
    
    .adelante, .atras{
        font-size: 30px;
        padding: 5px;
    }

    .logo-icon {
        max-width: 100px;
    }

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