/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  --hue: 45;
  --sat: 98%;
  --first-color:white;
  --first-color-light: white;
  --first-color-lighten: white;
  --first-color-alt: white;
  --title-color: white;
  --text-color: white;
  --text-color-light: white;
  --body-color: white;
  --container-color: #FFF;
  --scroll-bar-color: white;
  --scroll-thumb-color: white;
  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  /*========== Font weight ==========*/
  --font-semi-bold: 600;
  --font-bold: 700;
  /*========== Margenes ==========*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 3rem;
    --h2-font-size: 1.75rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}


.container{
    max-width: 968px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
    margin-top: 2rem
}

.main{ 
  margin-top: 3rem ; 
}

.grid{
    display: grid;
    gap: 1.5rem;
}




html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  body {
    margin: var(--header-height) 0 0 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color:black;
    color: var(--text-color);
    transition: .5s;
  
  }
  

  .header {
    width: 100%;
    background-color: rgb(3, 3, 3);
    box-shadow: 0 0 4px rgba(252, 252, 252, 0.61);
    position: fixed;
    top: -1rem;
    left: 0;
    z-index: 100;
    transition: .5s;
  }

  h1, h2, h3 {
    font-weight: 600;
    color:white;
    line-height: 1.5;
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
  }




  
  /*=============== NAV ===============*/
  .nav {
    height:3rem ;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  @media screen and (max-width: 767px) {
    .nav__menu {
      position: fixed;
      background-color:rgb(2, 2, 2);
      box-shadow: 0 0 4px rgba(252, 252, 252, 0.384);
      padding: 2.5rem 0;
      width: 90%;
      top: -100%;
      left: 0;
      right: 0;
      margin: 0 auto;
      transition: .4s;
      border-radius: 2rem;
      z-index: var(--z-fixed);
    }
  }
  .nav__logo { 
    width : 6rem; 
    margin-top: 10px ; 
   }
  
  
  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
  }
  
  .nav__link, .nav__logo, .nav__toggle {
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
  }
  
  .nav__toggle {
    font-size: 1.3rem;
    cursor: pointer;
  }
  
  /* Show menu */
  .show-menu {
    top: calc(3rem + 1rem);
  }
  
  /* Active link */
  .active-link {
    position: relative;
  }
  
  .active-link::before {
    content: '';
    position: absolute;
    bottom: -.75rem;
    left: 45%;
    width: 5px;
    height: 5px;
    background-color: var(--title-color);
    border-radius: 50%;
  }
  


  .home__title {
    font-size: var(--biggest-font-size);
    font-weight:700;
    margin-top: 7rem; 
    margin-left: 2rem; 
  }
  

  
  /* Change background header */
  .scroll-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }

    /*=============== SERVICES ===============*/

    .service {
      margin-top: 5rem; 
      display: block;
    }
  
  
    .services__data {
      display: grid;
      row-gap: 1rem;
      background-color: var(--container-color);
      box-shadow: 0px 2px 6px hsla(var(--hue), 100%, 15%, 0.15);
      padding: 2rem 1.5rem;
      border-radius: 1rem;
      text-align: center;
    }
    
  .services__img {
      width: 135px;
      justify-self: center;
      margin-bottom: var(--mb-0-5);
  }
  


.service-box {
  position: relative;
  box-shadow :2px 2px 10px green;
  padding: 10px;
  text-align: center;
  margin: 2rem auto;
  width: 280px; 
  border-radius: 10px; 
}


.service-box h2 {
    font-size: 1.5rem;
}



.description-box {
  display: none;
  padding: 10px;
  position: fixed;
  width : 90%;
  height: 620px; 
  color:black; 
  background-color: #fdfdfd;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  border-radius: 25px; 
}

.description-box .description-name {
  color: black; 
}

 .pic-box-wrapper{
  display: grid; 
  grid-template-columns:repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;


}

.pic-box {
  color: black; 

  

}

.pic-box img {
 width: 110px; 
 height: 100px;
}

.pic-box h3 {
  color: black; 

}

.description-box .close-button {
  position: fixed;
  bottom: .3rem; 
  bottom: 0%;
  left: 50%;
  transform: translate(-50%);
  margin: 1rem auto ; 
  text-align: center;
  display: inline-block;
  justify-content: center;

}

