@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins/Poppins-Regular.ttf");
  font-weight: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins/Poppins-SemiBold.ttf");
  font-weight: 600;
}

@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins/Poppins-Bold.ttf");
  font-weight: 700;
}

body {
  font-size: 16px;
  font-family: 'Poppins', 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  max-height: 100vh;
  overflow: hidden;
  background-color: #F9F9F9;
  color: #201F21;

  /* Disable text selection */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

main {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

main h1 {
  font-size: 2em;
  font-weight: 700;
  margin: 1em 0em 0em 0.5em;
}

.status-bar {
  display: flex;
  justify-content: flex-start;
  overflow-x: scroll;
  gap: 8px;
  list-style-type: none;
  padding: 0;
  margin: 8px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.status-bar::-webkit-scrollbar {
  display: none;
}

.status-bar>* {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.03);
  border-radius: 30px;
  padding: 8px 16px;
}

.status-bar * {
  width: max-content;
}

.card-stack {
  display: flex;
  flex-direction: column;
}

.card {
  font-size: 1em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  height: 700px;
  transform: perspective(1000px) rotateX(-10deg);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 0.5em 0.5em;
  box-sizing: border-box;
  transition: transform 0.3s;
  /* margin: 0.5em; */
}

.card .card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5em;
  box-sizing: border-box;
}

.card .card-title img {
  height: 1em;
  padding: 0.2em;
}

.card-menu {
  margin: 0.5em 0;
  display: flex;
  justify-content: center;
  overflow-x: scroll;
  gap: 8px;
}

.card-menu label {
  font-size: 0.8em;
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.03);
  border-radius: 30px;
  padding: 4px 8px;
}

article {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 1em;
}

article>img {
  align-self: center;
  width: 60%;
  margin: 1em 0;
}

article>p {
  text-align: center;
  margin: 0;
}

.busy-status {
  margin-top: 1em;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.busy-times {
  width: 100%
}

.link-button {
  background-color: #030608;
  color: white;
  width: fit-content;
  padding: 1em;
  border-radius: 2em;
  font-size: 0.9em;
  text-decoration: none;
  margin: 1em 0;
  align-self: center;
}

.card h2 {
  display: flex;
  flex-direction: column;
  /* margin: 0 0.5em; */
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.card h3 {
  text-align: center;
  margin: 0;
  font-size: 1em;
  font-weight: 600;
}

#none:checked~.card-container {
  height: calc((100vh - 10em)/4);
}

.card-container {
  display: inline-block;
  height: 1.5em;
  transition: height 0.3s;
  padding: 1em;
}

input[type="radio"] {
  align-self: self-start;
  /* Uncomment below to hide radio buttons */
  width: 0;
  height: 0;
}

input[type="radio"]:checked+.card-container {
  height: calc(55vh);
}

input[type="radio"]:checked+.card-container .card {
  transform: perspective(1000px) rotateX(-5deg);
}

.active-only {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out, opacity 0.2s ease-out;
}

input[type="radio"]:checked+.card-container .card .active-only {
  opacity: 1;
  max-height: 500px;
  transition: max-height 0.25s ease-in, opacity 0.25s ease-in;
}


.closed-only {
  opacity: 1;
  max-height: 500px;
  transition: margin 0.2s, max-height 0.2s ease-out, opacity 0.2s ease-out;
}

input[type="radio"]:checked+.card-container .card .closed-only {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  transition: margin 0.2s, max-height 0.25s ease-in, opacity 0.25s ease-in;
}

.bg-lime {
  background-color: #CBEB78;
}

.bg-tan {
  background-color: #FCECD9;
}

.bg-green {
  background-color: #EDECB8;
}

input[type="radio"].view-select-first~.view-first,
input[type="radio"].view-select-second~.view-second,
input[type="radio"].view-select-third~.view-third {
  display: none;
}

input[type="radio"].view-select-first:checked~.view-first,
input[type="radio"].view-select-second:checked~.view-second,
input[type="radio"].view-select-third:checked~.view-third {
  display: flex;
}

input[type="radio"].view-select-first:checked~.card-menu>.view-first-highlight,
input[type="radio"].view-select-second:checked~.card-menu>.view-second-highlight,
input[type="radio"].view-select-third:checked~.card-menu>.view-third-highlight {
  background-color: #87A046;
  color: white;
}

@media screen and (max-height: 720px) {
  body {
    /* font-size: 12px; */
  }

  article>img {
    width: 45%;
  }
}