/* Universal Styling */
/*Font-face*/
@font-face {
  font-family: "Space";
  src: url(../fonts/space_age.ttf) format("truetype");
}

/*css variables in @keyframes*/

@keyframes bg {
  from {
    background-color: #00ff00;
  }

  to {
    background-color: #ff5050;
  }
}

button {
  font-family: "Space";
  animation: 2.5s bg infinite alternate;
  font-size: 24px;
  margin: 8px 4px;
  border-radius: 50%;
  padding: 16px 32px;
  text-align: center;
  border-style: solid;
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  overflow: hidden;
  background-image: black!important;
}

body {
  font-family: "Space";
  /*! color: cadetblue; */
  font-size: 16px;
  font-family: Helvetica;
  background-color: transparent;
  background-image: url("../images/fractal.jpg")!important;
  background-size: cover!important;
  background-repeat: no-repeat;
  background-position: 50% 0;
  height: 98%;
  width: 100%;
  text-align: center;
  background-size: 100% 100vh;
}

/* @Footer Section */

@media only screen and (max-width: 2560px) {
  #footer {
    font-family: "Space";
    color: rgb(93.7%, 71.9%, 56.6%);
    /* font-size: 12px; */
    /* font-weight: normal; */
    text-align: center;
    /* width: 100%!important; */
    /* padding: 0cm 0; */
    width: 105%;
    opacity: 0.8;
    border-radius: 10px;
    background-color: black;
  }
}

body:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

h1 {
  font-family: "Space";
}

main {
  display: inline-block;
  vertical-align: middle;
  /* leave room for body:before on the same line, or main drops below the fold on phones */
  max-width: min(500px, calc(100% - 1rem));
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 32px;
}

pre {
  text-align: left;
  margin-top: 20px;
}

.error {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  background: #000;
  color: #f00;
  padding: 5px;
  max-width: 100%;
}

#next {
  /*border: 1px solid red;*/
  width: 10%;
  /* height: 30%; */
  bottom: -10%;
  margin-top: 50%;
}

#arrow {
  /* border:1px solid red; */
  border-radius: 30px;
  z-index: 99999;
  margin: 0 auto;
  width: 26%;
  bottom: -10%;

}

#arrow:hover {
  color: rgb(56, 220, 38);
  background-color: rgb(0, 255, 115);
  /* border-radius: 0.3rem; */
}

/*Footer*/

#footer {
  margin: -1%;
  color: rgb(93.7%, 71.9%, 56.6%);
  font-size: 1.5rem;
  text-align: center;
  /* padding: 0cm 1.5cm; */
  width: 100%;
  opacity: 0.8;
  background-color: black;
  /* margin-bottom: 1rem; */
  /* position: absolute; */
  /* bottom: 0; */
  font-family: "Space";
  display: flex;
  justify-content: center;
  z-index: 6666;
}

#footer a {
  font-size: 2rem;
  color: greenyellow;
  text-decoration: none;
}

/* phones: keep the footer on one line so it stays visible */
@media only screen and (max-width: 600px) {
  #footer,
  #footer a {
    font-size: 0.75rem;
  }
}