/* distraction box styling */
#distract-popup {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  z-index: 51;
}

#distract-form {
  border-radius: 5px;
  width: 350px;
  padding: 10px 20px;
  background-color: var(--modal-bg-color);
}

.distraction-label {
  font-size: 28px;
  font-weight: bold;
  color: var(--modal-font-color);
}

#description {
  outline: none;
  border-style: solid;
  border-radius: 5px;
  border-color: darkgray;
  border-width: 3px;
  font-size: 14px;
  padding: 15px;
  margin: 5px 0 20px 0;
  background: #f1f1f1;
  color: black;
  max-width: 310px;
  width: 85%;
}

.distractFormButton {
  border-style: none;
  font-size: 20px;
  border-radius: 5px;
  background-color: var(--page-bg-color);
  color: white;
  padding: 10px;
  width: 100%;
  margin-bottom: 10px;
  opacity: 0.8;
  outline: none;
  font-weight: 550;
}

#submit-button {
  color: var(--font-color);
}

.cancel {
  background-color: #b32626;
}

.distractFormButton:hover,
.distractFormButton:focus {
  background-color: var(--page-bg-color);
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
}

.cancel:hover,
.cancel:focus {
  background-color: #b32626;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
}

@media screen and (max-width: 600px) {
  #distract-form {
    width: 80vw;
  }
}
