@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("./montserrat-400.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("./montserrat-700.ttf") format("truetype");
}

@font-face {
  font-display: swap;
  font-family: "Lovelo";
  font-style: normal;
  font-weight: 700;
  src: url("./Lovelo-LineBold.ttf") format("truetype");
  src: url("./Lovelo-LineBold.eot") format("embedded-opentype");
  src: url("./Lovelo-LineBold.woff") format("woff");
  src: url("./Lovelo-LineBold.woff2") format("woff2");
  src:
    url("./Lovelo-LineBold.woff2") format("woff2"),
    url("./Lovelo-LineBold.woff") format("woff"),
    url("./Lovelo-LineBold.eot") format("embedded-opentype"),
    url("./Lovelo-LineBold.ttf") format("truetype");
}

body,
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  /* background-color: #222222; */
  /* color: white;  */
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0em;
}

@media print {

  main,
  article,
  section {
    display: block;
    width: 100%;
  }

  @page {
    margin-top: 1.5cm;
    margin-bottom: 1cm;
    margin-left: 0cm;
    margin-right: 0cm;
  }

  @page :first {
    margin-top: 0cm;
  }

  p {
    font-size: 12pt;
    page-break-inside: auto;
  }
}

.centered {
  text-align: center;
}

/* FONT */

.hero-text,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

h1 {
  display: block;
  margin-bottom: 1em;
  margin-top: 1em;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  width: 80%;
}

h3 {
  width: 80%;
}

div.content li+li {
  margin-top: 10px;
}

li {
  font-size: 16px;
}

div.content ul ul {
  margin-top: 10px;
}

p {
  line-height: 1.8em;
  margin-bottom: 1.6em;
  overflow-wrap: break-word;
  font-size: 16px;
}

hr {
  border-top: 2px solid #ff1b1b; 
  margin-top: 20px;
}

.clear {
  clear: both
}

@media (max-width: 800px) {
  ul {
    padding-left: 5vw;
  }

  div.content li+li {
    margin-top: 1.2vw;
  }

  div.content ul ul {
    margin-top: 1.2vw;
  }
}


/* Header */

.header {
  padding-left: 20vw;
  padding-right: 20vw;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  justify-content: space-between;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  position: fixed;
  background-color: #222222;
  height: 75px;
  z-index: 100;
}

.hero {
  width: 100%;
  height: 25vh;
  object-fit: cover;
  margin-top: 75px;
}

.title {
  font-family: "Lovelo";
  font-weight: 700;
  line-height: 1.4em;
  margin-bottom: 1em;
  overflow-wrap: break-word;
  text-align: right;
  width: 50%;
  color: #ff1b1b;
}

.logo {
  align-content: center;
  align-items: center;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  font-family: "Lovelo";
  font-size: 40px;
  height: 2.6em;
  line-height: 1.4em;
  margin-bottom: 1em;
  margin-top: 0px;
  text-align: center;
  color: #ff4242;
}

.logo img {
  height: 2.6em;
  width: 2.6em;
  padding-right: 10px;
}

@media (max-width: 1125px) {  
  .header {
    padding-left: 0;
    padding-right: 0;
  }

  .logo {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .logo {
    font-size: 5vw;
  }
  
  .header {
    height: 9.3vw;
  }

  .hero {
    margin-top: 9.3vw;
  }
}

@media (max-height: 500px) {
  .logo {
    font-size: 4vw;
  }
  
  .header {
    height: 7.3vw;
  }

  .hero {
    margin-top: 7.3vw;
  }
}

/* Content */

.arrow {
  list-style-type: none;
}

.arrow li:before {
  content: '';
  display: inline-block;
  height: 16px;
  width: 16px;
  background-image: url('img/arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: -35px;
  margin-right: 5px;
  margin-bottom: -2px;
}

div.content {
  padding-left: 20vw;
  padding-right: 20vw;
  height: 100%;
}

div.content .map {
  aspect-ratio: 1 / 0.47;
  width: 100%;
}

div.content .map iframe {
  aspect-ratio: 1 / 1;
  border: 0;
  width: 100%;
}

div.content .left {
  float: left;
  width: 47%;
}

div.content .right {
  align-items: center;
  display: flex;
  float: right;
  height: 100%;
  justify-content: center;
  text-align: center;
  width: 47%;
}

img.raum {
  width: 100%;
  height: 50vh;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

div.view {
  float: left;
  padding-left: 1%;
  padding-right: 1%;
  width: 48%;
  margin-bottom: 100px;
}

p.calculator {
  margin-top: 10px;
  margin-bottom: 10px;
}

div.calculator {
  height: auto;
  overflow: hidden;
}

div.calculator-left {
  float: none;
  width: auto;
  overflow: hidden;
  height: 57px;
}

div.calculator-right {
  width: 160px;
  height: 57px;
  float: right;
  text-align: right;
  margin-top: 2px;  
  display: flex;
  justify-content: right;
  align-items: center;
}

input.calculator {
  width: 90%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: right;
}

p.calculator-left {
  float: left;
  width: 50%;
}

p.calculator-right {
  float: right;
  width: 50%;
  text-align: right;
}

@media (max-width: 800px),
print {
  div.content .left {
    float: none;
    width: 100%;
  }

  div.content .right {
    display: unset;
    float: none;
    padding: unset;
    width: 100%;
  }
}

@media print {
  div.content .map {
    break-inside: avoid;
  }

  div.content .map br {
    display: none;
  }

  div.content {
    padding-bottom: 0;
  }
}

@media not print {
  @media (min-width: 1300px) {
    div.content .map {
      aspect-ratio: 1 / 0.35;
    }

    div.content .map iframe {
      height: 100%;
    }

    div.content .left {
      height: 100%;
      width: 64%;
    }

    div.content .right {
      width: 30%;
    }
  }
}

@media (max-width: 1200px) {
  div.view {
    float: unset;
    width: 100%;
    margin-bottom: unset;
  }
}

/* Printing */

.print-only {
  visibility: collapse;
}

@media print {
  .print-only {
    visibility: visible;
  }
}

/* Carousel */

.slideshow-container {
  width: 80%;
  position: relative;
  margin: auto;
}

.slideshow-container img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  max-height: 50vh;
  object-fit: contain;
}

.mySlides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@media (max-width: 1800px) {
  .slideshow-container {
    width: 100%;
  }

  .slideshow-container img {
    width: 100%;
  }
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/* details */

.headroom {
  margin-top: 10px;
}

/* contact */

.contact {
  float: left;
  width: 33%;
  text-align: center;
}

.contact img {
  height: 75px;
  width: 75px;
}

@media (max-width: 450px) {
  .contact img {
    height: 16.5vw;
    width: 16.5vw;
  }
}
