@font-face {
  font-family: "Poppins";
  src: url("/user/themes/reflact/assets/fonts/Poppins-Bold.ttf");
}

@font-face {
  font-family: "Amatic";
  src: url("/user/themes/reflact/assets/fonts/Amatic-Bold.ttf");
}

@font-face {
  font-family: "OpenSans";
  src:
      url("../fonts/OpenSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "OpenSansBold";
  src:
      url("../fonts/OpenSans-Bold.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}

:root {
  --color-primary: #edb9bc;
  --color-primary-dark:rgb(234, 147, 151);
  --color-secondary: #fdf2f2;
  --color-gold: #bc9c22;
  --color-text: #3d3c3b;
  --color-background: #FAF9F1;
  --font-headlines: "Poppins", sans-serif;
  --font-text-logo: "Amatic", sans-serif;
  --font-text: "OpenSans", sans-serif;
  --font-text-bold: "OpenSansBold", sans-serif;
  --animation-duration: 2s;
}

body {
  font-size: 0.9em;
  font-family: var(--font-text);
  color: var(--color-text);
  animation: fadeIn 1.5s ease;
  background-color: var(--color-background);
}

.maintenance {
  background-image: url("images/cornflower-g94105b5ea_1920.jpg");
  background-size: cover;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headlines);
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-family: var(--font-text-logo);
  font-size: 1.6em;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--color-gold);
}

h2 {
  font-size: 1.5em;
  line-height: 1.25em;
  font-family: var(--font-text-logo);
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

h3 {
  font-size: 1em;
  line-height: 1.3em;
  padding-top: 2rem;
}

h4, h5, h6 {
  font-size: 1em;
  line-height: 1.2em;
  padding-top: 1.5rem;
}

/* h1 .amatic {
  font-size: 1.7em;
  letter-spacing: 0.2em;
} */

img {
  max-width: 100%;
}

.amatic.bg {
  background-image: url("images/headline-background.png");
  background-size: 100% 100%;
  padding: 0 0.5em;
  color: var(--color-text);
  border-bottom: none;
}

.amatic.bg-gold {
  background-image: url("images/headline-background-gold.png");
  background-size: 100% 100%;
  padding: 0 0.5em;
  font-size: 1.4em;
  border-bottom: none;
}

.amatic-gold {
  font-family: var(--font-text-logo);
  font-size: 1.5em;
  letter-spacing: 0.2em;
  color: var(--color-gold);
}

.amatic {
  font-family: var(--font-text-logo);
  font-size: 1.7em;
  letter-spacing: 0.2em;
}


/* .amatic:not(.hero-text .amatic, h1 .amatic)  {
  border-bottom: var(--color-primary) solid 2px;
} */

a {
  -webkit-transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out, border-color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  color: var(--color-text);
  text-decoration: none;
}

/************** HEADER ***************/

header {
  margin-bottom: 1.5em;
}

.hero {
  display: flex;
  flex-direction: column;
  height: 20em;
  align-self: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* background-attachment: fixed; */
  background-position: 50% 0%;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-text {
  height: 100%;
  width: 100%;
}

.hero-text h1 {
  hyphens: auto;
  color: var(--color-text);
  font-size: 2.5em;
}

/************** LOGO + NAV ***************/
#logo {
  position: absolute;
  z-index: 1;
  top: 1em;
  left: 1em;
  height: 65px;
  z-index: 6;
}

#logo.fixed {
  position: fixed;
}

#nav a:hover {
  color: var(--color-primary);
}

#nav {
  text-align: end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.5em;
  padding: 2em 2em 0 0;
  z-index: 1;
  background-color: var(--color-secondary);
}

#nav.scrolled {
  background-color: white;
  border-bottom: 1px solid var(--color-text);
}

#nav > ul {
  margin: 0;
}

#nav > ul > li {
  display: inline-block;
  margin-left: 1em;
}
#nav > ul > li > ul {
  display: none;
}
#nav > ul > li > span,
#nav > ul > li > a {
  color: var(--font-text);
  text-decoration: none;
  border: 0;
  padding: 0.3em 0.5em 0.3em 0.5em;
}

#nav > ul > li > span.active,
#nav > ul > li > a.active {
  color: var(--color-primary);
  border-bottom: var(--color-primary) solid 2px;
}

#nav > ul > li:first-child {
  margin-left: 0;
}

