/********* GLOBAL STYLES *********/
header{
    height: 80vh;
}
/***GENERAL CLASS***/
.icon{
    font-size: var(--size-l);
}
/*********** NAV ****************/
#toggle-nav-icon{
    display: none;
}
.header-nav{
    display: flex;
    justify-content: space-between;
}
.header-nav__container{
    position: relative;
    display: inline-block;
    color: var(--text-white);
    text-decoration: none;
    text-align: right;
    margin-right: 20px;
}
.header-nav__container li{
    position: relative;
    cursor: pointer;
}
.header-nav__container a{
    color: var(--text-white);
    text-decoration: none;
}
.header-nav__brand{
    height: 100%;
}
.header-nav__container .active::before, .header-nav__container li::before{
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    box-shadow: 0px 0px 8px #fdfdfd;
    color: var(--text-white);
    z-index: 2;
    
}
.header-nav__container li:not(.active)::before{
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease-in-out;
}
.header-nav__container  li:hover::before{
    transform: scaleX(1);
}
.header-nav__container .active::after{
    content: '';
    position: absolute;
    bottom: -14%;
    left: 98%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--text-white);
    box-shadow: 0px 0px 8px #fdfdfd;
    z-index: 2;
}
.button-nav__container{
    display: none;
}

/***********HEADER****************/
.header-container{
    height:80vh;
}
.header-video{
    width: 50%;
    object-fit: contain;
    display: flex;
}
.header-content{
    padding-left: 80px;
}
.header-content p{
    text-align: center;
}
.header-video video{
    min-width: 300px;
    max-width: 590px;
    align-self: center;
}

/*********** ABOUT US ****************/
#about-us{
    padding: 0;
    max-width: var(--max-width-md);
    margin: 0 auto;
}
.about-us__content {
    justify-content: center;
}
.about-us-right{  
    width: 100%;
}
.about_us-content .left{
    text-align: left;
    padding-right: 0;
}
.about_us-icons{
    padding-top: 20px;
    width: 70%;
    margin: auto;
}
.about-us-carousel__item{
    padding: 0; 
}
.about-us-carousel img{
    border-radius: 20px;  
}
.about-us-carousel{
    
    max-width: var(--max-width-sm);
}
.carousel__container{
    display: flex;
    align-items: center;
}

/*********** GOALS ****************/
.goals-container .goals-grid .col-sm-12{
    padding: 0 25px;
}

/*********** SERVICES ****************/
#services, .goals-container .goals-grid, .goals-container h2{
    max-width: var(--max-width-md);
    margin: 0 auto;
}
#services h3{
    width: 100%;
    text-align: left;
}
.card{
    margin-right: 12px;
}
.card-title{
    font-size: var(--size-l);
}
.card-text{
    font-size: 1.4rem;
}

/*********** SKILLS ****************/
#skills{
    max-width: var(--max-width-md);
    margin: 0 auto;
    padding: 80px 25px;
}
#skills .container{
    display: flex;
    padding: 0;
}
.skill-info__container div{
    flex-direction: row;
}
.skill-info__container div p:first-child{
    margin-right: 10px;
}
.skill-info__container p{
    font-size: var(--size-sm);
}
.skills-description__container .col-sm-12{
    height: 70px;
}

/*********** WORK PROCESS ****************/
.work-process{
    max-width: var(--max-width-md);
}
.work-process__container p{
    width: 94%;
    margin: 0 auto;
}
.step-process__container,.step-process__content{
    width: 100%;
}

/*********** TEAM ****************/
.team-container {
    margin: 0;
    justify-content: center;
}
.team-value:nth-child(1) .team__icon i::after, .team-value:nth-child(2) .team__icon i::after{
    height: 200%;
}
.team-container .col-sm-12{
    padding: 0 10px;
}
.team-container .col-sm-12:nth-child(2){
    margin-top: 30px;
}
.second-row .col-sm-12:nth-child(1){
    margin-top: -30px;
}
.team-last{
    position: relative;
}
.team-last .lds-grid{
    top: 42%;
    left: 42%;
}

/*********** COMMENTS ****************/
.comment__container{
    height: 450px;
}
.comments-description__container{
    width: 80%;
    margin: 0 auto;
}

/*********** CONTACT ****************/
.contact-banner__container{
    width: 80%;
    margin: 0 auto;
}
.back-draw .line{
    top:20px;
}
.contact-form{
    width: 80%;
    margin: 0 auto;
}
.contact-ways__container{
    display: flex;
    justify-content: space-around;
}

/*********** FOOTER ****************/
.footer-logo img{
    max-width: 300px;
}

/*****SPINNER*****/
.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid var(--dark-blue);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: var(--dark-blue) transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.lds-ring img{
    position: absolute;
    width: 50px;
    top:15px;
    left: 15px;
}

/***puntos de fondo**/
.lds-grid,
.lds-grid div {
  box-sizing: border-box;
}
.lds-grid {
  display: inline-block;
  position: absolute;
  top: 0px;
  right: 10%;
  width: 80px;
  height: 80px;
  z-index: 10;

}
.lds-grid div {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-white);
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
  
}
.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
 
}
.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
  
}
.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/*********** TECHNICAL SERVICES ****************/
.technical-service-container{
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr; 
}
.service-technical-description-section{
    max-width: 550px;
    margin: auto;
}
.service-technical-description-section p{
    padding: 20px;
    line-height: 30px;
}