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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}
:root{
    --primary-color: #ff6908;/*#ff9c1d*/
    --secondary-color:#ff0101;/*#ff0101;*//*#ff6908;*/
    --tertiary-color:rgb(255, 156, 29);
    --background-color: #FAFBFE;
    --color_text-primary: #101E2C;
    --color_text-secondary: rgb(18, 27, 124);
    --color_text-tertiary: #30496b;
    --box_shadow-primary: 0px 6px 50px -20px rgba(0,0,0,0.2);
}
body{
    background-color: var(--background-color);
}
header {
    top: 0;
    width: 100%;
    height: 100px;
    position: fixed;
    z-index: 100;
    background-color: #fff;
    box-shadow: var(--box_shadow-primary);
}

.header-content {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 15px;
}

.logo {
    display: flex;
   /* text-align: center;*/
    align-items: center;
    z-index: 1;
    max-width: 20%;
}
.logo img{
  max-height: 100%;
  max-width: 100%;
}

/*color logo*/
.logo h1 a {
    color: var(--color_text-primary);
}

.logo h1 a b {
    color: var(--primary-color);
}



/*apartado del menu*/
.menu {
    display: flex;
    align-items: center;
}

.menu nav {
    margin: 0px 20px;
    display: flex;
    align-items: center;
}

.menu nav ul {
    display: flex;
}

.menu nav ul li {
    list-style: none;
    margin: 20px 16px;
    justify-content: center;
    align-items: center;
    position: relative;
    font-size: 18px;
}

.menu nav ul li a {
    color: black;
    /*variable*/
    position: relative;
}

.menu nav ul li a:hover {
    color: var(--primary-color);
    transition: all 300ms;
}
.menu-selected a,.menu-selected{
  color: var(--primary-color)!important;
}

.menu-selected::before {

  content: "";
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  position: absolute;
  top: 100%;
  left: 0;
}
/*menu de servicios*/
.menu nav ul #services:hover{
    cursor: pointer;
    color: var(--primary-color)!important;
    transition: 200ms;
}

.menu nav ul li .services {
    display: none;
    background: var(--tertiary-color);/*variable*/
    position: absolute;
    width: 120%;
    z-index: 100;
    top: 60px;
}

.menu nav ul li .services li {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.menu nav ul li .services li a {
    float: left;
    position: relative;
    color: var(--color_text-primary)!important;
    top: 3px;
    margin-right: 0;
    margin-left: 10px;
}
.menu nav ul li .services li a:hover {
  color: var(--color_text-tertiary)!important;
  font-weight: bold;
  transition: all 300ms;
}

.btn_quote{
    display: block;
    padding: 8px 30px;
    color: var(--color_text-primary);
    border: 2px solid var(--secondary-color);/*variable*/
    border-radius: 8px;
    font-weight: 500;
    margin: 0px 15px;
    transition: all 300ms;
}
.btn_quote:hover{
    color:#fff;
    background-color: var(--secondary-color);
}
#icon-menu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 16px;
    padding: 10px;
    font-size: 20px;
    background: var(--tertiary-color);
    border-radius: 100%;
    color: var(--color_text-primary);
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  
  }
  #icon-menu:hover{
    opacity: 0.8;
  }
