@charset "UTF-8";

/*
Theme Name: Aloe By Barbara - Website V2.0
Theme URI: http://www.aloebybarbara.ch
Author: Daniel Annaheim
Design: Marco von Burg, Daniel Annaheim
Developer: Daniel Annaheim
Dev URI: https://www.danielannaheim.dev
Description: Aloe By Barbara - Website
Version: 2.0
*/


/* @FONT-FACES */
@font-face {
    font-family: 'open_sans_regular';
    src: url('font/OpenSans-Regular.eot');
    src: url('font/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
         url('font/OpenSans-Regular.woff') format('woff'),
         url('font/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans_bold';
    src: url('font/OpenSans-Bold.eot');
    src: url('font/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
         url('font/OpenSans-Bold.woff') format('woff'),
         url('font/OpenSans-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sans_light';
    src: url('font/OpenSans-Light.eot');
    src: url('font/OpenSans-Light.eot?#iefix') format('embedded-opentype'),
         url('font/OpenSans-Light.woff') format('woff'),
         url('font/OpenSans-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'sanchez_regular';
    src: url('font/Sanchez-Regular.woff2') format('woff2'),
         url('font/Sanchez-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'source_sans_pro_light';
    src: url('font/SourceSansPro-Light.woff2') format('woff2'),
         url('font/SourceSansPro-Light.woff') format('woff'),
		 url('font/SourceSansPro-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'source_sans_pro_bold';
    src: url('font/SourceSansPro-Bold.woff2') format('woff2'),
         url('font/SourceSansPro-Bold.woff') format('woff'),
		 url('font/SourceSansPro-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'source_sans_pro_regular';
    src: url('font/SourceSansPro-Regular.woff2') format('woff2'),
         url('font/SourceSansPro-Regular.woff') format('woff'),
		 url('font/SourceSansPro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

/* BODY */
body {
    font-family: 'open_sans_regular', Arial, sans-serif;
    color: #333;
    background-color: #e6ebeb;
    overflow-x: hidden;
    font-size: 16px;
}

/* DOCUMENT LINKS */
a {
    color: #333;
}

/* HEADINGS */
h1 {
    font-family: 'source_sans_pro_regular';
    font-size: 2.4rem;
    margin: 7% 0% 3% 0%;
    padding: 0%;
    display: block;
}
h2 {
  font-family: 'source_sans_pro_regular';
  font-size: 2.4rem;
  margin: 1% 0%;
  display: block;
}
h3 {
    font-family: 'source_sans_pro_regular';
    font-size: 1.1rem;
    margin: 1% 0%;
    display: block;
}

/* NAV BODY OVERLAY */
#body-overlay {
	display: flex;
	position: fixed;
	z-index: 1;
	width: 100%;
	height: 0vh;
	top: 0;
	left: auto;
	right: 0;
	bottom: 0;
	background: rgba(46, 50, 55, 0.46);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.35s ease, 0s width 0.35s linear;
}
#body-overlay.show-overlay {
	height: 100vh;
	left: 0;
	opacity: 1;
	transition: opacity 0.5s ease, 0s width 0s linear;
}

/* FIXED HEADER */
#header {
    background-color: white;
    position: fixed;
    width: 100%;
    max-width: 1400px;
    height: 100px;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    flex-direction: row;
}

/* NAVIGATION */
#navigation {
    position: fixed;
    top: 0;
    right: -300px;
    bottom: 0;
    left: auto;
    width: 299px;
    height: 100vh;
    background-color: white;
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
@media screen and (min-width: 1000px) {
    #navigation {
        display: flex;
        flex-direction: row;
        position: static;
        height: auto;
        width: min-content;
        display: flex;
        align-items: flex-end;
        background-color: transparent;
        transition: none;
        right: 0px;
    }
}

/* NAV BUTTON */
#nav-button {
    display: flex;
    width: 46px;
    height: 46px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 3px;
    align-self: flex-end;
    z-index: 1001;
    position: relative;
    margin-bottom: 3px;
}
@media screen and (min-width: 1000px) {
    #nav-button {
        display: none;
    }    
}
#nav-button .nav-span {
    background: #333;
    border-radius: 1px;
    transition: width 0.23s ease;
    position: absolute;
    height: 1px;
    width: 18px;
    right: 0px;
}
#nav-button .nav-text {
  top: 27px;
  position: absolute;
  font-size: 0.6rem;
  right: -1px;
}
#nav-button:hover .nav-span {
	transition: width 0.23s ease, right 0.23s ease;
}
#nav-button .nav-span:nth-child(1) {
	top: 7px;
	transform: rotate(0deg);
	transition: 0.2s top 0.15s ease, 0.15s transform ease, width 0.17s ease;
}
#nav-button .nav-span:nth-child(2) {
	top: 14px;
    transition: 0.15s transform ease, width 0.17s ease, 0.2s opacity 0s ease;
    opacity: 1;
}
#nav-button .nav-span:nth-child(3) {
	top: 21px;
	transform: rotate(0deg);
	transition: 0.2s top 0.15s ease, 0.15s transform ease, width 0.17s ease;
}
#nav-button:hover .nav-span {
	width: 22px;
    right: 0px;
}
#nav-button:hover .nav-span:nth-child(2) {
  width: 19px;
}
#navigation.nav-open ~ #nav-button .nav-span:nth-child(1) {
	top: 14px;
	width: 24px;
	transform: rotate(45deg);
	transition: 0.2s top ease, 0.15s transform 0.2s ease;
}
#navigation.nav-open ~ #nav-button .nav-span:nth-child(2) {
    top: 14px;
    opacity: 0;
    transition: transform 0.2s ease, 0.2s opacity 0s ease;
}
#navigation.nav-open ~ #nav-button .nav-span:nth-child(3) {
	top: 14px;
	width: 24px;
	transform: rotate(-45deg);
	transition: 0.2s top ease, 0.15s transform 0.2s ease;
}

