/*!
 * Copyright (c) 2018 Aquafortis
 * Licensed under MIT (https://github.com/Aquafortis/mojave-dynamic-web)
 */
* {
  margin: 0;
}

html {
  font-family: sans-serif;
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: auto;
  font-size: 100%;
  color: WhiteSmoke;
}

header {
  text-align: center;
  padding: 40px;
}

.container {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2em;
  font-weight: 400;
  padding-top: 20px;
  padding-bottom: 20px;
}

h2 {
  font-size: 1.5em;
  font-weight: 400;
  padding-top: 20px;
  padding-bottom: 20px;
}

p {
  display: block;
  color: DimGray;
  line-height: 1.2;
  font-size: 1.2em;
  margin: 1em 0;
}

img {
  display: block;
  height: auto;
  width: 100%;
  border: 0;
  margin-bottom: 5px;
}

code {
  font-size: 1.2em;
}

audio {
  visibility: hidden;
  display: none;
}

a:link, a:visited {
  color: WhiteSmoke;
  text-decoration: none;
  outline-style: none;
}

a:active, a:hover {
  color: WhiteSmoke;
  text-decoration: underline;
}

.animate {
  animation: fadein 5s;
  -webkit-animation: fadein 5s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 80px;
}

.flex-container > div {
  width: 100px;
  margin: 30px;
  text-align: center;
}

.colour div:active, .colour div:hover {
  color: Green;
}

.copyright > p {
  position: fixed;
  color: WhiteSmoke;
  font-size: 12px;
  width: 100%;
  bottom: 0;
  text-align: center;
}

#about,
#privacy {
  cursor: pointer;
}

.modal-scroll {
  overflow: hidden;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: Black;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-block {
  width: 90%;
  max-width: 600px;
  margin: 100px auto;
}

.modal-content {
  position: relative;
  background-color: Ivory;
  padding: 0;
  margin: auto;
  border-radius: 13px;
  animation-name: animatetop;
  animation-duration: 0.4s;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.modal-header {
  padding: 2px 16px;
  border-radius: 12px 12px 0 0;
  background-color: #2b2b2b;
  color: White;
}

.modal-body {
  padding: 2px 16px;
  border-radius: 13px;
}

.modal-footer {
  padding: 2px 16px;
  border-radius: 0 0 12px 12px;
  background-color: #2b2b2b;
  color: White;
}

.close {
  color: White;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:active, .close:hover {
  color: Orange;
  text-decoration: none;
  cursor: pointer;
}
