/* Table of Contents */

/* 01. Fonts */
/* 02. Common Styles */
/* 03. Navigation */
/* 04. Hero */
/* 05. Buttons */
/* 06. Membership */
/* 07. Class Schedule */
/* 08. Media Queries */

/* 01. Fonts */

@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;800&family=Raleway:wght@300;400;700&family=Dosis:wght@200..800&Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

/* 02. Common Styles */

* {
  margin: 0;
  padding: 0;
  border: none;
}

body {
  font-family: Lato, sans-serif;
  font-weight: 300;
  color: #777;
}

html {
  scroll-behavior: smooth;
}

.strong {
  font-weight: 900;
}

.underlined {
  border-bottom: 1px solid #c4262e;
  color: #c4262e;
  padding-bottom: 3px;
  transition: 0.3s ease-in-out;
}

.section {
  width: 100%;
  margin: 0 auto;
  display: block;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  box-sizing: border-box;
  padding: 100px 0px;
}

.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
}

@keyframes fadeIn {
  0% {
    opacity:0
  }
  to {
    opacity:1
  }
}

/* 03. Navigation */

#nav-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: 0.5s ease-in-out;
}

#nav-bar.scroll {
  height: 35px;
  background: #fff;
  box-shadow: 0px 10px 30px rgba(37, 37, 49, 0.1);
  transition: 0.5s ease-in-out;
}

#nav-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding-right: 15px;
}

#nav-menu > li {
  overflow: hidden;
  padding: 10px 15px;
  z-index: inherit;
}

#nav-toggle {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: #dcdcdc;
  font-size: 11.5px;
  letter-spacing: 2px;
  transition: 0.3s ease-in-out;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  transition: 0.3s ease-in-out;
}
.nav-link.black:hover
.nav-link:not(:hover),
.nav-link:not(:active) {
  transition: 0.3s ease-in-out;
}

.mobile-nav-link,
.nav-link.black {
  transition: 0.3s ease-in-out;
  color: #696969;
}

.mobile-nav-link.active,
.nav-link.black.active {
  color: #000;
  transition: 0.3s ease-in-out;
}

.mobile-nav-link:hover,
.nav-link.black:hover {
  transition: 0.3s ease-in-out;
  color: #000;
}

.mobile-nav-link:not(:hover),
.nav-link.black:not(:hover) {
  transition: 0.3s ease-in-out;
}

.mobile-nav-link.active:after {
  transition: 0.3s ease-in-out;
  width: 100%;
  left: 0;
}

.mobile-nav-link:after,
.nav-link.black:after {
  background: none repeat scroll 0 0 transparent;
  bottom: -2px;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  position: relative;
  background: #c4262e;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.mobile-nav-link:hover:after,
.nav-link.black:hover:after {
  width: 100%;
  left: 0;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
}

.mobile-nav-link {
  text-decoration: none;
  color: #696969;
  font-size: clamp(0.9rem, 0.68rem + 1.09vw, 1.2rem);
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.3;
  transition: 0.3s ease-in-out;
}

#logo {
  z-index: 5;
}

#white-nav-logo {
  position: absolute;
  height: 35px;
}

#black-nav-logo {
  height: 35px;
}

#black-nav-logo.transparent,
#white-nav-logo.transparent {
  opacity: 0;
  transition:opacity 0.5s ease-in-out;
}

#black-nav-logo.mobile-nav {
  opacity: 1;
  pointer-events: auto;
  transition:opacity 0.5s ease-in-out;
}

#logo.mobile-nav {
  pointer-events: auto;
  z-index: 6;
}

#nav-items {
  display: flex;
  flex-direction: row;
  padding-right: 5px;
}

#nav-icons {
  margin-right: 5px;
  display: flex;
  align-items: center;
  list-style-type: none;
}

#nav-items .nav-icon,
#mobile-nav-icons a {
  width: 34px;
  height: 34px;
  line-height: 33px;
  text-align: center;
  font-size: 12.5px;
  display: inline-block;
  border: 1px solid rgba(255,255,255, .2);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

 #nav-items .nav-link.black .nav-icon {
  border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  transition: 0.3s ease-in-out;
}

#nav-items #nav-icons .nav-link {
  font-size: 12.5px;
  letter-spacing: 0;
}

