/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'Mamorgo';
  src: url('../fonts/Ma-Regular.woff2') format('woff2'), url('../fonts/Ma-Regular.woff') format('woff');
}

@keyframes rotation {
  0% { transform: rotate(0deg) }
  100% { transform: rotate(180deg) }
}

@keyframes backrotation {
  0% { transform: rotate(180deg) }
  100% { transform: rotate(360deg) }
}

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

body {
  background-color: #003c59;
  font-family: 'Lato', sans-serif;
}

div.container {
  height: 200vh;
  width: 60vw;

  left: 20vw;

  position: fixed;
  top: 0;
  /* background-color: red; */
}

h1 {
  font-family: 'Mamorgo';
  font-size: 15vw;
  font-weight: normal;
  text-align: center;
  margin: 0;
  padding: 0;
  color: #fff;
}

.quote {
  font-family: 'Mamorgo';
  font-size: 40px;
}

button.languageswitch {
  position: sticky;
  top: 20px;
  right: 20px;
}

h1.north {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
}

h1.south {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: rotate(180deg) translate(50%, 0) !important;
}

.rotate {
  /* transform: translate(-50%, 0) rotate(180deg) !important; */
  transform-origin: center center;
  animation: rotation 1s ease-in both;
}

.backrotate {
  /* transform: translate(-50%, 0) rotate(180deg) !important; */
  transform-origin: center center;
  animation: backrotation 1s ease-in both;
}

div.circle {
  width: 110vh;
  height: 110vh;
  border: #fff dotted 2.5px;
  border-radius: 50%;

  position: fixed;
  top: 45vh;
  left: 50%;

  transform: translate(-50%, 0);
}

a.languageswitch {
  color: #fff;

  position: fixed;
  right: 5vw;
  top: 5vw;
  z-index: 2;

  display: block;

  font-size: 1.5vw;

  cursor: pointer
}

section.text_slide {
  width: 60vw;
  height: 75vh;
  position: sticky;
  top: 0px;

  padding: 5vh 20vw 20vh 20vw;

  line-height: 1.2;

  z-index: 3;

}

.rosa {
  background-color: #f2ced8;
}

.grün {
  background-color: #d5ebe7;
}

.blau {
  background-color: #d2ddf2;
}

.grau {
  background-color: #ececec;
}

.notvisible {
  display: none !important;
}

section.introduction {
  margin-top: 70vh;
  font-size: 30px;
}

section.info {
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

section.info a {
  display: inline-block;
  text-decoration: none;
  border-bottom: 0.5px solid #000;
  color: #000;
}

div.image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60vw;
  position: absolute;
  bottom: 10vh;
}

div.image img {
  width: 17vw;
  height: auto;
}

div.left, div.right {
  width: 29vw;
}

div.map {
  padding-bottom: 100%;
  position: relative;
  width: 29vw;
  height: auto;
}

div.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

p {
  margin-top: 0;
}


@media (min-width: 1280px) {

    h1 {
      font-size: 12vw;
    }

    div.circle {
      width: 80vh;
      height: 80vh;
      top: 60vh;
    }

    section.introduction {
      font-size: 40px;
    }

  }

@media (max-width: 460px) {

  div.container {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  h1 {
    font-size: 18vw;
  }

  div.circle {
    width: 70vw;
    height: 70vw;
    top: calc(50vh - 35vw);
    border-width: 1.5px;
  }

section.introduction {
    font-size: 20px;
    margin-top: 50vh;
  }

section.text_slide {
    width: 80vw;
    height: 85vh;
    padding: 5vh 10vw 10vh 10vw;
}

div.image {
  width: 80vw;
  bottom: 10vh;
}

div.image img {
  width: 40vw;
  height: auto;
}

a.languageswitch {
  right: 18vw;
  top: 7vw;

  font-size: 3.5vw;
  cursor: pointer
}

section.info {
  font-size: 15px;
  line-height: 1.3;
  display: block;
}

div.left, div.right {
  width: 80vw;
}

.no-mobile {
  display: none;
}

div.map {
  padding-bottom: 100%;
  width: 80vw;
}

section.info a {
  border-bottom: 0.1px solid #000;
}

}

@media (max-width: 320px) {

  section.introduction {
      font-size: 18px;
    }

  section.info {
      font-size: 13px;
      display: block;
    }

}
