:root {
    --d: 2500ms;
    --angle: 90deg;
    --gradX: 100%;
    --gradY: 50%;
    --c1: yellow;
    --c1-light: rgb(5, 5, 5);
    --c2: rgba(168, 239, 255, 0);
    --c2-light: rgb(255, 255, 255);
    --primary-color: rgb(255, 221, 1);
    --primary-color-light: rgb(26, 22, 1);
    --btn-color: rgb(117, 70, 161);
    --btn-color-light: rgb(117, 70, 161);
    --white-color: rgb(255, 255, 255);
    --black-color: rgb(0, 0, 0);
  }

html {
    box-sizing: border-box;
    font-size: 1rem;
    font-family: "Roboto", sans-serif;
    scroll-behavior: smooth;
    display: block;
    background: radial-gradient(circle, rgba(63, 94, 251, 0.184) 0%, rgb(252, 250, 70) 100%);    /* background-image: url("assets/background7.webp"); */

  }

  .cabin {
    font-family: "Cabin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 16px;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
  }
  
  *,
  *::after,
  *::before {
    box-sizing: inherit;
  }
  
  body {
    margin: 0;
    overflow-x: hidden;
  }
  
  a {
    transition: all 0.5s ease-out;
  }
  
  a:hover {
    opacity: 0.75;
  }
  
  h1 {
    margin: 0;
    font-size: 2rem;
  }
  
  h2 {
    margin: 0;
    font-size: 1.5rem;
  }
  
  h3 {
    margin: 0;
    font-size: 1.25rem;
  }
  
  h4 {
    margin: 0;
    font-size: 1rem;
  }
  
  h5 {
    margin: 0;
    font-size: 0.85rem;
  }
  
  h6 {
    margin: 0;
    font-size: 0.7rem;
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  p {
    line-height: 1.6;
  }

  ul {
    margin: 0;
  }

  .none {
    display: none;
  }

/* ********** Header ********** */
.header {
    position: sticky;
    left: 0;
    top: 0;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .header > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo img{
    height: 120px;
  }

  @media screen and (min-width: 1024px) {
    .header > .container {
      padding: 0 1rem;
    }
  }

  /* ********** Menu ********** */
  .menu-btn {
    border: 1px solid transparent;
    cursor: pointer;
    background-color: transparent;

  }
  
  .menu-btn svg {
    fill: var(--primary-color);
    width: 36px;
    height: 36px;
  }

  header {
    position: relative;
  }
  
  header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px) brightness(0.9);
    -webkit-backdrop-filter: blur(15px) brightness(0.9); /* Para Safari */
    z-index: -1; /* Para que no tape el contenido */
  }

  nav{
    backdrop-filter: blur(15px) brightness(0.9);
  }
  
  .menu {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    background-color: rgba(0, 0, 0, 0.5);

  }
  
  .menu.is-active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .menu a {
    font-family: var(--font);
    padding: 0.5rem;
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    border-top: 1px rgba(0, 153, 249, 0.15) solid;
  }
  
  .menu a:hover {
    color: black;
  }
  
  @media screen and (min-width: 768px) {
    .menu-btn {
      display: none;
    }
  
    .menu {
      display: contents;
      position: static;
      flex: 1;
      flex-direction: row;
      opacity: 1;
      pointer-events: auto;
      font-size: 1.3rem;
    }
  
    .menu a {
      position: relative;
      padding: 0 1rem;
      border-top: 0;
      transition: .5s;
      text-align: right;
    }

    .menu a:hover {
      color: black;
      background-color: transparent;
    }

    .menu a:hover::before {
      width: 101%;

    }
  
    .menu a::before {
      content: '';
      position: absolute;
      right: 0;
      top: 100%;
      height: 3px;
      width: 0;
      background-color: black;
      transition: 0.5s;
    }
  }    
/* Blog */
:root {
  --color: #3c3163;
  --transition-time: 0.5s;
}
.cards-wrapper {
  display: grid;
  justify-content: center;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  padding: 0 2rem 2rem;
  justify-items: center;
  gap: 3rem 1.5rem;
}

.card {
  font-family: 'Heebo';
  background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,244,2,1) 100%);
  font-size: 1.5em;
  color: #767676;
  border-radius: 1em;
  padding: .5rem 1rem;;
  display: flex;
  align-items: stretch;
  box-shadow: 20px 18px 20px 2px rgba(0, 154, 249, 0.15);
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid #ccc;
  text-decoration: none;
  height: 100%;
}

