/* Root */
body { 
  width: 100%;
  height: 100%;
  display: table;
  margin: 0;
  background-color: var(--mid-blue);
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Regular';
  font-size: 14px;
  letter-spacing: -0.05em;
  color: white;
}
body a {
  color: white;
  text-decoration: none;
}
.no-break {
  display: inline-block;
  white-space: nowrap;
}
.wrapper {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
  min-width: 340px;
}
.content-box {
  width: 85%;
  min-width: 850px;
  height: auto;
  margin: auto;
}
@media (max-width: 850px) {
  .content-box {
    width: 100%;
    min-width: unset;
  }
}
@media (max-width: 400px) {
  body{
    background-color: var(--dark-blue);
  }
}

/* Header with language and impressum links */
.header-box {
  width: 100%;
  height: fit-content;
  background-color: var(--dark-blue);
}
.button {
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  text-decoration: underline;
}
.impressum {
  display: inline-block;
  padding-left: 15px;
  color: white;
}
.language {
  float: right;
  padding-right: 15px;
  color: white;
}
.button a:link {
  color: white;
}
.button a:visited {
  color: white;
}

/* Textbox with header, text, and quotes */
.text-box {
  width: 100%;
  height: auto;
  min-height: 550px;
  display: block;
  margin: auto;
  padding: 2% 0;
  background-color: var(--dark-blue); 
  text-align: justify;
}
.text-box .col-wrapper {
  width: 80%;
  height: auto;
  margin: auto;
  display: flex;
}
.text-box .col-wrapper .col1 {
  width: 50%;
  height: fit-content;
  display: inline-block;
  padding-right: 0.5em;
}
.text-box .col-wrapper .col2 {
  width: 50%;
  height: fit-content;
  display: inline-block;
  padding-left: 0.5em;
}
.text-box .header-wrapper {
  width: auto;
  height: auto;
  padding-bottom: 10px;
  position: relative;
  /* invisible border (without the shadow moves down)*/
  border: 1px solid rgba(39, 58, 97, 0.0);
}
.text-box .header-wrapper .shadow {
  position: absolute;
  top: 20px;
  left: 40px;
  font-family: 'Cursive';
  font-weight: 300;
  white-space: nowrap;
}
.text-box .quote {
  text-align: center;
  font-family: 'Cursive';
  font-weight: 200;
  font-size: large;
}
/* Mobile view */
@media (max-width: 850px) {
  /* only one column */
  .text-box .col-wrapper {
    display: block;
  }
  .text-box .col-wrapper .col1 {
    width: 100%;
    display: block;
    padding-right: 0;
  }
  .text-box .col-wrapper .col2 {
    width: 100%;
    display: block;
    padding-left: 0;
  }
  /* adjust header */
  .text-box .header-wrapper h1 {
    margin-top: 10px;
  }
  .text-box .col-wrapper .col2 .header-wrapper {
    display: none;
  }
}

/* p color text */
p red {
  color: var(--red-text);
}
p green {
  color: var(--green-text);
}
p blue {
  color: var(--light-blue-text);
}
p orange{
  color: var(--orange-text);
}
p purple {
  color: var(--purple-text);
}

/* Footer Text */
.footer {
  width: 100%;
  height: fit-content;
  display: inline-block;
  background-color: var(--orange);
  position: relative;
}
.footer .footer-text {
  width: fit-content;
  height: 70px;
  display: inline-block;
  margin: auto;
  margin-left: 10%;
  margin-top: 5px;
}
.footer .footer-text p {
  line-height: 70px;
  margin: 0;
  padding: 16px 0;
  font-size: 16px;
} 
.footer-text .call-telephone{
  display: inline;
  vertical-align: middle;
}
.footer-text .phone {
  width: 28px;
  height: 28px;
  margin: 16px 0;
  display: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath fill='%23ffffff' d='M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z'/%3E%3C/svg%3E");
}
.footer .footer-text .telephone {
  padding-left: 8px;
  font-size: 26px;
  font-family: 'Regular-Bold';
  font-weight: bold;
  display: inline;
  vertical-align: middle;
} 
/* Mobile view text + telephone */
@media (max-width: 850px) {
  .footer .footer-text {
    margin-left: 10%;
  }
  .footer-text .call-telephone {
    display: none;
  }
  .footer-text .phone {
    display: inline-block;
    vertical-align: middle;
  }
}
@media (max-width: 675px) {
  /* phone + text dissapears if screen is too slim */
  .footer .footer-text {
    margin: 0;
  }
  .footer-text .call-telephone {
    display: none;
  }
  .footer-text .phone {
    display: none;
  }
  .footer .footer-text .telephone {
    display: none;
  }
}

/* Footer Logo */
.footer .jwe-text {
  width: auto;
  max-height: 30px;
  position: absolute;
  right: 40px;
  top: 25px;
  display: inline-block;
}
.footer .jwe-girl {
  width: auto;
  max-height: 230px;
  position: absolute;
  right: 200px;
  bottom: 55px;
}
/* Mobile view logo + girl */
@media (max-width: 850px) {
  .footer .jwe-girl {
    right: 40px;
  }
}
@media (max-width: 675px) {
  /* move logo + girl if screen is too slim */
  .footer {
    display: flex;
    justify-content:center;
    align-items:center;
  }
  .footer .jwe-text {
    width: 90%;
    max-height: none;
    margin: auto;
    right: auto;
    top: auto;
    position: relative;
  }
  .footer .jwe-girl {
    max-width: 18%;
    height: auto;
    right: 3%;
  }
}
@media (max-width: 340px) {
  /* remove girl if screen is too slim */
  .footer .jwe-girl {
    display: none;
  }
}