#nav-items .nav-icon:hover {
  border: 1px solid rgba(255,255,255, .4);
  transition: 0.3s ease-in-out;
}

 #nav-icons .nav-link.black::after {
  display: none;
 }

 #nav-items .nav-link.black .nav-icon:hover {
  border: 1px solid rgba(0, 0 , 0, 1);
  transition: 0.3s ease-in-out;
 }

#nav-icons a:first-child {
  margin-right: 7.5px;
}

/* 04. Hero */

#hero-image {
  height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(34, 34, 34, 0.8), rgba(34, 34, 34, 0.8)), url("../img/hero/hero.jpg") no-repeat center center;
  background-size: cover;
  z-index: 0;
}

#hero-image-small {
  height: 40vh;
  width: 100%;
  background: linear-gradient(rgba(34, 34, 34, 0.8), rgba(34, 34, 34, 0.8)), url("../img/hero/hero.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
  background-position: 50% 39%;
  z-index: 0;
}

#location {
  position: absolute;
  height: 40vh;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 0;
}

#location h1 {
  font-family: Dosis;
  color: #dcdcdc;
  font-size: 350%;
  letter-spacing: 25px;
  font-weight: 400;
  z-index: 0;
  text-transform: uppercase;
}

#hero-logo {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
}

#hero-logo img {
  height: 13.5%;
}

#hero-logo > .button {
  position: relative;
  top: 3.8%;
  border-radius: 0;
}

#location {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 0;
}

#hero-location {
  text-align: center;
  margin-bottom: 15px;
  color: rgba(255,255,255, .7);
  position: relative;
  font-size: clamp(0.75rem, 0.65rem + 0.54vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.2;
  opacity: 1;
  font-family: Dosis, arial, sans-serif;
  text-transform: uppercase;
}

#hero-logo ul {
  position: relative;
  margin-top: 30px;
  z-index: 1;
  gap: 40px;
  display: flex;
  flex-direction: row;
}

#hero-logo p {
  color: rgba(255,255,255, .9);
  margin-top: 30px;
  font-weight: 400;
}

#hero-logo ul li {
  position: relative;
  display: inline-block;
  color: rgba(255,255,255, .9);
  padding-left: 34px;
  font-weight: 400;
}

#hero-logo  ul li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  font-size: 20px;
  color: rgba(255,255,255, .9);
  display: inline-block;
  line-height: normal;
  position: absolute;
  left: 0;
}

/* 05. Buttons */

button {
  cursor: pointer;
}

.button,
.button > a {
  display: inline-block;
  color: #111;
  background: #e5e5e5;
  padding: 13px 44px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
  transition: 0.5s ease-in-out;
}

.button:hover,
.button:focus {
  color: #111;
  background: #fff;
  transition: 0.5s ease-in-out;
}

.button:not(:hover),
.button:not(:focus) {
  transition: 0.5s ease-in-out;
}

.button-dark {
  font-size: 11px;
  cursor: pointer;
  display: inline-block;
  color: #fff;
  background: #424242;
  border: 2px solid transparent;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0px;
  box-sizing: border-box;
}

button-dark:not(:hover), .button-dark:not(:focus) {
  transition: 0.5s ease-in-out;
}

.button-dark:hover, .button-dark:focus {
  color: #fff;
}

/* 06. Membership */

#membership {
  display: flex;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

#membership .text-title,
.text-title {
  margin: 0px 0 50px 0px;
  color: #595959;
  display: flex;
  text-transform: none;
  font-family: var(--font);
  font-size: 22px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0;
  justify-content: center;
}

#membership-comparisons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

.pricing-plan {
  box-sizing: border-box;
}

