@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&family=Noto+Sans&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@keyframes rotate {
  0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

* {
    border-radius: 10px;
}
body {
    background: linear-gradient(to right,#ff8a00,#da1b60);
    padding: 1% 5%;
}
.header {
  border: 3px solid black;
  box-shadow: 2px 4px 0 black;
  box-sizing: border-box;
  box-sizing: border-box;
  margin: 2% auto;
  position: relative;
  text-align: center;
}
h1 {

    box-sizing: border-box;
  font-family: 'Major Mono Display', monospace;
    font-size: 72px;
    font-weight: 300;
    margin: 2% auto;
    padding: 6px 20px;
    transform: translateY(70%);
    transition: all 1.2s ease-out;
}

h1 span:hover {
  border-bottom: 2px solid rgba(255, 255, 255, 0.623);
  border-top: 2px solid rgba(255, 255, 255, 0.623);
  color: rgba(255, 255, 255, 0.623);
  cursor: default;
}


.wrapper {
    align-content: center;
    background:hsla(355, 87%, 66%, 0) ;
    border: 3px solid black;
    box-shadow: 2px 4px 0 black;
    box-sizing: border-box;
    display:flex;
    flex-flow: column wrap;
    margin: 0 auto;
    padding: 20px 10px;
}

.wrapper > * {
    background: rgba(255, 255, 255, 0.5);
    border: 3px solid black;
    box-shadow: 2px 4px 0 black;
    box-sizing: border-box;
    font-family: 'Noto Sans', sans-serif;
    margin: 5px;
    max-height: 150px;
    min-height: 30px;
    text-align: center;
    transition: all 0.2s ease-in;
}

.wrapper button {
font-family: 'Major Mono Display', monospace;
font-weight:700;
padding: 5px;
}

.wrapper > button:hover, .gamebutton:hover {
    background: rgba(255, 255, 255);
    border: 3px solid rgba(0, 0, 0, 0.15);
    box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.25);
    font-weight: 600;
    transition: all 0.2s ease-in;
}
.wrapper > button:active, .gamebutton:active {
    background: black;
    border: 3px solid rgba(0, 0, 0, 0.15);
    box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.25);
    color: white;
    transition: all 0.0s ease-in;
}

.gamebuttons {
background: rgba(255, 255, 255, 0);
border: none;
box-shadow: none;
  display:flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-around;
  padding: 5px;
  width: 100%;
}
.gamebutton {
background: rgba(255, 255, 255, 0.5);
border: 3px solid black;
box-shadow: 2px 4px 0 black;
margin: 3px;
width: 50px;
}
.red {
  color: crimson;
  font-weight: 700px;
}

.wrapper section {
    border: 3px solid black;
    box-shadow: 2px 4px 0 black;
    padding: 30px;
    width: 100%;
}
.wrapper input:focus {
    outline: none;
}
#log {
  height: 150px;
  /* padding: 20px; */
  max-height: 150px;
  -ms-overflow-style: none;  /* IE and Edge */
  overflow-y: scroll;
  scrollbar-width: none;
  /* line-height: 100%; */
  /* display:flex; */
  /* flex-flow: column; */
}
#log::-webkit-scrollbar {
  display:none;
}

#log {
  font-family: 'Noto Sans', sans-serif;
}

#log span {
  opacity: 0.7;
}
#log span:last-of-type {
  font-weight: 700;
  opacity: 1;
}

a {
  font-size: 0.7rem;
  display: block;
  font-family: 'Major Mono Display', monospace;
  position: absolute;
  bottom: 0;
  left: 0;
  font-weight: 700;
  color: black;
}

#log span:last-of-type::before {
  content:"▶ ";
  font-weight: 700;
  opacity: 1;
}
#announce {
  align-items: center;
  display:flex;
  height: 84.4px;
  justify-content: center;
}
.winner {
  font-family: 'Major Mono Display', monospace;
  font-size: 26px;
  font-size: 190%;
  font-weight: 900;
  text-shadow: rgb(255, 255, 255) 0px 0px 10px;
  /* text-transform: uppercase; */
}
#name {
  text-transform: lowercase;
}
.winner::before, .winner::after {
  animation: 2.5s rotate infinite;
  animation-timing-function: linear;
  color: rgb(255, 128, 0);
  content: "☆";
  font-family: courier;
  font-size: 42px;  
  height: 46px;
  line-height: 50px;
  margin: 10px;
  text-align: center;
  text-shadow: rgb(217, 255, 0) 0px 0px 10px;
  width: 46px;
}



.hidden {
  display:none;
}
h3 {
  font-size: 24px;
  text-align: center;
}

.settings {
  border: 3px solid black;
  box-shadow: 2px 4px 0 black;
  box-sizing: border-box;
  font-family: 'Major Mono Display', monospace;
  font-weight: 500;
  left: 0;
  margin: auto;
  min-height: 350px;
  padding: 20px;
  position: absolute;
  right: 0;
  width: 90%;
}

.settingsoption {
background: rgba(255, 255, 255, 0.5);
border: 3px solid black;
box-shadow: 2px 4px 0 black;
/* font-family: 'Noto Sans', sans-serif; */
font-weight: 900;
margin: 10px 0;
padding: 5px 10px;
}
.settingsoption input {
background: rgba(255, 255, 255, 0.5);
border: none;
font-weight: 900;
max-width: 150px;
padding: 2px 10px;
}

