@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,900;1,700;1,900&display=swap");

body {
    --color1: #01FE05;
    --color2: darkslategray;
    --color3: black;
    --color4: lightslategray;
    --color5: greenyellow;
    
    --header-height: 80px;
    --shadow: 0px 10px 20px -12px rgba(0,0,0,0.45);
    --gutter: 30px;
    --footer-height: 25px;
    
    font-family: 'Press Start 2P', cursive;
    background-color: black;
    color: #01FE05;
    line-height: 1.5;
}

.avatar-image {
    width: 60px;
}

header {
    height: 85px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: darkslategray;
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 9;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: calc(var(--footer-height));
}

section {
    background-color: var(--color2);
    width: 800px;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: var(--gutter);
    padding-bottom: var(--gutter);
    margin-top: var(--gutter);
    margin-bottom: var(--gutter);
    border: solid 2px black;
    box-shadow: lightslategray 10px 10px;
}

div {
    padding: 20px;
    margin: 20px;
}

footer{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 30px;
    margin: 30px;
}

a, a:visited {
    color: var(--color1);
    cursor: pointer;
}

.level {
    font-size: 25px;
    padding: 20px;
    margin: 20px;
}


.image-box {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 556px;
}

.avatar {
    display: flex;
    align-items: center;
}

.avatar img:hover {
    width: 55px;
    transition-duration: 50ms, 50ms;
}

.main-section {
    background-color:darkslategray;
}

#level-avatar {
    width: 150px;
    position: relative;
    left: 250px;
    top: 170px;
    margin-bottom: 20px;
}

#level-avatar.scene-animation {
    transition-property: left;
    transition-duration: 3s;
    position: relative;
    left: -14em;
}

.scene{
    border: 2px #01FE05 dotted;
    font-size: 1em;
}

label{
    display: flex;
    font-size: 20px;
}

.glow:hover, .glow:checked  {
  color: #fff;
  animation: label 1s ease-in-out infinite alternate;
}

.glow {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin: 20px;
}

.checkmark {
   height: 50px;
}

input:checked + .checkmark {
    visibility: visible;
}

.checkmark {
    background-image: url('../assets/checkmark.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border: solid 4px #01FE05;
    visibility: hidden;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

button {     
    margin: 20px;
    padding: 5px;
    cursor: pointer;
    font-size: 20px;
    font-family: 'Press Start 2P';
    background-color: darkslategray;    
    color: #01FE05;     
    border: 2px solid #01FE05; 
    border-radius: 8px;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-style: groove;
    border-width: 7px;
    border-color: #01FE05;  
    font-size: 20px;
    color: #01FE05;
    text-align: center;
    animation: tooltip 1s ease-in-out infinite alternate;
}

 .tooltiptext {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    visibility: hidden;
    width: 400px;
    background-color: white;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    animation: tooltiptext 3s ease-in-out infinite alternate;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.result-image {
    background-size: 55%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    margin-top: 60px;
    padding-left: 280px;
    padding-right: 275px;
    padding-bottom: 220px;
}

.result-message {
    margin: 20px;
}

@keyframes label  {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px  #01FE05, 0 0 40px  #01FE05, 0 0 50px  #01FE05, 0 0 60px  #01FE05, 0 0 70px  #01FE05;
        }
        
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px  #01FE05, 0 0 40px  #01FE05, 0 0 50px  #01FE05, 0 0 60px  #01FE05, 0 0 70px #01FE05, 0 0 80px #01FE05;
        }

}

.hidden {
    display: none;
}

.intro {
    border: 2px #01FE05 dotted;
    font-size: 1em;
}

p {
    margin: 20px;
}

.each {
    border: 2px #01FE05 dotted;
    font-size: 1em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.popup {
    z-index: 100;
    border: solid crimson 5px;
    position: absolute;
    top: 15%
}

.bigDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#result-section {
    margin-bottom: 20px;
}
 
.tiny-dancer {
    margin-bottom: 200px;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    animation: jump 1.2s infinite;
}

@keyframes jump {
    0% { transform: translate(-50%, -50%) scale(1.25, 0.75);}
    50% { transform: translate(-50%, -150%) scale(1, 1);}
    55% { transform: translate(-50%, -150%) rotate(15deg); }
    60% { transform: translate(-50%, -150%) rotate(-15deg); }
    65% { transform: translate(-50%, -150%) rotate(15deg); }
    70% { transform: translate(-50%, -150%) rotate(-15deg); }
    100% { transform: translate(-50%, -50%) scale(1.25, 0.75); }
}

.fall-dead {
    margin-bottom: 1000px;
    position: relative; 
    top: 10%;  
    left: 50%;
    bottom: 10%; 
    transform: translate(-75%, -300%);  
    animation: bouncing 5s infinite;
}

@keyframes tooltip {
    from {
      text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #01FE05, 0 0 40px #01FE05, 0 0 50px #01FE05, 0 0 60px #01FE05, 0 0 70px #01FE05;
    }
    to {
      text-shadow: 0 0 20px #fff, 0 0 30px #44bdd3, 0 0 40px #44bdd3, 0 0 50px #44bdd3, 0 0 60px #44bdd3, 0 0 70px #44bdd3, 0 0 80px #44bdd3;
    }
} 

@keyframes tooltiptext {
    from {
      text-shadow: 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff;
    }
    to {
      text-shadow: 0 0 00px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #fff;
    }
}  

@keyframes bouncing { 
    40%, 70%, 90% {
      bottom: 0em;
      -webkit-animation-timing-function: ease-out;
    }
    0% {
      bottom: 700px;
      left: 0;
      -webkit-animation-timing-function: ease-in;
    }
    55% {
      bottom: 650px;
      -webkit-animation-timing-function: ease-in;
    }
    80% {
      bottom: 600px;
      -webkit-animation-timing-function: ease-in;
    }
    95% {
      bottom: 525px;
      -webkit-animation-timing-function: ease-out;
    }
    100% {
      left: 125px;
      bottom: 475px;
      -webkit-animation-timing-function: ease-out;
    }
     100% {
         transform: rotate(-180deg); 
    }
}  

.about-that-body {
    margin-top: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-section {
    margin-top: 200px;
}

.link-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.link:hover {
    color: #fff;
    animation: label 1s ease-in-out infinite alternate;
}

