html {
  background: url(media/back.jpg) #000;
  color: #fff;
}

#page_head h1 {
  color: white;
  text-align: center;
  font-family: 'Magic School One', sans-serif;
  margin-top: 0;
}

#sketchpad {
  border: 1px solid #777;
}

.container {
  display: flex;
}

#header {
  width: 300px;
  margin-top: -20px;
}

#header_container {
  align-items: center;
  display: flex;
  flex: 1;
  justify-content: center;
}

#drawspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#drawspace h1 {
  color: white;
  font-family: 'Magic School One', sans-serif;
  font-size: 40px;
  margin: 0;
}

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

.result {
  display: flex;
  flex: 1;
  flex-direction: column;
  background-color: beige;
  justify-content: center;
  align-items: center;
  font-size: 4em;
  font-family: 'Magic School Two', sans-serif;
  border-radius: 3px;
}

.result img {
  margin-bottom: -20px;
  width: 150px;
}

#ravenclaw {
  background-color: #0e1a40;
  color: white;
}

#gryffindor {
  background-color: #800001;
  color: white;
}

#hufflepuff {
  background-color: #ecb939;
  color: black;
}

#slytherin {
  background-color: #1a472a;
  color: white;
}

button {
  background-color: #555555;
  color: white;
  padding: 0px 32px;
  text-align: center;
  font-size: 2em;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 3px;
  font-family: 'Magic School One', sans-serif;
}

button:focus {
  border-color: white;
  background: black;
}

#footer {
  font-size: 2em;
  color: #ddd;
  border-top: 2px solid #333;
  font-family: 'Magic School Two', sans-serif;
  margin-top: 100px;
  height: 60px;
  background: url(media/magic.jpg);
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-around;
  text-transform: capitalize;
}

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

#footer a:hover {
  color: #fff;
  text-decoration: underline;
}

#ir {
  color: #e73536 !important;
}

#skullVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  opacity: 0;

  -webkit-transition: opacity 1.5s ease-in-out;
  -moz-transition: opacity 1.5s ease-in-out;
  transition: opacity 1.5s ease-in-out;
}

#buttonBlock {
  display: flex;
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(77, 77, 77, 0.7);
  transition: all 0.4s;
  z-index: 3;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}
.modal__content {
  border-radius: 4px;
  position: relative;
  width: 500px;
  max-width: 90%;
  background: #222;
  padding: 1em 2em;
  text-align: center;
  z-index: 5;
  border: 1px solid;
}

.modal__content h1 {
  font-size: 48px;
  font-family: 'Magic School One', sans-serif;
  margin: 0;
}
.basic_about {
  font-size: 1.3em;
}
.basic_about a {
  color: white;
}
.modal__footer {
  margin: 0;
  font-size: 1.5em;
  font-family: 'Magic School One', sans-serif;
  background-color: black;
  padding: 10px;
  background: url(/media/magic.jpg);
  border-radius: 10px;
}
.modal__footer a {
  color: #e40;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fffd;
  text-decoration: none;
}

#open_sourced {
  font-size: 2em;
  font-family: 'Magic School Two', sans-serif;
}

#open_sourced a {
  color: white;
}
