*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --body-bg: hsl(0, 0%, 12%);
}

html {
  background: url(background.png);
  color-scheme: dark light;
}

body {
  background: rgba(255, 255, 255, 0);
  color: white;
  font-family: system-ui;
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

body a {
  text-decoration: none;
  color: white;
}

footer {
  background-color: rgba(0, 0, 0, 1);
  text-align: center;
  padding: 0.5rem;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow: 0px 0px 15px 5px #000000;
  font-size: 1rem;
}

/*

Navigation bar

*/

header {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
}

header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  filter: blur(2px);
  background: url(landing-page-background-top.png);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
}

nav {
  display: grid;
  grid-template-columns: 1fr 11.25rem 1fr;
  grid-template-rows: 6.625rem;
  justify-items: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.4);
  border-bottom: 2px solid rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 15px 5px #000000;
  position: relative;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  text-shadow: 0px 0px 4px #000000;
}

.nav-links a {
  padding: 1rem;
}

.nav-links a:hover,
.nav-active-link {
  font-style: italic;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 0.25rem;
  padding: 1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  top: 50%;
  height: 11.25rem;
  width: 11.25rem;
  border-radius: 11.25rem;
  background-image: url(nav-logo.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  overflow: hidden;
  position: relative;
  box-shadow: 0px 0px 15px 0px #000000;
  z-index: 1;
}

.nav-logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100px;
  width: 70px;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  transform: skewX(-30deg);
  animation-name: slide;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

@keyframes slide {
  0% {
    left: -6.5rem;
    top: 0;
  }
  100% {
    left: 13rem;
    top: 0;
  }
}

.nav-brand-container {
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #333333;
  box-shadow: 0px 0px 15px 0px #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  height: 11.25rem;
  width: 11.25rem;
  border-radius: 11.25rem;
  overflow: hidden;
  position: relative;
}

.nav-brand,
.nav-brand-cont {
  font-size: 1.75rem;
  font-weight: bold;
}

.nav-brand-cont-2 {
  font-size: 0.65rem;
  font-weight: 100;
}

.nav-brand,
.nav-brand-cont,
.nav-brand-cont-2 {
  letter-spacing: 0.25rem;
  margin-right: -0.25rem;
  text-transform: uppercase;
}

.nav-brand,
.nav-brand-cont,
.nav-brand-cont-2 {
  line-height: 1.1;
}

.nav-right a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.nav-button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 15px 0px #000000;
  height: 4rem;
}

.nav-button:hover {
  font-style: italic;
  border: 1px solid rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 15px 0px #fff;
}

.mobile-nav-hamburger {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 15px 0px #000000;
  height: 4rem;
  width: 4rem;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  display: none;
}

.mobile-nav-hamburger:hover {
  border: 1px solid rgba(255, 255, 255, 1);
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0px 0px 15px 0px #fff;
}

.mobile-nav-hamburger span {
  position: absolute;
  width: 2.5rem;
  height: 0.2rem;
  background-color: white;
  border-radius: 0.25rem;
  transition: 0.5s;
}

.mobile-nav-hamburger span:nth-child(1) {
  transform: translateY(-11px);
  width: 2.5rem;
}

.mobile-nav-hamburger.active span:nth-child(1) {
  width: 2.5rem;
  transform: translateY(0px) rotate(45deg);
  transition-delay: 0.125s;
}

.mobile-nav-hamburger span:nth-child(2) {
  transform: translateY(11px);
  width: 2.5rem;
}

.mobile-nav-hamburger.active span:nth-child(2) {
  width: 2.5rem;
  transform: translateY(0px) rotate(315deg);
  transition-delay: 0.25s;
}

.mobile-nav-hamburger.active span:nth-child(3) {
  transform: translateX(60px);
  width: 2.5rem;
}

.mobile-nav {
  display: none;
  padding-block: 10rem;
}

