* {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
}

html, body {
    overflow: hidden;
}

#reactRoot {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
    z-index: 1;
    overflow: scroll
}

/* CSS */
.button-2 {
    background-color: #fff3d1;
    border-radius: 8px;
    border-width: 0;
    color: #333333;
    cursor: pointer;
    display: inline-block;
    /* font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial, sans-serif; */
    font-family: serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    list-style: none;
    margin: 0;
    padding: 10px 34px;
    text-align: center;
    transition: all 200ms;
    vertical-align: baseline;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    margin-top: 5%;
    opacity: 0.9;
}

.img {
    width: 30vw;
    height: 30vh;
    object-fit: cover;
    justify-content: center;
}

.img:hover {
    opacity: 1;
}

.loading-bar
{
    position: absolute;
    top: 50%;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transform: scaleX(0.3);
    transform-origin: top left;
    transition: transform 0.5s;
    z-index: 10;
}

.loading-bar.ended
{
    transform: scaleX(0);
    transform-origin: 100% 0;
    transition: transform 1.5s ease-in-out;
}

.ui {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* allow clicks through except on children */
}

.ui button, .ui .controls {
  pointer-events: auto; /* re-enable clicks */
}

#seeInRealLife {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 20px;
  background: #4462ff;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.controls {
  position: absolute;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.group {
  text-align: center;
}

.group span {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.group button {
  display: inline-block;
  margin: 2px;
  padding: 6px 10px;
  border-radius: 15px;
  border: 1px solid #ccc;
  background: white;
  cursor: pointer;
}

#timeToggleBtn {
  width: 150px;
  height: 80px;
  background-color: #2c3e50;
  color: white;
  font-family: sans-serif;
  font-size: 20px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: transform 0.1s ease;
  opacity: 0.7;
}
#timeToggleBtn:active {
  transform: scale(0.95);
}