/* NAV LIST */
#nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
@media screen and (min-width: 1000px) {
    #nav-list {
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-end;
    }
}
#nav-list li a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 8px 22px;
    display: block;
    font-family: 'source_sans_pro_regular';
    text-transform: uppercase;
}
@media screen and (min-width: 1000px) {
    #nav-list li a {
        padding: 5px 10px;
    }
}
#nav-list li a:hover, #nav-list li a.current {
    text-decoration: underline;
}

/* LAYOUT / WRAPPER / CONTAINERS */
#wrapper {
    width: 100%;
    height: auto;
    background-color: white;
    position: relative;
    z-index: 0;
    max-width: 1400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin: 0 auto;
}
#spacer {
    height: 100px;
    width: 100%;
    display: block;
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 18px;
}
.container-fluid {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* BANNER */
#banner {
    background-color: rgb(255, 198, 0);
    text-align: center;
    padding: 1.4%;
    font-size: 0.8rem;
    font-family: 'source_sans_pro_light';
    font-weight: 500;
}
@media screen and (min-width: 600px) {
    #banner {
        font-size: 1rem;
        padding: 1.2%;
    }  
}
@media screen and (min-width: 1000px) {
    #banner {
        font-size: 1.2rem;
        padding: 0.9%;
    }  
}

/* HELPER CLASSES */
.flex-row {
    display: flex;
    flex-direction: row;
}
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex-between {
    justify-content: space-between;
}
.flex-center {
    justify-content: center;
}
.height-1-1 {
    height: 100%;
}
.padding {
    padding: 18px 0px;
}

/* LOGO */
.logo {
    height: auto;
    width: 120px;
    display: block;
    position: relative;
    z-index: 1;
    
}
.logo img {
    height: auto;
    width: 100%;
    display: block;
    margin: 0;
}
.mobile-menu-logo {
    display: block;
    margin: 7px;
    padding: 6px;
}
@media screen and (min-width: 1000px) {
  .mobile-menu-logo {
      display: none;
  }
}

