/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 
 COLOR PALLETE USED
 
 https://coolors.co/252323-70798c-f5f1ed-dad2bc-a99985
 
 https://www.canva.com/colors/color-palette-generator/
 
 Raisin Black 252323
 Slate Grey 70798C
 Isabelline F5F1ED
 Bone DAD2BC
 Grullo A99985
 
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
/*flexbox support prefix*/
.wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

:root {
	--color1: #252323; /*Darkest*/
	--color2: #70798C;
  /*--color3: #00968f;*/
	--color3: #A99985;
	--color4: #DAD2BC;
	--color5: #F5F1ED; /*Lightest*/
}

html {
  color: #F5F1ED;
  font-size: 1em;
  line-height: 1.4;
}

body, html {
  height: 100%;
  margin: 0;
  font-family: "Palatino Linotype";
  font-size: 20px;
  color: #777;
  background-color: #F5F1ED;
}

nav {
  display: none;
}

h {
  font-size: 45px;
}

h3 {
  font-size: 45px;
  letter-spacing: 5px;
  text-transform: uppercase;
  /*
  font: 20px "Gilda Display", serif;*/
  color: #111;
}

a:link{
  color: var(--color1);
}

a:visited{
  color: var(--color2);
}

.logo {
  padding: 15px;
}

.logo img {
  max-height: 100px;
}

.navwithlogo {
  display: flex;
  background-color: var(--color5);
  overflow: visible;
  /*position: fixed;*/
  top: 0;
  width: 100%;
  z-index: 1;
  /*max-height: 20%;*/
  flex-wrap: wrap;
}

.navigation {
  display: flex;
  flex-direction: column-reverse;
  flex-flow: row wrap;
  justify-content: space-around;
  align-content: center;
  row-gap: 15px;
  list-style: none;
  margin: 20px;
  /*background: #F5F1ED;*/
}

.navigation a {
  color: #252323;
  text-decoration: none;
  padding: 10px;
}

.navigation a:hover {
  background: var(--color4);
}

.hamburgernav {
  display: none;
}

.bgimg-1, .bgimg-2, .bgimg-3, .bgimg-4, .bgimg-ourvision, .bgimg-ourvision2, .bgimg-workshop, .bgimg-workshop1, .bgimg-workshop2, .bgimg-workshop3, .bgimg-events, .bgimg-accommodationandvenue, .bgimg-accommodationandvenue2, .bgimg-contact {
  height: 600px;
  position: relative;
  opacity: 0.75;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bgimg-1 {
  background-image: url("img/forest.jpg");
  /*background-size: contain;*/
  min-height: 70%;
  /*background-position: 50% 30%;*/
}

.bgimg-2 {
  background-image: url("img/location.jpg");
  min-height: 80%;
}

.bgimg-3 {
  background-image: url("img/garden1.jpg");
  min-height: 80%;
}

.bgimg-4 {
  background-image: url("img/bridge3.jpg");
  min-height: 80%;
}

.bgimg-ourvision {
  opacity: 0.80;
  background-image: url("img/beach.jpg");
  min-height: 80%;
}

.bgimg-ourvision2 {
  opacity: 0.80;
  background-image: url("img/our_vision2.jpg");
  min-height: 80%;
}

.bgimg-workshop {
  background-image: url("img/workshop1.jpg");
  min-height: 80%;
}

.bgimg-workshop1 {
  background-image: url("img/reedbackcrop.jpg");
  /*background-image: url("img/firepit.jpg");*/
  max-height: 40%;
  min-height: 20%;
}

.bgimg-workshop2 {
  background-image: url("img/garden2.jpg");
  max-height: 40%;
  min-height: 20%;
}

.bgimg-workshop3 {
  background-image: url("img/sunset.jpg");
  max-height: 40%;
  min-height: 20%;
}

.bgimg-events {
  opacity: 0.80;
  background-image: url("img/eventsbg.jpg");
  min-height: 80%;
}

.bgimg-accommodationandvenue {
  background-image: url("img/lectureRoom3.jpg");
  min-height: 60%;
  max-height: 80%;
}

.bgimg-accommodationandvenue2 {
  background-image: url("img/houseoutside.jpg");
  min-height: 60%;
  max-height: 80%;
}

.bgimg-contact {
  background-image: url("img/view2.jpg");
  min-height: 70%;
  max-height: 80%;
}

.caption {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  color: #000;
}

.caption span.border {
  /*background-color: #252323;*/
  color: #F5F1ED;
  padding: 18px;
  font-size: 65px;
  letter-spacing: 8px;
  
  /**/
  text-shadow: 1px 1px 2px var(--color1), 0 0 5px var(--color1);
  /**/
  /*
  text-shadow: -1px 0 var(--color1), 0 1px var(--color1), 1px 0 var(--color1), 0 -1px var(--color1), 0 0 5px var(--color1);
  */
  /*
  text-shadow: 0px 0 5px var(--color1), 0 0px 5px var(--color1), 0px 0 5px var(--color1), 0 0px 5px var(--color1);
*/
  /*
  text-shadow:
    -2px 0 var(--color1), 0 2px var(--color1), 2px 0 var(--color1), 0 -2px var(--color1),
    -1px 1px var(--color1), 1px -1px var(--color1), 1px 1px var(--color1), -1px -1px var(--color1);
  */

  /*
  text-shadow:
    -3px 0 var(--color1), 0 3px var(--color1), 3px 0 var(--color1), 0 -3px var(--color1),
    -2px 2px var(--color1), 2px -2px var(--color1), 2px 2px var(--color1), -2px -2px var(--color1);
  */
  /*
  text-shadow: 0 0 5px black;
  */


  /*
  text-shadow: -1px 0 var(--color2), 0 1px var(--color2), 1px 0 var(--color2), 0 -1px var(--color2);
  */
  /*
  text-shadow: -1px 0 var(--color3), 0 1px var(--color3), 1px 0 var(--color3), 0 -1px var(--color3);
  */
  /*
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  */
}

.sidepicture {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: var(--color2);
  background-color:#F5F1ED;
  padding:50px 80px;
  text-align: start;
}

.sidepicture-down {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color2);
  background-color:#F5F1ED;
  padding:50px 0px;
  text-align: start;
}

