@font-face {
  font-family: "RedHatDisplay";
  src: url("../font/redhatdisplay-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "RedHatDisplay";
  src: url("../font/redhatdisplay-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  font-family: "RedHatDisplay";
  user-select: none;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.text-primary {
  color: #0b0b0b;
}

.text-secondary {
  color: #f5f5f5;
}

.text-gray {
  color: #2f2f2f;
}

.text-lgray {
  color: #b7b7b7;
}

.text-beetroot {
  color: #a42750;
}

.text-center {
  text-align: center;
}

.bg-primary {
  background: #0b0b0b;
}

.bg-secondary {
  background: #f5f5f5;
}

.bg-gray {
  background: #2f2f2f;
}

.bg-lgray {
  background: #b7b7b7;
}

.bg-beetroot {
  background: #a42750;
}

.t1 {
  font-size: 28px;
}

.t2 {
  font-size: 22px;
}

.t3 {
  font-size: 18px;
}

.bold {
  font-weight: bold;
}

.pt-10 {
  padding-top: 10px;
}

.pt-20 {
  padding-top: 20px;
}

.pt-30 {
  padding-top: 20px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pb-20 {
  padding-bottom: 20px;
}

.pb-30 {
  padding-bottom: 20px;
}

.pt-60 {
  padding-top: 60px;
}

.uppercase {
  text-transform: uppercase;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sticky-bg {
  height: 95px;
}

header.sticky {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}

#video-section div {
  position: relative;
}

#video-section h1 {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 50px;
  box-sizing: border-box;
}

#video-section video {
  width: 100%;
  min-height: 90vh;
  max-height: 100vh;
  object-fit: cover;
}

header {
  position: relative;
}

nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95px;
}

#logo {
  width: 274px;
  margin-bottom: 12px;
}

#hamburger-btn {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

#hamburger-btn.rotate {
  transform: translateY(-50%) rotate(-90deg);
}

#menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  height: 0;
  width: 100%;
  z-index: 1;
  top: 100%;
  background: rgba(11, 11, 11, 0.5);
  backdrop-filter: blur(14.7px);
  transition: opacity 0.3s ease, height 0.3s ease;
  box-sizing: content-box;
}

#menu.show {
  opacity: 1;
  height: 140px;
  visibility: visible;
}

.menu-links {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 174px;
}

.menu-links a {
  cursor: pointer;
  transition: 0.3s;
}

.menu-links a:hover {
  color: #f5f5f5;
}

#mission-section {
  position: relative;
  max-width: 1320px;
  margin: 300px auto;
}

#logo2 {
  position: absolute;
  left: -120px;
  top: -200px;
}

#mission-section article {
  padding: 0 200px;
}

#mission-section h3:first-of-type {
  position: relative;
}

#products-section {
  position: relative;
  padding: 0 100px;
  min-height: 800px;
}

#product-categories-ul {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 30px;
  column-gap: 30px;
  padding-bottom: 30px;
}

.product-section-li {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: #2d2d2d;
  text-align: center;
  height: 64px;
  cursor: pointer;
  margin: 0 32px;
  min-width: 160px;
  border-radius: 2px;
  outline: 1px solid #2d2d2d;
}

.product-section-li h3 {
  font-size: 22px;
}

.product-section-li.empty {
  visibility: hidden;
}

.product-section-li.active {
  background-color: #a42750;
  outline: 1px solid #a42750;
}

.product-section-li.active::before {
  left: -32px;
  border-right: 32px solid #a42750;
}

.product-section-li.active::after {
  right: -32px;
  border-left: 32px solid #a42750;
}

.product-section-li::before,
.product-section-li::after {
  content: "";
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
}

.product-section-li::before {
  left: -32px;
  border-right: 32px solid #2d2d2d;
}

.product-section-li::after {
  right: -32px;
  border-left: 32px solid #2d2d2d;
}

.product-section-li:hover,
.product-subcat-li:hover {
  color: #f5f5f5;
}

.product-section-li.active {
  color: #f5f5f5;
}

#product-section-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  box-sizing: border-box;
  column-gap: 30px;
  row-gap: 30px;
}

