/* .sticky-top {
  transition: all 0.3s ease-in;
  height: 100px;
}

.stuck .sticky-top {
  height: 60px;
} */

/*Font css configuration*/
@font-face {
  font-family: "Azalea";
  src: url("../fonts/Azalea.6f5c6c0cc44d.woff");
}

.urbanist-bold {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/*arrow on buttons and hover effect on homepage buttons*/
.arrow-button {
  display: flex;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: bold;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.arrow-button > .arrow,
button .arrow {
  width: 0.9rem;
  height: 0.9rem;
  border-right: 3px solid var(--color-foreground);
  border-bottom: 3px solid var(--color-foreground);
  position: relative;
  transform: rotate(-45deg);
  margin: 0 1rem;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.arrow-button:hover > .arrow,
button:hover .arrow {
  transform: rotate(-45deg) translate(6px, 6px);
  border-color: var(--color-dark-green);
}

.arrow-button:disabled > .arrow,
button:disabled .arrow {
  transform: rotate(-45deg);
}

.arrow-button:hover,
.arrow-button:focus {
  background-color: var(--color-foreground);
  color: var(--color-dark-green);
}



/*nav styling*/
.nav-item {
  font-weight: medium;
  font-size: 1.2rem;
}

@media (width > 66.8125rem) {
  .nav-item {
    font-size: 1rem;
  }
}

.nav-item:hover,
.nav-item:focus {
  color: #fce300;
  transition: all 0.3s ease;
}

.logo-animation {
  transition: all 0.2s ease-in-out;
}

.logo-animation:hover {
  transform: scale(1.1);
}

#navbar {
  transition: top 0.3s;
  z-index: 201;
}

#navbar > :first-child,
#navbar > :last-child {
  flex-grow: 1;
  flex-basis: 0;
}

.profile-icon {
  padding: 0;
  background-color: transparent;
  width: 4rem;
  height: auto;
  border-radius: 200%;
  padding: 0.3rem;
  padding-bottom: 0.1rem;
  transition: 0.3s;
}

@media (width < 23.25rem) {
  .profile-icon {
    width: 3.5rem;
  }
}

.profile-icon:hover {
  background-color: #fce300;
  border-radius: 100%;
}

/*For the dot when hovering on a link in the navbar*/
#nav-links {
  position: relative;
}

/*Hamburger sandwich menu*/

#nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  border-radius: 0.5rem;
  align-items: center;
  background-color: var(--color-dark-green);
  padding: 1rem 1.8rem 1rem 1.8rem;
  z-index: 200;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.4rem;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: rgb(255, 255, 255);
  transition: all 0.3s ease-in-out;
  z-index: 202;
  border-radius: 0.5rem;
}

/*Animation handling for the hamburger menu*/

.hamburger.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(13px, 0px);
}

.hamburger.open .bar:nth-child(2) {
  width: 0;
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(135deg) translate(-13px, 0px);
}

@media (width < 71.8125rem) {
  #nav-links {
    gap: 0.8rem;
  }
}

@media (max-width: 66.75rem) {
  .hamburger {
    display: flex;
  }

  #nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 4.1rem 0;
    background-color: var(--color-dark-green);
    text-align: center;
    border-bottom: var(--color-foreground);
    border-width: 0.15rem;
    border-style: solid;
  }

  #nav-links.active {
    position: fixed;
    display: flex;
    flex-direction: column;
  }

  #navbar.under {
    position: fixed;
  }
}

@media (max-width: 47.5625rem) {
  .book-now {
    display: none;
  }

  #big-flag-flex {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 43.625rem) {
  .arrow-button {
    font-size: 1rem;
    padding-inline: 1rem;
  }
}

@media (width < 26.25rem) {
  #home-buttons {
    display: block;
    width: 100%;
  }

  .arrow-button {
    margin-bottom: 1rem;
  }
}

.sidenav {
  position-area: bottom span-left;

  min-width: 20rem;
  width: max-content;
  
  background-color: var(--color-dark-green);
  border: #fce300 solid 2px;
  border-radius: 0.367rem;

  padding-inline: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;

  transition: display 0.5s ease;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 20px;
  font-size: 3rem;
  color: var(--color-close-white);
  padding: 1rem 1rem;
  cursor: pointer;
}

.account-popover-button {
  border: var(--foreground) solid 2px;
  border-radius: 0.375rem;
  color: var(--foreground);
  padding: 1rem;
  justify-content: space-between;
}

/*Carousel styling*/
#carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  background: var(--color-background);
  color: #fff;
}

#carousel .c-scroll {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
  min-width: 100%;
  animation: loop 30s linear infinite;
  /* position: fixed; */
}

