article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
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;
}


* {
  margin: auto 0;
}

body {
  background-color: #2A3F57;
}

.Content {
  background-color: #2A3F57;
  max-width: 1200px;
  margin: 0 auto;
}

p, h1, h2, li {
  color: #FEFBF4;
  font-family: 'Nanum Gothic', sans-serif;
  margin: 10px;
}

.heading {
  text-align: center;
  padding-top: 40px;
  font-family: 'Quicksand', sans-serif;
}

.info {
  padding-left: 40px;
  text-align: center;
}

.info-tab {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 350px;
  padding: 50px;
}

.aqua-heading {
  position: relative;
  bottom: 20px;
}

.tri {
  grid-column: 1 / span 1;
}

.du {
  grid-column: 2 / span 1;
}

.aqua {
  grid-column: 3 / span 1;
}

.kids {
  position: relative;
  top: 12px;
  grid-column: 4 / span 1;
}

.hero { 
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('./images/bike-race-hero.jpeg');
  height: 600px; 
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-header {
  font-family: 'Michroma', sans-serif;
  display: flex;
  justify-content: center;
  color: #ffffff;
}

.btn{
  background:#2A3F57;
  color:#fff;
  border:none;
  width: 600px;
  position:relative;
  font-size:1.6em;
  padding:0 2em;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
.btn:hover{
  background:#fff;
  color: #1AAB8A;
}
.btn:before,.btn:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:5px;
  width:0;
  background: #1AAB8A;
  transition:400ms ease all;
}
.btn:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.btn:hover:before,.btn:hover:after{
  width:100%;
  transition:800ms ease all;
}


.btn {
  padding: 10px;
  margin: 0;
  font-size: 18px;
  width: 300px;
}

.btn:hover {
  background: #2A3F57;
}

a:hover {
  color: #1AAB8A;
}

.fb:hover {
  color: white;
}

.course-btn {
  position: relative;
  right: 15px;
  width: 250px;
}

.hero-btn {
  width: 500px;
}

.hero-btn:hover {
  background-color: white;
}

.hero-header:hover {
  color: black;
} 

.image {
    background-image: url('./images/swimmers-new.jpg');
    height: 500px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;  
}

.runner { 
    background-image: url('./images/bike-new.jpg');
    height: 600px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.distance {
  text-align: center;
}

.description-distance {
  list-style: none;
  font-family: 'Nanum Gothic', sans-serif;
  padding: 10px 30px;
  color: #FEFBF4;
}

.nav {
  display: flex;
  list-style: none;
  justify-content: center;
}

.text-highlight {
  font-size: 16px;
}
.nav-icons {
  font-family: 'Nanum Gothic', sans-serif;
  padding: 10px 50px;
  color: #FEFBF4;
}

.nav-icons:hover {
  color: #1AAB8A;
}

.link {
  color: #1AAB8A;
}

.pricing, .location {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.early, .where {
  grid-column: 1 / span 1;
}

.bolded {
  font-size: 20px;
  font-weight: bold;
}

.packet {
  grid-column: 2 / span 1;
}

.late{
  grid-column: 2 / span 1;
  position: relative;
  top: 16px;
}

a {
  color: #FEFBF4; 
}

.course-title {
  text-align: center;
}

h3 {
  padding: 10px;
  color: #FEFBF4;
  font-family: 'Nanum Gothic', sans-serif;
}

.swim {
  padding: 40px;
  height: 400px;

}

.swim-title, .swim-para {
  text-align: center;
}

.swim-para {
  width: 800px;
  margin: 0 auto;
}

.east {
  grid-column: 1 / span 1;
}
iframe {
  margin: auto 0;
}
.south {
  grid-column: 2 / span 1;
  position: relative;
  bottom: 8px;
  left: 30px;
}

.hs {
    background-image: url('./images/highschool2019.png');
    height: 600px; 
    background-size: 1200px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}


.directions {
  text-align: center;
  margin: 100px;
  /*padding-top: 40px;*/
}

a {
  text-decoration: none;
}

.course-page {
  border: 1px solid #fff;
  width: 600px;
  margin: auto;
}

.top {
  padding-top: 50px;
}

.sponser {
  margin: 50px;
  height: 200px;
  background-color: #ffffff;
  filter: grayscale(80%);
}

.sponser:hover {
  filter: grayscale(0%);
}

.space {
  width: 1600px;
  background-color: #ffffff;
}
.sponsering {
  /*min-width: 1167px;*/
  min-width: 1200px;
  display: flex;
  background-color: #ffffff;
  overflow: auto;
  height: 300px;
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  overflow-x: scroll;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.travel-north-details {
  padding-bottom: 50px;
}

{
  text-align: center;
  margin: 20px;
}


.extended-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.high-school {
  grid-column: 1 / span 1;
}

.high-school-info {
  width: 470px;
}
.bam-adventure {
  grid-column: 2 / span 1;
  margin: 10px;
}

.hs-info {
  margin-bottom: 20px;
}
@keyframes animatedBackground {
  from {
    left: 0px;
  }
  90% {
    left: -8570px;
  }
}

.sponser-title {
  text-align: center;
  padding: 50px;
}

.sponser-section {
  background-color: #ffffff;
  height: 300px;
  width: 1500px;
  overflow-x: auto;
  overflow-y: hidden;
}

.space {
  width: 1126px;
  position: relative;
  animation: animatedBackground 50s linear infinite;
}
img {
  box-sizing:border-box;
}

.contact-hme {
  width: 300px;
}

.contact-hme:hover {
  background: #1AAB8A;
}

.hme {
  position: relative;
  top: 700px;
  text-align: center;
}
.awards {
  margin: 0 auto;
  max-width: 1100px
}

.awards-aqua {
  margin: 50px;
}

.list-awards {
  list-style: none;
  color: #ffff;
}

.tri-awards {
  margin: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.awards-title{
  text-align: center;
  font-size: 40px;
}

.no-dup {
  text-align: center;
}

.mail {
  height: 1000px;
}

.mail-form {
  text-align: center;
}

.contact-form {
  margin: 100px 0 0 20px;
}

.loginBtn {
  box-sizing: border-box;
  position: relative;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 16px;
  color: #FFF;
}
.loginBtn:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 100%;
}
.loginBtn:focus {
  outline: none;
}
.loginBtn:active {
  box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
}

.loginBtn:hover {
  transition: none;
  color: white;
}

.fb-btn {
  margin: 40px;
  text-align: center;
}

/* Facebook */
.loginBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
  border-right: #364e92 1px solid;
  background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/14082/icon_facebook.png') 6px 6px no-repeat;
}
.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
  background-color: #5B7BD5;
  background-image: linear-gradient(#5B7BD5, #4864B1);
}


@media (max-width: 1128px) {
body {
  overflow-x: hidden;
  width: 100%;
}

.sponsering, .sponser-section, .space {
  min-width: 1128px;
}
}

@media (max-width: 1160px) {
  .info-tab {
  grid-template-columns: 250px 1fr 1fr 300px;
  }
}

@media (max-width: 1092px) {
  .info-tab {
  grid-template-columns: 1fr 1fr 1fr 300px;
  }
}

@media (max-width: 1071px) {
  .info-tab {
  grid-template-columns: 1fr 1fr 1fr 280px;
  }
}

@media (max-width: 1054px) {
  .info-tab {
  grid-template-columns: 1fr 1fr 1fr 250px;
  }
}

@media (max-width: 1029px) {
.sponsering {
  min-width: 1029px;
}
/*.info {
  font-size: 16px;
}*/
.info-tab {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr
}
.sponsering, .sponser-section, .space {
  width: 644px;
}

.tri {
  text-align: center;
  grid-row: 1 / span 1;
}
.du {

  grid-column: 1 / span 1;
  grid-row: 2 / span 1;
}

.aqua {
  grid-column: 1 / span 1;
  grid-row: 3 / span 1;
}

.kids {
  grid-column: 1 / span 1;
  grid-row: 4 / span 1;
}

.tri, .du, .aqua, .kids {
  position: relative;
  right: 21px;
}

}

@media (max-width: 914px) {

.sponsering, .sponser-section, .space {
  min-width: 914px;
}
/*.info-tab {
  padding: 20px;
}*/

}


@media (max-width: 863px) {

/*.info-tab {
  padding: 20px;
}*/
.sponsering, .sponser-section, .space {
  min-width: 863px;
}
}

@media (max-width: 854px) {
/*
.info-tab {
  padding: 10px;
}*/

.description-distance {
  padding: 10px 20px;
}
.sponsering, .sponser-section, .space {
  min-width: 854px;
}
}


@media (max-width: 827px) {
.south {
  width: 300px;
  word-break: break-word;
}

.sponsering, .sponser-section, .space {
  min-width: 827px;
}
.swim-para {
  width: 600px;
}
}


@media (max-width: 767px) {

.info-tab {
  padding: 10px;
}
.nav-icons {
  font-size: 14px;
}
.sponsering, .sponser-section, .space {
  min-width: 767px;
}
.description-distance {
  padding: 10px 10px;
}

}

@media (max-width: 723px) {
  html, body {
        max-width: 100%;
        overflow-x: hidden;
}

.info-tab {
  padding: 8px;
}

.sponsering, .sponser-section, .space {
  min-width: 723px;
}

.description-distance {
  padding: 10px 5px;
}

.nav-icons {
  padding: 0;
}

}

@media (max-width: 696px) {
  #direction-info {
    grid-template-columns: 300px 300px;
  }
  .south {
    width: 250px;
  }
  .sponsering, .sponser-section, .space {
  min-width: 696px;
}
}

 
@media (max-width: 673px) {

.info {
  font-size: 14px;
}
.heading {
  font-size: 25px;
}
.info-tab {
  padding: 8px;
}

.description-distance {
  padding: 10px 5px;
}

.nav-icons {
  padding: 0;
}
.sponsering, .sponser-section, .space {
  min-width: 673px;
}

}

@media (max-width: 644px) {

.info-tab {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr 1fr;
  grid-template-columns: 1fr
}
.sponsering, .sponser-section, .space {
  width: 644px;
}

.tri {
  text-align: center;
  grid-row: 1 / span 1;
}
.du {

  grid-column: 1 / span 1;
  grid-row: 2 / span 1;
}

.aqua {
  grid-column: 1 / span 1;
  grid-row: 3 / span 1;
}

.kids {
  grid-column: 1 / span 1;
  grid-row: 4 / span 1;
}

.tri, .du, .aqua, .kids {
  position: relative;
  right: 21px;
}

.swim-para {
  width: 500px;
}
}

@media (max-width: 573px) {
  #direction-info {
    grid-template-columns: 200px 200px;
  }
  .sponsering, .sponser-section, .space {
 min-width: 573px;
}

.south {
    width: 110px;
  }
}

@media (max-width: 538px) {
  .hero-header {
    font-size: 30px;
  }
  .sponsering, .sponser-section, .space {
  min-width: 538px;
}
}

@media (max-width: 517px) {
  .swim-para {
    width: 400px
  }

  .course-btn {
    width: 200px;
  }

  .swim {
    padding: 50px;
  }
}


@media (max-width: 490px) {

  .media-query {
    position: relative;
    right: 15px;
  }

  .hero, .image, .runner {
    height: 400px;
    background-attachment: scroll;
  }
  .nav-icons {
    font-size: 12px;
  }
  .sponsering, .sponser-section, .space {
  max-width: 490px;
}

  .swim-para {
    width: 300px
  }

.swim {
  position: relative;
  height: 300px;
  right: 30px;
}
}

@media (max-width: 420px) {

  .nav-icons {
    font-size: 8px;
  }
  .sponsering, .sponser-section, .space {
  max-width: 420px;
}
}


@media (max-width: 414px) {

  .nav-icons {
    font-size: 10px;
  }
  .sponsering, .sponser-section, .space {
  max-width: 414px;
}

}