#closesettings {
  font-size: 30px;
  height: 10px;
  left: 95%;
  position: relative;
  top: -85px;
  width: 10px;
}

#closesettings:hover{
  cursor:pointer;
}

.settings input:focus {
  outline: none;
}

#closesettings:hover {
  color: rgba(255, 255, 255, 0.5);
}

progress {
  background-color: transparent !important;
  border: none !important;
  border-radius: 8px;
  box-shadow: none !important;
  height: 10px;
  left:0;
  margin: 0 !important;
  overflow: hidden;
  padding:0 !important;
  position: fixed;
  right:0;
  top: 0;
  width: 100vw;
}
progress::-webkit-progress-bar {
  background-color: transparent;
  border: none !important;
  /* border-radius: 8px; */
  box-shadow: none !important;
  height: 10px;
  overflow: hidden;
  width: 100vw;
}
progress::-webkit-progress-value {
  background-color: rgba(255, 255, 255, 0.25);
  height: 10px;
  overflow: hidden;
  width: 100vw;
}
progress::-moz-progress-bar {
  background-color: rgba(255, 255, 255, 0.25);
  border: none !important;
  /* border-radius: 8px; */
  box-shadow: none !important;
  height: 10px;
  overflow: hidden;
}

  /* Animation */
   .waves {
    height:15vh;
    left: -3px;
    margin-bottom:-4px; /*Fix for safari gap*/
    max-height:150px;
    min-height:100px;
    opacity: 0.2;
    position:relative;
    width: 100.5%;
    z-index: -1;
  }

  .parallax > use {
    -webkit-animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
            animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
  }
  .parallax > use:nth-child(1) {
    -webkit-animation-delay: -2s;
            animation-delay: -2s;
    -webkit-animation-duration: 7s;
            animation-duration: 7s;
  }
  .parallax > use:nth-child(2) {
    -webkit-animation-delay: -3s;
            animation-delay: -3s;
    -webkit-animation-duration: 10s;
            animation-duration: 10s;
  }
  .parallax > use:nth-child(3) {
    -webkit-animation-delay: -4s;
            animation-delay: -4s;
    -webkit-animation-duration: 13s;
            animation-duration: 13s;
  }
  .parallax > use:nth-child(4) {
    -webkit-animation-delay: -5s;
            animation-delay: -5s;
    -webkit-animation-duration: 20s;
            animation-duration: 20s;
  }
  @-webkit-keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  }
  @keyframes move-forever {
    0% {
     transform: translate3d(-90px,0,0);
    }
    100% { 
      transform: translate3d(85px,0,0);
    }
  }
  /*Shrinking for mobile*/
  @media (max-width: 768px) {
    .waves {
      height:40px;
      min-height:40px;
    }
    .content {
      height:30vh;
    }
    h1 {
      font-size:36px;
      transform: translateY(50%);
    }
  }
.circles{
    height: 98vh;
    left: 0;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}

.circles li{
    -webkit-animation: animate 25s linear infinite;
            animation: animate 25s linear infinite;
    background: rgba(255, 255, 255, 0.2);
    bottom: -150px;
    display: block;
    height: 20px;
    list-style: none;
    position: absolute;
    width: 20px;
}

.circles li:nth-child(1){
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    height: 80px;
    left: 25%;
    width: 80px;
}

.circles li:nth-child(2){
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
    -webkit-animation-duration: 12s;
            animation-duration: 12s;
    height: 20px;
    left: 10%;
    width: 20px;
}

.circles li:nth-child(3){
    -webkit-animation-delay: 4s;
            animation-delay: 4s;
    height: 20px;
    left: 70%;
    width: 20px;
}

.circles li:nth-child(4){
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    -webkit-animation-duration: 18s;
            animation-duration: 18s;
    height: 60px;
    left: 40%;
    width: 60px;
}

.circles li:nth-child(5){
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    height: 20px;
    left: 65%;
    width: 20px;
}

.circles li:nth-child(6){
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
    height: 110px;
    left: 75%;
    width: 110px;
}

.circles li:nth-child(7){
    -webkit-animation-delay: 7s;
            animation-delay: 7s;
    height: 150px;
    left: 35%;
    width: 150px;
}

.circles li:nth-child(8){
    -webkit-animation-delay: 15s;
            animation-delay: 15s;
    -webkit-animation-duration: 45s;
            animation-duration: 45s;
    height: 25px;
    left: 50%;
    width: 25px;
}

.circles li:nth-child(9){
    -webkit-animation-delay: 2s;
            animation-delay: 2s;
    -webkit-animation-duration: 35s;
            animation-duration: 35s;
    height: 15px;
    left: 20%;
    width: 15px;
}

.circles li:nth-child(10){
    -webkit-animation-delay: 0s;
            animation-delay: 0s;
    -webkit-animation-duration: 11s;
            animation-duration: 11s;
    height: 150px;
    left: 85%;
    width: 150px;
}



@-webkit-keyframes animate {

    0%{
        border-radius: 0;
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100%{
        border-radius: 50%;
        opacity: 0;
        transform: translateY(-1000px) rotate(720deg);
    }

}



@keyframes animate {

    0%{
        border-radius: 0;
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }

    100%{
        border-radius: 50%;
        opacity: 0;
        transform: translateY(-1000px) rotate(720deg);
    }

}