/* ============================================
   CORSAIR BRANDPORTAL
   ============================================ */

/* RESET ---------------------------------- */

#brandportal-corsair * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

/* TYPOGRAPHY ---------------------------------- */

#brandportal-corsair h1 {
  font-size: 32px;
}

#brandportal-corsair h2 {
  font-size: 24px;
}

#brandportal-corsair p {
  font-size: 16px;
}

@media (min-width: 768px) {
  #brandportal-corsair h1 {
    font-size: 48px;
  }

  #brandportal-corsair h2 {
    font-size: 32px;
  }
}

/* SHARED ---------------------------------- */

#brandportal-corsair .eyebrow {
  color: #ece81a;
  font-weight: 600;
}

#brandportal-corsair .button-1 {
  text-decoration: none !important;
  display: inline-block;
  padding: 10px 20px;
  margin-top: 25px;
  margin-right: 20px;
  background-color: #ece81a;
  color: black;
  font-size: 16px;
  transition: 0.25s ease;
}

#brandportal-corsair .button-1:hover {
  transform: translateY(-2px);
  color: #000000;
  background-color: white;
}

#brandportal-corsair .text {
  padding: 25px;
}

@media (min-width: 768px) {
  #brandportal-corsair .text {
    padding: 50px;
  }
}

#brandportal-corsair .divider {
  height: 5px;
  background: linear-gradient(to right, black, #ece81a);
}

#brandportal-corsair .divider1 {
  height: 3px;
  background: linear-gradient(to right, black, #ffffff);
}

/* HEADER ---------------------------------- */

#brandportal-corsair .header {
  text-align: center;
  background-color: black;
  padding: 10px;
}

/* INTRO ---------------------------------- */

#brandportal-corsair .intro {
  position: relative;
  background-color: #242529;
  color: white;
  padding: 25px;
}

#brandportal-corsair .intro video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#brandportal-corsair .intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#brandportal-corsair .intro h1,
#brandportal-corsair .intro p,
#brandportal-corsair .intro .button-1 {
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  #brandportal-corsair .intro {
    padding: 50px;
  }
}

@media (min-width: 1200px) {
  #brandportal-corsair .intro {
    padding-left: 150px;
    padding-right: 150px;
  }
}

/* PORTAL NAV ---------------------------------- */

#brandportal-corsair .navBar {
  overflow: hidden;
}

#brandportal-corsair .navBar,
#brandportal-corsair .navBar .navItem,
#brandportal-corsair .navBar .navItem .navDropdownButton {
  background-color: rgb(0, 0, 0);
  color: white;
  font-size: 16px;
}

#brandportal-corsair .navBar .navItem {
  float: left;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.3s;
}

#brandportal-corsair .navBar .navItem:hover {
  transition: background-color 0.3s;
}

#brandportal-corsair .navBar .navItem:hover,
#brandportal-corsair .navBar .navItem:hover .navDropdownButton,
#brandportal-corsair .navBar .navActive .navDropdownButton {
  background-color: white;
  color: black;
}

#brandportal-corsair .navBar .navDropdown {
  position: relative;
}

#brandportal-corsair .navBar .navDropdownButton {
  border: none;
  outline: none;
  color: white;
  background-color: inherit;
  font-family: inherit;
  width: 100%;
  transition: background-color 0.3s;
  cursor: pointer;
  text-decoration: none;
}

#brandportal-corsair .navBar .navDropdownContent {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  left: 0;
  right: 0;
}

#brandportal-corsair .navBar .navDropdown.navActive .navDropdownContent {
  display: block;
}

#brandportal-corsair .navBar .navDropdownContent a {
  float: none;
  padding: 15px;
  text-decoration: none !important;
  display: block;
  text-align: left;
  background-color: white;
  color: black;
  transition: background-color 0.3s;
}

#brandportal-corsair .navBar .navDropdownContent a:hover {
  background-color: #ece81a;
  color: black;
}

#brandportal-corsair .navBar .navIcon {
  display: none;
}

@media screen and (min-width: 767px) {
  #brandportal-corsair .navBar {
    overflow: visible;
  }

  #brandportal-corsair .navBar .navCurrentPage {
    background-color: #eee900;
    color: black;
    pointer-events: none;
  }

  #brandportal-corsair .navBar a {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #brandportal-corsair .navBar .navDropdown a {
    justify-content: start;
  }

  #brandportal-corsair .navBar .navDropdownButton {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  #brandportal-corsair .navBar .navIcon {
    display: none !important;
  }

  #brandportal-corsair .navBar .navDropdownContent a {
    padding: 15px !important;
  }
}

