body {
  background-color: #F0DDD2;
  color: #3B2F2F;
  overflow-x: hidden;
  font-family: "Patrick Hand", cursive;
  font-weight: 500;

  /* background-image:url("http://127.0.0.1:5007/static/images/logo4.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right; */
}

p {
  margin-bottom: 0.5rem;
}

.header_logo {
  width: 3em
}

.card {
  border-radius: 2.25rem;
}

.card-draw {
  background-color: #c8d7b8;
}

.card-making {
  background-color: #ffe597;
}

.card-text {
  font-size: 1.15em;
  height: 70px;
}

.card-text-less-fat:last-child {
  margin-bottom: 0;
}

p:has(+ ul) {
  margin-bottom: 0;
}

.row:has(+ .card-text-less-fat) {
  margin-bottom: 0.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
}

.carousel-control-next-icon:after {
  content: '>';
  font-size: 55px;
  color: #3B2F2F;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 55px;
  color: #3B2F2F;
}

.carousel-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

.carousel {
  overflow: hidden;
  border-top-left-radius: 2.25rem;
  border-top-right-radius: 2.25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.carousel-gallery {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.custom-caption {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  bottom: 20px;
  width: auto !important;
  text-align: center;
}

.custom-caption p {
  font-size: large;
  display: inline-block;
  background: rgba(0, 0, 0, 0.73);
  padding: 6px 12px;
  border-radius: 6px;
  margin: 0;
}


.card-img,
.card-img-bottom {
  border-bottom-right-radius: calc(2.25rem - 1px);
  border-bottom-left-radius: calc(2.25rem - 1px);
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(2.25rem - 1px);
  border-top-right-radius: calc(2.25rem - 1px);
}

.left-card>.card-body {
  background-color: #ffe597;

  border-bottom-left-radius: calc(2.25rem - 1px);
  border-bottom-right-radius: calc(2.25rem - 1px);
  border-top: 1px solid #FCEEC6;
}

.right-card>.card-body {
  background-color: #c8d7b8;
  border-top-left-radius: calc(2.25rem - 1px);
  border-top-right-radius: calc(2.25rem - 1px);
  border-bottom: 1px solid #FCEEC6;
}

.text-bg-primary {
  border: 1px solid #7a2d2c;
}

.text-bg-primary>.card-header {
  border-top-left-radius: calc(2.25rem - 1px);
  border-top-right-radius: calc(2.25rem - 1px);
  background-color: #f58d8b;
  border-bottom: 1px solid #7a2d2c;
  color: #7a2d2c;
}

.text-bg-primary>.card-body {
  border-bottom-left-radius: calc(2.25rem - 1px);
  border-bottom-right-radius: calc(2.25rem - 1px);
  color: #7a2d2c;
  background-color: #f4c4c3;
}

.text-bg-success {
  border: 1px solid #155724;
}

.text-bg-success>.card-header {
  border-top-left-radius: calc(2.25rem - 1px);
  border-top-right-radius: calc(2.25rem - 1px);
  border-bottom: 1px solid #155724;
  background-color: #a0de77;
  color: #155724;
}

.text-bg-success>.card-body {
  border-bottom-left-radius: calc(2.25rem - 1px);
  border-bottom-right-radius: calc(2.25rem - 1px);
  color: #155724;
  background-color: #c2e1ad;
}

.text-bg-danger {
  border: 1px solid #50260f;
}

.text-bg-danger>.card-header {
  border-top-left-radius: calc(2.25rem - 1px);
  border-top-right-radius: calc(2.25rem - 1px);
  border-bottom: 1px solid #50260f;
  background-color: #d27747;
  color: #50260f;
}

.text-bg-danger>.card-body {
  border-bottom-left-radius: calc(2.25rem - 1px);
  border-bottom-right-radius: calc(2.25rem - 1px);
  color: #50260f;
  background-color: #eaa37e;
}

.card-header>.card-title {
  margin-bottom: 0;
}

@media (min-width: 750px) {
  .card-animated:hover {
    -webkit-animation: bump 0.5s linear;
    /*for Google*/
    -moz-animation: bump 0.5s linear;
    /*for Firefox*/
    cursor: pointer;
  }
}


@-webkit-keyframes bump {
  0% {
    -webkit-transform: scale(0.95, 0.95);
    opacity: 0.9;
  }

  50% {
    -webkit-transform: scale(1.05, 1.05);
    opacity: 0.7;
  }

  100% {
    -webkit-transform: scale(1, 1);
    opacity: 1;
  }
}

@-moz-keyframes bump {
  0% {
    -moz-transform: scale(0.95, 0.95);
    opacity: 0.9;
  }

  50% {
    -moz-transform: scale(1.05, 1.05);
    opacity: 0.7;
  }

  100% {
    -moz-transform: scale(1, 1);
    opacity: 1;
  }
}


.main>h1 {
  font-size: 3.5rem;
}

.main>p {
  font-size: 1.75rem;
}

.return-button {
  opacity: 0.8;
  border: 2px solid #3B2F2F;
  padding: 5px 10px;
  background: transparent;
  font-size: large;
}

.img-left {
  object-fit: cover
}

.img-adapt {
  max-height: 80vh;
  object-fit: contain;
}

a {
  color: inherit;
  font-weight: bold;
  text-decoration: underline;
}

a:hover {
  color: inherit;
  text-decoration: underline;
}

.a-button {
  text-decoration: none !important;
}

.a-button:hover {
  text-decoration: none !important;
}

.rs {
  text-decoration: none !important;
  font-size: large;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
    font-weight: normal;
}

.card-link-wrapper:hover {
    text-decoration: none;
    color: inherit;
    display: block;
    font-weight: normal;

}