/* CAROUSEL */
.carousel {
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 56;
  position: relative;
  overflow: hidden;
  margin: auto;
  opacity: 0;
  transition: opacity 0.17s ease;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-item {
  flex: 0 0 100%;
  position: relative;
  user-select: none;
  cursor: grab;
  overflow: hidden;
}
.carousel-item img {
  width: 100%;
  display: block;
  pointer-events: none;
}
/* Caption */
.carousel-item .caption {
  position: absolute;
  left: 0px;
  color: black;
  transform: translateX(-100%);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
  background: rgb(255, 198, 0);
  padding: 1.4% 2% 1.4% 3%;
  font-size: 2.3vw;
  font-weight: bold;
  font-family: 'source_sans_pro_bold', Arial, sans-serif;
}
.carousel-item .caption.caption-1 {
  top: 6%;
  transition-delay: 0s;
}
.carousel-item .caption.caption-2 {
  top: 19%;
  transition-delay: 0.14s;
}
.carousel-item .caption.caption-3 {
  top: 32%;
  transition-delay: 0.28s;
}
.carousel-item .caption.active {
  transform: translateX(0%);
  opacity: 1;
}
@media screen and (min-width: 1400px) {
    .carousel-item .caption {
        font-size: 32.1667px;
    }	
}
/* Navigation */
.carousel-nav {
  position: absolute;
  bottom: 3%;
  right: 3%;
  width: auto;
  height: 50px;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.carousel-nav button {
  pointer-events: all;
  border: none;
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 0.5rem;
  background-image: none;
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-size: 28px auto;
  display: table;
  content: '';
  background-color: white;
}
.carousel-nav button#prev {
    mask-image: url("img/arrow.svg");
    transform: rotate(0deg);
    margin-right: 24%;
}
.carousel-nav button#next {
    mask-image: url("img/arrow.svg");
    transform: rotate(180deg);
}

/* FLEX-BOXES */
/* Text-Title-Box*/
.title-text-box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 5% 0% 3% 0%;
}
.title-text-box p {
    font-family: 'open_sans_regular', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
}
@media screen and (min-width: 700px) {
    .title-text-box {
        padding: 1% 5%;
    }
}
@media screen and (min-width: 1000px) {
    .title-text-box {
        padding: 1% 7%;
    }
}

/* Text-Image-Box */
.text-img-box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 5% 2% 0% 2%;
}
.text-img-box img, .text-img-box .text-box {
    width: 100%;
    height: min-content;
}
img.scale-down {
    transform: scale(0.8);
}
.margin-horizontal {
    margin: 12% 0%;
}
.text-img-box .text-box {
    font-size: 1.2rem;
    font-family: 'source_sans_pro_light';
    font-weight: 400;
}
.text-img-box ul {
    margin: 24px auto 34px 32px;
}
.text-img-box ul li {
  margin-bottom: 2%;
}
.flex-reverse {
    flex-flow: column;
}
@media screen and (min-width: 700px) {
    .text-img-box {
        flex-direction: row;
        padding: 1% 5%;
    }
    .text-img-box img, .text-img-box .text-box {
        width: 50%;
    }
    .flex-reverse {
        flex-flow: row-reverse;
    }
    .margin-horizontal {
        margin: 0% 0%;
    }
}
@media screen and (min-width: 1000px) {
    .text-img-box {
        padding: 1% 7%;
    }
}

