﻿
html, body {margin: 0; padding: 0; text-align: center;}
section{min-height:100% !important;}
a{text-decoration: none;}
li {list-style-type: none;}

html{height:100%}
body{height:100%;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;flex-direction:column}
main{-ms-flex:1 1 auto;flex:1 1 auto}
h1, h2, h3, a {font-family: 'Corbel', sans-serif; font-weight: 500; color: rgb(30, 98, 45); text-transform: uppercase;}
h3 {font-size: 40px; padding-top: 8%; margin-bottom: 5px;}
h4, p {font-family: 'Corbel', serif; color: #494949;}

hr {width: 30px; height: 3px; background: #494949; border: 0; margin: 0 auto 40px auto;}
#logo, li, img, .fa-bars, .button {transition: all 300ms; -webkit-transition: all 300ms; -moz-transition: all 300ms; -o-transition: all 300ms;}
.fa-bars {display: none}
* {box-sizing:border-box}
/* HEADER *****************************/

 header {
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
 }
 
 #logo {
    width: 140px;
    float: left;
    margin: 5px 0 0 30px;
 }
 
 #logo:hover {
    opacity: 0.5;
 }
 
 #logo img{
    width: 60%;
 
 }
 
.topnav {
  overflow: hidden;
  background-color: white;
  padding-right: 5px;
}

.topnav a {
  float: right;
  display: block;
  color: rgb(30, 98, 45);
  text-align: center;
  padding: 20px 16px;
  text-decoration: none;
  font-size: 17px;
}


.topnav .icon {
  display: none;
}

.dropdown {
  float: right;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: rgb(30, 98, 45);
  padding: 20px 16px;
  background-color: inherit;
  font-family: 'Corbel', serif;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;

}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: rgb(30, 98, 45);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #ddd;
}

.dropdown-content a:hover {
  background-color: #ddd;

}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 1024px) {
  .topnav a, .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1024px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}


 /* HOME *****************************/

#home {
 position: relative;
 overflow: hidden;
}


#myVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}


 #home h1 {
    margin: 0 auto  0 auto;
    font-size: 5px;
    z-index: -2;
 }
 
 #home h2 {
    margin: 0 auto 0 auto;
    font-size: 5px;
    z-index: -2;
 }
 
 #home img {
    width: 32px;
    margin-top: 40%;
    opacity: 0.7;
    position: relative;
    
 }
 
 #home img:hover {
    opacity: 1;
 }
 
/* MAP ****************************/

#map iframe {
 margin-top: 5%;
 margin-left: 7%;
 width: 50%;
 height: 550px;
 border: 0;
 display: block;
 float: left;

}

#map div {
 display: block;
 float: right;
 width: 30%;
 height: 25%;
 padding-top: 5%;
 padding-right: 7%;
 font-size: 20px;
  margin-bottom: 20px;
}
   /*  FOOTER *****************************/
  
  footer {
   width: 100%;
   height: 70px;
   background-color: #3f3f3f;
   margin-top: -70px;
  }
  
  footer p {
   font-size: 20px;
   color: #f0f0f0;
   padding-bottom: 20px;
   text-align: center;
  }

/***Responsive Design***/
 @media screen and (max-width: 1024px) {
  
  #map iframe{
   margin-top: 5%;
 margin-left: 5%;
 margin-right: 5%;
 width: 90%;
 height: 500px;
 border: 0;
 display: block;
  }
  
  #map div {
 display: block;
 text-align: center;
 width: 90%;
 padding-top: 1%;
 padding-right: 5%;
 padding-left: 5%;
 font-size: 20px;
}
footer p {
 padding-bottom: 0px;
}
#home img{
 margin-top: 80vh;
}
footer {
 margin-top: 240vh;
 object-fit: cover;
 position: absolute;
}
}
 @media screen and (max-height: 800px) {
  footer {
   position: absolute;
   margin-top: 230vh;
  }
  
   @media screen and (max-height: 700px) {
  footer {
   position: absolute;
   margin-top: 300vh;
  }
  
     @media screen and (max-height: 740px) {
  footer {
   position: absolute;
   margin-top: 260vh;
  }
  
       @media screen and (max-height: 560px) {
  footer {
   position: absolute;
   margin-top: 300vh;
  }
       }
    
        @media screen and (max-width: 700px) {
 footer {
   position: absolute;
   margin-top: 300vh;
  height: 105px;

 }
 footer p {
 padding-bottom: 0px;
}
 }
 @media screen and (max-width: 470px) {
 footer {
   position: absolute;
   margin-top: 300vh;
  height: 105px;

 }
 footer p {
 padding-bottom: 0px;
}
 }
 
  @media screen and (max-width: 390px) {
 footer {
   margin-top: 300vh;
  height: 105px;
  position: absolute;
 }
 footer p {
 padding-bottom: 0px;
 font-size: 15px;
}
  #map div {
 font-size: 15px;
}
 }
 
   @media screen and (max-width: 300px) {
 footer {
  height: 105px;
 }
   #map div {
 font-size: 13px;
}
 footer p {
 padding-bottom: 0px;
  font-size: 13px;
}
 }