/*
1. Posicionamiento
2. Modelo caja (Box model)
3. Tipografia
4. Visuales
5. Otros
*/
:root {
  /*Colores*/
  --primary-color: white;
  --black: #0f0f0f;
  --soft-gray: #fbfbfb;
  --line-black: #151515;
  --warm-black: #1E1E1E;
  --golden: goldenrod;
  --soft-golden: #e3c77d;
  --green: #649531;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  font-family: 'Cardo', serif;
  scroll-behavior: smooth;
}

header {
  position: fixed;
  background-color: var(--soft-gray);
  font-style: italic;
  font-weight: 400;
  width: 100%;
  height: 130px;
  top: 0;
  left: 0;
  transition: height 0.5s ease;
  z-index: 1;
}

header.scroll-down {
  height: 80px;
}

header .menu--container {
  display: flex;
  align-items: center;
  height: inherit;
}

header .burger-icon {
  background: none;
  border: 0;
  padding: 0;
  width: 60px;
  height: 60px;
  cursor: pointer;
  margin-left: 10px;
  z-index: 50;
}

header .burger-icon span {
  border-radius: 5px;
  background: var(--line-black);
  display: block;
  width: 50%;
  margin: 7px auto;
  height: 1.8px;
  transition-timing-function: ease-out;

  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

header .burger-icon.burger-icon-open .top-line-burger {
  animation-name: top-line-animation;
}
header .burger-icon.burger-icon-open .middle-line-burger {
  animation-name: middle-line-animation;
}
header .burger-icon.burger-icon-open .bottom-line-burger {
  animation-name: bottom-line-animation;
}
header .burger-icon.burger-icon-close .top-line-burger {
  animation-name: top-line-animation-close;
}
header .burger-icon.burger-icon-close .middle-line-burger {
  animation-name: middle-line-animation-close;
}
header .burger-icon.burger-icon-close .bottom-line-burger {
  animation-name: bottom-line-animation-close;
}

@keyframes top-line-animation {
  50%, 100% {
    margin: 0 auto;
    transform: translateY(2px) rotate(-45deg);
  }
}
@keyframes bottom-line-animation {
  50%, 100% {
    margin: 0 auto;
    transform: translateY(-2px) rotate(45deg);
  }
}
@keyframes middle-line-animation {
  20%, 100% {
    margin: 0 auto;
    width: 0;
    opacity: 0;
  }
}
@keyframes top-line-animation-close {
  0% {
    margin: 0 auto;
    transform: translateY(2px) rotate(-45deg);
  }
  50%, 100% {
    margin: 7px auto;
    transform: translateY(0px) rotate(0deg);
  }
}
@keyframes bottom-line-animation-close {
  0% {
    margin: 0 auto;
    transform: translateY(-2px) rotate(45deg);
  }
  50%, 100% {
    margin: 7px auto;
    transform: translateY(0px) rotate(0deg);
  }
}
@keyframes middle-line-animation-close {
  0% {
    margin: 0 auto;
    width: 0;
    opacity: 0;
  }
  20%, 100% {
    margin: 7px auto;
    width: 50%;
    opacity: 1;
  }
}

header .logo {
  position: absolute;
  left: calc(50% - 75px);
  top: 10px;
  transition: left 0.5s ease;
}

header .logo img {
  width: 150px;
  align-self: center;
  transition: width 0.5s ease;
}

header.scroll-down .logo {
  left: calc(50% - 50px);
  top: 3px;
}

header.scroll-down .logo img {
  width: 100px;
}

header .burger-menu-nav-container {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  left: -100%;
  background-color: transparent;
  transition: .5s left;
  transition: 1s background-color;
  z-index: 20;
}

header .burger-menu-nav-container.burger-menu-active {
  left: 0px;
  background-color: rgba(53, 73, 171, .25);
}

header .burger-menu-nav {
  position: absolute;
  background-color: var(--primary-color);
  border: 1px solid var(--green);
  border-radius: 5px;
  box-shadow: 0px 3px 15px rgba(0,0,0,.25);
  top: 0px;
  min-height: 600px;
  height: 50%;
  min-width: 300px;
  width: 80%;
  max-width: 800px;
  transition: 1s;
  left: -100%;
  z-index: inherit;
}

header .burger-menu-nav-container.burger-menu-active .burger-menu-nav {
  left: 0px;
}

header .burger-menu-list-items {
  list-style: none;
  margin-top: 20px;
}

header .burger-menu-list-items li {
  display: flex;
  justify-content: center ;
}

header .burger-menu-list-items a {
  display: block;
  border-bottom: 1px solid var(--soft-golden);
  width: 85%;
  min-height: 50px;
  line-height: 50px;
  padding: 8px 12px;
  text-decoration: none;
  text-transform: capitalize;
  color: var(--black);
  transition: .5s;
  font-size: 2.4rem;
  text-align: center;
}

header .burger-menu-list-items a:hover {
  background-color: var(--soft-gray);
  color: var(--green);
}

header .burger-menu-icons {
  margin: 25px 10px 0px;
  display: flex;
  justify-content: space-around;
}

header .logoHojaSola {
  width: 65px;
  height: 65px;
  margin: 0 auto;
  background-image: url("../images/HojaSola.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.opacity {
  background-color: rgba(0, 0, 0, 0.5);
  transition: all .5s ease;
}

header .body-overlay {
  position: fixed;
  width: 100%;
  top: 0;
  bottom: 0;
  background-color: transparent;
  transition: .5s left;
  transition: 1s background-color;
  z-index: 0;
}

.main-hero-container {
  width: 100%;
  /*height: 50vw;*/
  height: auto;
  margin-top: 130px;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.main-hero-container--title {
  width: 90%;
  min-width: 288px;
  max-width: 900px;
  margin: 0 auto;
}

.main-hero-container--title h2 {
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3.5rem;
  letter-spacing: 1px;
  color: var(--warm-black);
}

.main-hero-img{
  width: 100%;
  height: 80vmin;
  min-height: 350px;
  max-height: 1400px;
  margin: 20px auto;
  background-image: url("../images/piscoscompletos.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-hero-button{
  width: 150px;
  height: 50px;
  background-color: var(--black);
  border: 2px solid var(--green);
  border-radius: 5px;
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3.5rem;
  letter-spacing: 1px;
  color: var(--soft-golden);
  cursor: pointer;
}

.main-products-container {
  width: 100%;
  min-width: 320px;
  text-align: center;
}

.main-products-container--title {
  width: 90%;
  margin: 0 auto;
  min-width: 288px;
  height: auto;
}

.main-products-container--title h2 {
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3rem;
  letter-spacing: 1px;
  color: var(--warm-black);
}

.products-container--slider {
  display: flex;
  height: auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 30px;
  justify-content: space-between;
}
.products-container--card {
  scroll-snap-align: center;
  width: 100%;
  min-width: 260px;
  max-width: 400px;
  height: auto;
  margin: 30px 20px;
}
.product-info-container {
  width: 100%;
  height: auto;
}
.product-card--image {
  width: 100%;
  height: 430px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(89, 73, 30, 0.16);
}
.product-card--quebranta {
  background-image: url("../images/PiscoQuebranta.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-card--acholado {
  background-image: url("../images/PiscoAcholado.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.product-card--button {
  width: 150px;
  height: 50px;
  margin-top: 20px;
  background-color: var(--black);
  border: 2px solid var(--green);
  border-radius: 5px;
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3.5rem;
  letter-spacing: 1px;
  color: var(--soft-golden);
  cursor: pointer;
}

.backgroundLeaf {
  width: 90px;
  height: 90px;
  margin: 0 auto;
  margin-bottom: 20px;
  background-image: url("../images/HojaSola.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.main-origin-container h2, .main-process-container h2 {
  width: 90%;
  margin: 0 auto;
  min-width: 288px;
  height: auto;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3rem;
  letter-spacing: 1px;
  color: var(--warm-black);
}
.main-origin--image {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 280px;
  margin: 25px auto 50px;
  background-image: url("../images/Origen.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.main-process--image {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 280px;
  margin: 25px auto 50px;
  background-image: url("../images/Proceso.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.main-origin--button, .main-process--button {
  position: absolute;
  width: 150px;
  height: 50px;
  left: calc(50% - 75px);
  bottom: -25px;
  background-color: var(--black);
  border: 2px solid var(--green);
  border-radius: 5px;
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 3.5rem;
  letter-spacing: 1px;
  color: var(--soft-golden);
  cursor: pointer;
}

footer {
  background-color: var(--black);
  padding: 20px 0px;
}

.footer-links-container {
  display: flex;
}

.footer-links--list {
  list-style: none;
  width: 80%;
  margin: 0 auto;
  max-width: 700px;
}

.footer-links-list li {
  display: flex;
  justify-content: center;
}

.footer-links--list a {
  display: block;
  border-bottom: 1px solid var(--soft-golden);
  width: 85%;
  min-height: 50px;
  line-height: 50px;
  padding: 8px 12px;
  margin: 0 auto;
  text-decoration: none;
  text-transform: capitalize;
  color: var(--primary-color);
  font-size: 2.2rem;
  font-family: inherit;
  font-weight: 400;
  letter-spacing: 1px;
  text-align: center;
}

.footer-icons-container {
  margin: 25px auto;
  display: flex;
  justify-content: space-around;
  max-width: 700px;
  vertical-align: center;
}

.footer-logo {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 auto;
}