@font-face {
  font-family: "Bebas";
  src: url(fonts/BebasNeue-Regular.woff2) format('woff2'),
       url(fonts/BebasNeue-Regular.woff) format('woff');
       font-weight: 400;
}

html, body {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  font-family: "Bebas", Helvetica, Arial, sans-serif;
  color: #1d3257;
}

img {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
}

main a:link,
main a:visited {
  color: #1d3257;
  font-weight: 200;
}

main a:hover {
  color:rgb(80, 182, 148);
}



body {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #C9DFDB;
  width: 100%;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;

}
  
header {
  margin: 30px 0px 0px 0px;
  width: 100%;
}

header img {
  margin: 0 auto;
  width: 140px;
}

main {
  padding: 10px 20px 40px;
}

@media screen and (min-width: 768px) {
  header img {
    width: 200px;
  }

  main {
    padding: 30px 100px 40px;
  }
}

@media screen and (min-width: 1200px) {
  header img {
    width: 300px;
  }

  main {
    padding: 30px 100px 100px;
  }
}

.main-content {
  text-align: center;
}

.main-content p {
  color: #C7C0B1;
  font-size: 24px;
  margin: 0;
}

.main-content a {
  display: inline-block;
  margin-top: 10px;
}

h1 {
  color: #7994CB;
  font-size: 32px;
  text-align: center; 
  font-weight: 400;
  position: relative;
}

h1::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #7994CB;
  position: absolute;
  left: calc(50% - 50px);
  bottom: -5px;
}


.temp-intro-gif {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 40px;
  }
}

@media screen and (min-width: 1200px) {
  h1 {
    font-size: 48px;
  }

  .temp-intro-gif {
    max-width: 600px;
  }

  .main-content p {
    font-size: 32px;
  }
  
  .main-content a {
    margin-top: 20px;
    font-size: 24px;
  }
}


.pattern {
  min-height: 120px;
  background-image: url(img/pattern_small.png);  
}


footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

footer > div {
  color: #1d3257;
  font-weight: 400;
  padding: 10px 20px;
}

footer a {
  color: #1d3257;
  text-decoration: none;
}

footer > div > span {
  background: #C9DFDB;
  padding: 5px;
  line-height: 1;
}

@media screen and (min-width: 768px) {
  .pattern {
    background-image: url(img/pattern.png);
  }

  footer {
    justify-content: flex-end;
  }

  footer > div {
    padding-bottom: 20px;
  }

  h2 {
    font-size: 40px;
  }
}

@media screen and (min-width: 1200px) {
  footer > div {
    padding-bottom: 30px;
  }
}