@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding:0;
  }

:root{
  --lightGold: #d4af37;
  --gold: rgb(250 204 21);
}

body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: black;
    font-family: "PT Mono", monospace;
    color: white;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

li:not(:last-child) {
  margin-bottom: 10px;
}

input {
    margin: 10px;
    padding:5px;
    border: solid 0.1px grey;
    background-color: black;
    border-radius: 3px;
    width: 100%;
    color: white;
    max-width: 250px;
    text-align: center;
}

input:focus {
    outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.footer{
    position: absolute;
    bottom: 0;
    margin-bottom: 30px;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 500px;
    font-style: normal;
    font-spacing: 10px;
    color: white;
    opacity: 70%;
    left: 50%;
    transform: translateX(-50%);
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.footer label{
    opacity: 50%;
    cursor: pointer;
}

.footer label:hover{
    color: white;
    opacity: 100%;
}

.arrow{
    position:relative;
    width:30px;
    height: 30px;
    cursor:pointer;
    overflow:hidden;
    cursor: pointer;
    opacity: 50%;
  }
  
  .arrow:hover{
    opacity: 100%;
  }
  
  .arrow:after{
    position:absolute;
    display:block;
    content:"";
    color:white;
    width: 20px;
    height: 15px;
    top:-1px;
    border-bottom:solid 2px;
    transform:translatex(4px);
  }
  
  .arrow:before{
    position:absolute;
    display:block;
    content:"";
    color:white;
    width: 8px;
    height: 8px;
    border-top:solid 2px;
    border-left:solid 2px;
    top:50%;
    left:2px;
    transform-origin:0% 0%;
    transform:rotatez(-45deg);
  }

  .modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: left;
    background: rgba(0,0,0);
    transition: opacity .3s ease;
    z-index: 100;
  }
  
  .modal__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
  }
  
  .modal-state {
    display: none;
  }
  
  .modal-state:checked + .modal {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-state:checked + .modal .modal__inner {
    top: 0;
  }
  
  .modal__inner {
    transition: bottom .3s ease;
    position: absolute;
    top: -20%;
    right: 0;
    bottom: 0;
    left: 0;
    height: fit-content;
    width: 20%;
    min-width: 300px;
    margin: auto;
    overflow: auto;
    background: black;
    border: solid 1px grey;
    border-radius: 5px;
    padding: 1em 2em;
  }
  .modal__p{
    margin-top: 20px;
    color: white;
    display: flex;
    flex-direction: column;
  }
  
  .modal__close {
    position: absolute;
    right: 1em;
    top: 1em;
    width: 1.1em;
    height: 1.1em;
    cursor: pointer;
  }
  
  .modal__close:after,
  .modal__close:before {
    content: '';
    position: absolute;
    width: 2px;
    height: 1.5em;
    background: #ccc;
    display: block;
    transform: rotate(45deg);
    left: 50%;
    margin: -3px 0 0 -1px;
    top: 0;
  }
  
  .modal__close:hover:after,
  .modal__close:hover:before {
    background: #aaa;
  }
  
  .modal__close:before {
    transform: rotate(-45deg);
  }