@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&family=Noto+Sans+JP:wght@400;700&display=swap');

body {
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1e1e1e;
}

.wrapper {
  max-width: 1000px;
  width: 100%;
}

main {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
}

h1 {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  margin-top: 2rem;
}

h2 {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  text-align: center;
  margin-top: 2rem;
}

p {
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  margin-top: 1rem;
}

form .search-window{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 9999px;
  padding-inline: 1rem;
  padding-block: 0.5rem;
  max-width: 600px;
  margin: auto;
  margin-top: 2rem;
  width: 100%;
}

input {
  padding: 0.5rem;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  flex: 1;
}

input:focus {
  outline: none;
}

select {
  padding: 0.5rem;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
}

select:focus {
  outline: none;
}

select option {
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
}

button {
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  color: #1e1e1e;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  opacity: 0.2;
}

table {
  margin-top: 2rem;
  width: 100%;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #ccc;
}

th {
  text-align: left;
  padding: 0.5rem;
}

td {
  padding: 0.5rem;
  font-size: 0.8rem;
}

#content-wrapper {
  margin-top: 2rem;
  border-radius: 1rem;
  background-color: #eee;
  padding: 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 4rem;
  width: 100%;
  max-width: 600px;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* PULSE BUBBLES */

.pulse-container {
  width: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2rem;
}

.pulse-bubble {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: skyblue;
}

.pulse-bubble-1 {
    animation: pulse .4s ease 0s infinite alternate;
}
.pulse-bubble-2 {
    animation: pulse .4s ease .2s infinite alternate;
}
.pulse-bubble-3 {
    animation: pulse .4s ease .4s infinite alternate;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: .25;
    transform: scale(.75);
  }
}

.progress-bar {
  width: 100%;
  height: 1rem;
  background-color: #eee;
  border-radius: 9999px;
  margin-top: 1rem;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  background-color: skyblue;
  border-radius: 9999px;
  width: 0%;
  animation: bar 40s ease-out 0s 1 normal forwards;
}

@keyframes bar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
