:root {
  --bg-color: #232133;
  --primary-color: #F85228;
  --text-color: #FFFFFF;
}

@font-face {
  font-family: Muli;
  font-weight: 300;
  src: url(../fonts/Muli-Regular.ttf);
}

@font-face {
  font-family: Muli;
  font-weight: 700;
  src: url(../fonts/Muli-Bold.ttf);
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  background: var(--bg-color);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Muli', sans-serif;
  font-size: 28px;
  line-height: 38px;
  color: var(--text-color);
  padding: 128px 64px;
}

body.imprint {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Muli', sans-serif;
  font-size: 28px;
  line-height: 38px;
  color: var(--text-color);
  padding: 64px;
}

body.imprint section {
  width: 100%;
  max-width: 1080px;
}

h1 {
  font-size: 40px;
  color: var(--primary-color);
  font-weight: 300;
  margin: 0;
}

h2 {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 300;
}

p {
  margin-bottom: 0;
  margin-top: 8px;
  font-weight: 300;
}

a, a:link, a:active {
  color: var(--text-color);
  transition: all .3s ease;
}

.small-links {
  position: absolute;
  bottom: 0;
  left: 0;
  font-weight: 700;
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(calc(50% + 64px));
}

.small-links span {
  margin: 0 12px;
}

.small-links a {
  text-decoration: none;
}

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

main {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
  max-width: 1080px;
}
section {
  position: relative;
  display: flex;
  height: 100%;
  width: 100%;
}

section .left-content {
  overflow: hidden;
  min-width: 500px;
}

section .left-content, section .right-content {
  display: flex;
  flex: 1;
  position: relative;
}

section .left-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.bubble-a, .bubble-b {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
}

.bubble-a div, .bubble-b div {
  position: absolute;
}

.bubble-a img, .bubble-b img {
}

.bubble-a {
  left: 0;
  top: 50%;
  padding: 32px;
  transform: translate3d(calc(0% - 96px), -50%,0);
  /* background-image: url(../img/bubble_a.svg); */
}

.bubble-a div {
  margin: 0 32px 96px 64px;
  top: 0;
}

.bubble-b {
  right: 0;
  bottom: 0;
  transform: translate3d(0%,0,0);
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 960px) {
  section .left-content {
    min-width: 360px;
  }

  main section .right-content .bubble-a {
    transform: translate3d(calc(0% - 64px), -50%,0);
  }

  main section .right-content .bubble-a img {
    width: 280px;
  }

  main section .right-content .bubble-a div {
    margin: 0 32px 96px 32px;
  }
    
  main section .right-content .bubble-b img {
    width: 220px;
  }

  h1 {
    font-size: 26px;
  }
  main section .right-content .bubble-a, main section .right-content .bubble-b {
    font-size: 18px;
  }
  p {
    margin-top: 0px;
}

}

@media only screen and (max-width: 720px) {
  section .left-content {
    min-width: 300px;
  }

}

@media only screen and (max-width: 640px) {
  body {
    overflow-x: hidden;
  }
  main {
    align-items: center;
    justify-content: center;
  }
  main section {
    align-items: center;
    justify-content: center;
  }
  main section .left-content, main section .right-content {
    width: 100%;
    padding-bottom: 100%;
  }
  main section .left-content img {
    width: 100%;
  }
  main section .right-content {
    position: absolute;
    left: 0;
    width: 100%;
  }
  main section .right-content .bubble-a {
    top: 0;
    left: 0;
    transform: translate3d(-64px, calc(-100% + 48px),0);
  }
  main section .right-content .bubble-a div {
    margin: 0;
    top: 24px;
  }
  main section .right-content .bubble-a img {
    width: 280px;
  }
  
  main section .right-content .bubble-b {
    bottom: 0;
    right: 0;
    transform: translate3d(32px, calc(100% - 16px),0);
  }
    
  main section .right-content .bubble-b img {
    width: 220px;
  }

  h2 {
    font-size: 24px;
  }

  p.imprint {
    font-size: 16px;
    line-height: 1.5;
  }

  .small-links {
    position: relative;
  }
}