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

body {
  background-color: black;
  color: whitesmoke;
}

a {
  cursor: pointer;
}

.container{
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);

  display:flex;
  flex-direction: column;
  justify-content: center;
}

.spinner {
  display:inline-block;
  border: 0.25rem solid whitesmoke;
  border-top: 0.25rem solid black;
  border-radius: 50%;
  width: 1.2rem;
  height: 1.2rem;
  animation: spin 1s linear infinite; 
}

.message{
  display: flex;
  flex-direction: column;
  font-size: large;
  text-align: center;
  padding: 0.5rem 1rem;
  margin: auto;
}

.message {
  display: none;
}

input, button {
  height: 2rem;
  width: 8rem;
  padding: 0 1rem;
  margin: 1rem 0.1rem;
  vertical-align:middle;
  font-size: 1rem;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  border-radius: 5px;
  color: white;
  background-color: #Bf192B;
}

.modal {
  display: none;
  position: absolute;
  z-index: 20;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: white;
  color:black;
  text-align: center;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media only screen and (min-width: 577px) {
  .modal {
      height: 600px;
  }
}

.modal .header {
  position: relative;
  border-bottom: solid 1px #dee2e6;
  font-size: 1.75rem;
  font-weight: 600;
  padding: 1.75rem;
}

.modal .content {
  padding: 0.75rem;
  margin-bottom: 1rem;
  overflow: auto;
  height: calc(100% - 10rem);
}

.modal .content ul {
  /* background-color: white; */
  /* height: 3rem; */
  font-size: 1.75rem;
  padding: 1rem;
  border-bottom: solid 1px #c2c6ca;
}

ul.active, ul:hover {
  background-color: #Bf192B;
  color: whitesmoke;
}

.modal .footer {
 position: absolute;
 bottom: 0;
 width: 100%;

 background-color: white;
 border-top: solid 1px #dee2e6;
 padding: 0.75rem;
 
}

.modal button {
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 1.75rem;
  padding: 0.75rem;
}

/*ANIMATIONS*/
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}