@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

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

body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd {
  margin: 0;
  font-family: "Figtree", sans-serif;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
  padding: 0;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

header {
  background-color: #4E091B;
  position: sticky;
  top: 0;
}

header a {
  text-transform: uppercase;
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding: 10px;
  display: block;
  text-decoration: underline;
  letter-spacing: 1px;
}


header a:hover {
  text-decoration: none;
}

section img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

#buy {
  background-image: url('img/bg-wine-02-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy_content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4rem;
}

.buy_content p {
  width: 100%;
  margin-top: 5px;
}

#buy a,
#events a {
  display: inline-block;
  background-color: white;
  color: #7A1F35;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease;
  letter-spacing: 1px;
}

#buy a:hover,
#events a:hover{
  background-color: #7A1F35;
  color: #fff;
}

#hiw {
  background-image: url('img/bg-wine-04-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-direction: row;
  padding: 4rem 2rem;
  color: #fff;
  text-align: center;
}

#hiw h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#hiw > p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hiw {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hiw_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hiw_item > div:first-child {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.hiw_item span {
  width: 50%;
  max-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hiw_item span img {
  width: 100%;
  max-width: 120px;
  height: auto;
}

.hiw_item > div:first-child p {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1rem;
  width: 50%;
  text-align: left;
}

.hiw_item > div:last-child p {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 500px;
  text-align: center;
  padding: 0 24px;
  margin-top: 5px;
}

#events {
  background-image: url('img/bg-wine-05-mobile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
}

#events h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

#events > p {
  font-size: 1rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#events .events-cta {
  margin-top: 30px;
}

.events {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
}

.events_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 250px;
  gap: 1rem;
  width: 50%;
}

.events_item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.events_item p {
  font-size: 0.95rem;
  line-height: 1.4;
  min-height: 60px;
}

@media (min-width: 768px) {
  #buy {
    background-image: url('img/bg-wine-02.jpg');
    text-align: left;
    padding: 10rem 4rem;
  }

  .buy_content {
    align-items: center;
    flex-direction: row;
  }

  .buy_content p {
    width: 50%;
    max-width: 750px;
    text-align: center;
    font-size: 20px;
  }

  #hiw {
    background-image: url('img/bg-wine-04.jpg');
    padding: 6rem 4rem;
    text-align: center;
  }

  .hiw {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hiw_item {
    flex: 1;
    max-width: 350px;
    text-align: left;
    align-items: flex-start;
  }  
  .hiw_item span {
    max-width: 140px;
  }
  
  .hiw_item span img {
    max-width: 140px;
  }
  
  .hiw_item > div:first-child p {
    font-weight: bold;
    width: 40%;
    margin: 0;
    font-size: 18px;
    text-align: left;
  }

  .hiw_item > div:last-child p {
    font-size: 16px;
  }

  #events {
    background-image: url('img/bg-wine-05.jpg');
    padding: 6rem 4rem;
  }

  .events {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .events_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 180px;
    width: 100%;
    text-align: center;
  }

  .events_item span,
  .events_item img {
    width: 120px;
    height: 120px;
  }

  .events_item p {
    font-size: 0.9rem;
  }
}