/* Three-Column-Box */
.three-column-box {
    width: calc(100% - 36px);
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 6px 18px 20px 18px;
    padding: 1% 0%;
}
.three-column-item {
    width: 100%;
    height: auto;
    position: relative;
    aspect-ratio: 600 / 367;
    overflow: hidden;
    margin-bottom: 10px;
    cursor: pointer;
}
.three-column-item img {
    width: 100%;
    height: auto;
}
@keyframes skew-lines {
    0%   {width: 35%;}
    50%  {width: 0%;}
    100% {width: 35%;}
}
.three-column-item h2 {
    width: 100%;
    position: absolute;
    bottom: 36px;
    font-size: 2rem;
    text-align: center;
    font-family: 'sanchez_regular';
    padding: 0px 0px 3px 0px;
    margin: 1% 0%;
    color: white;
}
.three-column-item h2::before {
    width: 35%;
    height: 1px;
    background: white;
    position: absolute;
    bottom: 0px;
    right: 50%;
    display: table;
    content: "";
}
.three-column-item:hover h2::before {
    animation-name: skew-lines;
    animation-duration: 0.27s;
    animation-delay: 0.07s;
}
.three-column-item h2::after {
    width: 35%;
    height: 1px;
    background: white;
    position: absolute;
    bottom: 0px;
    left: 50%;
    display: table;
    content: "";
}
.three-column-item:hover h2::after {
    animation-name: skew-lines;
    animation-duration: 0.45s;
    animation-delay: 0.1s;
}
.three-column-item h3 {
    width: 100%;
    position: absolute;
    bottom: 6px;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-family: 'source_sans_pro_regular';
    margin: 1% 0%;
    color: white;
}
@media screen and (min-width: 780px) {
    .three-column-box {
        width: 100%;
        flex-direction: row;
        margin: 4% 0% 4% 0%;
    }
    .three-column-item {
        width: 33.33333%;
        margin-bottom: 0%;
    } 
}

/* Three-Boxes-Box */
.three-boxes-box {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    justify-content: flex-start;
}
.three-boxes-item {
    width: 100%;
    height: auto;
    background: #f7f7f7;
    margin-bottom: 3%;
    padding: 10px;
    border: 1px solid #dbdbdb;
}
.three-boxes-item img {
    width: 100%;
    height: auto;
}
.three-boxes-item h3 {
    font-family: 'source_sans_pro_regular';
    font-size: 1.6rem;
    margin: 10px 0px 10px 0px;
    display: block;
}
.three-boxes-item p {
    font-size: 1.2rem;
    font-family: 'source_sans_pro_light';
    font-weight: 500;
}
.three-boxes-item .box-button {
    font-family: 'source_sans_pro_bold';
    line-height: 1.25;
    margin-top: 30px;
    padding: 12px 33px;
    background: rgb(255, 198, 0);
    border: none;
    color: snow;
    cursor: pointer;
    font-size: 1.25em;
    outline: none;
    text-transform: uppercase;
    animation: glow 3s ease-in infinite, glow-bg 3s ease-in infinite;
    display: block;
    text-decoration: none;
    width: max-content;
}
.three-boxes-item .box-button:hover {
    text-decoration: underline;
}
@keyframes glow {
    0% { background: rgb(255, 198, 0); }
    25% { background: rgb(255, 209, 0); }
    100% { background: rgb(255, 198, 0); }
}
@keyframes glow-bg {
    0% { box-shadow: 0px 0px 0px 0px rgb(253, 229, 145); }
    25% { box-shadow: 0px 0px 10px 0px rgb(253, 229, 145); }
    100% { box-shadow: 0px 0px 0px 0px rgb(253, 229, 145); }
}
@media screen and (min-width: 700px) {
    .three-boxes-box {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 0% 5%;
        margin: 0;
        justify-content: space-between;
    }
    .three-boxes-item {
        width: 49%;
    } 
}
@media screen and (min-width: 1000px) {
    .three-boxes-box {
        padding: 0% 7%;
        flex-wrap: nowrap;
    }
    .three-boxes-item {
        width: 32.33333%;
    } 
}

/* Two-Column-Box */
.two-column-box {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    justify-content: space-between;
}
.two-column-item {
    width: 100%;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media screen and (min-width: 700px) {
    .two-column-box {
        flex-direction: row;
        padding: 0% 5%;
        margin: 0;
    } 
    .two-column-item {
        width: 48%;
    }  
}
@media screen and (min-width: 1000px) {
    .two-column-box {
        padding: 0% 7%;
    }   
}

/* MASONRY */
#masonry {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.grid-item {
  position: absolute;
  background: white;
  transition: all 0.3s ease;
}
.grid-item img {
  width: 100%;
  display: block;
}
.grid-item .caption {
  padding: 10px;
  font-family: 'source_sans_pro_regular', Arial, sans-serif;
  font-size: 1.2rem;
  color: #383838;
  text-align: center;
  background-color: #ffffffb7;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
}

