:root {
  --panel-background-color: #hot;
  --panel-border-top: 2px solid grey;
  --panel-max-height-large-screens: 400px;
  --panel-min-height-large-screens: 200px;
  --panel-max-height-small-screens: 200px;
  --panel-min-height-small-screens: 100px;
  --toggle-button-height: 90px;
  --toggle-button-bg-color: #80DEEA;
  --toggle-button-hover-bg-color: #0097A7;
  --toggle-button-font-size: 30px;
  --toggle-button-padding: 40px;
  --toggle-button-font-size-mobile: 20px;
  --toggle-button-padding-mobile: 20px;
  --toggle-button-height-mobile: 60px;
}

.bottom-toggle-panel {
  width: 100vw;
  position: fixed;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-panel-content {
  width: 100%;
  max-height:0;
  min-height:0;
  background: var(--panel-background-color);
  border-top: var(--panel-border-top);
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, min-height 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  box-sizing: border-box;
}

.inner-container {
  width: 100%;
  height:calc(100% - var(--toggle-button-height));
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottom-panel-content img {
  max-width: 100%;
  max-height: 100%;
  animation: bumpImage 1s ease-in-out infinite;
}

.toggle-button-label {
  background: var(--toggle-button-bg-color);
  color: white;
  height: var(--toggle-button-height);
  border: none;
  padding-left: var(--toggle-button-padding);
  padding-right: var(--toggle-button-padding);
  border-left: 1px solid grey;
  border-right: 1px solid grey;
  border-top: 1px solid grey;
  opacity: 0.75;
  font-size: var(--toggle-button-font-size);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 0; /* Remove bottom margin */
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: calc(-1 * var(--toggle-button-height));
  z-index: 1;
}

.toggle-button-label:hover {
  opacity: 0.6;
  background: var(--toggle-button-hover-bg-color);
}

#toggle:checked ~ .bottom-panel-content {
  max-height: var(--panel-max-height-large-screens);
  min-height: var(--panel-min-height-large-screens);
}

#toggle:checked ~ .toggle-button-label {
  top: calc(-1 * var(--toggle-button-height));
}

@media (max-width: 760px) {
  #toggle:checked ~ .bottom-panel-content {
    max-height: var(--panel-max-height-small-screens);
    min-height: var(--panel-min-height-small-screens);
  }

  .toggle-button-label {
    font-size: var(--toggle-button-font-size-mobile);
    padding-left: var(--toggle-button-padding-mobile);
    padding-right: var(--toggle-button-padding-mobile);
    height: var(--toggle-button-height-mobile);
    top: calc(-1 * var(--toggle-button-height-mobile));
  }

  .inner-container {
    height: calc(100% - var(--toggle-button-height-mobile));
  }
}

#toggle {
  display: none;
}

#toggle + .toggle-button-label::before {
  content: "上帝之眼";
}

#toggle:checked + .toggle-button-label::before {
  content: "上帝之眼";
}

body {
  height: 100vh;
  background:rgba(255, 255, 255, 0);
  color: white;
  text-align: center;
  margin: 0;
  font-family: arial;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
overflow: hidden;
}

.pretty-in-pink {
  background:#E6EE9C;
  background-size: 300% 300%;
  animation: gradientAnimation 10s ease infinite;
}

@keyframes bumpImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}