html {
  height: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: #f5f5f5;
  color: #444;
  box-sizing: border-box;

  margin: 0;
  padding: 0;
  min-height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  body {
    padding: 10px;
    font-size: 16px;
  }
}

.no-select {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.title {
  text-align: center;
  margin-bottom: 15px;
  position: relative;
}

.title h1 {
  color: #5a5a5a;
  font-size: 2.5em;
}

.title span {
  color: #7c7676;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.title span::before {
  content: "";
  position: absolute;
  margin-left: 1px;
  transform: rotate(8deg);
  background-color: #c2bfbf9a;
  border-radius: 8px;
  width: 67px;
  height: 60px;
  z-index: -1;
  transition: transform 0.3s ease;
}

.title span:hover {
  transform: scale(1.1);
}

.title span:hover::before {
  transform: rotate(20deg);
  z-index: -1;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .button-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }
}

.button-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  padding: 10px;
}

@media (max-width: 768px) {
  .button-group {
    padding: 2px;
  }
}

button {
  background-color: #3a8a40;
  color: #fff;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button.info {
  background-color: #3a6d8c;
}

button:hover {
  background-color: #4f9a50;
}

button.info:hover {
  background-color: #4b819f;
}

button:active {
  background-color: #2e6930;
}

button.info:active {
  background-color: #2e4e68;
}

#endpoint {
  background-color: rgba(50, 50, 50, 0.41);
  color: #f0f0f0;
  font-family: "Courier New", Courier, monospace;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  #endpoint {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top: 3px;
  }
}

#numPeople {
  color: #7c7676;
  font-size: 1.3rem;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

#numPeople::before {
  content: "";
  position: absolute;
  transform: rotate(12deg);
  background-color: #c2bfbf9a;
  border-radius: 8px;
  width: 17px;
  height: 26px;
  z-index: -1;
  transition: transform 0.3s ease;
}

#numPeople:hover {
  transform: scale(1.1);
}

#numPeople:hover::before {
  transform: rotate(-4deg) scale(1);
  z-index: -1;
}

#lastRequest {
  color: #5a5a5a;
  font-weight: bold;
}

.footer {
  text-align: center;
  padding: 3em;
  margin-top: auto;
}

@media (max-width: 768px) {
  .footer {
    background-color: #c2bfbf9a;
    color: #5a5a5a;
    margin: 0;
    padding: 0;
    margin-top: auto;
    border-radius: 8px;
    padding: 1em;
    font-size: 1em;
  }
}

.click {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}

.click a {
  color: #5a5a5a;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  margin-right: 5px;
}

.click a:hover svg {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}