@media screen and (min-width: 767px) and (max-width: 1300px) {
  #brandportal-corsair .navBar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 54px;
    grid-gap: 2px;
    background-color: #292929;
  }
}

@media screen and (min-width: 1300px) {
  #brandportal-corsair .navBar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: 54px;
    grid-gap: 2px;
    background-color: #292929;
  }
}

@media screen and (max-width: 767px) {
  #brandportal-corsair .navBar .navItem:not(:first-child):not(:last-child),
  #brandportal-corsair .navBar .navDropdownButton {
    display: none;
  }

  #brandportal-corsair .navBar .navItem {
    padding: 15px;
  }

  #brandportal-corsair .navBar.navMenuOpen {
    position: relative;
  }

  #brandportal-corsair .navBar .navIcon {
    float: right;
    display: block;
  }

  #brandportal-corsair .navBar.navMenuOpen .navIcon {
    position: absolute;
    right: 0;
    top: 0;
  }

  #brandportal-corsair .navBar.navMenuOpen .navItem,
  #brandportal-corsair .navBar.navMenuOpen .navDropdownButton {
    float: none;
    display: block !important;
    text-align: left;
  }

  #brandportal-corsair .navBar.navMenuOpen .navDropdown {
    float: none;
  }

  #brandportal-corsair .navBar.navMenuOpen .navDropdownButton {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0;
  }

  #brandportal-corsair .navBar.navMenuOpen .navDropdownContent {
    position: relative;
    margin-top: 15px;
  }
}

/* MAIN SECTIONS ---------------------------------- */

#brandportal-corsair .section-main {
  background-color: black;
}

#brandportal-corsair .section-main-text {
  background-color: black;
  color: white;
}

#brandportal-corsair .section-main-image {
  background-color: darkgray;
  position: relative;
  height: 300px;
}

#brandportal-corsair .section-main-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black, transparent 50%);
}

#brandportal-corsair .section-main-image img,
#brandportal-corsair .section-main-image video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  #brandportal-corsair .section-main-text {
    text-align: center;
  }
}

@media (min-width: 768px) {
  #brandportal-corsair .section-main-image {
    height: 500px;
  }

  #brandportal-corsair .section-main-image::before {
    background: linear-gradient(to right, black, transparent 50%);
  }
}

/* HEADSETS INTERACTIVE ---------------------------------- */

#brandportal-corsair .section-headsets {
  background-color: #242529;
  padding: 30px;
  position: relative;
}

#brandportal-corsair .section-headsets img {
  position: relative;
  z-index: 1;
}

#brandportal-corsair .headsets-hotspot,
#brandportal-corsair .headsets-infobox {
  z-index: 2;
}

#brandportal-corsair .headsets-hotspot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ece81a;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 8px rgba(236, 232, 26, 0.2);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(236, 232, 26, 0.4);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(236, 232, 26, 0);
  }
}

#brandportal-corsair .headsets-hotspot-1 {
  top: 25%;
  left: 73%;
}

#brandportal-corsair .headsets-infobox-1 {
  top: calc(25% + 20px);
  left: calc(73% + 10px);
}

#brandportal-corsair .headsets-hotspot-2 {
  top: 50%;
  left: 45%;
}

#brandportal-corsair .headsets-infobox-2 {
  top: calc(50% + 20px);
  left: calc(45% + 10px);
}

#brandportal-corsair .headsets-hotspot-3 {
  top: 50%;
  left: 64%;
}

#brandportal-corsair .headsets-infobox-3 {
  top: calc(50% + 20px);
  left: calc(64% + 10px);
}

#brandportal-corsair .headsets-hotspot-4 {
  top: 32%;
  left: 40%;
}

#brandportal-corsair .headsets-infobox-4 {
  top: calc(32% + 20px);
  left: calc(40% + 10px);
}

#brandportal-corsair .headsets-hotspot-5 {
  top: 60%;
  left: 25%;
}

#brandportal-corsair .headsets-infobox-5 {
  top: calc(60% + 20px);
  left: calc(25% + 10px);
}

#brandportal-corsair .headsets-infobox {
  display: flex;
  position: absolute;
  transform: translateX(-50%);
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  max-width: 200px;
}

#brandportal-corsair .headsets-infobox.active {
  opacity: 1;
  pointer-events: auto;
}

