/* Define Global Css*/
body {
    font-family: 'Bitter', serif;
    font-weight: 700;
    color: #3F4242; 
    line-height: 1.5; 
    margin: 0;
}

/* Define Default Global Font Size */
h1 {
    font-size: 46px;
}

h2 {
    font-size: 28px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 8px;
}

h3 {
    font-size: 36px;
    margin-bottom: 20px;
}

h4{
    font-size: 28px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

p {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

a {
    font-size: 18px;
    font-weight: 700;
    color: #3F4242;
    text-decoration: none;
}

a:hover { 
    text-decoration: underline;
}

/* Define Global Helper Styles*/

.center {
    text-align: center;
}

.margin-bottom_five {
    margin-bottom: 5px;
}

.link { 
    text-decoration: underline;
    font-weight: 700;
}

.link-hover {
    text-decoration: none;
}

.margin-top_zero {
    margin-top: 0;

}

.hero-container_sub-copy {
    font-weight: 400;
}

/* Define Navigation Styles */

nav {
    background-color: #f4f4f4; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align:center;
}

.logo {
  width: 10%;
  padding: 6px;
}
.nav-link_container {
  display: flex;
  justify-content: right;
  margin-left: 20px;
  width: 90%;
}
.nav-link {
 min-width: 10%;

}

.nav-social {
    min-width: 1%;
    margin-right: 20px;
}

.nav-mobile {
    display: none;
  }
  
  #menuToggle
  {
    display: block;
    position: relative;
    top: 10px;
    left: 10px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    margin: 20px 20px 30px 20px;
  }
  
  #menuToggle a
  {
    text-decoration: none;
    color: #000000;
    transition: color 0.3s ease;
  }
  
  
  #menuToggle input
  {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    
    -webkit-touch-callout: none;
  }
  
  /*
   * Just a quick hamburger
   */
  #menuToggle span
  {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #000000;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }
  
  #menuToggle span:first-child
  {
    transform-origin: 0% 0%;
  }
  
  #menuToggle span:nth-last-child(2)
  {
    transform-origin: 0% 100%;
  }
  
  /* 
   * Transform all the slices of hamburger
   * into a crossmark.
   */
  #menuToggle input:checked ~ span
  {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #000000;
  }
  
  /*
   * But let's hide the middle one.
   */
  #menuToggle input:checked ~ span:nth-last-child(3)
  {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }
  
  /*
   * Ohyeah and the last one should go the other direction
   */
  #menuToggle input:checked ~ span:nth-last-child(2)
  {
    transform: rotate(-45deg) translate(0, -1px);
  }
  
  /*
   * Make this absolute positioned
   * at the top left of the screen
   */
  #menu
  {
    position: absolute;
    width: 300px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
  
  #menu li
  {
    padding: 10px 0;
    font-size: 22px;
  }
  
  /*
   * And let's slide it in from the left
   */
  #menuToggle input:checked ~ ul
  {
    transform: none;
  }


/* Define Hero Styles */

.hero_container {
    background-color: #ffffff;
    display: flex;
    align-items: center; 
    margin-bottom: 60px; 
}

.hero_container-img {
    width: 25%;
}

.hero_container-img img {
    width: 100%; 
}

.hero_container-copy {
    width: 70%;
    padding: 5%;
}

/* Define Card Styles */


.card-container {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    margin: auto auto 60px auto; 
    max-width: 1600px; 

}

.card {
    background-color: #f2f2f2;
    width: 25%; 
    margin: 10px; 
    text-align:center;
    
}

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

.card-copy {
    padding: 0 20px 20px 20px; 

}

/* Define Slideshow Styles */ 
* {box-sizing: border-box}
.mySlides1, .mySlides2, .mySlides3 {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1350px;
  position: relative;
  margin: auto;
}


/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #3F4242;
  background-color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.643);
  color: white;
}

/* Caption text */
.text {
    background-color: #3F4242;
  color: #f2f2f2;
  font-family: 'Montserrat';
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #3F4242;
  font-size: 12px;
  padding: 14px 20px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  margin-bottom: 30px;
}

.active, .dot:hover {
  background-color: #717171;
}

.dot2 {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  margin-bottom: 30px;
}

.active, .dot2:hover {
  background-color: #717171;
}

.dot3 {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  margin-bottom: 30px;
}

.active, .dot3:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}



/* Define Footer Styles */

footer {
    background-color: #f4f4f4; 
    text-align: center;
    padding: 10px; 
}

.copyright {
    font-size: 12px;
    margin-top: 10px; 

}

/* Define Media Queries Which Tell the Code How Resize */

@media screen and (max-width: 768px) {
    nav {
        display: none;
    }

    .nav-mobile {
        display: block;

        
      }


    h1 {
        font-size: 24px; 
    }

    h2 {
        font-size: 18px; 
    }

    h3 {
        font-size: 22px;
    }
    
    h4{
        font-size: 18px;
    }
    
    h5 {
        font-size: 16px;
    }
    
    h6 {
        font-size: 14px;
    }
    
    a {
        font-size: 14px;

    }

  

    .hero_container {
        display: flex; 
        flex-direction: column; 
    }

    .hero_container-img {
        min-width: 100%;
    }

    .hero_container-copy {
        min-width: 100%;
        margin: 20px;
        padding: 0;
        text-align: center;
    }

    .card-container {
        display: flex;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .card {
        width: 100%;
    }

    .card img {
        max-width: 100%;
    }

}

@media screen and (max-width: 1024px) {
 

    .nav-link {
        min-width: 15%;
       
       }

       .nav-social {
        min-width: 3%; }

    p { 
        font-size: 14px; 
    }

    .hero_container-img {
        width: 50%; 
    }

    .hero_container-copy {
        width: 50%; 
    }


    

}


  