.product-card-img {
  opacity: 1;
  height: auto;
  width: 100%;
  transition: opacity 0.3s ease-in-out;
  margin-bottom: 20px;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.hide {
  visibility: hidden;
}

.product-card-img.hidden {
  opacity: 0;
  height: 0;
  visibility: hidden;
  margin: 0;
}

.product-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.product-card p {
  width: 100%;
  word-break: break-word;
  transition: 0.3s ease;
  min-height: 92px;
}

.product-card:hover p {
  color: #f5f5f5;
}

#product-section-subcategories {
  display: flex;
  margin-bottom: 30px;
}

#product-section-subcategories li {
  cursor: pointer;
}

#product-section-subcategories li:not(:last-of-type) {
  padding-right: 20px;
  border-right: 1px solid #b7b7b7;
}

#product-section-subcategories li:not(:first-of-type) {
  padding-left: 20px;
}

.product-subcat-li {
  transition: 0.3s;
}

#fullscreen-img {
  max-height: 1000px;
  width: 100%;
  object-fit: cover;
}

#full-size-img-section {
  padding: 100px 0;
}

#faq-section {
  padding: 0 100px;
  margin-bottom: 200px;
}

.faq-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.faq-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.faq-card-img {
  opacity: 0.5;
  transition: 0.3s;
}

.faq-card-img.active {
  opacity: 1;
}

.faq-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  word-break: break-word;
}

.faq-card.active .faq-card-img {
  opacity: 1;
}

.faq-card:hover .faq-card-img {
  opacity: 1;
}

.faq-cat-text {
  text-align: center;
  transition: 0.3s;
}

.faq-cat-text.active,
.faq-card:hover .faq-cat-text,
.faq-card.active .faq-cat-text,
.product-subcat-li.active {
  color: #f5f5f5;
}

.none {
  display: none;
}

.faq-div {
  padding: 20px 0;
  border-bottom: 1px solid #2f2f2f;
}

.question-div {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.question-div:hover h4,
.question-div.active h4 {
  color: #f5f5f5;
}

.question-div:hover .arrow-down,
.question-div.active .arrow-down {
  filter: brightness(999%);
}

.faq-answer,
.faq-answer-m {
  display: none;
}

.arrow-down {
  transition: transform 0.2s ease;
}

.rotate180 {
  transform: rotate(180deg);
}

footer {
  padding: 60px 100px;
  margin: 0 auto;
  background: #2f2f2f;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-content a {
  transition: 0.3s;
}

.footer-content a:hover {
  color: #f5f5f5;
}

.lds-ring {
  color: #f5f5f5;
}

.lds-ring,
.lds-ring div {
  box-sizing: border-box;
}

.lds-ring {
  display: none;
  position: absolute;
  width: 80px;
  height: 80px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid currentColor;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: currentColor transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

#close-popup-btn {
  font-size: 28px;
  background: none;
  border: none;
  color: #b7b7b7;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

#close-popup-btn:hover {
  color: #f5f5f5;
}

.faq-cat-section-m {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.3s ease;
}

.popup {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 2;
}

.popup.show {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  padding: 20px;
  position: relative;
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #080808;
  box-sizing: border-box;
}

.popup-d {
  display: flex;
  height: 100%;
  gap: 40px;
}

.popup-imgs-d {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 50%;
  overflow-x: auto;
  gap: 20px;
  padding-right: 20px;
}

.popup-imgs-d img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.popup-info-d {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
}

.popup-info-header-d {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.popup-m {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  height: -webkit-fill-available;
  overflow: auto;
  padding: 20px;
}

.popup-header-m div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
}

.popup-imgs-m {
  position: relative;
  height: 200px;
  display: flex;
  gap: 10px;
  overflow: auto;
  padding-bottom: 20px;
}

.popup-imgs-m img {
  width: 200px;
  object-fit: cover;
}

.line {
  display: none;
  height: 1px;
  background: #2f2f2f;
  position: absolute;
  bottom: 9px;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 460px) {
  #product-section-subcategories {
    flex-direction: column;
    gap: 10px;
  }

  #product-section-subcategories li:not(:last-of-type) {
    padding-right: 0;
    border-right: none;
  }

  #product-section-subcategories li:not(:first-of-type) {
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  #product-categories-ul {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    column-gap: 20px;
  }

  .product-section-li::before {
    left: -16px;
    border-right: 16px solid #2d2d2d;
  }

  .product-section-li::after {
    right: -16px;
    border-left: 16px solid #2d2d2d;
  }

  .product-section-li.active::before {
    left: -16px;
    border-right: 16px solid #a42750;
  }

  .product-section-li.active::after {
    right: -16px;
    border-left: 16px solid #a42750;
  }

  .product-section-li h3 {
    font-size: 16px;
  }

  .product-section-li {
    min-width: 118px;
    margin: 0 16px;
    height: 40px;
  }

  .product-section-li::before,
  .product-section-li::after {
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }

  .line {
    width: 666px !important;
  }

  .t1 {
    font-size: 20px;
  }

  .t2 {
    font-size: 14px;
  }

  .t3 {
    font-size: 12px;
  }

  .faq-cards {
    display: flex;
    flex-direction: column;
  }

  .faq-cat-section {
    display: none !important;
  }

  .faq-cat-section-m.active {
    opacity: 1;
    height: auto;
    visibility: visible;
  }

  #products-section {
    min-height: 430px;
  }

  .popup-d {
    display: none;
  }

  .popup-m {
    display: flex;
  }

  #close-popup-btn {
    font-size: 20px;
  }

  .popup-content {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  #product-section-gallery {
    row-gap: 10px;
  }
}