.est-btn{ 
  width: 15rem ; 
  position: fixed;
  height: 2rem; 
  display: inline-block;
  text-align: center;
  align-items: center;
  margin: 1rem auto; 
  left: 50%;
  transform: translateX(-50%);
     
}

.est-btn h3 {
  color: black; 
  text-align: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
}




/* OVERLAY  */

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2; 
  transition: 10s ease-in-out ;
  backdrop-filter: blur(5px);

}
  

/* Style the Learn More button */
.learn-more {
  cursor: pointer;
  color: black;
  outline: none; 
  text-decoration: none;
  margin-top: 10px;
  height: 2rem; 
  width: 7rem;
  padding: 5px; 
  background-color: rgba(8, 216, 18, 0.788);
  border-radius: 10px; 
  text-align:center;
  justify-content: center;
}

  /*=============== BUTTONS ===============*/
  .button {
    display: inline-block;
    background-color: rgba(8, 216, 18, 0.788);
    color: #1A1A1A;
    padding: .75rem 1.5rem;
    border-radius: 3rem;
    font-weight: 300;
    transition: .3s;
  }

  
  .button:hover {
    background-color: rgba(255, 0, 0, 0.781);
  }
  
  .button__header {
    display: none;
  }
  
  .button-link {
    background: none;
    padding: 0;
    color: var(--title-color);
  }
  
  .button-link:hover {
    background-color: transparent;
  }
  
  .button-flex {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    padding: .75rem 1rem;
  }
  
  .button__icon {
    font-size: 1.5rem;
  }



    /*=============== PRICE ===============*/
    .about__container {
      gap: 2.5rem;
    }
    
    .about__data {
      text-align: center;
    }
  
  .about .button{
      width: 6rem; 
      margin: 1rem;
  }


  .pricebox .img-container {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    align-items: center; 
    justify-content: center;
    position: relative;
    width : 100%;

    
  }

  .pricebox .img-container .price-img {
    width: 10rem; 
    margin: var(--mb-0-5);
    padding: 2px; 
    text-align: center; 
    outline: none; 
    justify-content: center;
    transition:  1s;
  }

  .pricebox .img-container .price-img:hover{ 

    z-index: 5; 
    align-items: center;
    transform: scale(1.4)  ;
    justify-content: center;
    box-shadow: 5px 5px 10px 10px rgba(41, 196, 41, 0.719) ;

    
  }


/*=============== FOOTER ===============*/
.footer {
    background-color: rgba(9, 27, 13, 0.788);
    padding-bottom: 2rem;
    margin-top:1rem; 
    color:white;
    
  }
  
  .footer__container {
    row-gap: 2rem;
  }
  
  .footer__logo, .footer__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
  }
  
  .footer__logo {
    display: inline-block;
    font-weight: var(--font-semi-bold);
    color: var(--title-color);
  }
  
  .footer__description, .footer__link {
    font-size: var(--small-font-size);
  }
  
  .footer__links {
    display: grid;
    row-gap: .5rem;
  }
  
  .footer__link {
    color: white;
  }
  
  .footer__social {
    display: flex;
    column-gap: 1.5rem;
  }
  
  .footer__social-link {
    font-size: 1.25rem;
    color: var(--title-color);
  }
  
  .footer__copy {
    margin-top: 6rem;
    text-align: center;
    font-size: var(--smaller-font-size);
    color:white;
  }
  
  /*=============== SCROLL UP ===============*/
  .scrollup {
    position: fixed;
    background:  rgba(216, 231, 9, 0.979);
    right: 1rem;
    bottom: -20%;
    display: inline-flex;
    padding: .3rem;
    border-radius: .25rem;
    z-index: var(--z-tooltip);
    opacity: .8;
    transition: .4s;
  }
  
  .scrollup:hover {
    background-color:rgba(3, 129, 20, 0.712);
    opacity: 1;
  }
  
  .scrollup__icon {
    font-size: 1.25rem;
    color: var(--title-color);
  }
  
  /* Show Scroll Up*/
  .show-scroll {
    bottom: 3rem;
  }
  
  /*=============== SCROLL BAR ===============*/
  ::-webkit-scrollbar {
    width: .6rem;
    border-radius: .5rem;
    background-color: var(--scroll-bar-color);
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb-color);
    border-radius: .5rem;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-color-light);
  }


  
