@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

body {
  overflow: hidden;
}

.content {
  margin-bottom: unset !important; /* temporary, need to remove inline styling in react */
  min-height: calc(100vh - 14.75rem);
}

button {
  font-family: 'Montserrat';
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rotating-image {
  animation: rotate 2s linear infinite;
}

.loader-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
}

input:-webkit-autofill,
input:-webkit-autofill-selected,
input:-webkit-autofill-selected:focus,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 40rem #fff inset;
  transition:
    background-color 0s 600000s,
    color 0s 600000s;
  background-color: transparent !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 40rem #fff inset;
  background-color: transparent !important;
}

@keyframes timesSlidein {
  0% {
    max-width: 50%;
    opacity: 0;
  }
  100% {
    max-width: 50%;
    opacity: 1;
  }
}

@keyframes timesSlideout {
  0% {
    max-width: 50%;
    opacity: 1;
  }
  100% {
    max-width: 50%;
    opacity: 0;
  }
}

.sentence {
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.selectable {
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.illustration {
  display: inline-block;
  padding: 0.5rem;
}