.card:hover {
  transform: rotate(0);
}

.card-info {
  display: flex;
  flex-direction: column;
}

.card h2 {
  margin: 0;
  font-size: 1.5em;
  line-height: 1.2em;
}

.card p {
  font-size: 0.75em;
  font-family: 'Open Sans';
  margin-top: 0.5em;
  line-height: 2em;
}

.card .tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem .5rem;
}

.card .tags .tag {
  font-size: 0.75em;
  background: rgb(84, 84, 84);
  color: wheat;
  border-radius: 0.3rem;
  padding: 0 0.5em;
  margin-right: 0.5em;
  line-height: 1.5em;
  transition: all, var(--transition-time);
}

.card:hover .tags .tag {
  background: var(--color);
  color: white;
}

.card .date {
  font-size: 0.75em;
  padding: 1rem;
  line-height: 1em;
  opacity: .8;
  text-align: right;
}

.card:before, .card:after {
  content: '';
  transform: scale(0);
  transform-origin: top left;
  border-radius: 50%;
  position: absolute;
  left: -50%;
  top: -50%;
  z-index: -5;
  transition: all, var(--transition-time);
  transition-timing-function: ease-in-out;
}

.card:before {
  background: #ddd;
  width: 250%;
  height: 250%;
}

.card:after {
  background: white;
  width: 200%;
  height: 200%;
}

.card:hover {
  color: var(--color);
}

.card:hover:before, .card:hover:after {
  transform: scale(1);
}

.card-grid-space .num {
  font-size: 3em;
  margin-bottom: 1.2rem;
  margin-left: 1rem;
}

.info {
  font-size: 1.2em;
  display: flex;
  padding: 1em 3em;
  height: 3em;
}

.info img {
  height: 3em;
  margin-right: 0.5em;
}

.info h2 {
  font-size: 1em;
  font-weight: normal;
}

  /* Articulos blog*/

  .blog-text{
    text-align: center;
    padding: 1rem;
  }



  .blog article h1,
  .blog article p,
  .blog article h2{
    text-align: left;
  }

  #hero-banner-blog .hero-banner-img{
    position: relative;
    height: 400px;
  }
  #hero-banner-blog .hero-banner-overlay {
    position: relative;
    height: 400px;
    margin-bottom: -400px;
    top: -400px;
  }
  
  article{
    margin: 2rem auto;
    max-width: 1000px;
    padding: 2rem;
  }

  article h1{
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  article ul{
    margin: revert;
  }

  /* ********** Hero blog ********** */

      #hero-banner {
        position: relative;
        width: 100%;
      }
  
      #hero-banner .container{
        max-width: 100%;
      }

      .hero-banner-text{
        padding: 2rem;
      }
    
      #hero-banner .container .hero .hero-banner-text h1,
      #hero-banner .container .hero .hero-banner-text p{
        position: relative;
        width: 100%;
        z-index: 1;
        text-align: left;
      }
    
      .hero-banner-img  {
        position: absolute;
        top: 0;
        height: 100%;
        width: 100%;
      }
    
      .hero-banner-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    
      .hero-banner-overlay {
        position: absolute;
        height: -webkit-fill-available; 
        height: -webkit-fill-available; 
        height: -moz-available;         
        top: 0;
        width: 100%;
        background: linear-gradient(223deg, rgba(255, 270, 255, .43) 0%, rgba(126, 126, 126, 1) 100%);
      }
  
  /* ********** Amazon blogs ********** */

  article.amazon-products {
    max-width: 1200px;
  }
  .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }


  .product { 
    border: 1px solid #ccc; 
    padding: 15px; 
    margin-bottom: 20px; 
    border-radius: 5px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .products > :last-child,
  .products h3 {
    text-align: center;
    grid-column: 1 / -1; /* Ocupar de la primera a la última columna */
  }

  .product img { 
    max-width: 100%; 
    height: 350px; 
    object-fit:fill;
  }
  .buy-button { 
    display: inline-block; 
    padding: 10px 15px; 
    background-color: #e67e22; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
  }
  .buy-button:hover { 
    background-color: #d35400; 
  }