.dropotron {
  text-align: left;
  line-height: 2em;
  border-radius: 0.35em;
  min-width: 12em;
  background: #fff;
  line-height: 1em;
  padding: 0.85em 0 0.85em 0;
  -webkit-box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.25);
  margin-top: -0.8em;
  list-style: none;
}
.dropotron a,
.dropotron span {
  display: block;
  padding: 0.65em 1em 0.65em 1em;
  border-bottom: 0;
}

.dropotron li {
  padding-left: 1em;
}

.dropotron li:hover {
  background-color: var(--color-secondary);
}

a:hover {
  color: var(--color-text);
}

a.amatic:hover {
  opacity: 0.75;
}

/*************** CONTENT ***********/
.content {
  position: relative;
  /* background-color: #fff; */
  overflow-x: hidden;
  padding: 1em 0;
  min-height: 70vh;
}

.content a:hover {
  color: var(--color-primary);
}

.content img {
  width: 100%;
}

.audio ul {
  list-style: none;
}

.audio ul li {
  padding-bottom: 1em;
}

.audio audio {
  border-radius: 4px;
  margin-top: 0.5em;
}

.controls {
  background-color: pink;
}

audio::-webkit-media-controls-panel {
  background-color: var(--color-primary);
}

audio::-moz-media-controls-panel {
  background-color: var(--color-primary);
}



/************** OFFER ****************/
.image-col .polygon {
  opacity: 0.7;
}

.image-col .polygon img {
  width: 100%;
}

.image-col > div:nth-of-type(2) {
  background-color: rgb(188, 156, 34, 0.6);
  color: white;
}

.image-col h1, .image-col h2 {
  color: white !important;
}

.textbox-2 {
  padding: 2em;
  position: relative;
}

.textbox {
  top: 5%;
  left: 5%;
  width: 90%;
  padding: 1em;
}

.textbox h2, .textbox-2 h2 {
  font-family: var(--font-text-logo);
  font-size: 1.6em;
  letter-spacing: 0.2em;
  text-align: center;
  color: var(--color-gold);
}

.textbox a {
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  background-color: white;
}

.textbox a:hover {
  color: var(--color-primary-dark);
}

.row:first-of-type .textbox.relative {
  padding-top: 3em;
}

.textbox.absolute {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.5);
}

.textbox.relative {
  position: relative;
}

.textbox .notes {
  font-size: 0.9rem;
  padding: 2rem 0;
}

/************** KACHELN ****************/
.image-wrapper {
  position: relative;
}

.image-wrapper .tile {
  position: relative;
  z-index: 2;
  opacity: 0.7;
}

.tile {
  -webkit-transition: opacity 0.25s ease-in-out;
  transition: opacity 0.25s ease-in-out;
}

.tile img {
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  opacity: 0.8;
  background-color: white;
  margin-top: 2em;
}

a.tile:hover {
  opacity: 1;
}

.tiles span {
  font-family: var(--font-text-logo);
  hyphens: auto;
  font-size: 1.5em;
  letter-spacing: 0.2em;
}

/************** ABOUT ****************/
.about img:not(.polygon img) {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  opacity: 0.7;
  background-color: white;
  margin-top: 2em;
  width: 50%;
}

.about h2:not(.about .textbox-2 h2) {
  color: var(--color-gold);
}

.about h2 {
  font-family: var(--font-text-logo);
  font-size: 1.8em;
  letter-spacing: 0.2em;
}

.about .textbox-2 {
  text-align: start;
}

.about ul, .textbox ul, .textbox-2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.about ul li, .textbox ul li, .textbox-2 ul li {
  text-indent: -30px;
  padding: 1em 0 0 2em;
  position: relative;
}

.about ul li::before, .textbox ul li::before, .textbox-2 ul li::before  {
  content: "";
  background: url("/user/themes/reflact/images/check.png");
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  padding-left: 30px;
  margin-bottom: -5px;
}

.textbox ul li::before {
  background-image: url("/user/themes/reflact/images/check_black.png");
}

.content a {
  color: var(--color-gold);
  border-bottom: var(--color-text) 1px solid;
}

/* .content a:hover {
  color: #917c29;
} */

/************ CONTACT ***************/
.form-input-wrapper {
  padding-bottom: 1em;
}

input,
textarea {
  padding: 10px 15px;
  width: 100%;
  font-size: 1rem;
  background-color: white;
  color: var(--color-text);
  border-radius: 4px;
  border: solid 1px var(--color-primary);
}

button {
  background-color: var(--color-primary);
  color: var(--color-text);
  padding: 1em;
  border: 0;
  border-radius: 4px;
  margin-top: 1em;
}

