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

*{
    box-sizing: content-box;
    margin: 0px;
    padding: 0px;

}

body{
    margin:0px;
    padding:0px;
    
}

html {
    scroll-behavior: smooth;
    
}

#PerfilTop:target{
    display: block;
    position: relative;
    top: -120px; 
    visibility: hidden;
  }
#PortafolioTop:target{
    display: block;
    position: relative;
    top: -240px; 
    visibility: hidden;
  }
#AmistadTop:target{
    display: block;
    position: relative;
    top: -240px; 
    visibility: hidden;
  }
#PanamaTop:target{
    display: block;
    position: relative;
    top: -240px; 
    visibility: hidden;
  }
#AITop:target{
    display: block;
    position: relative;
    top: -240px; 
    visibility: hidden;
  }



.bgcol-black{
    background-color: #000;
}

.bgcol-white{
    background-color: #fff;
}

.str-black{
    border: 1px solid black;

}
.str-white{
    border: 1px solid white;

}
.str-white-bottom{
    border-bottom: solid 1px #fff6;
}

.col-white{
    color:white;
}

.pad-10-hor{
    padding-left: 2.5vw;
    padding-right: 2.5vw;
}

#icon-arrow{
    margin-top: 1vw;
    position:relative;
    transition: all 0.5s ease;
}

.fa-circle-arrow-down{
    color:#fff6;
    /* border: solid 1px white; */
    --fa-beat-fade-opacity:0.9;
    --fa-beat-fade-scale:1.05;

}

/* tipografía */

.type{
    font-family: 'Poppins', sans-serif;
}

.thin{
    font-weight: 100;
}
.lite{
    font-weight: 200;
}
.regu{
    font-weight: 400;
}
.semib{
    font-weight: 600;
}
.extrab{
    font-weight: 800;
}
.italic{
    font-style: italic;
}

.clamp-title{
    font-size: clamp(48px, 6.5vw, 82px);
}
.clamp-pitch{
    font-size: clamp(16px, 4vw, 36px);

}
.clamp-amistad{
    font-size: clamp(16px, 4vw, 36px);

}

.txt-izq{
    text-align: left;
}
.txt-cnt{
    text-align: center;
}
.txt-der{
    text-align: right;
}

/* ENLACES */

h3 a{

    color:#5c045d;
    background: #f8ca80;
    padding:0.15vw 1vw;
    border-radius: 0.45vw;
    font-weight: 800;
    transition: all 0.5s ease;

}
h3 a:hover{

    color:#f8ca80;
    background: #5c045d;
    font-weight: 800;


}

.txt-lnk {
    position: relative;
    display: inline-block;
    
  }

.txt-lnk .tooltiptext {
    opacity: 0;
    width: auto;
    background-color: #faa41a;
    color: #000;
    text-align: center;
    border-radius: 6px;
    padding: 0.25vw 1vw;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 18%;
    margin-left: 0px;
    transition: all 0.5s ease;
  }
  
  .txt-lnk .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #faa41a transparent transparent transparent;
  }
  
  .txt-lnk:hover .tooltiptext {
    opacity: 1;
  }

/* OBJETOS */
#logo{
    display: inline-block;
    cursor: pointer;
    
}
#menu{
    position: fixed;
    top:30px;
    left:0;
    width:100%;
    margin-left: auto;
    margin-right: auto;
    height:auto;
    z-index: 9;
    background:#0009 ;
    backdrop-filter: blur(3px);
    transition: all 0.5s ease;
}




#menu.upTransition{
    top:0px;
}
#menu.dwTransition{
    top:30px;
}



#container-ct{
    position: absolute;
    top:0px;
    width: 100%;
    height: 30px;
    background-color: #000;
    margin: 0;
    padding: 0;
    z-index: 1;
    
}

#container-ct p{
    font-size: 14px;
    display: inline-block;
    padding:2px;
    padding-right:5vw;

}
#container-ct i{
    padding:0px 8px;
    color:#faa41a;
    cursor: pointer;

}

#container-ct i:hover{
    color:#fff;
    filter:drop-shadow(0 0 7px #fff)
}

#container-menu{
    min-width:360px;
    width:100%;
    max-width: 1140px;
    margin: 0 auto;
    display:flex;
    justify-content: space-around;
    color:#fff;
    align-items: center;
    font-size: 18px;

}

.nav-list{
    list-style-type: none;
}

.nav-list .list-item{
    display: inline-block;
    padding: 20px 10px;
    
    
}

.list-item a{
    text-decoration: none;
    color:#fff;
    text-shadow:0 0 0px #fff;
    border-bottom: solid 2px #fff0;
    transition: all 0.25s ease;

}

.list-item a:hover{
    

    text-shadow:0 0 7px #fff;
    border-bottom: solid 2px #faa41a;
}
.menu-icon{
    display:none;
    cursor: pointer;
}
.menu-line{
    width:25px;
    height:3px;
    background-color: white;
    margin-bottom: 5px;

}