.sidepicture-down a img {
  max-width: 90%;
  margin-left: 5%;
  margin-right: 5%;
}

#event {
  max-width: 95%;
  max-height: 550px;
}

#instalogo {
  height: 25px;
}

.sidepicture-reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: center;
  color: var(--color2);
  background-color:#F5F1ED;
  padding:50px 80px;
  text-align: start;
}

.sidepicture h3 {
  font-size: 38px;
}

.sidepicture-reverse h3 {
  font-size: 38px;
}

.sidepictureparagraph {
  width: 80%;
  padding: 30px;
}

.sidepicture img {
  opacity: 100%;
  /*flex: 45%;*/
  max-height: 45%;
  max-width: 45%;
}

.sidepicture-reverse img {
  opacity: 100%;
  /*flex: 45%;*/
  max-height: 45%;
  max-width: 45%;
}

#contactlogo{
  max-width: 600px;
}

.container3 {
  color:#ddd;
  background-color:#282E34;
  padding:50px 80px;
  position:relative;
}

.container4 {
  text-align: start;
  padding:50px 80px;
  color: var(--color2);
  display: block;
  margin-left: auto;
  margin-right: auto;
  position:relative;
  background-color: var(--color5);
}

.gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
}

.gallery-pictures {
  list-style: none;
  padding: 20px;
  max-width: 30%;
  min-width: 0;
}

.gallery-pictures img {
  width: 100%;  
  height: auto;
}

.gallery2 {
  display: flex;
  flex-wrap: wrap;
}
.gallery2container {
  flex: 1 1 0;
  padding: 40px;
}

.gallery2picture {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

.smalltitle h4{
  color: var(--color2);
  font-size: 25px;
  text-align: center;
}

.bottomcontainer {
  position: relative;
  background-color: #252323;
  width: 100%;
  height: 100px;
}

.bottomcontainer a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color3);
}