input:focus,
textarea:focus {
    outline: none !important;
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

/* input:focus ~ span,
textarea:focus ~ span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
} */

textarea {
  width: 100%;
  min-height: 15em;
}

.notices.green {
  border-left: none;
  background: white;
  color: var(--color-text);
  font-family: var(--font-text-logo);
  font-size: 1.6em;
  letter-spacing: 0.2em;
}

#contact-form.fade-out {
  opacity: 0;
  animation: fadeOut 1s ease;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/************** REPROACHES ***************/
.reproach {
  background-color: white;
  border: var(--color-primary) solid 1px;
  margin: 1em;
  padding: 1em;
}

.empathy h1 {
  padding-top: 2em;
}

/************FOOTER***************/
#footer-wrapper {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  position: relative;
  border-top: solid 1px #c2c7cc;
  padding: 1em;
  background-color: white;
  margin-top: 3em;
}

#footer .email {
  border-bottom: var(--color-text) solid 1px;
}

#footer a:hover {
  color: var(--color-primary);
}

/* Mobile Landscape */
@media screen and (max-height: 768px) {
  /* #header-wrapper {
    height: 60vh;
  } */
}

@media screen and (min-width: 768px) {
  .hero {
    height: 30em;
    background-position: 50% 50%;
  }

  /* .hero-text h1 {
    font-size: 1.7em;
  } */

  .image-col {
    width: 100vw;
    position: relative;
    min-height: 400px;
  }

  .about .image-col {
    min-height: 550px;
  }

  .image-col > div {
    height: 100%;
    position: absolute;
    width: calc(1.1 * 50vw);
  }

  .image-col .polygon {
    top: 0;
    left: 0;
    -webkit-clip-path: polygon(80% 0%, 0% 0%, 0% 100%, 100% 100%);
    clip-path: polygon(82% 0%, 0% 0%, 0% 100%, 100% 100%);
  }

  .image-col .polygon img {
    object-fit: cover;
    height: 100%;
  }

  .image-col > div:nth-of-type(2) {
    top: 0;
    left: calc(0.9 * 50vw);
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 21% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 18% 100%);
  }

  .textbox-2 {
    width: 80%;
  }

  .textbox-2 > div {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-10%, -50%);
  }

  .content img {
    width: 50%;
  }

  .tile img {
    width: 100%;
  }

  .about img {
    float: left;
    margin-right: 2em;
    margin-bottom: 2em;
  }

  .about .row:first-of-type h2 {
    padding: 2em 0 0.5em 0;
  }

  .about p {
    padding: 1em 0 0.5em 0;
  }

  .about .profile-text {
    float: left;
  }

  .about .textbox-2 {
    text-align: start;
    width: 85%;
  }

  .about .textbox-2 > div {
    left: 25%;
  }

  .about .image-col {
    /* height: 60vh; */
  }
}

@media screen and (min-width: 640px) {
  .header-img {
    height: auto;
    width: 100%;
  }
}

/* Laptop LG */
@media screen and (min-width: 992px) {
  body {
    font-size: 1em;
  }

  .header-img {
    top: 4.5em;
    max-height: 100%;
    width: auto;
  }

  #header-wrapper .header-text {
    font-size: 3em;
  }

  #logo {
    position: fixed;
    height: 6em;
  }

  .textbox {
    top: unset;
    bottom: 15%;
    left: 10%;
    width: 80%;
  }
}

@media screen and (min-width: 1200px) {
  body {
    font-size: 1.1em;
  }

  .hero {
    background-position: 50% 0%;
  }

  .hypnose.hero {
    background-position: 50% 89%;
  }

  .mediation.hero,
  .teamentwicklung-und-konfliktmoderation.hero,
  .moderation-im-rahmen-der-gefaehrdungsbeurteilung-psychischer-belastungen.hero,
  .ueber-mich.hero,
  .empathie-lernen.hero
  {
    background-position: 50% 50%;
  }

  .kontakt.hero,
  .impressum.hero  {
    background-position: 50% 20%;
  }

  .hero-text h1 {
    font-size: 3em;
  }

  .textbox.relative {
    left: 20%;
    width: 60%;
  }
}


@media screen and (min-width: 1800px) {
  .textbox {
    left: 15%;
    width: 60%;
  }

  .textbox.relative {
    left: 25%;
    width: 50%;
  }
}


@media screen and (min-width: 2500px) {
  .textbox {
    left: 15%;
    width: 60%;
  }

  .textbox.relative {
    left: 30%;
    width: 40%;
  }
}