@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");
}

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

body {
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff;
  color: #555;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  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;
  font-size: 3em;
  margin-bottom: 1em;
  margin-top: 1em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

div.content li {
  font-size: 1.3em;
}

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

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

nav li {
  font-size: 1em !important;
  margin-top: 0px !important;
}

/* Hero */
.hero {
  color: white;
  height: 40vh;
  position: relative;
  text-align: center;
  width: 100%;
}

.hero img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero .facebook {
  bottom: 10px;
  height: 75px;
  position: absolute;
  right: 95px;
  width: 75px;
}

.hero .youtube {
  bottom: 10px;
  height: 75px;
  position: absolute;
  right: 10px;
  width: 75px;
}

.hero-text {
  color: white;
  display: block;
  font-size: 10vmin;
  left: 50%;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
  width: 100%;
}

/* Nav */

nav {
  background-color: #333;
  margin: 0;
  overflow: hidden;
  font-size: 1.4em;
  font-weight: 700;
}

nav ul {
  margin: 0;
  padding-left: 0em !important;
  padding-top: 0em !important;
  padding-bottom: 0em !important;
}

nav ul li {
  display: block;
  float: left;
  list-style-type: none;
  padding-bottom: 0.7em;
  padding-top: 0.7em;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

nav ul .right {
  float: right;
}

@media print {
  nav {
    visibility: collapse;
  }
}

@media not print {
  @media (min-width: 1300px) {
    nav {
      font-size: 1.25vmax;
    }
  }

  @media (max-width: 500px) {
    nav {
      font-size: 1em;
    }
  }
}

/* Content */

div.content {
  padding-left: 15vmin;
  padding-right: 15vmin;
}

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%;
}

@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) {
    p {
      font-size: 1.25vmax;
    }

    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: 500px) {
    h1 {
      font-size: 2em;
    }

    h2 {
      font-size: 1.6em;
    }

    p {
      font-size: 1.2em;
    }
  }
}

/* Donation */

.donation-iban {
  width: 8.75em;
}

/* WhatsApp */

div.content .whatsapp {
  display: flex;
}

div.content .whatsapp-left {
  align-items: center;
  display: flex;
  justify-content: center;
}

div.content .whatsapp-left .whatsapp {
  width: 200px;
  height: 200px;
}

div.content .whatsapp-right {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-left: 30px;
  min-height: 200px;
}

@media (max-width: 800px), print {
  div.content .whatsapp {
    display: unset;
  }

  div.content .whatsapp-left {
    display: inline-block;
    width: 100%;
  }

  div.content .whatsapp-left .whatsapp {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  div.content .whatsapp-right {
    display: unset;
    margin-left: 0px;
    padding: unset;
    width: 100%;
  }
}

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

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

/* Events */

.events {
  width: 100%;
  height: 400px;
  max-width: 1540px;
  background-image: url('/assets/img/spinner.gif');
  background-position: center;
  background-repeat: no-repeat;
}

.events iframe {
  height: 80%;
  width: 80%;
  background: transparent;

  -ms-transform: scale(1.25);
  -moz-transform: scale(1.25);
  -o-transform: scale(1.25);
  -webkit-transform: scale(1.25);
  transform: scale(1.25);

  -ms-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}

/* Spacer */

.spacer {
  height: 50px;
}

/* Printing */

.print-only {
  visibility: collapse;
}

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