@media (max-width: 1024px) {
  .line {
    display: block;
    width: 920px;
  }

  #product-categories-ul {
    border: unset;
  }

  #menu {
    height: unset !important;
    padding: 20px 50px;
  }

  .menu-links {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
    padding-left: 50px;
  }

  #mission-section {
    margin: 100px auto;
  }

  #product-section-gallery {
    grid-template-columns: 1fr 1fr;
    row-gap: 10px;
  }

  #product-categories-ul {
    justify-content: flex-start;
    overflow-y: hidden;
    border-bottom: none;
  }

  #mission-section article,
  #products-section,
  #faq-section {
    padding: 0 50px;
  }

  footer {
    padding: 60px 50px;
  }

  .footer-content {
    flex-direction: column;
  }

  #logo {
    width: 170px;
  }

  #hamburger-btn {
    width: 29px;
    height: 26px;
  }

  .popup-imgs-d {
    grid-template-columns: 1fr;
  }

  .popup-d .t2 {
    font-size: 18px;
  }

  .popup-d .t3 {
    font-size: 14px;
  }

  .popup-d #close-popup-btn {
    font-size: 20px;
  }

  #logo2 {
    width: 110px;
    height: 146px;
    left: -49px;
    top: -88px;
  }

  .footer-content ul h5 {
    display: none;
  }

  .product-card p {
    height: 96px;
  }
}

@media (min-width: 600px) and (max-width: 840px) {
  #product-categories-ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 840px) and (max-width: 1260px) {
  #product-categories-ul {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 1260px) {
  .product-section-li.empty {
    display: none;
  }
}

#product-categories-ul::-webkit-scrollbar {
  height: 0;
}

#product-categories-ul.d::-webkit-scrollbar,
.popup-imgs-m::-webkit-scrollbar {
  height: 4px;
}

.popup-imgs-m::-webkit-scrollbar-thumb,
.popup-imgs-m::-webkit-scrollbar-track,
#product-categories-ul::-webkit-scrollbar-thumb,
#product-categories-ul::-webkit-scrollbar-track {
  border-radius: 10px;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #2f2f2f;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.arrow-down {
  background-image: url("../images/arrow-down.svg");
  background-repeat: no-repeat;
  width: 22px;
  height: 12px;
}

.question-div h4 {
  width: 90%;
}

.faq-cat-section {
  opacity: 0;
  visibility: hidden;
  height: 0;
  transition: opacity 0.3s ease;
}

.faq-cat-section.active {
  opacity: 1;
  height: auto;
  visibility: visible;
}

.line.d {
  display: none;
}
