:root{
    --top:0px;
    --top325:325px;
}
*{
    outline: none;
    overflow: visible;
}
.content, body{
    overflow-x: hidden;
    display: block;
}
.text{
    font-family: verdana;
    text-align: center;
}
span{
    font-family: verdana;
    text-align: center;
}
body{
    background-color: Yellow;
    border: 2px solid Black;
    border-radius: 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1560px;
    min-width: 256px;
    padding: 24px;
    color: #111111;
}
html {
    background-image: linear-gradient(to left, red,orange,yellow,green,blue); 
}
nav ul {
    list-style-type: none;
    background-color: #B577B5;
    border: 4px solid #111111;
    border-radius: 10px;
    font-family: verdana;
    font-weight: bold;
    padding: 16px;
}
nav ul li {
    display: inline;
    border-right: 2px solid #111111;
    padding-right: 8px;
    padding-left: 8px;
}
nav ul li:last-child {
    border-right: none;
}
nav ul li a {
    text-decoration: none;
    color: #111111;
}
nav .selected {
    color:#606060;
}
nav li a:hover {
    text-decoration: underline;
}
.content, body{
    overflow-x: hidden;
    display: block;
}
ellipse{
    fill:hsl(0, 0%, 90%); 
    stroke: black; 
    stroke-weight: 1px;
}
#reshoot, #restart{
    margin: -20rem auto 10rem;
    font-size: 2rem;
    padding: 1rem 2rem;
    border-radius: 0.3rem;
    display: block;
    color: black; 
    border: 3px solid black;
    background-color: yellow;
    z-index: 100;
    position: relative;
    font-family: verdana;
}
#reshoot:hover, #restart:hover{
    cursor: pointer;
    background-color: black;
    color: yellow;
}
#time {
  margin: auto;
  display: block;
  text-align: center;
  font-size: 3rem;
  font-family: sans-serif;
  font-weight: bold;
}
.cups{
    margin: auto; 
    width: 310px;
    height: 500px;
}
.cup{
    width: 100px;
    position: relative;
}
.row2{
    margin-top: -10rem;
    margin-left: 50px;
}
.row3{
    margin-top: -10rem;
    margin-left: 100px;
}
.cup4{
    top:5rem;
}
.cup5{
    top:5rem;
}
.cup6{
    top: 10rem;
}
.ball{
    width: 50px;
    height: 50px;
    position: relative;
}
.shooter{
    position: relative;
    top: -200px;
    left: 125px;
    width: 300px;
    margin: auto;
}
.shootX{
    animation: shootX 1s infinite linear;
}
@keyframes shootX{
    0%{left:0px}
    25%{left:125px}
    50%{left:0px}
    75%{left:-125px}
    100%{left:0px}
}
.shootY{
    animation: shootY 1s infinite linear;
}
@keyframes shootY{
    0%{top:0px}
    50%{top:175px}
    100%{top:0px}
}
.fadeAway{
    animation: fadeAway 1s;
    opacity: 0
}
@keyframes fadeAway{
    0%{opacity: 1}
    100%{opacity: 0}
}
.Shoot{
    animation: Shoot 1s;
    animation-timing-function: ease;
}
@keyframes Shoot{
    0%{top: var(--top)}
    100%{top: var(--top325)}
}