/* Site by Patrick Walters */
/* Designed and built in the spring of 2020 */
/* Variables */
:root {
  --body-bg-color: #ffffff;
  --body-bg-background-image: url("../images/white-bg.jpg");
  --drop-shadow: 0 13px 27px -5px rgba(50,50,93,.25),0 8px 16px -8px rgba(0,0,0,.3),0 -6px 16px -6px rgba(0,0,0,.025);
  --mobile-menu-button-bg: #4a148c;
  --mobile-menu-button-text: #FFFFFF;
  --transition-time: .2s;
  --svg-primary-color: brightness(0) saturate(100%) invert(15%) sepia(86%) saturate(611%) hue-rotate(157deg) brightness(95%) contrast(94%);
  --service-link-color: #ffffff;
  --teacher-link-bg: #1982B6;
  --student-link-bg: #B82020;
  --status-link-bg: #5F6F7B;
  --initialTextColor: #FFFFFF;
  --slideTextColor: #FFFFFF;
  --teacher-initialBgColor: #1e88e5;
  --teacher-slideBgColor: #42a5f5;
  --student-initialBgColor: #e53935;
  --student-slideBgColor: #ef5350;
  --status-initialBgColor: #9e9e9e;
  --status-slideBgColor: #bdbdbd;
  --mobile-nav-bg: rgba(255,255,255,.9);
  --mobile-help-button-bg: rgb(183, 28, 28);
}

[data-theme=dark] {
  --body-bg-color: #212121;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  scroll-behavior: smooth;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  font-size: 16px;
  line-height: 1;
  font-family: "Source Sans Pro", sans-serif;
  color: #131A24;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  padding: 0.75em 1.75em;
  text-transform: uppercase;
  border: none;
  border-bottom: 2px solid #b71c1c;
  background: #e63946;
  color: #fff;
  border-radius: 5px;
}
button:active {
  border-bottom: none;
  transform: translate(0px, 2px);
}

section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1em 0;
}

.container {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-wrap: wrap;
  padding: 1em;
}

.hero {
  height: 60vh;
  background: url("../images/trail-running-p-1600.jpeg");
  background-repeat: no-repeat;
  background-size: cover;
}
.hero .container {
  background: url("../images/SteveSinko-WordMark-OnWhite-TransparentBG.svg");
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: 50%;
}

nav {
  display: flex;
  justify-content: space-between;
  height: 70px;
  align-items: center;
  width: 100%;
}
nav a {
  text-decoration: none;
  margin-left: 20px;
  text-transform: uppercase;
  color: #1d3557;
  font-weight: bold;
  padding: 0.5em 0.5em;
}
nav a:hover {
  color: #e63946;
  color: #fff;
  transition: 0.3s;
  background: rgba(29, 53, 87, 0.8);
  padding: 0.5em 0.5em;
  border-radius: 10px;
}

.main-menu {
  display: none;
}

.logo {
  width: 200px;
}

h1 {
  font-size: 3em;
  width: 100%;
  font-family: "Libre Baskerville", serif;
  color: rgba(255, 255, 255, 0);
  display: none;
}

h2 {
  width: 100%;
  font-size: 2em;
  text-align: center;
  margin: 1em 0;
  font-family: "Libre Baskerville", serif;
  color: #1d3557;
}

h3 {
  width: 100%;
  font-size: 1.75em;
  font-family: "Libre Baskerville", serif;
  color: #1d3557;
}

p {
  font-size: 1.1em;
  line-height: 1.4em;
  margin: 0 0 1em 0;
}

.coaching {
  border-top: 10px solid #e63946;
}

.about {
  background: #f1faee;
  background-image: url("../images/Sun-Tornado-1.svg");
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 10px solid #cee4c7;
}
.about .container {
  justify-content: center;
}

.image-side {
  width: 100%;
  margin-bottom: 1em;
}
.image-side img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.text-side {
  width: 100%;
  max-width: 760px;
}

.awards {
  border-top: 10px solid #eee;
}

ul li {
  font-size: 1.1em;
  line-height: 2em;
}

.cert-icon::before {
  display: inline-block;
  content: url("../images/file-certificate-solid.svg");
  width: 20px;
  margin-right: 10px;
}

.award-icon::before {
  display: inline-block;
  content: url("../images/medal-solid.svg");
  width: 20px;
  margin-right: 10px;
}

.testimonials {
  background: #1d3557;
  background-image: url("../images/blue-runner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  border-top: 10px solid #0D1928;
  color: #fff;
  width: 100%;
}
.testimonials h2 {
  color: #fff;
}
.testimonials .container {
  display: flex;
  justify-content: space-between;
}

.testimonial-holder {
  width: 100%;
  margin: 2em 0;
}
.testimonial-holder q {
  font-family: "Libre Baskerville", serif;
  font-size: 1em;
  line-height: 1.5em;
}
.testimonial-holder q::before {
  display: inline-block;
  content: url("../images/quote-left-solid.svg");
  width: 20px;
  margin-right: 10px;
  opacity: 0.5;
}
.testimonial-holder q::after {
  display: inline-block;
  content: url("../images/quote-right-solid.svg");
  width: 20px;
  margin-left: 10px;
  opacity: 0.5;
}

.testimonial-from {
  text-align: right;
  font-size: 1.5em;
  margin-top: 1em;
  color: rgba(255, 255, 255, 0.7);
}
.testimonial-from::before {
  content: "-";
}

.contact {
  background: #E53845;
  border-top: 10px solid #bb000e;
  color: #fff;
}
.contact h2 {
  color: #fff;
}

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

.typeform-widget {
  width: 100%;
}

footer {
  background: #1d3557;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 100px;
}
footer .container {
  justify-content: space-between;
  align-items: center;
}

.social-container {
  width: 100px;
  display: flex;
  justify-content: space-between;
}

.footer-logo {
  width: 200px;
}

.social-icon {
  width: 35px;
}

.rounded-image {
  border-radius: 15px;
}

#mobile-menu {
  width: 75%;
  max-width: 300px;
  background: rgba(29, 53, 87, 0.95);
  height: 100vh;
  position: fixed;
  right: -700px;
  top: 0;
  transition: all 0.3s cubic-bezier(0.83, 0, 0.17, 1);
}
#mobile-menu h3, #mobile-menu a {
  width: 100%;
  display: block;
  text-align: center;
  line-height: 2.5em;
}
#mobile-menu h3 {
  color: #fff;
  margin-top: 1em;
}
#mobile-menu a {
  color: #f1faee;
  text-transform: uppercase;
  text-decoration: none;
}
#mobile-menu span {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 2em;
}

.mobile-open-button {
  position: fixed;
  top: 50px;
  right: 30px;
}

@media screen and (min-width: 600px) {
  .image-side {
    width: 200px;
  }

  .testimonial-holder {
    width: 45%;
    max-width: 600px;
  }

  .hide-medium {
    display: none;
  }
}
@media screen and (min-width: 768px) {
  .about .container {
    justify-content: space-between;
  }

  .hero .container {
    background-position: center right;
  }
}
@media screen and (min-width: 1000px) {
  .main-menu {
    display: block;
  }

  .mobile-open-button {
    display: none;
  }
}
@media screen and (min-width: 1040px) {
  .hide-medium {
    display: block;
  }
}
