body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #333333;
  width: 100vw;
  height: 100vh;
}

.back-link {
  display: block;
  margin-top: 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2em;
}

.info {
  color: #ffffff;
  font-size: 1em;
  margin-top: 10px;
}

.container {
  max-width: min(800px, 80%);
  margin-inline: auto;
  text-align: center;
  padding: 20px;
}

h1 {
  color: #ffffff;
  font-size: 2.5em;
}

.error {
  color: #ff4444;
  font-size: 1.2em;
  margin-top: 10px;
}

.track-form {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  height: 60px;
  gap: 10px;
  line-height: 60px;
  font-size: 1.5rem;
  margin-inline: auto;
}

.track-form_input {
  background-color: #555555;
  color: #ffffff;
  border-radius: 10px;
  height: 100%;
  padding: 0 20px;
  font-size: inherit;
  border: none;
  flex-grow: 1;
  box-shadow: none;
}

.track-form_submit {
  background-color: #ff6600;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: inherit;
  height: 100%;
  padding: 0 20px;
  cursor: pointer;
}

.track-form_share {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: inherit;
  height: 100%;
  padding: 0 20px;
  cursor: pointer;
}

.share-input {
  background-color: #555555;
  color: #ffffff;
  border-radius: 10px;
  height: 100%;
  padding: 0 20px;
  font-size: inherit;
  border: none;
  position: relative;
  flex-grow: 1;
  box-shadow: none;

  /* animate background color to pulse green once */
  &.copied {
    animation: pulse-green 0.7s;
  }
}

@keyframes pulse-green {
  0% { background-color: #555555; }
  50% { background-color: #22bb22; }
  100% { background-color: #555555; }
}

@media only screen and (max-width: 768px) {
  .track-form {
    flex-wrap: wrap;
    justify-content: stretch;
  }

  .track-form_input {
    width: 100%;
  }

  .track-form_paste,
  .track-form_submit {
    flex-grow: 1;
  }
}
