* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
.container {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
}
.joke-box {
  width: 90vw;
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  background-color: antiquewhite;
  border-radius: 10px;
  color: rgb(53, 61, 93);
  box-shadow: 2px 2px 2px seashell;
}
/* loader */
.ldio-thmerbqh769 div {
  left: 50px;
  top: 10px;
  position: absolute;
  animation: ldio-thmerbqh769 linear 1s infinite;
  background: rgb(53, 61, 93);
  width: 12px;
  height: 24px;
  border-radius: 6px / 12px;
  transform-origin: 3px 30px;
}
.ldio-thmerbqh769 div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -0.9166666666666666s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -0.8333333333333334s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.75s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.6666666666666666s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.5833333333333334s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.5s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.4166666666666667s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.3333333333333333s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.25s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.16666666666666666s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.08333333333333333s;
  background: rgb(53, 61, 93);
}
.ldio-thmerbqh769 div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
  background: rgb(53, 61, 93);
}
.loadingio-spinner-spinner-9kzugsxcnc {
  width: 100px;
  height: 100px;
  display: inline-block;
  overflow: hidden;
  background: antiquewhite;
}
.ldio-thmerbqh769 {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0;
}
.ldio-thmerbqh769 div {
  box-sizing: content-box;
}
@keyframes ldio-thmerbqh769 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* end of loader */
.joke {
  text-align: center;
  letter-spacing: 0.1rem;
  margin: 40px;
}
.joke h4 {
  margin-bottom: 20px;
  font-weight: 100;
}
.buttons {
  display: flex;
  justify-content: space-between;
}
button a {
  text-decoration: none;
  color: white;
  font-style: normal;
}
.joke-text {
  padding: 10px;
  font-size: 1.5rem;
}
.btn {
  padding: 15px 10px;
  border-radius: 8px;
  letter-spacing: 0.1rem;
  cursor: pointer;
  background-color: rgb(53, 61, 93);
  color: white;
  transition: all 0.3s ease;
  border-style: none;
}
.btn:hover {
  transform: scale(0.98);
  opacity: 0.98;
}
.share .btn {
  background-color: lightblue;
}
@media (max-width: 475px) {
  .buttons {
    display: grid;
    text-align: center;
    grid-row-gap: 20px;
    grid-template-columns: auto;
    grid-column-start: auto;
    grid-template-areas:
      "get"
      "tweet";
  }
  .mobile {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .share {
    grid-area: "tweet";
    margin-bottom: 10px;
  }
  .new-quote {
    grid-area: get;
  }
  .joke-text {
    width: 100%;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .joke-box {
    padding: 10px 20px;
  }
  .joke {
    margin: 30px 5px;
  }
}
@media (min-width: 650px) {
  .joke-box {
    width: 60vw;
  }
}
@media (min-width: 1000px) {
  .joke-box {
    width: 40vw;
  }
}

.toggleWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 0 200px;
  transform: translate3d(-50%, -50%, 0);
}
.toggleWrapper input {
  position: absolute;
  left: -99em;
}

.toggle {
  cursor: pointer;
  display: inline-block;
  position: absolute;
  width: 90px;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  height: 40px;
  background-color: #dcc8a3;
  border-radius: 84px;
  z-index: 2;
  transition: background-color 200ms cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

.toggle__handler {
  display: inline-block;
  position: relative;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 34px;
  height: 34px;
  background-color: #7e2804;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: rotate(-45deg);
}

input:checked + .toggle:after {
  color: #ffffff;
}
input:checked + .toggle .toggle__handler {
  transform: translate3d(49px, 0, 0) rotate(0);
}
input:checked + .toggle + .bear-body {
  transform: rotateY(180deg);
}

.bear-body {
  position: relative;
  border-radius: 20px 10px 5px;
  border-bottom: 150px solid #7e2804;
  border-left: 20px solid transparent;
  border-right: 10px solid transparent;
  height: 0;
  width: 94px;
}
.bear-body::before, .bear-body::after {
  content: "";
  position: absolute;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  top: -16px;
  background: radial-gradient(#dcc8a3 5px, #7e2804 6px);
}
.bear-body::before {
  left: -12.5px;
}
.bear-body::after {
  right: -12.5px;
}
.bear-body .eye {
  position: absolute;
  top: 18px;
  background: #3d2526;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background-image: radial-gradient(circle at 4px, white 1px, #3d2526 2px);
}
.bear-body .eye.left {
  left: 20px;
  animation: blink 3s ease-in-out infinite;
}
.bear-body .eye.right {
  left: 46px;
  animation: blink 3.5s ease-in-out infinite;
}

@keyframes blink {
  85% {
    transform: rotateX(0deg);
  }
  90% {
    transform: rotateX(90deg);
  }
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: left;
  background-color: transparent; /* Adjust as needed */
}

