:root {
  --hue: 206;
  --bkg: var(--hue) 50% 96%;
  --text: var(--hue) 70% 9%;
  --dark: var(--hue) 70% 3%;
}

.nav-padding {
  padding-top: 69px;
}

.card-gap {
  margin-bottom: 15px;
}

.hero {
  font-family: "Mina";
  font-weight: 600;
  color: var(--dark-blue);
}

.card {
  cursor: default;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  width: 80vw;
  max-width: 372px;
  height: 100vw;
  max-height: 465px;
  background-color: var(--brown1);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.card-l {
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.card-l img,
.card-l button {
  width: 100%;
  height: 100%;
  border: 0;
}

.card-r {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 50%;
}

.card-r-one {
  display: flex;
  position: relative;
  width: 100%;
  height: 20%;
}

.card-r-two {
  width: 100%;
  height: 65%;
  display: flex;
  position: relative;
}

.card-details-l {
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-details-l:after {
  content: ""; /* Required to generate a pseudo-element */
  position: absolute;
  right: -1px;
  top: 7%;
  height: 86%;
  width: 2px;
  background-color: rgba(106, 72, 52, 0.5);
}

/* IMAGE GALLERY PART */

.image-item {
  flex: 1 0 28%;
  min-width: 200px;
  cursor: zoom-in;
  line-height: 0;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms cubic-bezier(0.79, 0.25, 0, 1.07);
}

.image-item:is(:hover, :focus) img {
  transform: scale(1.03);
}

/* */

.card-details-r {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-r-three {
  width: 100%;
  height: 15%;
}

.card-r-one:after,
.card-r-two:after {
  content: ""; /* Required to generate a pseudo-element */
  position: absolute;
  bottom: -1px;
  left: 7%;
  width: 86%;
  height: 2px;
  background-color: rgba(106, 72, 52, 0.5);
}

.card-detail-mid {
  margin: 5% 0;
}

.card h1 {
  margin: auto;
  text-align: center;
  font-size: 22px;
  line-height: 22px;
}

.card h3 {
  text-align: center;
  font-size: 18px;
  line-height: 18px;
}

.card p {
  text-align: center;
  font-size: 12px;
  line-height: 12px;
}

.card a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  transition: all 0.3s;
}

.card a:hover {
  background-color: var(--brown2);
  transition: all 0.3s;
}

.card h2 {
  text-align: center;
  font-size: 16px;
  line-height: 16px;
  color: var(--dark-blue);
}

.card h2 span {
  color: gray;
}

@media (min-width: 768px) {
  .card {
    flex-direction: row;
    width: 60vw;
    height: 20vw;
    max-width: 720px;
    max-height: 240px;
  }

  .card-l,
  .card-r {
    width: 50%;
    height: 100%;
  }

  .card h1 {
    font-size: 18px;
    line-height: 18px;
  }

  .card h3 {
    font-size: 15px;
    line-height: 15px;
  }

  .card p {
    font-size: 10px;
    line-height: 10px;
  }

  .card h2 {
    font-size: 15px;
    line-height: 14px;
  }
}

@media (min-width: 950px) {
  .card h1 {
    font-size: 22px;
    line-height: 22px;
  }

  .card h3 {
    font-size: 18px;
    line-height: 18px;
  }

  .card p {
    font-size: 12px;
    line-height: 12px;
  }

  .card h2 {
    font-size: 16px;
    line-height: 16px;
  }
}

@media (min-width: 1200px) {
  .card {
    max-width: 2200px;
    max-height: 2200px;
  }

  .nav-padding {
    padding-top: 90px;
  }

  .card h1 {
    font-size: 28px;
    line-height: 28px;
  }

  .card h3 {
    font-size: 22px;
    line-height: 22px;
  }

  .card p {
    font-size: 14px;
    line-height: 14px;
  }

  .card h2 {
    font-size: 20px;
    line-height: 20px;
  }
}

@media (min-width: 1450px) {
  .card h1 {
    font-size: 34px;
    line-height: 34px;
  }

  .card h3 {
    font-size: 26px;
    line-height: 26px;
  }

  .card p {
    font-size: 18px;
    line-height: 18px;
  }

  .card h2 {
    font-size: 22px;
    line-height: 22px;
  }
}