/*CARDS*/
.container__card-primary{
    padding-top: 90px;
}
.card_primary{
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding: 0px 20px;
}
.text__card-primary{
    max-width: 800px;
    margin: auto;
}
.text__card-primary h1{
    font-size: 35px;
    font-weight: 400;
}
.text__card-primary p{
    color:var(--color_text-primary);
}
.container_box__card-primary{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.box__card-primary{
    max-width: 350px;
    padding: 60px 40px;
    border: 2px solid #e6e6e6;
    border-radius: 20px;
    margin: 14px;
    transition: all 200ms;
}
.box__card-primary:hover{
    border: 1px solid transparent;
    box-shadow: var(--box_shadow-primary);
}

.box__card-primary h2{
    font-weight: 500;
}
.box__card-primary a{
    text-align: center;
    color: var(--primary-color);
    /*color: rgb(25, 108, 233);*/
    font-weight: 500;
}
.box__card-primary a:hover{
  font-size: 17px;
  transition: all 30ms;
}
.img_card-primary{ 
    max-width: 140px;
}

/*footer*/
.container-footer{
    width: 100%;
    padding: 40px 0;
    background: #f7f7f7;
    margin-top: 40px;
  }
  
  .container-footer footer{
    max-width: 1200px;
    margin: auto;
  }
  
  .container-footer footer .logo-footer{
    text-align: center;
  }
  
  .container-footer footer .logo-footer img{
    width: 200px;
  }
  
  .container-footer footer .redes-footer{
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  .container-footer footer .redes-footer .icon-redes-footer{
  font-size: 20px;
  margin: 20px;
  background: #efefef;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  color: #a2a2a2;
  }
  .container-footer footer .redes-footer .bi-facebook:hover{
    background: #2C38B4;
    color:#fff;
  }
  
  .container-footer footer .redes-footer .bi-youtube:hover{
    background: #F50F0F;
    color:#fff;
  }
  
  .container-footer footer .redes-footer .bi-twitter:hover{
    background: #078db6;
    color:#fff;
  }
  .container-footer footer .redes-footer .bi-whatsapp:hover{
    background: #0f8a15;
    color:#fff;
  }
  
  .container-footer footer hr{
    margin-top: 20px;
  border: none;
  height: 2px;
  background: #E4CBCB ;
  }
  
  .container-footer h4{
    text-align: center;
    margin-top: 40px;
    color:#0E0202 ;
    font-weight: 500;
    
  }

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

    .header-content,
    .container-footer footer{
      max-width: 1000px;
      padding: 0 20px;
    }
  }
  
  @media screen and (max-width: 1020px){
    .container-cover{
      width: 100%;
      flex-direction: column;
    }
  }
  
  @media screen and (max-width: 800px){
    .logo{
      max-width: 50%;
    }
    .container-all{
  transition: all 300ms cubic-bezier(1,0,0,1);
    }
    .move-container-all{
      transform: translateX(300px)
    }
    .menu{
      width: 0px;
      height: 100vh;
      position: fixed;
      top: 100px;
      left: 0;
      background: #fff;
      overflow: hidden;
      transform: translateX(-350px);
      box-shadow: 10px 0 20px -25px black;
      transition: all 300ms cubic-bezier(1,0,0,1);
      align-items: flex-start;
    }
    .show-lateral{
      width: 300px;
      transform: translateX(0);
    }
    .menu nav {
     display: block!important;
    }
    .menu nav ul{
      flex-direction: column;
    }
    .services{
        flex-direction: column;
        max-width: 200px;
      }
      .services li a{
        float: none!important;
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
        top: 0px!important;
        color: var(--color_text-primary)!important;
        margin-left: 0px!important;
      }
      .services li a:hover{
        color: var(--secondary-color)!important;
      }
    .menu nav ul li{
      max-width: 200px;
      height: 50px;
      justify-content: flex-start;
    }
    .menu-selected:before{
      width: 0;
    }
    .menu nav ul li a{
     margin-top: 40px;
     color: #858585
    }
  
    .menu nav ul li a i{
      width: 20px;
      display: inline-block;
      margin-right: 10px;
      color: #5D49EC;
    }
    #icon-menu{
      display: flex;
    }
    .container-aside{
      flex-wrap: wrap;
    }
    .about{
      background-color: #f7f7f7;
        flex-wrap: wrap;
        align-items: center;
    }
    .about img{
        width: 100%;
    }
    .text-about{
        text-align: center;
        margin: 0px 30px;
        padding-right: 0px!important;
        border-radius: 8px;
    }
    .text-about a{
      font-size: 16px;
      max-width: none;
  }

  }