*{
  margin:0px;
  padding:0px;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --dg:#1D2716;
  --green:#688F4E;
  --cafe:#3F2D12;
  --lg:#B1D182;
  --cream:#F3F9D2;
  --white:#fff;  
}

body {
  font-family: 'Martel', serif;
  background: var(--dg);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.5em;
  margin: 0;
/*  letter-spacing: 1px;*/
}

h1, h2, h3, h4{
  font-family: 'Karla', 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;
}

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 var(--green);
  font-weight: 500;
}

.subpage-content p a:hover,
.contact-form a:hover{
  color: var(--green);
}

#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;
}

.footer-social{
  display: none !important;
}

/*SUBPAGE UNIVERSAL STYLES*/

.subpage-hero{
  background: url(images/topo-bg-cream.jpg) no-repeat center;
  background-size: cover;
  color: var(--cafe);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/*GALLERY PAGE STYLES*/

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Wide images (landscape) */
.img-wide {
    grid-column: span 2;
}

/* Tall images (portrait) */
.img-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-grid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}


/*SUBPAGE HERO STYLES*/


/*** 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;
    background:var(--dg);
/*    padding: 10px 0;*/
  }

  #navContainer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  a#navLogo{
    transition: .5s;
/*    margin: 10px 0;*/
    height: 130px;
  }

  #navContainer img{
    height: 100%;
    width: auto;
  }

  .header-text{
    width: fit-content;
    font-family: 'Martel', serif;
    letter-spacing: 6px;
    margin:0 auto 0 10px;
  }

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

  .topnav a{
/*    text-transform: uppercase;*/
    padding:8px 16px;
    font-weight: bold;
    letter-spacing: 3px;
    border-radius: 2px;
  }

  .topnav a:hover{
    background: var(--green);
    color: var(--dg);
  }

  #myTopnav a.icon{
    display: none;
  }

  .hidden {
    display: none;
    position: absolute;
    background: rgba(243, 249, 210, 1) url(images/topo-bg2.webp) no-repeat center;
    background-size: cover;
    margin-top:10px;
    width: fit-content;
    min-width: 200px;
    z-index: 10;
    flex-direction: column;
    padding:10px;
    transition: .4s;
    margin-left:10px;
    border-radius: 2px;
    box-shadow:0px 8px 16px 1px rgba(177, 209, 130, 0.3)
  }

  .hidden a{
    display: block;
    font-weight: 500;
    padding:8px 16px 8px 10px;
    color: var(--dg);
    font-weight: bold;
/*    border-bottom: 1px solid transparent;*/
  }

  .hidden a:hover{
    color: var(--dg);
    background: var(--green);
  }

  .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;}
    }

    #header-tel{
      padding:10px 20px;
      display: inline-block;
      background: var(--cream);
      color: var(--cafe);
      border:2px solid var(--cream);
    }

    #header-tel:hover{
      background: var(--cafe);
      color: var(--cream);
    }

    /***HERO DESKTOP STYLES***/

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

   #homepage-hero:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 1;
    background: rgba(0, 0, 0, .6);
   }

   #homepage-video {
    padding-top:40px;
    background: var(--dg) url(images/topo-bg2.webp) no-repeat center;
    background-size: cover;
   }

   #homepage-video .container:nth-of-type(1){
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-bottom: 80px;
    margin-bottom: 80px;
    border-bottom: 1px solid var(--green);
   }

   .hero-video {
    width: 400px;
    height: auto;
    z-index: 0;
  }

  .hero-video video{
    width: 100%;
    height: 100%;
  }

  .hero-text{
    padding: 40px;
    background: rgb(63, 45, 18, .85);
    border:4px solid var(--cafe);
    margin:-240px 0px 0 0;
    width: 560px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 3px;
  }

  #homepage-video h2{
    font-family: 'Martel', serif;
    letter-spacing: 6px;
    color: var(--green);
  }

   #homepage-video h1{
    margin-bottom: 40px;
    font-weight: 900;
    font-size: 4.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1em;
   }

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

   .hero-btns a{
    background: var(--green);
    border:3px solid var(--green);
    padding:14px 30px;
    color: white;
    display: inline-block;
    width: fit-content;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 2px;
   }

   .hero-btns a:hover{
    background: var(--dg);
   }

   .hero-sub-text{
    width: 440px;
   }

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

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

  .service-video{
    width: 400px;
    height: auto;
  }

  .service-video video{
    width: 100%;
    height: 100%;
  }

  .service-text{
    width: 500px;
  }

  .service-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    margin-top: 40px;
  }

  .service-icon{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .service-icon i{
    margin-bottom: 20px;
    color: var(--green);
    font-size: 2em;
  }

  #homepage-about{
    background: var(--cream);
    color: var(--dg);
  }

  /*SUBPAGE DESKTOP STYLES*/

  .subpage-hero{
    height: 300px;
    margin-top:130px;
  }

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

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

  
  /*FOOTER DESKTOP*/

    footer{
      background: var(--cafe) url(images/topo-bg2.webp); no-repeat top center;
      background-size: cover;
      padding:80px 20px;
    }

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

    footer h1{
      text-align: center;
    }
   
    footer .green-vert{
      background: var(--dg);
    }

    .fc-container{
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top:20px;
      width: 100%;
    }

    .fc-text{
      width: fit-content;
    }

    .fc-icon{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      font-size: 1.05em;
      font-weight: bold;
    }

    .fc-icon:first-of-type{
      margin-bottom: 30px;
    }

    .fc-icon i{
      border-radius: 50%;
      padding:12px;
      background: var(--green);
      color: var(--cream); 
      margin-right: 30px;
      font-size: 1.25em;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .fc-icon a{
      position: relative;
    }

    .fc-icon a:hover{
      color: var(--green);
    }

    .fc-form{
      width: 700px;
    }

    .footer-form{
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      width: 100%;
    }

    .footer-form input, .footer-form textarea{
      padding: 10px;
      border:2px solid var(--cream);
      color: white;
      font-family: "Martel", serif;
      margin-bottom: 20px;
      background: transparent;
      height: 50px;
      letter-spacing: 2px;
    }

    .footer-form input::placeholder, .footer-form textarea::placeholder{
      color: white;
      font-size: 1em;
      letter-spacing: 2px;
    }

    .footer-form input{
      width: 48%;
    }

    .footer-form textarea{
      width: 90%;
    }

    .footer-form button{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 10%;
      background: var(--cream);
      border:none;
      color: var(--green);
      border:2px solid var(--cream);
      border-left: none;
      height: 50px;
      transition: .3s;
    }

    .footer-form i{
      font-size: 1.5em;
    }

    .footer-form button:hover{
      background: var(--green);
      color: var(--cream);
      cursor: pointer;
    }

    #sub-footer{
      background: var(--dg);
      padding: 40px 20px;
      font-size: .9em;
      text-align: center;
    }

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

    #sub-footer i{
      font-size: 1.7em;
      transition: .4s;
    }

    .footer-social{
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 65px;
    }

    #sub-footer i:hover{
      transform: rotateY(360deg);
      color: var(--green);
    }

    #sub-footer p{
      margin: 0;
    }

    #sub-footer p a{
      font-weight: bold;
      border-bottom: 2px solid var(--green);
    }

    #sub-footer p a:hover{
      color: var(--green);
    }


}