@keyframes loop {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.c-item {
  display: flex;
  align-items: center;
  gap: 0 0.2rem;
  padding: 4rem 0.5rem;
  /* margin: 0rem 1rem; */
  white-space: nowrap;
  box-shadow:
    0 0.1rem 0.2rem #00000033,
    0 0.1rem 0.5rem #0000004d,
    0 0.2rem 01.5rem #00000066;
}

.c-item img {
  height: 30rem;
  width: 100%;
  object-fit: contain;
}

@media (width < 62.75rem) {
  .c-item img {
    height: 20rem;
  }

  .c-item {
    padding: 1rem 0.3rem;
  }
}

@media (width < 32.75rem) {
  .c-item img {
    height: 15rem;
  }
}

/*For lessons page*/
/* @media (width > 70rem) {
  .lessons-para {
    max-width: 90%;
  }
} */

@media (width < 65rem) {
  .coach-flex {
    flex-wrap: wrap-reverse;
  }

  .lessons-para {
    padding-right: 2rem;
    max-width: 90%;
  }
}

/*Waivers and policies page*/
.bg-waiver {
  background-position: right;
  background-repeat: no-repeat;
  object-fit: cover;
}

@media (width < 61.0625rem) {
  .bg-waiver {
    background-position: left;
    background-size: cover;
  }
}

/*Contact page*/
@media (width < 63.9375rem) {
  .contact-flex {
    justify-content: center;
  }

  .left-side-contact {
    justify-content: center;
    width: 100%;
    margin-left: 0;
  }

  .right-side-contact {
    margin-right: 0;
    margin-top: 0;
  }
}

.social-media {
  transition: all 0.2s ease-in-out;
}

.social-media:hover {
  transform: scale(1.1);
}

/*FAQ page*/
.plus-icon {
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  margin-left: auto;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-foreground);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Horizontal line */
.plus-icon::before {
  width: 30px;
  height: 2px;
}

/* Vertical line */
.plus-icon::after {
  width: 2px;
  height: 30px;
}

.faq-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  border-bottom-color: var(--color-close-white);
  border-bottom-width: 2px;
  border-bottom-style: solid;
}

.question {
  font-size: 1.4rem;
  margin-right: 7rem;
  padding-block: 2rem;
  cursor: pointer;
}

.answer {
  font-size: 1.4rem;
  margin-right: 7rem;
  padding-block: 2rem;
}

summary {
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: "+ ";
}

details {
  interpolate-size: allow-keywords;
  padding: 0.5rem;
}

/* hidden state */
details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.3s ease-out,
    content-visibility 0.3s ease-out;
  transition-behavior: allow-discrete;
}

/* expanded */
details[open]::details-content {
  block-size: auto;
}

details[open] summary::marker {
  content: "- ";
}

.numbering {
  margin-left: auto;
}

.faq-item {
  border-radius: 0.5rem;
}

.faq-item:hover,
.faq-item:focus {
  background-color: #222722;
  transition: 0.3s;
}

@media (width < 33.25rem) {
  .question {
    margin-right: 2rem;
  }

  .answer {
    margin-right: 1rem;
  }
}

@media (width > 66.8125rem) {
  #nav-links {
    padding-top: 1rem;
  }
}

@media (width > 40rem) {
  #nav-links.active {
    padding-top: 5.2rem;
  }
}

/*Log in page*/

.forgot-password {
  font-size: 1rem;
  transition: 0.5s;
  text-transform: capitalize;
}

.forgot-password:hover {
  text-decoration: underline;
}

tr {
  display: block;
}

#id_password,
#id_username {
  background-color: var(--color-close-white);
  border-radius: 0.375rem;
  margin-block: 1rem;
  padding-block: 0.2rem;
  padding-right: 10rem;
  padding-left: 1rem;
  color: black;
  font-size: 1.1rem;
  border: solid rgb(184, 182, 182) 0.156rem;
  width: 100%;
}

.login-butt {
  border-color: var(--color-foreground);
  border-width: 0.1rem;
  /* text-align: center; */
  margin-top: 1rem;
  text-transform: uppercase;
}

.login-container {
  margin-inline: auto;
}

@media (width < 63.6875rem) {
  .log-in-sub-container {
    width: 100%;
  }
}

@media (width < 52.8125rem) {
  .log-in-container {
    height: auto;
    margin-inline: 0;
  }
}

/*For Register page*/
#id_username_helptext,
#id_password1_helptext,
#id_password2_helptext {
  color: var(--color-close-white);
}

/*booking page*/
.ec-title {
  font-family: "Urbanist";
  color: var(--color-close-white);
}

#submit-id-submit,
#submit-id-login {
  width: 100%;
}

@media (width < 93.1875rem) {
  .booking-container {
    margin-inline: auto;
  }

  #id_display_time,
  #submit-id-submit,
  #submit-id-login,
  #id_bay,
  #id_party_size,
  #id_first_name,
  #id_last_name,
  #id_email,
  #id_phone {
    max-width: 25rem;
  }
}

@media (width < 63.75rem) {
  .booking-container {
    flex-wrap: wrap;
  }

  #schedule {
    min-width: auto;
  }

  #id_display_time,
  #submit-id-submit,
  #submit-id-login,
  #id_bay,
  #id_party_size,
  #id_first_name,
  #id_last_name,
  #id_email,
  #id_phone {
    min-width: auto;
  }

  /* #button-id-login, #submit-id-submit {
    padding-inline: 1rem;
  } */
}

option {
  width: 100%;
}