.mobile-nav-links {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 25rem;
  margin-inline: auto;
  padding-inline: 1rem;
  gap: 0.5rem;
  text-shadow: 0px 0px 4px #000000;
}

.mobile-nav-links a {
  padding: 1rem;
  box-shadow: 0px 0px 15px 0px #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 0.25rem;
}

.mobile-nav-links a:hover {
  font-style: italic;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.25rem;
  padding: 1rem;
}

.mobile-nav-links-active-link {
  font-style: italic;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
}

.mobile-nav-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
  background-color: rgba(255, 255, 255, 0.4) !important;
  border-radius: 0.25rem;
  padding: 1rem;
}

.mobile-nav-button:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6) !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
}

.mobile-nav-button p {
  margin: 0;
}

header .mobile-nav {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  border-bottom: 5px solid rgb(255, 255, 255);
}

/*

**********

*/

/*

Landing page

*/

header section {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  border-bottom: 2px solid rgb(255, 255, 255);
  box-shadow: 0px 0px 15px 5px #000000;
}

/*

Sections

*/

.wrapper {
  max-width: 50rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

section > .wrapper > p {
  color: #cccccc;
}

.site-title {
  font-size: 3rem;
  text-align: center;
  text-transform: uppercase;
  text-shadow: rgb(0 0 0) 0px 0px 4px;
}

.title-underline {
  position: relative;
  /* white-space: nowrap; */
}

.title-underline::after {
  --deco-height: 0.3125em;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--deco-height) * -0.625);
  height: var(--deco-height);
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23a)'%3E%3Cpath d='M-17 30.5C-1 22 72-4 54 13 37.9 28.2-2.5 57.5 16 55.5s72-29 104-40' stroke='rgb(151.5, 151.5, 151.5)' stroke-width='10'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='a'%3E%3Cpath fill='%23fff' d='M0 0h100v64H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A");
  background-size: auto 100%;
  background-repeat: round;
  background-position: 0em;
}

.section-title {
  font-size: 2.25rem;
  text-transform: uppercase;
  text-shadow: rgb(0 0 0) 0px 0px 4px;
}

section {
  padding-block: 5rem;
}

.section-first p a {
  color: #cccccc;
}

.section-first p a:hover {
  color: white;
  font-style: italic;
}

.diagonal {
  --skew-angle: -5deg;
  position: relative;
  isolation: isolate;
}

.diagonal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: skewY(var(--skew-angle));
  filter: blur(2px);
  background: url(landing-page-background-center.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
}

.diagonal::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  transform: skewY(var(--skew-angle));
  background-color: rgba(0, 0, 0, 0.7);
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  box-shadow: 0px 0px 15px 5px #000000;
}

.diagonal .wrapper > p, .rectangle .wrapper > p {
  padding-bottom: 5rem;
}

.rectangle {
  position: relative;
  isolation: isolate;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  box-shadow: 0px 0px 15px 5px #000000;
}

.rectangle::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url(landing-page-background-bottom.png);
  filter: blur(2px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #000;
}

.rectangle::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.rectangle .wrapper .section-title {
  text-shadow: rgb(0 0 0) 0px 0px 4px;
}

.section-title,
.wrapper p {
  text-shadow: rgb(0 0 0) 0px 0px 4px;
}