.button {
  background-color: var(--color5);
  border: none;
  color: var(--color1);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.buttondark {
  background-color: var(--color1);
  border: none;
  color: var(--color5);
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.dropbutton {
  border:none;
  text-decoration: none;
  /*display: block;*/
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  background-color: var(--color5);
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: var(--color3);}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: var(--color3);} 

@media all and (max-width: 1540px) {
  /*
  .gallery {
    flex-flow: column wrap;
    padding: 0px;
  }
  */
  .gallery-pictures {
    max-width: 50%;
    padding: 10px;
  }
}

@media all and (max-width: 1200px) {
  /*Hide navbar*/
  .navwithlogo{
    display: none;
  }
  
  /*Show hamburger menu*/
  nav {
    background-color: var(--color5);
    height: 80px;
    padding: 0 16px;
    /*display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;*/
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    /* fade in checked menu */
  }
  nav .m-menu__checkbox {
    display: none;
  }
  nav label.m-menu__toggle {
    cursor: pointer;
  }
  nav .m-menu {
    position: fixed;
    top: 0;
    left: 0;
    max-width: 450px;
    width: calc(100vw - 30px);
    height: 100%;
    -moz-transform: translate3d(-450px, 0, 0);
    -o-transform: translate3d(-450px, 0, 0);
    -ms-transform: translate3d(-450px, 0, 0);
    -webkit-transform: translate3d(-450px, 0, 0);
    transform: translate3d(-450px, 0, 0);
    -moz-transition: transform 0.35s;
    -o-transition: transform 0.35s;
    -webkit-transition: transform 0.35s;
    transition: transform 0.35s;
    z-index: 1;
    overflow: hidden;
    background-color: var(--color5);
  }
  nav .m-menu__overlay {
    background-color: rgba(103, 103, 103, 0.5);
    position: fixed;
    top: 0;
    width: 100%;
    bottom: 0;
    z-index: 1;
    display: none;
  }
  nav .m-menu__header {
    padding: 24px 16px 0;
    height: 80px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -ms-flex-pack: space-around;
    -webkit-align-items: center;
    align-items: center;
    border-bottom: 1px solid var(--color5);
  }
  nav .m-menu__header span {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
  }
  nav .m-menu .m-menu {
    -moz-transform: translate3d(480px, 0, 0);
    -o-transform: translate3d(480px, 0, 0);
    -ms-transform: translate3d(480px, 0, 0);
    -webkit-transform: translate3d(480px, 0, 0);
    transform: translate3d(480px, 0, 0);
  }
  nav .m-menu ul {
    height: 100%;
    overflow-y: auto;
    list-style-type: none;
  }
  nav .m-menu ul li a, nav .m-menu ul li label {
    display: block;
    text-align: left;
    padding: 0 15px;
    line-height: 47px;
    text-decoration: none;
    color: var(--color1);
    cursor: pointer;
    font-size: 1rem;
    border-bottom: 1px solid var(--color5);
    position: relative;
  }
  nav .m-menu ul li label.a-label__chevron::after {
    content: "";
    position: absolute;
    display: inline-block;
    height: 10px;
    width: 10px;
    border-color: var(--color1);
    border-style: solid;
    border-width: 1px 1px 0 0;
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 50%;
    margin-top: -5px;
    right: 16px;
  }
  nav .m-menu ul li .-invisible {
    border-bottom: 0;
  }
  nav .m-menu .m-menu label.m-menu__toggle {
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    border-bottom: 0;
    padding: 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
  }
  nav .m-menu__checkbox:checked ~ .m-menu__overlay {
    display: block;
  }
  nav .m-menu__checkbox:checked ~ .m-menu {
    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  .gallery {
    flex-flow: column wrap;
    padding: 0px;
  }

  .gallery-pictures {
    max-width: 600px;
    padding: 10px;
  }
  /*
  .navwithlogo {
    flex-direction: column;
    justify-content: center;
  }

  .navigation {
    padding-right: 40px;
    margin: 20px 0px;
  }

  .logo{
    text-align: center;
  }
  */
  .bgimg-1 {
    max-height: 70%;
    min-height: 50%;
  }

  .sidepicture {
    flex-direction: column;
    padding: 10px 0px;
  }

  .sidepicture-reverse {
    flex-direction: column;
    padding: 10px 0px;    
  }

  .sidepicture img{
    /*max-height: 90%;*/
    max-width: 90%;
    height: auto;
    /*width: auto;*/
  }

  .sidepicture-reverse img{
    /*max-height: 90%;*/
    max-width: 90%;
    height: auto;
    /*width: auto;*/
  }

  .container3{
    padding: 30px;
  }

  .container4{
    padding: 30px;
  }

  #mainmenu1 {
    padding-top: 0px;
  }

  #mainmenu2 {
    padding-top: 0px;
  }

  #mainmenu3 {
    margin-top: 30px;
  }

  .caption span.border {
    font-size: 40px;
  }
}

@media all and (max-width: 930px) {
  .bgimg-1 {
    max-height: 45%;
    min-height: 40%;
    background-position: 50% 25%;
  }
}

@media all and (max-width: 770px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  #contactlogo{
    max-width: 70%;
  }
}
@media all and (max-width: 460px){
  .bottomcontainer{
    font-size: 15px;
  }
  .caption span.border {
    font-size: 30px;
  }
}

@media all and (max-width: 215px){
  .bottomcontainer{
    font-size: 10px;
  }
}
/*
@media all and (max-width: 800px) {
  .navigation {
    justify-content: space-around;
  }
}

@media all and (max-width: 600px) {
  .navigation {
    flex-flow: column wrap;
    padding: 0;
  }
  .navigation a { 
    text-align: center; 
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255,0.3); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); 
  }
  .navigation li:last-of-type a {
    border-bottom: none;
  }
}
*/


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}



/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}