/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
  margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
  display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
  background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
  font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
  font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
  border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
  vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
  overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type='checkbox'],
[type='radio'] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
  display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
  display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
  display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
  display: none;
}

/* ---------------------------------------------------------------------------------- */

body {
  color: #393939;
  font-family: 'Lato', Lato, 'helvetica neue', helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.02em;
  width: 100%;
}

html {
  /* font-size: 10pxs; */
}

a {
  text-decoration: none;
  color: #393939;
}

button {
  cursor: pointer;
}

.slide-menu .hidden {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  background-color: white;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.15);
}

nav .fa-bars {
  /* padding-right: 1em; */
  display: none;
}

nav a {
  font-weight: 600;
  padding: 0 10px;
  transition: 0.15s ease-in-out;
}

nav a:hover {
  transition: 0.15s ease-in-out;
  opacity: 0.6;
}

.left {
  display: flex;
  align-items: center;
}

.left img {
  height: 40px;
  padding: 5px 15px;
  padding-bottom: 0;
}

.header,
.features {
  background-color: rgb(247, 248, 250);
}

.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 3em;
  padding-bottom: 3em;
}

.header h1 {
  font-size: 54px;
  color: #393939;
}

.header p {
  color: #393939;
  font-size: 1.3em;
  opacity: 0.6;
  text-align: center;
  max-width: 60em;
}

.header a,
.links button {
  background-color: #0b6bfe;
  border-color: #0b6bfe;
  color: white;
  padding: 0.8em 1.8em;
  line-height: 1.4em;
  font-size: 18px;
  border-radius: 4px;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.header a:hover,
.links button:hover {
  opacity: 0.87;
}

.features {
  display: flex;
  /* margin: 3em; */
  padding: 3em;
}

.features h3 {
  border: 0;
  margin: 0;
}

.features-left {
  width: 100%;
}

.features-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.5em;
}

.features-right span {
  padding: 0.5em 1.5em;
  width: 50%;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;
}

.features-right span h3 {
  text-transform: uppercase;
}

.features-right span:hover,
.features-right span:focus {
  background-color: rgba(255, 255, 255, 0.5);
}

.features-image {
  border-radius: 5px;
}

.features img {
  border-radius: 5px;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
}

.features-items.white {
  background-color: white;
}

.features-right .hidden {
  display: none;
}

.premise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.premise h2 {
  font-size: 3.5em;
  margin-bottom: 0;
}

.premise h4 {
  font-size: 1.5em;
  font-weight: 300;
  margin-top: 0.5em;
}

.premise .mobile {
  display: none;
}

.success {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  margin-top: 5em;
}

.success p {
  font-size: 1.3em;
  font-weight: 300;
  opacity: 0.6;
  padding-top: 1em;
}

.yelp {
  margin-bottom: 3em;
}

.yelp-container {
  width: 500px;
  min-height: 250px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 1em 1em 1em;
}

.yelp-container p {
  text-align: center;
  font-weight: 600;
  font-size: 1.3em;
  max-width: 50%;
}

.yelp-container span {
  color: rbg(57, 57, 57);
}

.yelp-container span:first-of-type {
  font-size: 1.3em;
}

.carousel {
  padding: 1em 2em;
  background-color: rgba(0, 0, 0, 0.8);
  margin-bottom: 5em;
}

.carousel img {
  padding: 0 1em;
}

.links {
  margin: auto;
  width: 50%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.links a {
  color: white;
}

.links > div > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.links i {
  color: #393939;
}

.links i:hover,
.links span:hover {
  opacity: 0.87;
}

.location,
.schedule {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 3.125em;
  margin-bottom: 3em;
}

.location span,
.schedule span {
  color: rgb(57, 57, 57);
  font-weight: 600;
  font-size: 0.75em;
  margin: 0.5em 0 1em 0;
}

.hidden {
  display: none;
}

/* Schedule Page */

.schedule-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 5em;
}

.schedule-main .hours h2,
.schedule-main .holidays h2 {
  font-size: 2.5em;
  text-decoration: underline;
  text-transform: uppercase;
  text-align: center;
}

.schedule-main .hours ul,
.schedule-main .holidays ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
  list-style: none;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5em;
}

.schedule-main .holidays {
  margin-bottom: 3em;
}

.schedule-image img {
  object-fit: scale-down;
  width: 100%;
}

.price {
  margin-bottom: 3em;
}

.price p {
  color: rgb(30, 115, 190);
  font-size: 1.25em;
  font-weight: 600;
  text-align: center;
  padding: 0;
  margin: 0;
}

.new p {
  font-size: 1.5em;
  font-weight: 600;
}