#logo img{
    width:auto;
    min-height:60px;
    height: 100%;
    max-height:100px;
    padding: 5px;
}

/* Reglas Bloques*/

.Sec{
    

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-width: 360px;
    width:100%;
    max-width: 1920px;

    z-index: 0;
    
}
.bg-img-1{

    background-image: url("../img/header-web.webp");
    height: 1060px;
    transition: all 1s ease;

}
.bg-img-2{
    background-position: right top;
    background-position-x: 0px;
    background-image: url("../img/body-web-black.webp");
    height: 1673px;
    transition: all 1s ease;
}
.bg-img-3{
    background-image: url("../img/amistad-background.webp");
    height: 787px;
    background-position: center center;
}
.bg-img-4{
    background-image: url("../img/panama-img.webp");
    background-position: top right;
    background-position-x: calc(100% - 56px);
    background-size: auto 1120px;
    height: 1120px;
}
.bg-img-5{
    background-image: url("../img/sec-ai.webp");
    height: 824px;
}



#Portafolio{
    width:100%;
    height:400px;
    
}

#Amistad{
    width:100%;

    
}


#Panama{
    margin-top: -150px;
    width:100%;
    
    
}

#AI{
    
    margin-top: -200px;
    width: 100%;
    
}

/* REGLAS SUB-BLOQUES*/

#spacer{
    width:100%;
    height:570px;
    transition: all 2s ease;
    
}
#spacer-2{
    width:100%;
    height:200px;
    transition: all 2s ease;
    
}


hr{
    width:25vw;
    max-width: 180px;
    height: 1vh;
    border:unset;
    background: #faa41a;
    margin:5px 0px;

}


#cont-inicio{
    position:relative;
    min-width: 360px;
    width:100%;
    max-width: 1140px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    
    

}
.cont-inicio{
    position:relative;
    min-width: 360px;
    width:100%;
    max-width: 1140px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
 
    

}
#cont-inicio h1{
    padding-right: 1vw;
    line-height: 1.2em;
    
}
#Descripcion{
    padding-left: 1vw;
    display: grid;
    grid-template-columns: 10px 1fr;

}
.orange-grad-vert{
    background: linear-gradient(172deg, rgba(249,127,26,1) 0%, rgba(253,223,45,1) 95%);
}
#Servicios{
    margin-top: auto;
    margin-bottom: auto;
    padding-left: 2vw;

}
#Servicios h2{
    font-size: clamp(12px, 4vw, 34px);
    line-height: 1.5em;
}
#Perfil h4{
    font-size: clamp(24px, 4vw, 40px);
    line-height: 1.5em;
    margin-top: 4vw;
}
#Perfil p{
    margin-top: 1vw;
    width:100%;
    max-width: 700px;
    font-size: clamp(12px, 3vw, 24px);
    line-height: 1.2em;
}

#triangle{
    position: absolute;
    width:100%;
    max-width:644px;
    right:18vw;
    margin-top: 225px;
    transition: all 1s ease;
}
#triangle img, #caja-foto img, #foto-perfil img, #port-text img{
    width:100%;
}
#caja-foto{
    position:absolute;
    width: 100%;
    max-width: 37vw;
    right:0;
    margin-top: calc(37vw / -2.23);

}
#foto-perfil{
    position: absolute;
    width:100%;
    max-width: 37vw;
    right:0;
    margin-top: calc(37vw / -1.29);
    
}

#buttons-container{
    margin-top: 3vw;
    min-width: 340px;
    width:100%;
    max-width: 700px;
    height:auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    text-align: left;
    
}
.btn{
    margin:5px 0;
    display: inline;
    background: none;
    font-size: 20px;
    color:#fff;
    width:225px;
    border:solid 2px #faa41a;
    cursor: pointer;
    
    padding:2px;
}

.btn:hover{
    text-shadow: 0 0 7px #fff;
    box-shadow: 0 0 7px #f8ca80 inset,0 0 7px #f8ca80;


}
.fa-eye{
    margin-left: 7px;
    vertical-align: middle;
    padding-left: 10px;
    border-left: solid 2px #faa41a;
}


#port-text{
    width:100vw;
    max-width: 748px;
    margin-top: 14vh;
    margin-left: 20vw;
}

#Portafolio{
    min-width: 350px;
    width:100%;
    max-width:1140px;
    margin:0 auto;
    height: auto;
}
#container{
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    justify-content: space-evenly;

}

#card{
    width:250px;
    height: 350px;
    margin: 5px;
    border:0;
    vertical-align: middle;
    cursor: pointer;
}

.img-1{
    background-image: url('../img/portafolio.webp');
    background-position: top center;
}
.img-2{
    background-image: url('../img/portafolio-2.webp');
    background-position: top center;
}
.img-3{
    background-image: url('../img/portafolio-3.webp');
    background-position: top center;
}
.img-4{
    background-image: url('../img/portafolio-4.webp');
    background-position: top center;
}