/* REGISTER */
#registrieren {
    padding: 1% 0% 6% 0%;
}
#registrieren .text-box p {
    margin-bottom: 4%;
}

/* CONTACT */
#kontakt {
    padding: 3% 0% 1% 0%;
}
.contact, .contact a, .contact a:hover, .contact a:focus, .contact a:active {
    background: #474442;
    color: whitesmoke;
}
img.icon {
    width: 32px;
    height: 32px;
}
.portrait-img {
    width: 160px;
    height: 160px;
    border: 2px solid #77b3d4;
    margin-bottom: 15px;
    border-radius: 50%;
    overflow: hidden;
}
.portrait-img img {
    width: 100%;
    height: auto;
}
.contact-button {
    font-family: 'source_sans_pro_bold';
    line-height: 1.25;
    margin-top: 30px;
    padding: 12px 33px;
    background: rgb(255, 198, 0);
    border: none;
    color: snow;
    cursor: pointer;
    font-size: 1.25em;
    outline: none;
    text-transform: uppercase;
    animation: glow 3s ease-in infinite, glow-bg 3s ease-in infinite;
    display: block;
    text-decoration: none;
    width: max-content;
}
.contact-button:hover {
    text-decoration: underline;
}
.contact-section {
    margin-top: 10px;
}
.two-column-item h3 {
    font-size: 1.4rem;
}
address {
    font-style: normal;
}
address span {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}
address span a {
    margin-left: 10px;
}
address span:first-child {
    margin-bottom: 30px;
}

/* FORM */
input, textarea {
    border: 2px solid #77b3d4;
    background: #f0ffde;
    height: 40px;
    padding: 12px;
    font-family: 'open_sans_regular', Arial, sans-serif;
    font-size: 0.8rem;
    margin-bottom: 10px;
    border-radius: 3px;
    color: #333;
}
textarea {
	border-bottom-right-radius: 45px;
    height: 140px;
}
input::placeholder, textarea::placeholder {
	color: #333 !important;
}
input:focus, textarea:focus {
    border-color: #aed8ee;
    background: #f5fbed;
}
input[type="submit"] {
    background: #f0ffde;
    cursor: pointer;
    padding: 0px 26px;
    width: fit-content;
}
input[type="submit"]:hover {
    border: 2px solid #ffc600;
    background: #f0ffde;
}
.required {
    border-color: #ffc600 !important;
    background: #f3fbe9 !important;
}
#form-status {
    color: whitesmoke;
    font-size: 0.8rem;
    padding: 0px 0px 10px 0px;
    font-family: 'open_sans_regular', Arial, sans-serif;
}
#contact-form label {
    font-size: 0.6rem;
}

/* FOOTER */
.footer, .footer a, .footer a:hover, .footer a:focus, .footer a:active {
    background: #2c2a29;
    height: auto;
    color: whitesmoke;
}
.footer p {
    font-size: 0.9rem;
    padding: 0.7%;
}

/* SELECTION */
::selection {
  background: #99cc59;
  color: #333;
}

/* IMPRESSUM (modal) */
#impressum {
    position: fixed;
    z-index: 1009;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: #313131cb;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#impressum-box {
    position: relative;
    display: block;
    width: calc(100% - 36px);
    max-width: 800px;
    height: 70vh;
}
#impressum-header {
    width: 100%;
    height: 80px;
    background: rgb(119, 179, 212);
    position: absolute;
    left: 0;
    top: 0px;
    right: 0;
    bottom: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 3%;
}
#impressum-close {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 2rem;
}
#impressum-text {
    width: 100%;
    height: calc(100% - 80px);
    position: absolute;
    left: 0;
    top: 80px;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    padding: 3%;
    background: white;
}
#impressum-text h3 {
    font-size: 1.4rem;
}
#impressum-text h4, #impressum-text h5, #impressum-text h6 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
}
