*, *::after, *::before {
  box-sizing: border-box;
  font-family: 'Monaco', 'Courier New';
}

/* nav */
.fl-name{
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  margin: 1rem;
  padding-left: 7rem;
  text-decoration: none;
}

.fl-name a{
  text-decoration: none;
  color: white;
}

.navbar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #242424;
  color: white;
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index:1;
}

.navbar-links ul{
  margin: 0;
  padding: 0;
  display: flex;
  padding-right: 2rem;
}

.navbar-links li{
  list-style: none;
  padding-right: 1em;
}

.navbar-links li a{
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  text-decoration: none;
  color: white;
  padding: 1rem;
  display: block;
}


.navbar-links li a:hover{
  color: #3a92c8;
  text-decoration: underline;
  /* font-size: 105%; */
}

.toggle-button{
  position: absolute;
  top: 1.7rem;
  right: 2rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.toggle-button .bar{ 
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

body {
  margin: 0;
  background-color: #5A7060;
  overflow: hidden;
}

.paddle {
  --position: 50;

  position: absolute;
  background-color: black;
  top: calc(var(--position) * 1vh);
  transform: translateY(-50%);
  width: 1vh;
  height: 15vh;
  border-radius: 20rem;
}

.paddle.left {
  left: 1vw;
}

.paddle.right {
  right: 1vw;
}

.ball {
  --x: 50;
  --y: 50;

  position: absolute;
  background-color: white;
  left: calc(var(--x) * 1vw);
  top: calc(var(--y) * 1vh);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 2.5vh;
  height: 2.5vh;
}

.score {
  display: flex;
  justify-content: center;
  font-weight: bold;
  font-size: 7vh;
  color: black
}

.score > * {
  flex-grow: 1;
  flex-basis: 0;
  padding: 0 2vh;
  margin: 13vh 0;
  opacity: .7;
}

.score > :first-child {
  text-align: right;
  border-right: .5vh solid white;
}



/* footer */
.footer{
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #5A6070;
  color: white;
  padding: 2px;
  position: fixed;
  bottom: 0;
  width: 100%;
  margin-top: 3rem;
}

.footer-index{
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #5A6070;
  color: white;
  padding: 2px;
  position: fixed;
  bottom: 0;
  width: 100%;
  margin-top: 3rem;
}

.footer-links ul{
  margin: 0;
  padding: 0;
  display: flex;
}

.footer-links li{
  list-style: none;
  padding-right: 1em;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  color: white;
  display: block;
}

.footer-links li:hover{
  color: black;
  text-decoration: underline;
  cursor: pointer;
}