*{
  margin:0px;
  padding:0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "graphie", sans-serif;
  color: #000;
  background: #f0eee8;
  font-size: 16px;
  line-height: 1.5em;
  margin: 0;
/*  letter-spacing: 1px;*/
}

h1, h2, h3, h4{
  font-family: "Red Hat Text", sans-serif;
}

h1{
  margin-top: 0px;
  line-height: 1.3em;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 span{
  color: #e6ae4a;
}

h2, h3, h4{
  letter-spacing: 1px;
}

p, h2, h3, h4 {
  margin-bottom: 20px;
  margin-top: 0px;
}

h2{
  font-weight: 400;
  font-size: 1.5em;
  text-transform: uppercase;
}

h3{
  font-size: 1.33em;
  font-weight: 900;
}

a{
  text-decoration: none;
  transition: .2s;
  color: inherit;
}

ul, ol{
  padding-left:40px;
}

ul li, ol li{
  margin-bottom: 5px;
}

.subpage-content p a,
.contact-form a{
  border-bottom: 1px solid #93a546;
  font-weight: 500;
}

.subpage-content p a:hover,
.contact-form a:hover{
  color: #93a546;
}

#thank-you-content {
  text-align: center;
  font-size: 1.15em;
  font-weight: 500;
}

#thank-you-content p{
  margin-bottom: 40px;
}

#thank-you-content img{
  width: 200px;
  height: auto;
}

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

.subpage-content h3{
  font-weight: bold;
}

p.justify{
  text-align: justify;
}

/*SUBPAGE UNIVERSAL STYLES*/

.subpage-hero{
  background: #000;
  color: #f0eee8;
}

.subpage-hero .container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.subpage-hero h1{
  margin-bottom: 0px;
}

.subpage-content p{
  font-size: 17px;
}

#contact-content{
  text-align: center;
}

.snazzy-map{
  width: 100%;
  height: 400px;
}

/*SUBPAGE HERO STYLES*/

#about-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/about-hero.jpg);
  background-size: cover;
  background-position: 50% 35%;
}
#membership-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/membership-hero.jpg);
  background-size: cover;
  background-position: 50% 40%;
}
#contact-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/contact-hero.jpg);
  background-size: cover;
  background-position: 50% 35%;
}
#golf-club-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/golf-club-hero.jpg);
  background-size: cover;
  background-position: 50% 50%;
}
#lessons-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/lessons-hero.jpg);
  background-size: cover;
  background-position: 50% 50%;
}
#country-club-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/country-club-hero.jpg);
  background-size: cover;
  background-position: 50% 50%;
}
#sim-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/sim-hero.jpg);
  background-size: cover;
  background-position: left center;
}
#events-hero{
  background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
  url(images/events-hero.jpg);
  background-size: cover;
  background-position: 50% 50%;
}

/*MEMBERSHIP STYLES*/

