:root {
  --primary-color: #F0E6EF;
  --secondary-color: #FCFBFC;
  --link-font-size: 2.2rem;
  --font-family: "Lato", sans-serif;
  --h1-font: 6rem;
  --h2-font: 4rem;
  --h3-font: 2rem;
  --p-font: clamp(1.8rem, 3vw, 2.6rem);
  --gradient-bg: linear-gradient(90deg, rgba(178, 181, 224, 1) 13%, rgba(197, 173, 197, 1) 82%);
  --overlay: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75));
}

html, body{
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-size: 62.5%;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-family);
  background: var(--gradient-bg);
  
}

*, *::before, *::after {
  box-sizing: inherit;
}

/* body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-family);
  background: var(--gradient-bg);
 
}
 */
img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #000;
  font-size: 1.6rem;
  letter-spacing: 2px;
  font-weight: bold;
  font-style:italic;
}

@media (min-width: 768px) {
  a {
      font-size: var(--link-font-size);
  }
}

h1, h2, h3, p {
  font-family: var(--font-family);
}

h1 {
  font-size: var(--h1-font);
  font-weight: bold;
}

h2 {
  font-size: var(--h2-font);
  color: var(--primary-color);
}

h3 {
  font-size: var(--h3-font);
  color: var(--primary-color);
}
@media (min-width:768px) {
   h3{
    font-size: 3rem;
  } 
}
p {
  font-size: 1.6rem;
  color: var(--secondary-color);
  letter-spacing: 1px;
  line-height: 1.5;
}

@media (min-width: 768px) {
  p {
      font-size: var(--p-font);
  }
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  gap: 2rem;
}

.container__logo img {
  width: 10rem;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .container__logo img {
      width: 20rem;
  }
}

.nav ul {
  display: flex;
  list-style: none;
  padding: 3rem 0;
  text-align: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav ul {
      gap: 3rem;
  }
}

.nav li:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

/* SECCIÓN SOBRE NOSOTROS */
.section__sobre-nosotros {
  text-align: left;
  padding: 15rem 2rem 2rem;
}

@media (min-width: 768px) {
  .section__sobre-nosotros {
      padding: 35rem 2rem;
  }
}

.container_sobre-nosotros_text h1 {
  color: var(--primary-color);
}

.container_sobre-nosotros_text .span {
  text-align: center;
  font-weight: bold;
  font-size: 2.2rem;
}

/* PRODUCTS */
.container__products h2 {
  color: var(--primary-color);
  text-align: center;
}

.container_products_grid {
  display: grid;
  grid-template-columns: repeat(2 , 1fr);
}

@media (min-width: 768px) {
  .container_products_grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
  }
}

.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0rem 2rem;
}

.product img {
  border-radius: 1rem;
  transition: transform 0.3s ease-in-out;
  min-height:222px ;
}
@media (min-width:768px) {
  .product:hover img {
    transform: scale(1.05);
  }
  
}
.product h3 span{
  display: block;
  margin-top: 1rem;
  border-bottom: 2px solid var(--primary-color);
}

/* GALERIA DE FOTOS */
.galeria-de-fotos{
  background-image: var(--overlay), url(img/velas-img-1.jpg);
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}
.container__galeria H2 {
  text-align: center;
  padding: 2rem 0;
  margin-top: 0rem;
}

.gallery{
  display: grid;
  grid-template-columns: repeat(2 ,1fr);
  gap: 2rem;
}
@media (min-width:768px) {
  .gallery{
    grid-template-columns: repeat(3, 1fr);

  }
}
/* FOOTER */
footer {
  background-image: var(--overlay), url(img/velas-img-7.jpg);
  background-size: cover;
  background-position: center;
  padding: 2rem 0rem;
  border-top: 2px solid var(--primary-color);
}

.container__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem;
}

@media (min-width: 768px) {
  .container__footer {
      flex-direction: row;
      justify-content: space-between;
  }
}

.container__img img {
  width: 10rem;
  border-radius: 50%;
}

.links {
  display: flex;
  gap: 2rem;
}

.links a {
  display: flex;
  align-items: center;
}

.links a p {
  font-size: 1.6rem;
}
@media (min-width:768px) {
  .links a p{
    font-size: 2rem;
  }
}
.links a img {
  width: 2.5rem;
  transition: transform 0.3s ease-in-out;
  margin-right: 0.5rem;
}

.footer-end {
  text-align: center;
  padding: 1rem;
  background-color: var(--primary-color);
}

.footer-end p {
  color: rgb(5, 5, 5);
  font-size: 1.6rem;
  margin: 0;
}
@media (min-width:768px) {
    .footer-end p{
      font-size: var(--p-font);
    }
}
/* WHATSAPP FLOATING */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 5px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .whatsapp-floating {
      padding: 2rem;
  }
}

.whatsapp-floating img {
  width: 60px;
  transform: scale(1.6);
}