#brandportal-corsair .infobox-line {
  width: 2px;
  height: 0;
  background-color: #ece81a;
  align-self: center;
  transition: height 0.4s ease-out;
}

#brandportal-corsair .headsets-infobox.active .infobox-line {
  height: 50px;
}

#brandportal-corsair .infobox-content {
  border: 1px solid white;
  border-top: 4px solid #ece81a;
  background: rgba(0, 0, 0, 0.719);
  color: white;
  padding: 15px;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  #brandportal-corsair .section-headsets {
    padding: 50px;
  }
}

@media (max-width: 767px) {
  #brandportal-corsair .headsets-desktop {
    display: none !important;
  }

  #brandportal-corsair .infobox-content {
    padding: 10px;
    font-size: 14px;
  }
}

@media (min-width: 768px) {
  #brandportal-corsair .headsets-mobile {
    display: none !important;
  }
}

/* GAMING CHAIRS INTERACTIVE ---------------------------------- */

#brandportal-corsair .section-gamingchairs {
  background-color: #242529;
  padding: 30px;
  position: relative;
}

#brandportal-corsair .gamingchair-1,
#brandportal-corsair .gamingchair-2,
#brandportal-corsair .gamingchair-3 {
  display: none;
}

#brandportal-corsair .gamingchair-1.active,
#brandportal-corsair .gamingchair-2.active,
#brandportal-corsair .gamingchair-3.active {
  display: block;
  margin: 0 auto;
}

#brandportal-corsair .chair-color-buttons {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  padding: 15px 25px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50px;
}

#brandportal-corsair .chair-color-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

#brandportal-corsair .chair-color-btn:nth-child(1) {
  background: #3a3837;
}

#brandportal-corsair .chair-color-btn:nth-child(2) {
  background: #81807b;
}

#brandportal-corsair .chair-color-btn.active {
  border-color: #ece81a;
  transform: scale(1.15);
}

@media (min-width: 768px) {
  #brandportal-corsair .section-gamingchairs {
    padding: 50px;
  }
}

@media (max-width: 767px) {
  #brandportal-corsair .gamingchair-desktop {
    display: none !important;
  }

  #brandportal-corsair .gamingchair-mobile {
    display: none;
  }

  #brandportal-corsair .gamingchair-mobile.active {
    display: block;
  }

  #brandportal-corsair .chair-color-buttons {
    padding: 10px 15px;
    gap: 10px;
  }

  #brandportal-corsair .chair-color-btn {
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
  }
}

@media (min-width: 768px) {
  #brandportal-corsair .gamingchair-mobile {
    display: none !important;
  }

  #brandportal-corsair .gamingchair-desktop {
    display: none;
  }

  #brandportal-corsair .gamingchair-desktop.active {
    display: block;
  }
}

/* FAQ ---------------------------------- */

#brandportal-corsair .faq {
  background-color: black;
  color: white;
  padding: 25px;
}

#brandportal-corsair .faq h2 {
  margin-bottom: 30px;
  text-align: center;
}

#brandportal-corsair .faq-item {
  background-color: #242529;
  border-top: 2px solid #ece81a;
}

#brandportal-corsair .faq-col {
  background-color: #242529;
  border-radius: 4px;
  overflow: hidden;
}

#brandportal-corsair .faq-col .faq-item:first-child {
  border-top: none;
}

#brandportal-corsair .faq-question {
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

#brandportal-corsair .faq-question::-webkit-details-marker {
  display: none;
}

#brandportal-corsair .faq-question::after {
  content: "+";
  font-size: 22px;
  color: #ece81a;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 20px;
}

#brandportal-corsair .faq-item[open] .faq-question::after {
  content: "−";
}

#brandportal-corsair .faq-question h3 {
  font-size: 16px;
  font-weight: 500;
  color: white;
}

#brandportal-corsair .faq-answer {
  display: none;
  padding: 0 20px 18px;
}

#brandportal-corsair .faq-item[open] .faq-answer {
  display: block;
}

#brandportal-corsair .faq-answer p {
  line-height: 1.6;
  color: #ccc;
}

@media (max-width: 767px) {
  #brandportal-corsair .faq-col:not(:first-child) .faq-item:first-child {
    border-top: 2px solid #ece81a;
  }
}

@media (min-width: 768px) {
  #brandportal-corsair .faq {
    padding: 50px;
  }

  #brandportal-corsair .faq-list {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  #brandportal-corsair .faq-col {
    flex: 1;
  }

}
