body {
  display: flex;
  justify-content: center;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
    'Helvetica Neue', 'Ubuntu', sans-serif;
  height: 100vh;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  width: 400px;
  height: 112px;
  border-radius: 6px;
  justify-content: space-between;
}

p {
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.154px;
  color: #242d60;
  height: 100%;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

#checkout {
  z-index: 1000;
  margin-left: auto;
  margin-right: 0;
  margin-top: -100%;
  /* display: none; */
}

.hidden {
  display: none;
}

.animate-checkout {
  display: block;
  animation: dropInAnimation 5s forwards;
}

.remove-checkout {
  animation: dropInAnimation 5s backwards;
}

@keyframes dropInAnimation {
  from {
    margin-top: -100%;
    /* Start from above the screen */
  }

  to {
    margin-top: 0%;
    /* End at its final position */
  }
}

.remove-checkout {
  display: block;
  /* Make sure the element is visible for the animation */
  animation: dropOutAnimation 5s forwards;
}

@keyframes dropOutAnimation {
  from {
    margin-top: 0%;
    /* Start from its final position */
  }

  to {
    margin-top: -100%;
    /* Move back above the screen */
  }
}