@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root{
    --primary-color: hsl(220, 20%, 18%);
    --primary-color-dark: hsl(220, 20%, 18%);
    --text-dark: #171717;
    --text-light: #525252;
    --extra-light: #f5f5f5;
    --white: #ffffff;
    --max-width: 1200px;
  }
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }

img {
    width: 100%;
    display: flex;
  }
  
  a {
    text-decoration: none;
  }
  
  html,
  body {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Montserrat", sans-serif;
  }

  .section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
  }
  
  .section__header {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    text-align: center;
}

.section__description {
  margin-bottom: 2rem;
  color: var(--text-light);
}


.section__description {
    max-width: 900px;
    color: var(--text-light);
  }

  .section__description {
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
  }
  
  /* HEADER */

  .header__container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .header__image {
    position: relative;
  }
  
  .header__image img {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 0.5rem solid var(--extra-light);
    border-radius: 2rem;
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
  }
  
  .header__image img:nth-child(1) {
    max-width: 350px;
    transform: translate(-75%, -50%);
  }
  
  .header__image img:nth-child(2) {
    max-width: 250px;
    transform: translate(0%, -25%);
  }
  
  .header__content {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .header__content > div {
    max-width: 400px;
    display: grid;
    gap: 1rem;
  }
  
  .header__content .sub__header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .header__content h1 {
    font-size: 2.7rem;
    line-height: 4rem;
    font-weight: 800;
    color: var(--text-dark);
}
  
  .header__content .action__btns {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
  }

  .section__title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
  }
  
  .section__subtitle {
    font-size: 1rem;
    color: var(--text-dark);
    max-width: calc(var(--max-width) / 2);
   text-align: justify;
  }
 

  /* CONTADOR */

.contador {
    display: block;
    justify-content: center;
    align-items: center;
  }
  
  
  .headline {
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contadorul {
    display: flex;
    justify-content: center;
  }
  
  .contadorul li {
    list-style-type: none;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
  }
  
  .contadorul li span {
    display: block;
    font-size: 5rem;
    color: #426464;
  }
  
  .contadorul li.separation {
    margin: 0 10px;
    font-size: 6rem;
    line-height: 1;
    color: #426464;
  }
  
  .contadorul li:first-of-type {
    margin-right: 2rem;
  }
  

    /* About */

  .about__container .section__description {
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 2rem;
  }
  
  .about__container img {
    max-width: 340px;
    margin-inline: auto;
  }



  /* Seccion para futuras clases */

  .subscribe {
    background-color: var(--secondary-color);
  }
  
  .subscribe__container {
    display: flex;
    /* grid-template-columns: repeat(1, 1fr); */
    /* gap: 2rem; */
    justify-content: center;
  }

.subscribe__content h2{
  text-align: center;
}  


  @media (width < 767px) {


    .contador .container .section__header h2{
      font-size: 1rem;
    } 
  }

  @media (width < 650px) {
    .contadorul li span {
      font-size: 1.5rem;
    }
    
    .contadorul li.separation {
      font-size: 1rem;
    }

    .contadorul li {
      list-style-type: none;
      font-size: 0.5rem;
      text-transform: uppercase;
      text-align: center;
  }

  .subscribe__container {
    grid-template-columns: repeat(1, 1fr);
  }

  }

  @media (width < 950px) {
    .container {
      grid-template-columns: 3fr;
      align-items: center;
      padding: 2rem 0;
    }

    .contadorul li span {
      font-size: 2.8rem;
    }
    
    .contadorul li.separation {
      font-size: 3rem;
    }

    .contadorul li {
      list-style-type: none;
      font-size: 0.9rem;
      text-transform: uppercase;
      text-align: center;
  }

  }

  @media (width < 1200px) {
    .header__image img:nth-child(1) {
      max-width: 300px;
    }
  
    .header__image img:nth-child(2) {
      max-width: 200px;
    }
  }

  @media (width < 900px) {
    
    .header__container {
      grid-template-columns: repeat(1, 1fr);
    }
    .header__image {
      min-height: 500px;
    }

  }

  @media (width > 800px) {
    
    .header__container {
        margin-top: -2rem;
      }

  }

  @media (width > 1024px) {
  .section__container.about__container{
    overflow: hidden;
  }
  }


  
  