.slogan-shine {
  background: linear-gradient(
    to right,
    #989898 20%,
    #fff 40%,
    #fff 60%,
    #989898 80%
  );
  background-size: 200% auto;
  background-clip: text;
  text-fill-color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 1s reverse infinite;
  text-shadow: 0px 0px 50px rgba(0, 0, 0, 1);
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/*

**********

*/

/*

Accordion

*/

.accordion {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 2.55rem;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  padding: 1rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: 0.4s;
  box-shadow: 0px 0px 15px 5px #000000;
  margin: 2rem auto;
  gap: 0.5rem;
}

.accordion-icon {
  display: flex;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.accordion-header.active {
  font-style: italic;
  text-shadow: rgb(0 0 0) 0px 0px 4px;
  border: 2px solid #ffffff;
  background-color: rgb(0, 0, 0);
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 1rem;
  background-color: rgb(0, 0, 0);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  box-shadow: 0px 0px 15px 5px #000000;
  border-radius: 0.25rem;
  border: 2px solid #ffffff;
  margin-top: -2.1rem;
}

.accordion-content p {
  text-shadow: rgb(0 0 0) 0px 0px 4px;
}

.accordion-header-divide {
  color: rgba(255, 255, 255, 0.5);
  border-bottom-style: dotted;
  border-bottom-width: 2px;
  flex-grow: 1;
  min-width: 0.5rem;
  height: 0;
}

/*

**********

*/

@media (max-width: 1441px) {
  .mobile-nav {
    display: none;
  }
}

@media (max-width: 1440px) {
  .mobile-nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 1000px) {
  .nav-button {
    width: 4rem;
    color: transparent;
    user-select: none;
  }

  .iconify-book-now {
    color: white;
    font-size: 2.5rem;
    position: absolute;
  }
}

@media (max-width: 650px) {
  .mobile-nav-hamburger {
    height: 3rem;
    width: 3rem;
  }

  .mobile-nav-hamburger span {
    width: 2rem;
    height: 0.2rem;
  }

  .mobile-nav-hamburger span:nth-child(1) {
    transform: translateY(-10px);
    width: 2rem;
  }

  .mobile-nav-hamburger.active span:nth-child(1) {
    width: 2rem;
    transform: translateY(0px) rotate(45deg);
  }

  .mobile-nav-hamburger span:nth-child(2) {
    transform: translateY(10px);
    width: 2rem;
  }

  .mobile-nav-hamburger.active span:nth-child(2) {
    width: 2rem;
    transform: translateY(0px) rotate(315deg);
  }

  .mobile-nav-hamburger.active span:nth-child(3) {
    transform: translateX(60px);
    width: 2rem;
  }

  .nav-button {
    height: 3rem;
    width: 3rem;
  }

  .iconify-book-now {
    font-size: 2rem;
  }
}

@media (max-width: 410px) {
  .mobile-nav-hamburger {
    height: 2rem;
    width: 2rem;
  }

  .mobile-nav-hamburger span {
    width: 1.5rem;
    height: 0.175rem;
  }

  .mobile-nav-hamburger span:nth-child(1) {
    transform: translateY(-7.5px);
    width: 1.5rem;
  }

  .mobile-nav-hamburger.active span:nth-child(1) {
    width: 1.5rem;
    transform: translateY(0px) rotate(45deg);
  }

  .mobile-nav-hamburger span:nth-child(2) {
    transform: translateY(7.5px);
    width: 1.5rem;
  }

  .mobile-nav-hamburger.active span:nth-child(2) {
    width: 1.5rem;
    transform: translateY(0px) rotate(315deg);
  }

  .mobile-nav-hamburger.active span:nth-child(3) {
    transform: translateX(60px);
    width: 1.5rem;
  }

  .nav-button {
    height: 2rem;
    width: 2rem;
  }

  .iconify-book-now {
    font-size: 1.5rem;
  }
}

@media (max-width: 400px) {
  .accordion {
    width: 100%;
    font-size: 1rem;
  }
}

@media (max-width: 305px) {
  nav {
    grid-template-columns: 1fr 9.75rem 1fr;
    grid-template-rows: 5.875rem;
  }

  .nav-logo {
    height: 9.75rem;
    width: 9.75rem;
  }

  .nav-brand-container {
    height: 9.75rem;
    width: 9.75rem;
  }

  .nav-brand,
  .nav-brand-cont {
    font-size: 1.5rem;
  }

  .nav-brand-cont-2 {
    font-size: 0.5rem;
  }

  .section-first .site-title {
    font-size: 2.75rem;
  }
}
