/* ================             CSS Varaibles   ============================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


:root{

    --header-height: 3rem;

    /*              Colors / Theme          */
    --first-color: #000;
    --first-color-light: rgb(16, 16, 16);
    --first-color-lighten: #e0e0e0; 
    --first-color-alt: #8a7968;
    --text-color: white;
    --text-color-light: #e0e0e0; 
    --default-color: #7E0c17;

    --hue-color: 206;
    --text-gradient: linear-gradient(hsl(var(--hue-color),4%,24%), hsl(var(--hue-color),4%,8%));
    --body-color: hsl(var(--hue-color),4%,6%);
    --scroll-thumb-color: hsl(var(--hue-color),4%,16%);
    --scroll-thumb-color-alt: hsl(var(--hue-color),4%,20%);


    /*              Typographhy          */
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1.1rem;
    --small-font-size: 0.938rem;
    --smaller-font-size: 0.85rem;

    --biggest-font-size: 3rem;
    --bigger-font-size: 2rem;
    --big-font-size: 1rem;

    /*              Font weight          */
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;

    /*===== Margenes =====*/
    --mb-1: 0.5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;

    /*===== z index =====*/
    --z-fixed: 100;
}

@media screen and (min-width: 768px) {
    :root{
        --h1-font-size: 2.5rem;
        --h2-font-size: 1.75rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1.25rem;
        --small-font-size: 1rem;
        --smaller-font-size: 0.95rem;

        --biggest-font-size: 5rem;
        --bigger-font-size: 3.5rem;
        --big-font-size: 2.5rem;
    }
}

/*===== BASE =====*/
*, ::before, ::after{
    box-sizing: border-box;
}

*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}


body{
    font-family: var(--body-font);
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    background-color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, p{
    margin: 0;
}

h3{
    font-weight: var(--font-semi-bold);
}

ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

a{
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}





/* ====================================   Error Page    ================================ */

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1024px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  .main {
    overflow: hidden; /*For the animations ScrollReveal */
  }
  
  /*=============== HEADER & NAV ===============*/

  
  
 .home {
    background-color: var(--first-color);
    padding: 9rem 0 2rem;
    height: 100vh;
    display: grid;
    color: var(--text-color);
  }
  
  .home__container {
    display: grid;
    align-content: center;
    row-gap: 2.5rem;
  }
  
  .home__data {
    text-align: center;
  }

  .home__subtitle{
}

.home__title {
    background: var(--text-gradient);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    font-size: var(--biggest-font-size);
    margin: .75rem 0;
  }
  
  .home__button {
    margin-top: 2rem;
    display: inline-block;
    background-color: var(--text-color);
    color: var(--first-color);
    padding: .80rem 1.5rem;
    border-radius: 3rem;
    transition: .4s;
    cursor: pointer;
  }
  
  .home__button:hover {
    background-color: var(--first-color-light);
    color: var(--text-color);
  }
  
  .home__img img {
    width: 230px;
    animation: floaty 1.8s infinite alternate;
  }
  
  .home__img {
    justify-self: center;
  }
  
  .home__shadow {
    width: 130px;
    height: 24px;
    background-color: var(--first-color-light);
    margin: 0 auto;
    border-radius: 50%;
    filter: blur(7px);
    animation: shadow 1.8s infinite alternate;
  }
  
  
  /* Animate ghost */
  @keyframes floaty {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(15px);
    }
  }
  
  @keyframes shadow {
    0% {
      transform: scale(1, 1);
    }
    100% {
      transform: scale(.85, .85);
    }
  }
  
  /*=============== BREAKPOINTS ===============*/
  /* For small devices */
  @media screen and (max-width: 320px) {
    .home {
      padding-top: 7rem;
    }
  }
  
  /* For medium devices */
  @media screen and (min-width: 767px) {
    .nav {
      height: calc(var(--header-height) + 1.5rem);
    }
    .nav__toggle, 
    .nav__close {
      display: none;
    }
    .nav__list {
      flex-direction: row;
      column-gap: 3.5rem;
    }
  }
  
  /* For large devices */
  @media screen and (min-width: 1024px) {
    .home__container {
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
      column-gap: 2rem;
    }
    .home__data {
      text-align: initial;
    }
    .home__img img {
      width: 400px;
    }
    .home__shadow {
      width: 250px;
      height: 40px;
    }
  }
  
  @media screen and (min-width: 1048px) {
    .container {
      margin-left: auto;
      margin-right: auto;
    }
  }
  
  /* For 2K resolutions (2048 x 1152, 2048 x 1536) */
  @media screen and (min-width: 2048px) {
    body {
      zoom: 1.7;
    }
  
    .home {
      height: initial;
      row-gap: 4rem;
    }
  }
  
  /* For 4K resolutions (3840 x 2160, 4096 x 2160) */
  @media screen and (min-width: 3840px) {
    body {
      zoom: 3.1;
    }
  }