/*** 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 *****/

  .header-text{
    display: none;
  }

  #navContainer{
    width: 100%;
    background: var(--dg) !important;
    transition: 0.4s;
    position: fixed;
    max-height: 100%;
    top: 0;
    z-index: 100;
    color: var(--cream);
    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;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    border-bottom: 1px solid var(--cafe);
  }

  /* Add a background color to navbar links on hover */
  .topnav a:hover{
    background: var(--green);
  }

  /* 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 var(--cafe);
    }
    .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 var(--lightgreen);
    }

    /*a.dropbtn:hover{
      background: var(--lightgreen);
      color: white;
    }*/
    
  /***HERO DESKTOP STYLES***/

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

   #homepage-hero:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    z-index: 1;
    background: rgba(0, 0, 0, .6);
   }

   #homepage-video {
    padding-top:40px;
    background: var(--dg) url(images/topo-bg2.webp) no-repeat center;
    background-size: cover;
   }

   #homepage-video .container:nth-of-type(1){
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--green);
   }

   .hero-video {
    width: 400px;
    height: auto;
    z-index: 0;
  }

  .hero-video video{
    width: 100%;
    height: 100%;
  }

  .hero-text{
    padding: 40px;
    background: rgb(63, 45, 18, .85);
    border:4px solid var(--cafe);
    margin:-240px 0px 60px 0;
    max-width: 560px;
    width: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 3px;
  }

  #homepage-video h2{
    font-family: 'Martel', serif;
    letter-spacing: 6px;
    color: var(--green);
  }

   #homepage-video h1{
    margin-bottom: 40px;
    font-weight: 900;
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1em;
   }

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

   .hero-btns a{
    background: var(--green);
    border:3px solid var(--green);
    padding:12px 30px;
    color: white;
    display: inline-block;
    width: fit-content;
    text-align: center;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 2px;
   }

   .hero-btns a:hover{
    background: var(--dg);
   }

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

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

  .service-video{
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
  }

  .service-video video{
    width: 100%;
    height: 100%;
  }

  .service-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    margin-top: 40px;
  }

  .service-icon{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .service-icon i{
    margin-bottom: 20px;
    color: var(--green);
    font-size: 2em;
  }

  #homepage-about{
    background: var(--cream);
    color: var(--dg);
  }

  /*SUBPAGE DESKTOP STYLES*/

  .subpage-hero{
    height: 300px;
    margin-top:70px;
  }

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

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

  
  /*FOOTER MOBILE*/

    footer{
      background: var(--cafe) url(images/topo-bg2.webp); no-repeat top center;
      background-size: cover;
      padding:80px 20px 60px;
    }

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

    footer h1{
      text-align: center;
    }
   
    footer .green-vert{
      background: var(--dg);
    }

    .fc-container{
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .fc-text{
      width: fit-content;
    }

    .fc-icon{
      display: flex;
      justify-content: flex-start;
      align-items: center;
      font-size: 1.05em;
      font-weight: bold;
    }

    .fc-icon:first-of-type{
      margin-bottom: 30px;
    }

    .fc-icon i{
      border-radius: 50%;
      padding:12px;
      background: var(--green);
      color: var(--cream); 
      margin-right: 30px;
      font-size: 1.25em;
      width: 50px;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .fc-icon a{
      position: relative;
    }

    .fc-icon a:hover{
      color: var(--green);
    }

    .fc-form{
      max-width: 700px;
      width: 100%;
    }

    .footer-form{
      display: flex;
      flex-flow: row wrap;
      justify-content: space-between;
      width: 100%;
      margin-top:60px;
    }

    .footer-form input, .footer-form textarea{
      padding: 10px;
      border:2px solid var(--cream);
      color: white;
      font-family: "Martel", serif;
      margin-bottom: 20px;
      background: transparent;
      height: 50px;
      letter-spacing: 2px;
    }

    .footer-form input::placeholder, .footer-form textarea::placeholder{
      color: white;
      font-size: 1em;
      letter-spacing: 2px;
    }

    .footer-form input{
      width: 48%;
    }

    .footer-form textarea{
      width: 90%;
    }

    .footer-form button{
      display: flex;
      justify-content: center;
      align-items: center;
      width: 10%;
      background: var(--cream);
      border:none;
      color: var(--green);
      border:2px solid var(--cream);
      border-left: none;
      height: 50px;
      transition: .3s;
    }

    .footer-form i{
      font-size: 1.5em;
    }

    .footer-form button:hover{
      background: var(--green);
      color: var(--cream);
      cursor: pointer;
    }

    #sub-footer{
      background: var(--dg);
      padding: 40px 20px;
      font-size: .9em;
      text-align: center;
    }

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

    #sub-footer i{
      font-size: 1.7em;
      transition: .4s;
    }

    .footer-social{
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 65px;
    }

    #sub-footer i:hover{
      transform: rotateY(360deg);
      color: var(--green);
    }

    #sub-footer p{
      margin: 0;
    }

    #sub-footer p a{
      font-weight: bold;
      border-bottom: 2px solid var(--green);
    }

    #sub-footer p a:hover{
      color: var(--green);
    }


}

@media (width <= 768px){

  .gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Wide images (landscape) */
.img-wide {
    grid-column: span 4;
}

/* Tall images (portrait) */
.img-tall {
    grid-column: span 4;
    grid-row: span 2;
}

}

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

/*HIDE CONTACT FORM*/

.fc-form{
  display: none;
}