.olay-txt{
    width:250px;
    height:350px;
    


}
h5{
    padding:150px 0;
    font-size: 32px;
    background:#000c;
    opacity:0.2;
    text-shadow: 0 0 7px #fff0;
    border:solid 1px #fff0;
    transition: all 0.5s ease;

}

h5:hover{
    opacity:1;
    text-shadow: 0 0 7px #ffff;
    border:solid 5px #fffc;
}

#container-amistad{
    height: auto;
}
#spacer-3{
    width:100%;
    height:25%;
    transition: all 2s ease;
    
}
#container-amistad h1{
    display:block;
    min-width: 320px;
    width:95vw;
    max-width:1140px;
    font-size: clamp(32px, 6vw, 62px);
    margin:0 auto;
    text-shadow: 7px 7px 7px #0009;

}
    



@media (max-width:720px){
    .menu-icon{
        display:block;
        position:absolute;
        right:15px;
        top:15px;
        padding:15px;
        border:solid 1px white;
    }
    #container-menu{
        flex-direction: column;
    }
    .nav-list{
        width:100%;
        display:none;
    }
    .nav-list .list-item{
        display:block;
        padding:10px 10px;
        text-align: center;
        border-top: 1px solid #fff;
        

    }
    .active{
        display:block;
    }
    #logo{
        width:100%;
    }
    #logo img{
        max-height: 75px;
        
    }

}

 @media (min-width:641px) and (max-width: 1180px){
    .bg-img-2{
        height: 1378px;
        background-position-x: 0px;
              
    }
    #caja-foto{
        margin-top: calc(37vw / -2.31);
        
    }
    #foto-perfil{
        margin-top: calc(37vw / -1.33);
        
    }
    #port-text{
        width:46vw;
        margin-left: 5vw;
    }
} 

@media (min-width:413px) and (max-width: 640px){

    #spacer-2{
        height: 100px;
    }

    #icon-arrow{
        margin-top: 5vw;
    }
    
    .bg-img-1{
        height: 700px;
              
    }

    .bg-img-2{
        height: 1000px;
        background-position-x: 0px;
              
    }
 
    #spacer{
        height:290px;
    }

    #cont-inicio h1{
        padding: unset;
        text-align: center;
    }

    #Descripcion{
        margin-top: 1vh;
        padding:0;
        text-align: center;

        grid-template-columns: unset;
        grid-template-rows: 1fr 1fr;

    }
    #Servicios{
        padding: unset;
        margin:unset;
    }
    #Servicios h2{
        margin-top: -1vh;
        display: inline-block;
        text-align: center;
        width:32.5%;
        
    }
    #Barra{
        margin-left: auto;
        margin-right: auto;
        padding:unset;
        width:60vw;
        height: 1vh;
    }
    #Perfil p, h4, hr{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2vw;
    }
    #Perfil h4{
        margin-top: 4vw;
    }

    #triangle{
        max-width:225px;
        margin-top:140px;
        right:3vw;
    }
    .btn{
        margin-top: 2vw;
        margin:5px auto;
    }
    #caja-foto{
        margin-top: 30px;
        
    }
    #foto-perfil{
        margin-top: -30px;
        
    }
    #port-text{
        width:52vw;
        margin-left: 5vw;
    }

}
@media (max-width: 412px){

    #spacer-2{
        height: 70px;
    }

    #icon-arrow{
        margin-top: 5vw;
    }
    
    .bg-img-1{
        height: 700px;
              
    }

    .bg-img-2{
        height: 800px;
        background-position-x: 0px;
              
    }
 
    #spacer{
        height:290px;
    }

    #cont-inicio h1{
        padding: unset;
        text-align: center;
    }

    #Descripcion{
        margin-top: 1vh;
        padding:0;
        text-align: center;

        grid-template-columns: unset;
        grid-template-rows: 1fr 1fr;

    }
    #Servicios{
        padding: unset;
        margin:unset;
    }
    #Servicios h2{
        margin-top: -1vh;
        display: inline-block;
        text-align: center;
        width:32.5%;
        
    }
    #Barra{
        margin-left: auto;
        margin-right: auto;
        padding:unset;
        width:60vw;
        height: 1vh;
    }
    #Perfil p, h4, hr{
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2vw;
    }
    #Perfil h4{
        margin-top: 4vw;
    }

    #triangle{
        max-width:150px;
        margin-top:130px;
        right:3vw;
    }
    .btn{
        margin-top: 2vw;
        margin:5px auto;
    }
    #caja-foto{
        margin-top: 15px;
        
    }
    #foto-perfil{
        margin-top: -30px;
        
    }
    #port-text{
        width:62vw;
        margin-left: 3vw;
    }

}
