html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: middle;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

html {
  -webkit-font-smoothing: antialiased;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.25), only screen and (min-device-pixel-ratio: 1.25), only screen and (min-resolution: 200dpi), only screen and (min-resolution: 1.25dppx) {
  -webkit-font-smoothing: subpixel-antialiased;
}

button:focus {
  outline: 0;
}

.no-select,
canvas {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

@font-face {
  font-family: FG_Medium;
  src: url("../fonts/FoundersGrotesk-Medium.otf") format("opentype");
}

@font-face {
  font-family: FG_Regular;
  src: url("../fonts/FoundersGrotesk-Regular.otf") format("opentype");
}

@font-face {
  font-family: FG_Semibold;
  src: url("../fonts/FoundersGrotesk-Semibold.otf") format("opentype");
}

@font-face {
  font-family: Georgia;
  src: url("../fonts/Georgia.ttf") format("opentype");
}

body {
  background: #B2D8EF;
  display: grid;
  grid-template-rows: auto auto auto;
  min-height: 100vh;
  font-family: FG_Regular;
  font-size: 62.5%;
  color: #2B2B2B;
}

.meter {
  position: absolute;
  width: 150px;
  height: 400px;
  z-index: 500;
  background: white;
  right: 0px;
  margin: 25px;
  margin-right: 0px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.meter img {
  width: 50px;
  margin: 12.5px;
  margin-bottom: 0px;
}

.meter h2 {
  font-size: 3rem;
  margin: 12.5px;
  margin-bottom: 0px;
  margin-top: -5px;
  font-family: Georgia;
}

.meter .bar-holder {
  background: #F5F5F5;
  flex: 3;
  margin: 12.5px;
  position: relative;
  border-bottom: 1px solid #2B2B2B;
  border-top: 1px solid #2B2B2B;
}

.meter .bar-holder small {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 1rem;
}

.meter .bar-holder small.top {
  top: 5px;
}

.meter .bar-holder small.bottom {
  bottom: 2px;
}

.meter .bar-holder .bar {
  transition: all 1s ease;
  position: absolute;
  height: 0px;
  bottom: 0px;
  width: 100%;
}

.content {
  width: 100%;
  max-width: 800px;
  font-size: 1.7rem;
}

.button {
  display: block;
  padding: 20px 25px 20px 25px;
  color: white;
  text-align: center;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  background-position: 50% 21%;
  background-size: 100% 300%;
  background-image: linear-gradient(180deg, #EF6B1D 0%, #EF6B1D 45%, #cb540e 45%, #cb540e 100%);
  transition: all .4s ease;
}

.button:hover, .button.selected {
  background-position: 50% 70%;
}

header .content {
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
}

header .content a:link, header .content a:visited {
  color: #2B2B2B;
}

header .content a:link:hover, header .content a:visited:hover {
  color: #EF6B1D;
}

header .content .phone {
  width: 100%;
  text-align: right;
  font-family: FG_Medium;
  margin: 25px;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

header .content .phone a:link, header .content .phone a:visited {
  text-decoration: none;
  color: #2B2B2B;
}

header .content .phone img {
  width: 18px;
  height: 18px;
  display: inline;
  margin-right: 5px;
}

header .content .column {
  width: 50%;
  margin: 0 0 25px 0;
}

header .content .column svg {
  height: auto;
  width: calc(100% - 50px);
  margin: 25px 0 0 25px;
}

header .content .column svg .anim-line {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  animation: clip .2s linear forwards .5s;
}

header .content .column svg .anim-stift {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  animation: clip .2s linear forwards 1s;
}

header .content .column svg .anim-arrow-1 {
  clip-path: polygon(0% 0%, 0% 0%, 0% 0%, 0% 100%);
  animation: clip .1s linear forwards 1.2s;
}

header .content .column svg .anim-arrow-2 {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  animation: clip .1s linear forwards 1.4s;
}

@keyframes clip {
  to {
    clip-path: polygon(0% 0%, 100% 0%, 110% 100%, 0% 110%);
  }
}

@media (orientation: portrait) {
  header .content .column {
    width: 100%;
  }
}

main {
  max-width: 800px;
  position: relative;
  margin: 0px auto;
}

main .content {
  width: calc(100% - 150px);
}

main .content .question {
  background: white;
  margin: 25px 25px 50px 25px;
  display: flex;
  flex-direction: column;
}

main .content .question h3 {
  margin-top: 50px;
}

main .content .question .button {
  margin: 25px;
  margin-top: 0px;
}

main .content .question .button:last-child {
  margin-bottom: 50px;
}

main .content .info {
  margin: 50px 0 50px 0;
}

main .content .info h3 {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

main .content .info h3 .plus {
  width: 24px;
  text-align: center;
}

main .content .info p {
  max-height: 700px;
  transition: max-height .4s ease, opacity .4s ease .4s;
  opacity: 1;
}

main .content .info p.hidden {
  transition: max-height .4s ease .4s, opacity .4s ease;
  max-height: 0px;
  overflow: hidden;
  opacity: 0;
}

main .content .result {
  margin: 25px;
}

main .content .result .answer {
  display: none;
}

main .content .result .answer span {
  position: relative;
  display: inline-block;
}

main .content .result .answer span::after {
  content: '';
  display: block;
  width: 100%;
  height: 10px;
  background-image: url("../img/streep.svg");
  position: absolute;
  bottom: 2px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

main .content .result .link {
  display: flex;
  justify-content: space-around;
}

main .content .result h2 {
  font-size: 3.5rem;
  margin-left: 25px;
  margin-bottom: 0;
  font-family: Georgia;
  position: relative;
  display: inline-block;
}

main .content .result h2::before {
  content: '';
  display: block;
  width: 160%;
  height: 160%;
  background-image: url("../img/cirkel.svg");
  position: absolute;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateX(-20%) translateY(-15%) scale(1.2);
}

main .content .result svg {
  overflow: visible;
  box-shadow: 0px -0px 10000px transparent;
  /*trick for chrome*/
  width: 100%;
  max-width: 650px;
}

main .content .result svg .anim-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

main .content .result svg .anim-line.start {
  animation: dash .6s reverse backwards;
}

main .content .result svg .anim-circle {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

main .content .result svg .anim-circle.start {
  animation: dash .6s linear forwards;
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

main .content .contact {
  background: white;
  display: flex;
  flex-direction: column;
  margin: 25px;
  margin-bottom: 50px;
}

main .content .contact .row {
  display: flex;
  flex-warp: wrap;
}

main .content .contact .row:first-child {
  margin: 50px 50px 0 50px;
}

main .content .contact .row:last-child {
  margin: 0 50px 50px 50px;
}

main .content .contact .row .name {
  width: calc(187px + 25px);
}

main .content .contact .row a:link, main .content .contact .row a:visited {
  text-decoration: underline;
  color: #EF6B1D;
  transition: color .3s ease;
}

main .content .contact .row a:link:hover, main .content .contact .row a:visited:hover {
  color: #D45F19;
}

main .content .contact .row h4:last-child a {
  text-decoration: none;
}

@media (orientation: portrait) {
  main .content .contact .row {
    flex-direction: column;
  }
  main .content .contact .row p, main .content .contact .row img, main .content .contact .row .name {
    margin: 25px 0 25px 0;
  }
}

main .content .contact img {
  width: 187px;
  height: 187px;
}

footer {
  background: white;
}

footer .content {
  display: flex;
  flex-direction: column;
  margin: 0px auto;
}

footer .content .row {
  display: flex;
  justify-content: space-between;
}

footer .content .row span {
  flex-grow: 3;
}

footer .content .row img, footer .content .row a, footer .content .row span {
  margin: 25px;
  font-size: 1.4rem;
}

footer a:not(.button) {
  text-decoration: none;
  color: #2B2B2B;
}

h3 {
  font-size: 2.6rem;
  font-family: FG_Medium;
  margin: 25px;
}

h3 a:link, h3 a:visited {
  color: #2B2B2B;
}

h4 {
  font-size: 2.3rem;
  line-height: 2.6rem;
  font-family: FG_Medium;
}

p {
  margin: 25px;
  margin-top: 0px;
  line-height: 2rem;
}

hr {
  margin: 25px;
  height: 1px;
  border: none;
  background: #2B2B2B;
}

.serif {
  font-family: Georgia;
  line-height: 1.6rem;
}
