@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap");
*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  font-size: 18px;
}

body {
  background-color: hsl(185, 41%, 84%);
  font-family: "Space Mono", monospace;
}

.main-container {
  width: 375px;
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-block: 1.6rem;
}

.flex-container {
  width: 375px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: hsl(0, 100%, 100%);
  padding: 1rem;
  margin-block: 1.2rem;
  border-radius: 10px;
}

@media (min-width: 700px) {
  .flex-container {
    min-width: 700px;
    display: flex;
    flex-direction: row;
    padding: 1.4rem;
  }
}
.first-box,
.second-box {
  width: 100%;
}

.first-box p {
  color: hsl(186, 14%, 43%);
  font-size: 0.8rem;
  font-weight: 700;
}

.first-box .input {
  background-color: hsl(189, 47%, 97%);
  display: flex;
  align-items: center;
  padding: 0.2rem 0.8rem;
  margin-block: 0.4rem;
  margin-block-end: 0.8rem;
  border-radius: 2px;
}

.input > img {
  width: 14px;
  height: 14px;
  color: hsl(184, 14%, 56%);
}

.input > input {
  width: 100%;
  border: none;
  outline: none;
  background-color: transparent;
  text-align: right;
  color: hsl(183, 100%, 15%);
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 1.4rem;
}

.input input::-moz-placeholder {
  color: hsl(184, 14%, 56%);
}

.input input::placeholder {
  color: hsl(184, 14%, 56%);
}

.button-container {
  margin-block: 0.6rem;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.row {
  display: flex;
  gap: 0.5rem;
}

.row button {
  flex: 1;
}

.button-container button {
  background-color: hsl(183, 100%, 15%);
  color: hsl(0, 100%, 100%);
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.grey-50 {
  background-color: hsl(189, 47%, 97%);
  color: hsl(186, 14%, 43%);
}
.grey-50 input {
  background-color: transparent;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  outline: none;
  border: none;
  text-align: center;
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  font-weight: 700;
}
.grey-50 input::-moz-placeholder {
  color: hsl(186, 14%, 43%);
}
.grey-50 input::placeholder {
  color: hsl(186, 14%, 43%);
}

.people-warning {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.people-warning #warning {
  visibility: hidden;
  font-size: 0.6rem;
  color: red;
}

.second-box {
  background-color: hsl(183, 100%, 15%);
  padding: 1.1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

#display {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.flex-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex-display span {
  font-size: 1.6rem;
  font-weight: 700;
  color: hsl(172, 67%, 45%);
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.flex-col > span {
  color: hsl(0, 100%, 100%);
  font-size: 0.8rem;
}

.flex-col > span + span {
  color: hsl(184, 14%, 56%);
  font-size: 0.7rem;
}

.reset-btn {
  background-color: hsl(172, 67%, 45%);
  color: hsl(183, 100%, 15%);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.reset-btn:active {
  background-color: hsl(172, 67%, 76%);
}

footer {
  text-align: center;
}

.attribution a {
  color: hsl(183, 100%, 15%);
}

.attribution .link {
  color: hsl(172, 67%, 45%);
  font-weight: 700;
}

.attribution span.js-year {
  color: hsl(172, 67%, 45%);
  font-weight: 700;
}

@keyframes bounceFade {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.people-warning #warning {
  visibility: hidden;
  opacity: 0;
  font-size: 0.6rem;
  color: red;
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.people-warning #warning.show {
  visibility: visible;
  opacity: 1;
  animation: bounceFade 0.5s ease-out;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(38, 194, 174, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(38, 194, 174, 0.9);
  }
  100% {
    box-shadow: 0 0 8px rgba(38, 194, 174, 0.4);
  }
}
.button-container button.pulse-glow,
#custom-tip.pulse-glow {
  animation: pulseGlow 1.5s ease-in-out infinite;
  background-color: #26c2ae;
  color: #00474b;
}/*# sourceMappingURL=index.css.map */