.signin {
  margin: 2em 4em;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.signin > div {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.signin .left h3,
.signin .right h3 {
  text-decoration: underline;
}

.signin .left p,
.signin .right p {
  text-align: center;
  font-size: 1em;
}

.signin .left button {
  background-color: #0dccee;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-size: 0.9em;
}

.signin .left button a {
  color: white;
}

.app-buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.app-buttons img {
  height: 50px;
}

.instagram {
  padding-top: 3em;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.upcoming-events h1 {
  text-align: center;
  margin: 3em 0 1em;
}

.class-schedule {
  text-align: center;
  background-color: rgb(30, 115, 190);
  color: white;
  font-size: 1.25em;
  padding: 0.5em 0 1.5em;
}

.class-schedule a,
.event a {
  color: white;
  background-color: #0b6bfe;
  font-size: 0.75em;
  font-weight: 400;
  padding: 0.75em 1.25em;
  border-radius: 4px;
  margin-bottom: 1em;
}

.events {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1em;
}

.event {
  width: 60%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1em 4em;
}

.event:nth-of-type(odd) {
  background-color: #c9c9c9;
}

.event div {
  width: 50%;
}

.event a {
  font-size: 1em;
  margin: 2em;
  width: fit-content;
  display: block;
  text-align: center;
}

.event img {
  width: 75%;
}

.event h2 {
  font-size: 3.5em;
  font-weight: 600;
  line-height: 1.25;
}

.event p {
  font-size: 1.75em;
  line-height: 1;
  color: #393939;
  font-weight: 300;
  margin: 0;
}

.find {
  padding: 4em 0;
}

.find > div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.find .map {
  margin-bottom: 2em;
}
.find .video {
  width: 80%;
  height: 60vh;
}

@media screen and (max-width: 767px) {
  .premise img {
    width: 100%;
  }
  nav {
    height: 60px;
    width: 100vw;
    /* position: relative; */
  }

  nav .fa-bars {
    display: block;
    position: absolute;
    right: 1em;
  }

  nav .left a,
  nav .right a {
    display: none;
  }
  nav .left a:first-child {
    display: block;
    height: 40px;
  }

  nav .left img {
    padding: 0;
  }

  .slide-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 10;
    height: 100%;
    width: 100%;
    background-color: white;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    font-weight: 300;
    font-size: 2em;
    gap: 1em;
    transition: ease-in-out 0.5s;
    transform: translateX(0%);
    overflow: hidden;
    position: fixed;
  }

  .hidden {
    /* visibility: hidden; */
    /* display: none; */
    transition: ease-in-out 0.5s;
    transform: translateX(100%);
  }
  .slide-menu i {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    font-size: 0.75em;
    cursor: pointer;
  }

  main {
    background-color: rgb(247, 248, 250);
    padding: 0 2em;
  }

  .header h1 {
    font-size: 2.5em;
    margin-top: 2em;
    margin-bottom: 0;
  }

  .header p {
    font-size: 1.2em;
    margin-bottom: 2.5em;
  }

  .features {
    padding: 0;
    flex-direction: column;
  }

  .features-right span {
    width: 100%;
    padding: 1em 0;
  }

  .features-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding: 0 1em; */
  }

  .features-items p {
    padding: 0 1em;
  }

  .premise h2 {
    font-size: 2em;
    text-align: center;
  }

  .premise h4 {
    font-size: 1.25em;
  }

  .premise .desktop {
    display: none;
  }

  .premise .mobile {
    display: block;
  }

  .success p {
    font-size: 1.25em;
    text-align: center;
    padding: 0 1em;
  }

  .yelp-container p {
    max-width: 100%;
  }

  .links {
    flex-direction: column;
    width: auto;
  }

  .schedule-main .hours h2,
  .schedule-main .holidays h2 {
    font-size: 1.5em;
  }

  .new p {
    text-align: center;
  }

  .signin {
    flex-direction: column;
    margin: 0;
  }

  .signin .left {
    margin-bottom: 2em;
  }

  .signin .left,
  .signin .right {
    width: 100%;
  }

  .signin .left h3,
  .signin .right h3 {
    margin-bottom: 0;
  }

  .signin .left p,
  .signin .right p {
    font-size: 1.25em;
  }

  .app-buttons {
    flex-direction: column;
    margin: 1em 0;
  }

  .upcoming-events {
    padding: 0;
  }

  .upcoming-events h1 {
    margin: 0;
    padding: 3em 0 1em;
  }

  .class-schedule {
    padding: 0.5em;
    padding-bottom: 1em;
  }

  .class-schedule p {
    font-size: 0.9em;
  }
  .event {
    flex-direction: column;
    padding: 1em 1em;
    width: 80%;
  }

  .event div {
    width: 100%;
    text-align: center;
  }

  .event h2 {
    font-size: 2em;
  }

  .event p {
    font-size: 1.25em;
    padding-bottom: 1em;
  }

  .event a {
    font-size: 1em;
  }

  .find {
    padding: 4em 1em;
  }

  .find .map {
    width: 100%;
  }

  .find .video {
    width: 100%;
    height: 50vh;
  }
}