.pricing-type-inner {
  border: 1px solid #AAA;
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.pricing-type-inner:hover {
  border-color: #555;
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.pricing-wrap {
  position: relative;
  box-sizing: border-box;
  padding: 30px 30px;
  overflow: hidden;
}

.font-icon {
  padding: 10px 0 10px 0;
  position: relative;
  font-size: 32px;
  z-index: 1;
  color: #3C3C3C;
}

.pricing-title {
  position: relative;
  margin-bottom: 40px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 1;
  color: #111;
  font-family: Raleway;
}

.pricing-features {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.pricing-list {
  margin: 0 -20px 19px;
  padding: 0;
  color: #8F8F8F;
  font-size: 12.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: Raleway;
  line-height: 20px;
}

.pricing-list li:first-child {
  border-top: 1px solid #f1f1f1;
}

.pricing-list li {
  padding: 12px 20px;
  list-style: none;
  border-bottom: 1px solid #f1f1f1;
  letter-spacing: 1px;
}

.pricing-button {
  margin: 30px -20px 0;
  padding-top: 30px;
  border-top: 1px solid #f1f1f1;
}

.pricing-button .button-dark {
  font-size: 11px;
  padding: 7.5px 21px;
}

.pricing-days {
  font-size: 22px;
  font-weight: 300;
  padding-bottom: 5px;
  color: #3C3C3C;
}

.pricing-per-week {
  font-weight: 300;
  line-height: 1;
  text-transform: lowercase;
  color: #8F8F8F;
  font-size: 14px;
}

/* 07. Class Schedule */

.class-schedule {
  display: grid;
  justify-content: center;
  list-style: none;
  grid-template-columns: 250px 250px 250px;
  gap: 25px;
}

.class {
  display: flex;
  flex-direction: column;
  border: 1px solid #AAA;
  padding: 25px;
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.class:hover {
  border-color: #555;
  transition: all 0.27s cubic-bezier(0.000, 0.000, 0.580, 1.000);
}

.class .font-icon {
  display: flex;
  justify-content: center;
}

.class-title {
  text-align: center;
  height: 60px;
  padding-bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 10px;
}

.class-title h3 {
  position: relative;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  z-index: 1;
  color: #111;
  font-family: Raleway;
  width: 185px;
}

.class-times {
  height: fit-content;
}

.class-details {
  list-style: none;
  max-width: 250px;
}

.class-details li {
  padding: 10px;
  border-bottom: 1px dashed #ccc;
  color: rgba(143, 143, 143, 1);
  font-size: 12.5px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: Raleway;
  line-height: 20px;
  background: rgba(233, 233, 233, 0);
  transition:background 0.3s ease-in-out;
}

.class-details li:hover {
  background: rgba(233, 233, 233, 0.5);
  transition:background 0.3s ease-in-out;
}

.class-details li a {
  text-decoration: none;
  color: #444;
  width: 100%;
  height: 100%;
  display: block;
}

.class-time {
  font-size: 14px;
  color: #c4262e;
}

/* 08. Mobile Queries */

@media (max-width: 1220px) {
  #membership-comparisons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 990px) {

  #nav-menu {
    display: none;
  }

  #nav-items {
    display: none;
  }

  #mobile-nav-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    align-items: center;
    z-index: 5;
  }

  #mobile-nav-icons {
    display: flex;
    flex-direction: row;
    position: absolute;
    bottom: 30px;
    visibility: hidden;
    color: #;
  }

  :root {
    --screen-width: 320px;
  }

  #nav-toggle {
    display: inline-block;
    position: absolute;
    z-index: 10;
    padding: 0;
    background: transparent;
    outline: 0;
    right: 15px;
    top: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.15s linear;
    background-color: rgba(0, 0, 0, .5);
  }

  #nav-toggle:hover, #nav-toggle:focus {
    background-color: rgba(0, 0, 0, .5);
  }

  .nav-item {
    padding: 1rem;
    opacity: 0;
    list-style: none;
    transition: all 0.3s cubic-bezier(0, 0.995, 0.99, 1) 0.3s;
  }

  .nav-item:nth-child(1) {
    transform: translateY(-40px);
  }

  .nav-item:nth-child(2) {
    transform: translateY(-80px);
  }

  .nav-item:nth-child(3) {
    transform: translateY(-120px);
  }

  .nav-item:nth-child(4) {
    transform: translateY(-160px);
  }

  .nav-item:nth-child(5) {
    transform: translateY(-200px);
  }

  .nav-link {
    color: black;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.25rem;
    text-decoration: none;
    padding: 1rem;
  }

  .nav-link:hover, .nav-link:focus {
    outline: 0;
    background-color: rgba(0, 0, 0, 0.2);
  }

  #mobile-nav-icons a {
    color: #696969;
  }

  #mobile-nav-icons a {
    height: 40px;
    width: 40px;
    border: 1px solid #b0b0b0;
    font-size: 17.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  #mobile-nav-icons a:first-child {
    margin-right: 10px;
  }

  #mobile-nav-icons a:hover {
    border: 1px solid #696969;
  }

  .menuicon {
    display: block;
    cursor: pointer;
    color: white;
    transform: rotate(0deg);
    transition: 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .menuicon-bar, .menuicon-circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
  }

  .menuicon-bar {
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    transition: transform 0.25s ease-in-out;
  }

  .menuicon-circle {
    transition: stroke-dashoffset 0.3s linear 0.1s;
    stroke-dashoffset: 144.513262038;
    stroke-dasharray: 144.513262038;
  }

  #splash {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 1px;
    height: 1px;
  }

  #splash::after {
    content: "";
    display: block;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    width: 284vmax;
    height: 284vmax;
    top: -142vmax;
    left: -142vmax;
    transform: scale(0);
    transform-origin: 50% 50%;
    transition: transform 0.5s cubic-bezier(0.755, 0.05, 0.855, 0.06);
    will-change: transform;
  }

  .nav:target > #splash::after, .nav--open > #splash::after {
    transform: scale(1);
  }

  .nav:target .menuicon, .nav--open .menuicon {
    color: white;
    transform: rotate(180deg);
  }

  .nav:target .menuicon-circle, .nav--open .menuicon-circle {
    stroke-dashoffset: 0;
  }

  .nav:target .menuicon-bar:nth-child(1), .nav--open .menuicon-bar:nth-child(1), .nav:target .menuicon-bar:nth-child(4), .nav--open .menuicon-bar:nth-child(4) {
    opacity: 0;
  }

  .nav:target .menuicon-bar:nth-child(2), .nav--open .menuicon-bar:nth-child(2) {
      transform: rotate(45deg);
  }

  .nav:target .menuicon-bar:nth-child(3), .nav--open .menuicon-bar:nth-child(3) {
      transform: rotate(-45deg);
  }

  .nav:target #mobile-nav-menu, .nav--open #mobile-nav-menu,
  .nav--open #mobile-nav-icons {
      visibility: visible;
  }

  .nav:target .nav-item, .nav--open .nav-item {
      opacity: 1;
      transform: translateY(0);
  }

  #nav-bar a:hover,
  #nav-bar a.active {
    color: #000;
    transition: 0.3s ease-in-out;
  }

  #nav-bar a:not(:hover),
  #nav-bar a:not(:active) {
    transition: 0.3s ease-in-out;
  }

  #logo {
    margin-left: 0;
    pointer-events: none;
  }

  #white-nav-logo {
    opacity: 0;
  }

  #black-nav-logo {
    opacity: 0;
    margin-left: 0px;
    transition:opacity 0.5s ease-in-out;
  }

  #nav-bar.scroll {
    height: 50px;
    background: transparent;
  }

  #nav-menu > li {
    overflow: hidden;
    padding: 10px 0px 0px 0px;
    margin-right: 0px;
    z-index: inherit;
   }

  #hero-logo img {
    height: 10%;
    padding-bottom: 12.5px;
  }

  #nav-bar.scroll {
    box-shadow: none;
  }

  .class-schedule {
    grid-template-columns: 250px 250px;
  }
}

@media (max-width: 768px) {
  #hero-image-small,
  #location {
    height: 30vh;
  }

  #location > h1 {
    font-size: 180%;
    letter-spacing: 15px;
  }

  #membership-comparisons {
    grid-template-columns: 1fr;
  }

  .column-container {
    width: 90%;
  }
}

@media (max-width: 641px) {
  .class-schedule {
    grid-template-columns: 250px;
  }
}

@media (max-width: 600px) {
  #hero-logo ul {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  #hero-logo > h1 {
    width: 70%;
    text-align: center;
  }

  #hero-image-small,
  #location {
    height: 20vh;
  }

  #location > h1 {
    font-size: 130%;
    letter-spacing: 15px;
  }
}

@media (max-width: 450px) {
  #hero-logo p {
    padding: 0 50px;
    text-align: center;
  }
}
