body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #beeadd;
  font-family: "Inconsolata";
}
.nav-bar {
  padding: 10px;
  display: flex;
  justify-content: space-between;
  height: 100px;
}

.footer {
  position: fixed;
  box-sizing: border-box;
  left: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  height: 100px;
}

#shopify-opener {
  font-size: 4rem;
  color: rgba(119, 79, 56, 0.5);
}

#bg-opener {
  font-size: 4rem;
  margin-left: 10px;
  /* color: #774f38; */
  color: rgba(119, 79, 56, 0.5);
}
#bg-opener:hover {
  cursor: pointer;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.grid-container {
  position: relative;
  display: flex;
  flex-direction: column;
}

form {
  display: contents;
}

#avatar {
  position: relative;
  display: flex;
}

#avatar-container {
  margin-left: 25px;
  z-index: 6;
}

#speech-bubble {
  cursor: pointer;
}

input {
  border: none;
  font-family: inherit;
  outline: none;
  opacity: 0.5;
}

.input-box {
  color: #4b2354;
  height: 3rem;
  border-radius: 20px;
  padding: 5px 15px 5px 15px;
}
.input-box:focus {
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  -ms-box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.2);
  /* opacity: 1 !important; */
  opacity: 1;
}

#input {
  width: 400px;
  margin: 1rem auto;
  font-size: 1.2rem;
  font-family: "Concert One", cursive;
}

.speech-bubble {
  font-family: "Concert One";
  color: #774f38;
  background-color: #fdf5de;
  border-radius: 11px;
  position: absolute;
  box-shadow: 20px 20px #83af9b;
  width: 100%;
  height: 100%;
  left: 70%;
  top: -30%;
  display: -webkit-box;
  /* display: none; */
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 5;
  max-width: 250px;
  max-height: 100px;
  border: 15px solid #0000;
}

.speech-bubble-after {
  content: ".";
  font-weight: bold;
  -webkit-text-fill-color: #fdf5de;
  text-shadow: 22px 22px #83af9b;
  text-align: left;
  font-size: 55px;
  width: 55px;
  height: 11px;
  line-height: 10px;
  transform: translateY(-10px);
  border-radius: 11px;
  background-color: #fdf5de;
  position: relative;
  display: block;
  bottom: -50px;
  left: -17%;
  box-shadow: 22px 22px #83af9b;
  z-index: 5;
  /* overflow: visible; */
}

#datetime {
  font-family: "Concert One";
  font-weight: 900;
  color: rgba(119, 79, 56, 0.5);
  transition: all ease-in-out 0.6s;
  border-radius: 3px;
  cursor: pointer;
}

#date {
  margin-top: 10px;
}

#time {
  font-size: 30px;
  margin-top: 0;
  text-align: right;
  margin-bottom: 10px;
}

#overlay {
  /* visibility: visible; */
  /* opacity: 1; */
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s,
    opacity 0.5s linear;
  position: fixed;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: all ease-in-out 0.5;
}
#overlay.opened {
  visibility: visible;
  opacity: 1;
}

#bg-closer {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  z-index: 1000;
}
#bg-container-closer {
  font-size: 3rem;
}
#bg-container-closer:hover {
  color: #bfbfbf;
}

#bg-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow-y: scroll;
}
#bg-container ul li {
  padding: 10px 10px;
  margin-bottom: 5px;
}

#bg-container {
  padding: 10px 0;
  position: fixed;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all cubic-bezier(1, 0, 0, 1) 0.6s;
  overflow: hidden;
  z-index: 10;
  width: 0;
}
#bg-container.opened {
  left: 0;
  width: 220px;
}

#bg-images li img {
  cursor: pointer;
}
#bg-images li img:hover {
  /* box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.5); */
  background-color: #beeadd;
  border-radius: 10px;
}

.bottom-right {
  background-color: #e1e1e1;
  bottom: -45px;
  right: 0;
}

.bottom-left {
  background-color: #e1e1e1;
  bottom: -45px;
  left: 0;
}

.zzz {
  display: block;
  animation-name: zzz;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
  animation-direction: forwards;
  color: rgba(160, 84, 246, 1);
  font-weight: bold;
  position: absolute;
  z-index: 100;
  transform: translateY(100%);
  font-family: "Concert One", cursive;
}

.zzz-z {
  animation-delay: 0s;
  left: 300px;
  top: 0px;
}
.zzz-zz {
  animation-delay: 0.5s;
  left: 280px;
  top: 0px;
}
.zzz-zzz {
  animation-delay: 1s;
  left: 290px;
  top: 0px;
}

/* *** All Animations *** */
/*Darker Sky*/
@-webkit-keyframes zzz {
  0% {
    color: rgba(160, 84, 246, 0);
    font-size: 30px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    color: rgba(160, 84, 246, 1);
    font-size: 72px;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@keyframes zzz {
  0% {
    color: rgba(160, 84, 246, 0);
    font-size: 30px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
  }
  100% {
    color: rgba(160, 84, 246, 1);
    font-size: 72px;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
}

@keyframes rotate-left-right {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.fulltext-content {
  visibility: hidden;
  position: fixed;
  width: 30vw;
  height: 50vh;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  line-height: 1.4;
  color: #fffaf0;
  background: transparent;
  opacity: 0;
  font-family: "Concert One", cursive;
  overflow: scroll;
  transition: opacity 0.3s 0.3s;
  z-index: 9999;
}

.fulltext-content.opened {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.fulltext-content span {
  display: block;
}

.fulltext-text {
  border-right: 10px solid #fffaf0;
  -webkit-transform: scale3d(0, 1, 1);
  transform: scale3d(0, 1, 1);
  -webkit-transition: -webkit-transform 0.3s 0.3s;
  transition: transform 0.3s 0.3s;
}

.fulltext-content.opened .fulltext-text {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

.fulltext-inner {
  background: rgba(85, 61, 61, 0.95);
  padding: 40px;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
  webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.fulltext-content.opened .fulltext-inner {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.name-display {
  font-family: "Concert One", cursive;
  font-size: 1.5rem;
  color: rgba(119, 79, 56, 0.5);
  text-align: center;
  margin: 1rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.manual {
  font-size: 4rem;
  color: rgba(119, 79, 56, 0.5);
}

.btn {
  --btn-color: rgb(124 45 18);
  --btn-bg: rgb(252 211 77);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--btn-bg);
  color: var(--btn-color);
  padding: 14px 22px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: system-ui;
  border: 2px solid var(--btn-color);
  transition: 100ms ease;
  box-shadow: 5px 5px 0 0 var(--btn-color);
}

.btn--secondary {
  --btn-color: #444;
  --btn-bg: #fafafa;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn:hover {
  box-shadow: 2px 2px 0 0 var(--btn-color);
}

.btn:active {
  transition: 50ms ease;
  box-shadow: 0 0 0 0 var(--btn-color);
}

.btn:focus-visible {
  outline: 0;
  --btn-color: #002cc8;
}

.btn:focus-visible::after {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  content: "\21E7";
  animation: float 0.5s ease-in-out infinite;
}

.marquee-container {
  height: 2rem;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  display: flex;
}

.marquee span {
  display: inline-block;
  padding-right: 50px;
  animation: marquee 8s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes float {
  0% {
    transform: translateX(-50%) translatey(0px);
  }
  50% {
    transform: translateX(-50%) translatey(-6px);
  }
  100% {
    transform: translateX(-50%) translatey(0px);
  }
}
