/* color-palette 
    Wasserblau          #B8D9E1
    Blaugrau            #6CA1AB
    Dunkelblaugrün      #226D7B
    Indigoblau          #343E63
    Dunkelblaugrau      #2F354A
    Dunkelbraun         #816B3A
    Braun               #B39A75
    Hellgrau            #B2BFBF
    Grün                #A3B397
*/

/* assistant-regular - latin */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Assistant/assistant-v18-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/Assistant/assistant-v18-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/Assistant/assistant-v18-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/Assistant/assistant-v18-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/Assistant/assistant-v18-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/Assistant/assistant-v18-latin-regular.svg#Assistant') format('svg'); /* Legacy iOS */
}
/* assistant-700 - latin */
@font-face {
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/Assistant/assistant-v18-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/Assistant/assistant-v18-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/Assistant/assistant-v18-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/Assistant/assistant-v18-latin-700.woff') format('woff'), /* Modern Browsers */
       url('./fonts/Assistant/assistant-v18-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/Assistant/assistant-v18-latin-700.svg#Assistant') format('svg'); /* Legacy iOS */
}

/* dancing-script-regular - latin */
@font-face {
  font-family: 'Dancing Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('./fonts/Dancing_Script/dancing-script-v24-latin-regular.svg#DancingScript') format('svg'); /* Legacy iOS */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
.noscrol {
    overflow: hidden;
}
body {
	color: #343E63;
	font-family: 'Assistant', sans-serif;
    line-height: 1.6;
    display: flex; /* last 3 for sticky footer */
    min-height: 100vh;
    flex-direction: column;
}
main {
    margin: 80px 25px;
    flex: 1; /* sticky footer */
}
h1 {
    text-align: center;
}
#welcome {
    font-weight: normal;
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
}
#welcome strong {
    font-family: 'Assistant', sans-serif;
    font-size: 40px;
    white-space: nowrap;
}
h2 {
    margin-top: 40px;
}
p {
    padding-top: 1em;
}
.signature {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    padding: 1.8rem;
}
main .container {
    margin-top: 16px;
}
.map-container {
  position: relative;
  padding-bottom: 56%;
  height: 0;
  overflow: hidden;
}
.container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.directions {
    padding: 16px 0;
}
.fewo-text {
    margin-bottom: 26px;
}
.fewo-text p {
    padding-top: 14px;
}


/*    mobile view     */

.nav {
	position: fixed;
	top: 0;
	display: block;
	width: 100%;
    max-width: 1500px;
	height: 40px;
    z-index: 1;
    background-color: #226D7B;
}
.menu {
	width: 100%;
	height: 100%;
    max-width: 1500px;
	position: fixed;
	list-style: none;
	background-color: #226D7B;
    overflow: hidden;
	transition: max-height .5s ease-out;
}
.menu.closed {
    max-height: 40px;
}
.menu.opened {
    max-height: 100%;
}
.menu li a {
    line-height: 40px;
	color: white;
	text-decoration: none;
	display: block;
	padding-left: 9px;
}
.menu li a:hover {
	background-color: #6CA1AB;
}
.menu li a.active {
    background-color: #B39A75;
}
#logo {
    font-weight: bold;
    text-transform: uppercase;
}
#logo.active {
    background-color: #226D7B;
}
.menu-btn {
	position: fixed;
	top: 0;
	right: 0;
	padding: 13px 18px;
	color: white;
	cursor: pointer;
    border: none;
    height: 40px;
    width: 50px;
    background-color: transparent;
}
.menu-btn:hover {
	background-color: #6CA1AB;
}
footer {
    width: 100%;
    max-width: 1500px;
    padding: 1rem 2.5rem;
    background-color: #B39A7522;
    color: #816B3A;
    white-space: nowrap;
}
footer .container {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    padding-right: 10px;
}
footer a {
    text-decoration: none;
    color: #816B3A;
}
footer i {
    padding-right: 5px;
}

/*  Image Gallery  */

.gallery {
    position: relative; /* needed to position the left and right arrows */
}
.slides {
    display: none;
    width: 100%;
}
.slides:first-child {
    display: block;
}
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
    background-color: #B39A7566;
}
#caption {
    text-align: center;
    background-color: #B39A75;
    padding: 4px;
    color: white;
}
.column {
    float: left;
    width: 16.66%; /* 6 equal columns */
}
.gallery::after {
  content: "";
  clear: both;
  display: table;
}
.thumbnail {
    width: 100%;
    opacity: 0.6;
    cursor: pointer;
}
.active,
.thumbnail:hover {
    opacity: 1;
}


/* desktop view */

@media screen and (min-width: 768px) {
    #logo.active {
        background-color: #B39A75;
    }
    body {
        max-width: 1500px;
        margin: auto;
    }
    .header-image {
        position: relative;
        top: 40px;
        background-image: linear-gradient(0deg, white, rgba(0,0,0,0) 15%), url(img/panorama.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 100%;
        height: 0;
        padding-top: 18.53%; /* (img-height 278 / img-width 1500 * container-width 100) */
    }
    #welcome {
        white-space: normal;
    }
    main {
        font-size: 18px;
    }
    .menu {
        height: 40px;
    }
    .menu li {
      	float: left;
    }
    .menu li:first-child {
        margin-top: 0;
    }
    .menu li a {
    	width: 135px;
    	text-align: center;
        line-height: 40px;
        height: 40px;
        padding-left: 0;
    }
    .menu-btn {
        display: none;
    }
    #googlemap {
        margin-right: 40px;
    }
    main .container {
        display: flex;
        height: 360px;
        align-items: center;
    }
    .map-container {
        flex: 60%;
        padding-bottom: 0;
        min-height: 360px;
    }
    .directions {
        flex: 40%;
    }
    footer .container {
        flex-direction: row;
        justify-content: space-between;
    }
}