/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 360px) {
  .svg__img {
    width: 100%;
  }
  .section {
    padding: 3.5rem 0 1rem;
  }
  .app__buttons {
    grid-template-columns: max-content;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {

  .section__title-center {
    text-align: initial;
  }
  

  .section__title-center {
    text-align: initial;
  }
  
  .service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .service-box{
    width: 250px; 
  
  }

  .services__description {
    text-align: center;
    position:absolute;
    justify-content: center;
    top: 6rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .home__container,
  .about__container,
  .security__container,
  .app__container,
  .contact__container {
    align-items: center;
  }
  .about__data,
  .contact__description {
    text-align: initial;
  }
  .about__img,
  .app__img {
    order: -1;
  }

}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 3rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__list {
    flex-direction: row;
    column-gap: 2.5rem;
  }
  .nav__toggle {
    display: none;
  }

  .home-img {
    width: 20%; 
   }

  .home__container {
    padding: 2rem 0 2rem;
  }

  .home__data .button{ 
    display: flex;
    width: 8rem ; 
    margin: 1rem auto;
    justify-content: center;

  }

    
  .services__data  .button-link {

    position: absolute;
    bottom: 3rem ;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 7rem; 
    border-radius: 0px;
    padding: 5px; 
    border: solid white; 
  }

  .services__description {
    text-align: center;
    position:absolute;
    justify-content: center;
    top: 7.5rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .map-box iframe {
    height: 400px ;
  }


}

/* For large devices */
@media screen and (min-width: 968px) {
  .button__header {
    display: block;
  }
  .svg__img {
    width: 470px;
  }
  .about__container,
  .security__container,
  .app__container,
  .contact__container {
    column-gap: 6rem;
  }
  .services__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .home__data

  .home__data {
    position:relative; 
    display: inline-block;
    text-align: center;
  }

  .home__data .button {

    margin-top: 2rem; 
    width: 10rem; 
  }

  .services__data  .button-link {

    position: absolute;
    bottom: 4rem ;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 7rem; 
    border-radius: 0px;
    padding: 5px; 
    border: solid white; 
  }

  .services__description {
    text-align: center;
    position:absolute;
    justify-content: center;
    top:9rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }


  .contact__container {
    grid-template-columns: 3fr 1.5fr 1.25fr;
  }
  .footer__container {
    grid-template-columns: repeat(5, 1fr);
  }
  .footer__social {
    align-items: flex-start;
  }
  .footer__social-link {
    font-size: 1.45rem;
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  
  .services__data {
    display: grid;
    row-gap: 3rem ;
    margin-right: 2rem; 
    border-radius: 1rem;
    text-align: center;
  }

  .service {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .services__data  .button-link {

    position: absolute;
    bottom: 6rem ;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 7rem; 
    border-radius: 0px;
    padding: 5px; 
    border: solid white; 
  }

  .services__description {
    text-align: center;
    position:absolute;
    justify-content: center;
    top: 11rem;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  
 .home-img {
    width: 200px;
  }
  .home__description {
    padding-right: 5rem;
  }

  .home__data {
    position:relative; 
    display: inline-block;
  }

 .home__title{ 
    margin-left: 5rem;

  }

  .map-box iframe {
    height: 550px ;
  }

      /*=============== PRICE ===============*/
      .about__container {
        gap: 2.5rem;
      }
      
      .about__data {
        text-align: center;
      }
    
    .about .button{
        width: 6rem; 
        margin: 1rem;
    }
  
  
    .pricebox .img-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr) ;
      align-items: center; 
      justify-content: center;
      position: relative;
      width : 100%;
  
      
    }
  
    .pricebox .img-container .price-img {
      width: 10rem; 
      margin: var(--mb-0-5);
      padding: 2px; 
      text-align: center; 
      outline: none; 
      justify-content: center;
      transition:  1s;
    }
  
    .pricebox .img-container .price-img:hover{ 
  
      z-index: 5; 
      align-items: center;
      transform: scale(1.9)  ;
      justify-content: center;
      box-shadow: 5px 5px 10px 10px rgba(41, 196, 41, 0.719) ;
  
      
    }
  


  .footer__container {
    column-gap: 3rem;
  }
  .scrollup {
    right: 2rem;
  }
}


  

