/* homepage */
@font-face {
    font-family: "Digitalt";
    src:
      local("../fonts/Digitalt"),
      url("../fonts/Digitalt/Digitalt.otf") format("opentype"),
      url("../fonts/Digitalt/Digitalt.ttf") format("truetype");
  }
     
* {
    font-size: 62, 5%;
    box-sizing: border-box;
    margin: 0;
  }
  
body {
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #009999;
  }

.background-image{
    width: 35rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 0.5rem;
  }
  
  main {
    width: 40rem;
    min-height: 35rem;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 10px 15px 8px #e4e7fb;
    box-shadow: 0px 5px 15px 8px #e4e7fb;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0.5rem;
  }
  
  #header {
    font-family: "Digitalt";
    text-align: center;
    width: 100%;
    display: center;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 2rem;
  }

  
  .share {
    width: 4.5rem;
    height: 3rem;
    background-color: #f55e77;
    border: 0;
    border-bottom: 0.2rem solid #c0506a;
    border-radius: 2rem;
    cursor: pointer;
  }
  
  .share:active {
    border-bottom: 0;
  }
  
  .share i {
    color: #fff;
    font-size: 2rem;
  }
  
  h1 {
    font-family: "Digitalt", sans-serif;
    font-size: 3rem;
    color: #141a39;
    text-transform: uppercase;
    cursor: default;
  }
  
  #leaderboard {
    width: 100%;
    position: relative;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: #141a39;
    cursor: default;
  }
  
  tr {
    transition: all 0.2s ease-in-out;
    border-radius: 0.2rem;
  }
  
  tr:not(:first-child):hover {
    background-color: #fff;
    transform: scale(1.1);
    -webkit-box-shadow: 0px 5px 15px 8px #e4e7fb;
    box-shadow: 0px 5px 15px 8px #e4e7fb;
  }
  
  tr:nth-child(odd) {
    background-color: #aa80ff;
  }
  tr:nth-child(odd):hover {
    background-color: #aa80ff;
  }

  
  tr:nth-child(1) {
    color: #fff;
  }
  
  td {
    height: 5rem;
    font-family: "Digitalt", sans-serif;
    font-size: 1.4rem;
    padding: 1rem 2rem;
    position: relative;
  }
  
  .number {
    width: 1rem;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: left;
  }
  
  .name {
    text-align: left;
    font-size: 1.8rem;
  }
  
  .points {
    font-weight: bold;
    font-size: 2.3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  
  .points:first-child {
    width: 10rem;
  }
  
  .gold-medal {
    height: 3rem;
    margin-left: 1.5rem;
  }
  
  .ribbon {
    width: 42rem;
    height: 5.5rem;
    top: -0.5rem;
    background-color: #ffcc66;
    position: absolute;
    left: -1rem;
    -webkit-box-shadow: 0px 15px 11px -6px #7a7a7d;
    box-shadow: 0px 15px 11px -6px #7a7a7d;
  }
  
  .ribbon::before {
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    bottom: -0.8rem;
    left: 0.35rem;
    transform: rotate(45deg);
    background-color: #ffcc66;
    position: absolute;
    z-index: -1;
  }
  
  .ribbon::after {
    content: "";
    height: 1.5rem;
    width: 1.5rem;
    bottom: -0.8rem;
    right: 0.35rem;
    transform: rotate(45deg);
    background-color: #ffcc66;
    position: absolute;
    z-index: -1;
  }

  
  #buttons {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
  }
  
  .exit {
    width: 11rem;
    height: 3rem;
    font-family: "Digitalt", sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #7e7f86;
    border: 0;
    background-color: #fff;
    border-radius: 2rem;
    cursor: pointer;
  }
  
  .exit:hover {
    border: 0.1rem solid #5c5be5;
  }
  
  .continue {
    width: 20rem;
    height: 4rem;
    font-family: "Digitalt", sans-serif;
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    background-color: #ff99cc;
    border: 0;
    border-bottom: 0.2rem solid #ff66b3;
    border-radius: 2rem;
    cursor: pointer;
  }
  
  .continue:active {
    border-bottom: 0;
  }
  
  @media (max-width: 740px) {
      * {
        font-size: 80%;
      }
  }
  
  @media (max-width: 500px) {
      * {
        font-size: 60%;
      }
  }
  
  @media (max-width: 390px) {
      * {
        font-size: 50%;
      }
  }
  