.membership-container{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.membership-option{
  width: 300px;
  margin:auto;
}

.membership-option h3{
  width: 100%;
  padding-bottom: 2px;
  border-bottom: 1px solid #93a546;
}


/*** DESKTOP STYLES ***/
@media (width >= 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
  }
  
  /*** HEADER DESKTOP STYLES ***/

  #navContainer{
    width: 100%;
    transition: .6s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    z-index: 1000;
/*    padding: 10px 0;*/
  }

  #navContainer .container{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  a#navLogo{
    transition: .5s;
    margin: 20px 0 0px;
  }

  #navContainer img{
    width: 200px;
    height: auto;
  }

  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 650px;
    padding:10px 0;
  }

  .topnav a{
    color: white;
    text-transform: uppercase;
    font-size: .95em;
    padding:8px 16px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .topnav a:hover{
    background: #93a546;
    color: white;
  }

  #myTopnav a.icon{
    display: none;
  }

  .hidden {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, .9);
    margin-top:10px;
    width: fit-content;
    min-width: 100px;
    z-index: 10;
    flex-direction: column;
    transition: .4s;
    margin-left:10px;
    box-shadow:0px 8px 16px 1px rgba(147, 165, 70, 0.3)
  }

  .hidden a{
    display: block;
    font-size: .8em;
    font-weight: 500;
    padding:8px 16px 8px 10px;
    color: #fff;
    font-weight: bold;
/*    border-bottom: 1px solid transparent;*/
  }

  .hidden a:hover{
    color: #93a546;
    background: white;
  }

  .dropdown:hover .hidden {
    display: flex;
  }

  .dropbtn{
    padding:16px !important;
  }

  a.dropbtn:hover{
    background: transparent;
    color: white;
    box-shadow: none;
    cursor: auto;
  }

  .hidden:hover{
      opacity: 1;
  }

  .hidden {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    /***HERO DESKTOP STYLES***/

   #homepage-hero{
    background: url(images/homepage-hero.jpg) no-repeat center;
    background-size: cover;
    height: 700px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:160px 0 100px;
    position: relative;
   }

   #myVideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 400px;
    margin-top:93px;
    z-index: 1;
  }

  #homepage-hero:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:2;
    background:linear-gradient(to right,rgba(30, 30, 30, 0.4),rgba(30, 30, 30, 0.6));
  }

   #homepage-hero h1{
    margin-bottom: 20px;
    font-weight: 900;
    font-size: 5em;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    position: relative;
    z-index: 3;
   }

   #homepage-hero span{
    color: #93a546;
   }

   .hero-btns{
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 3;
   }

   .hero-btns a{
    background: #93a546;
    border:3px solid #93a546;
    padding:14px 30px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 5px;
   }

   .hero-btns a:hover{
    background: transparent;
    color: #f0eee8;
    border:3px solid white;
   }

   .hero-btns a:last-of-type{
    background: #f0eee8;
    border:3px solid #f0eee8;
    color: black;
    margin-left: 30px;
   }

   .hero-btns a:last-of-type:hover{
    color: #f0eee8;
    background: transparent;
   }


  /***MAIN BODY DESKTOP STYLES***/

  .row{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .service-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
/*    text-align: justify-all;*/
    width: 22%;
  }

  .service-img-container{
    height: 93px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
  }

  .service-icon h3{
    text-align: center;
  }

  .star-container{
    height: 73px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
    font-size: 1.33em;
  }

  .star-container i:nth-of-type(odd){
    color: #93a546;
  }

  .course-background{
    background: url(images/dark-background1.jpg) no-repeat 50% 40%;
    background-size: cover;
    height: 730px;
    padding: 0;
    overflow: hidden;
    position: relative;
  }

  .course-background .container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
  }

  .experience-text{
    width: 600px;
    color: white;
  }

  .experience-text h1{
    font-size: 4em;
    margin-bottom: 20px;
  }

  .experience-text h2{
    color: #93a546;;
  }

  .experience-text a{
    background: #93a546;
    border:3px solid #93a546;
    padding:14px 30px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 5px;
  }

  .experience-text a:hover{
    background: transparent;
  }

  .hexagon-main {
    display:flex;
    flex-flow:row wrap;
    --s: 210px;  /* size  */
    --m: 2px;    /* margin */
    --f: calc(1.732 * var(--s) + 4 * var(--m)  - 1px);
    width:  580px;
    position: absolute;
    right:0;
    top:10px;
  }

  .hexagon-container {
     font-size: 16px;  /*adjust white space between inline block element */
    transform: rotate(180deg);
  }

  .hexagon-container div {
    width: var(--s);
    margin: var(--m);
    height: calc(var(--s)*1.1547); 
    display: inline-block;
    font-size:initial;
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background: red;
    margin-bottom: calc(var(--m) - var(--s)*0.295);  
    transform: rotate(180deg);
    transition: .4s;
  }
  .hexagon-container div:nth-child(1) {
    background: url(images/pool-bg2.jpg) no-repeat bottom center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(2) {
    background: url(images/glove-bg1.jpg) no-repeat bottom center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(3) {
    background: url(images/clubs-bg2.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(4) {
    background: url(images/putter-bg1.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(5) {
    background: url(images/wedge-bg1.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(6) {
    background: url(images/fist-bump1.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(7) {
    background: url(images/pool-bg1.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(8) {
    background: url(images/clubs-bg.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container::before {
    content: "";
    width: calc(var(--s)/2 + var(--m));
    float: left;
    height: 120%;
    shape-outside: repeating-linear-gradient(     
                     #0000 0 calc(var(--f) - 3px),      
                     #000  0 var(--f));
  }


  /*SUBPAGE DESKTOP STYLES*/

  .subpage-hero{
    height: 440px;
    color: white;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0, .3), rgb(0, 0, 0, .3)), 
    url(images/homepage-hero.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top:120px;
  }

  .subpage-hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }

  .subpage-hero h1{
    margin-bottom: 0px;
  }

  .subpage-content:last-of-type{
    border-bottom: 1px solid lightgray;
  }

  /*EVENTS FORM STYLES*/

  .event-form{
    width: 540px;
    border-radius: 5px;
    border:1px solid lightgray;
    background: white;
    margin:40px auto 0;
  }

  .event-form h3{
    padding:10px;
    border-radius: 5px 5px 0px 0px;
    text-align: center;
    background: #93a546;
    color: white;
  }

  .event-form p{
    padding:0 20px;
    display: none;
  }

  .event-form form{
    padding:20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: calc(100% - 40px);
  }

  .event-form input{
    font-family: 'graphie', sans-serif;
    padding: 10px;
    border:none;
    border-bottom: 1px solid #000;
/*    background: white;*/
    color: #000;
    width: calc(50% - 35px);
    margin-bottom: 20px;
  }

  .event-form #submit{
    background: black;
    color: #f0eee8;
    border:none;
    font-weight: bold;
    padding:12px;
    width: 35%;
    text-transform: uppercase;
    transition: .4s;
    margin-top:30px;
  }

  .event-form #submit:hover{
    background: #93a546;
    cursor: pointer;
  }


  /*FOOTER DESKTOP STYLES*/

  footer{
    background: url(images/lakeridge-background.jpg) no-repeat center;
    background-size: cover;
    padding:60px 20px;
    color: white;
  }

  footer .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-col{
    width: fit-content;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-col img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  .footer-col h3{
    color: #93a546;
  }

  .footer-social{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 120px;
    font-size: 1.25em;
  }

  footer a{
    padding-bottom: 2px;
    border-bottom: 1px solid gray;
  }

  footer a:hover{
    color: #93a546;
  }

  .footer-col:first-of-type a{
    border-bottom: none;
  }

  #sub-footer{
    background: #93a546;
    padding:20px;
    color: #000;
    text-align: center;
    font-size: .9em;
    font-weight: 600;
  }

  #sub-footer p{
    margin-bottom: 0px;
  }

  #sub-footer a{
    border-bottom: 1px solid white;
  }

  #sub-footer a:hover{
    color: white;
  }


}


/*** MOBILE STYLES ***/
@media (width <= 1099px) {

  .container {
    width:100%;
    margin: 0 auto;
  }

  .content{
    padding: 60px 20px;
  }

  h1{
    font-size: 2.5em;
    line-height: 1em;
  }

  h2{
    font-size: 1.33em;
  }

  /***** HEADER MOBILE STYLES *****/

  #navContainer{
    width: 100%;
    background-color: #000 !important;
    transition: 0.4s;
    position: fixed;
    max-height: 100%;
    top: 0;
    z-index: 100;
    overflow-y: scroll;
    overflow-x: hidden;
  }

  #nav{
    margin-top:5px;
    height: fit-content;
  }

  #navContainer img{
   height:50px;
   width: auto !important;
    margin: 12px 0 2px 15px;
  }

  /* Links inside the navbar */
  .topnav a { 
    float: left;
    font-size: 16px;
    color: #f0eee8;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

  /* Add a background color to navbar links on hover */
  .topnav a:hover{
    background: #93a546;
    color:#fff;
  }

  /* When the screen is less than 1099 pixels wide, hide all links. 
  Show the link that should open and close the topnav (.icon) */
  .topnav a{
    display:none;
  }

  .topnav a.icon {
    display: block;
    position: absolute;
    font-size: 32px;
    top: 10px;
    right: 0;
    float: right;
    margin: 0px 10px 10px 0;
    color: #fff;
    transition: unset;
  }

  .topnav a.icon:hover{
    background-color:transparent;
  }

   /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. 
  This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  .topnav.responsive {
    position: relative; 
    clear:both;
  }
    .topnav.responsive a.icon {
      position: absolute;
      top: -65px;
      border-bottom:none;
      transition: unset;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
      border-bottom:1px solid #93a546;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }

    /* DROPDOWN MENU */

    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      text-align: left;
    }

    /* Dropdown Content */
    .hidden{
      display: none;
      padding: 10px 0;
      flex-direction: column;
    }

    .hidden a{
      padding:8px 16px 8px 24px;
      border-bottom: none !important;
      font-weight: normal;
/*      background: #707070;*/
    }

    /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
    .show {display:block;}

     .topnav.responsive,
    .hidden {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    a.dropbtn{
      border-bottom:1px solid #0054ff;
    }

    /*a.dropbtn:hover{
      background: #e6ae4a;
      color: white;
    }*/
    
  /*HERO MOBILE STYLES*/

   #homepage-hero{
    background: url(images/homepage-hero.jpg) no-repeat center;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:20px 20px;
    position: relative;
    margin-top: 69px;
    text-align: center;
    min-height: 560px;
   }

   #myVideo {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 100%;
    height: 600px;
    z-index: 1;
  }

  #homepage-hero:before {
    content:"";
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom:0;
    z-index:2;
    background:linear-gradient(to right,rgba(30, 30, 30, 0.4),rgba(30, 30, 30, 0.6));
  }

   #homepage-hero h1{
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    position: relative;
    z-index: 3;
   }

   #homepage-hero span{
    color: #93a546;
   }

   .hero-btns{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-bottom: 40px;
   }

   .hero-btns a{
    background: #93a546;
    border:3px solid #93a546;
    padding:14px 30px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 150px;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 5px;
    margin:10px;
   }

   .hero-btns a:hover{
    background: transparent;
    color: #f0eee8;
    border:3px solid white;
   }

   .hero-btns a:last-of-type{
    background: #f0eee8;
    border:3px solid #f0eee8;
    color: black;
   }

   .hero-btns a:last-of-type:hover{
    color: #f0eee8;
    background: transparent;
   }

   /*MAIN BODY MOBILE STYLES*/

   .low-padding-bottom-mobile{
    padding-bottom: 20px;
   }

   .row{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  .service-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 230px;
    margin-bottom: 20px;
  }

  .service-img-container{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 93px;
    margin-bottom: 20px;
  }

  .service-icon h3{
    margin-top:auto;
  }

  .service-icon p{
    font-size: .9em;
  }

  .star-container{
    height: 93px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 20px;
    font-size: 1.33em;
  }

  .star-container i:nth-of-type(odd){
    color: #93a546;
  }

  .course-background{
    background: url(images/dark-background1.jpg) no-repeat center;
    background-size: cover;
    height: 655px;
    padding: 80px 20px 0;
    overflow: hidden;
    position: relative;
  }

  .experience-text{
    max-width: 600px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin:0 auto;
  }

  .experience-text h1{
    margin-bottom: 20px;
    text-align: center;
  }

  .experience-text h2{
    text-align: center;
    font-size: 1.15em;
    color: #93a546;
  }

  .experience-text a{
    background: #93a546;
    border:3px solid #93a546;
    padding:12px 30px;
    color: white;
    display: inline-block;
    margin-top:20px;
    width: 120px;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 5px;
  }

  .experience-text a:hover{
    background: transparent;
  }

  .hexagon-main {
    display:flex;
    flex-flow:row wrap;
    --s: 130px;  /* size  */
    --m: 2px;    /* margin */
    --f: calc(1.732 * var(--s) + 4 * var(--m)  - 1px);
    width:  100%;
    position: absolute;
/*    width: 100%;*/
    width: 614px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .hexagon-container {
     font-size: 16px;  /*adjust white space between inline block element */
    transform: rotate(180deg);
  }

  .hexagon-container div {
    width: var(--s);
    margin: var(--m);
    height: calc(var(--s)*1.1547); 
    display: inline-block;
    font-size:initial;
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background: red;
    margin-bottom: calc(var(--m) - var(--s)*0.295);  
    transform: rotate(180deg);
  }
  .hexagon-container div:nth-child(1) {
    background: url(images/ball-bg2.jpg) no-repeat bottom center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(2) {
    background: url(images/shoe-bg.jpg) no-repeat bottom center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(3) {
    background: url(images/lesson-background2.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(4) {
    background: url(images/lesson-background.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(5) {
    background: url(images/office-background2.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(6) {
    background: url(images/clubs-background2.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(7) {
    background: url(images/clubs-background.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container div:nth-child(8) {
    background: url(images/office-background.jpg) no-repeat center;
    background-size: cover;
  }
  .hexagon-container::before {
    content: "";
    width: calc(var(--s)/2 + var(--m));
    float: left;
    height: 120%;
    shape-outside: repeating-linear-gradient(     
                     #0000 0 calc(var(--f) - 3px),      
                     #000  0 var(--f));
  }

  /*SUBPAGE MOBILE STYLES*/

  .subpage-hero{
    margin-top: 69px;
    height: 150px;
  }

  .subpage-hero .container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /*EVENT FORM MOBILE STYLES*/

  .event-form{
    max-width: 400px;
    border-radius: 5px;
    border:1px solid lightgray;
    background: white;
    margin:40px auto 0;
  }

  .event-form h3{
    padding:10px;
    border-radius: 5px 5px 0px 0px;
    text-align: center;
    background: #93a546;
    color: white;
  }

  .event-form p{
    padding:0 20px;
    display: none;
  }

  .event-form form{
    padding:20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: calc(100% - 40px);
  }

  .event-form input{
    font-family: 'graphie', sans-serif;
    padding: 10px;
    border:none;
    border-bottom: 1px solid #000;
/*    background: white;*/
    color: #000;
    width: calc(50% - 35px);
    margin-bottom: 20px;
  }

  .event-form #submit{
    background: black;
    color: #f0eee8;
    border:none;
    font-weight: bold;
    padding:12px;
    width: 35%;
    text-transform: uppercase;
    transition: .4s;
    margin-top:30px;
  }

  .event-form #submit:hover{
    background: #93a546;
    cursor: pointer;
  }

  /*FOOTER MOBILE STYLES*/

  footer{
    background: url(images/lakeridge-background.jpg) no-repeat center;
    background-size: cover;
    padding:60px 20px;
    color: white;
  }

  footer a{
    padding-bottom: 2px;
    border-bottom: 1px solid gray;
  }

  footer a:hover{
    color: #93a546;
  }

  .footer-col:first-of-type a{
    border-bottom: none;
  }

  footer .container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #666666;
  }

  .footer-col:first-of-type{
    flex-flow: column;
    align-items: center;
  }

  .footer-col:last-of-type{
    margin-bottom: 0px;
    border-bottom: none;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    
  }

  .footer-col img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  .footer-col h3{
    color: #93a546;
    width: 100%;
    text-align: center;
  }

  .footer-col p{
    text-align: center;
  }

  .footer-col a{
    margin:0 10px;
  }

  .footer-social{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 120px;
    font-size: 1.25em;
    margin-bottom: 20px;
  }

  .footer-social i{
    margin:0 10px;
  }

  #sub-footer{
    background: #93a546;
    padding:20px;
    color: #000;
    text-align: center;
    font-size: .9em;
    font-weight: 600;
  }

  #sub-footer p{
    margin-bottom: 0px;
  }

  #sub-footer a{
    border-bottom: 1px solid white;
    padding-bottom: 2px;
  }

  #sub-footer a:hover{
    color: white;
  }


}


@media (width <= 540px){
  .course-background{
    height: 750px;
  }
}
