body, html {
  scroll-behavior: smooth;
}

hr {
  border: 0;
  border-top: 1px solid #111;
}

@media screen and (max-width: 768px) {
  hr {
    margin: 0 30px;
  }
}

section {
  background-size: cover;
  padding: 100px 0;
  position: relative;
  background-position: center;
}

@media screen and (max-width: 768px) {
  section {
    padding: 10px 0;
  }
}

@media screen and (max-width: 768px) {
  header {
    height: 140px;
  }
}

header .col.header--logo {
  max-width: 200px
}

@media screen and (max-width: 960px) {
  header .col.header--logo {
    max-width: 150px
  }
}

.header--logo-link {}

.header--logo-image {
  width: 100%;
  height: auto;
}

.facebook-link {
  margin-left: 25px
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 100px);
  box-sizing: border-box;
}

.hero--tagline {
  text-align: center;
  color: white;
  font-size: 56px;
  line-height: 1.1;
  display: flex;
  justify-content: center;
  align-items: center;
    font-family: 'FF Enzo',
    Helvetica,
    sans-serif;

}

.circle {
  background-color: rgba(167, 206, 191, 0.60);
  border-radius: 100%;
  width: 380px;
  height: 380px;
}

.arrow {
  position: absolute;
  bottom: 40px;
  display: inline-block;
  width: 35px;
  height: 35px;
  border-top: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(135deg);
}

@media screen and (max-width: 768px) {
  .hero {
    height: calc(100vh - 140px);
  }
}

@media (max-aspect-ratio: 3/4) and (min-width:768px) {
  .hero {
    height: calc(70vh - 140px);
  }
}

@media screen and (max-width: 768px) {
  .hero--tagline {
    font-size: 42px
  }
  .circle {
    width: 290px;
    height: 290px;
  }
  .arrow {
    width: 25px;
    height: 25px;
  }
}

header .row {
  padding-top: 15px;
  padding-bottom: 15px;
}

.col--headline {
  text-align: center;
  margin-bottom: 15px;
}

.offers-row {
  border-top: 1px solid currentColor;
  padding-top: 10px !important;
}

@media screen and (max-width: 768px) {
  .offers-row .col {
    flex-basis: unset;
  }
}

.offers-list {
  list-style: none;
  line-height: 1.1;
}

.current-courses h2 {
  border-bottom: 1px solid currentColor;
  padding-bottom: 20px;
}

.current-courses+a.button {
  margin-top: 20px;
}

.course {
  display: flex;
  border-bottom: 1px solid currentColor;
  padding-bottom: 20px;
  margin-top: 10px;
}

.course .title {
  flex-grow: 1;
  width: 60%;
  line-height: 1.1;
  padding-right: 20px;
}

.current-times {
  width: 40%
}

.current-times ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.current-times li {
  margin-bottom: 10px;
  font-style: normal;
  font-size: 16px;
  line-height: 1.2;
}

a.button {
  margin: 0 auto;
  display: block;
  padding: 0px;
  font-size: 24px;
  color: inherit;
  /* transition: 1s padding ease-out, 1s;
  animation-fill-mode:forwards; */
  text-decoration: underline;
    font-family: 'FF Enzo',
    Helvetica,
    sans-serif;

}

a.button:hover {
  text-decoration: none;
}

.toTopButton {
  text-decoration: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 160px;
  height: 50px;
  text-align: center;
  line-height: 1;
  margin-top: 40px;
}

.toTopButton span.top_arrow {
  display: block;
  width: 100%;
}

.toTopButton:hover span.text {
  text-decoration: underline;
}

/* .toTopButton:before {
  content:'';
  width: 0;
  height: 0;
  display: inline;
  float:left;
  position: relative;
  border: 10px solid transparent;
  border-bottom-color: black;
} */

a.button.centered {
  text-align: center;
}

a.button:after {
  content: '→';
  display: inline-block;
  padding-left: 10px;
}

a.button:hover:after {
  /* animation: mvbtn 2s infinite; */
}

@keyframes mvbtn {
  0% {
    padding-left: 10px;
  }
  100% {
    padding-left: 20px;
  }
}

.background-image {
  min-height: 100vh;
}

@media screen and (max-width: 768px) {
  .background-image {
    min-height: 70vh;
  }
}

/* this keeps portrait images in the middle and landscape img fill the col */

picture, figure {
  display: block;
  width: 100%;
}

article.blog-entry {
  font-size: 18px;
  font-family: 'FF Enzo',
  Helvetica,
  sans-serif;
}

article.blog-entry figure {
  height: 300px;
  margin-bottom: 10px;
}

picture img, figure img {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  /* max-height: 60vh; */
  object-fit: cover;
  width: 100%;
}

.single-course {
  margin-bottom: 150px;
}

.single-course:last-child {
  margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
  .single-course {
    margin-bottom: 90px;
  }
  .single-course:last-child {
    margin-bottom: 50px;
  }
}

.single-course h2 {
  margin-bottom: 30px;
}

.single-course-times {
  display: flex;
  border-top: 1px solid currentColor;
  margin-top: 33px;
  padding-top: 6px;
  padding-bottom: 30px;
}

.single-course-day {
  padding-right: 60px;
}

@media screen and (max-width: 768px) {
  .single-course-day {
    padding-right: 30px;
  }
}

ul.footer-nav {
  list-style: none;
  display: flex;
  justify-content: space-around;
  width: 40%;
  margin: 0 auto;
    font-family: 'FF Enzo',
    Helvetica,
    sans-serif;

}

@media screen and (max-width: 768px) {
  ul.footer-nav {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
}

.blogposts {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}

.blogposts article {
  width: 45%;
  margin-bottom: 90px;
}

.blogposts article a {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .blogposts article {
    width: 100%;
    margin-right: 0px;
    margin-left: 0px;
  }
}

.blogposts article picture {
  height: 300px;
  overflow: hidden;
  margin-bottom: 10px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.image-gallery picture {
  margin-top: 0px;
  margin-bottom: 70px;
  display: inline-block;
}

.image-gallery picture {
  width: 100%;
}

.image-gallery picture.half-width {
  width: 47%;
}

/* .image-gallery picture.half-width:nth-child(even) {
  margin-right:2%;
} */

@media screen and (max-width: 768px) {
  .image-gallery picture.half-width {
    width: 100%;
  }
  .image-gallery picture.half-width:nth-child(even) {
    margin-right: 0%;
  }
}

.pagination {
  margin-bottom: 20px;
}

.pagination a {
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
}

a.cta-link {
  margin: 50px 0;
}
