:root {
  --pink-color: #f55f8d;
  --grey-color: #262626;
  --gradient: to right, #f55f8d 0, #f8ae56 51%, #f55f8d 100%;
  --animate-duration: 2s;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  font-family:'EB Garamond', serif; font-weight: 400;
  font-size: 16px;
  color: #636363;
  line-height: 1.6;
}

.card-body {
  font-family:'EB Garamond', serif; font-weight: 400;
  font-size: 16px;
  color: #636363;
  line-height: 1.6;
}

body {
  position: relative;
}

p {
  margin-bottom: 0;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dot {
  height: 65px;
  width: 65px;
  background-color: #bbb;
  border-radius: 50%;
  border: 0.1px solid rgb(247, 222, 222);
  display: inline-block;
}

.section-bg-affect:nth-child(even) {
  /* background-color: rgb(255, 255, 255); */
  background-color: #f9f9f9;
}

.page_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #cccccc;
}

.main_wrapper {
  width: 575px;
  background-color: #ffffff;
  overflow: hidden;
}

/* general */
.pink_btn {
  color: #fff;
  background-color: #f0394c;
}

.space {
  width: 100%;
  height: 40px;
}

.seperate {
  width: 100%;
  height: 2px;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;

  .inner {
    width: 100px;
    height: 100%;
    background-color: #636363;
    border-radius: 4px;
  }
}

.section-title {
  font-family: 'Bonheur Royale', cursive;
  letter-spacing: 1px;
  font-size: 2.0rem;
  color: #474747;
  margin-bottom: 20px;
}

.section-sub-title {
  font-family:'EB Garamond', serif; 
  font-weight: 400;
}

/* header_date */
.header_time {
  justify-content: right;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
}

.header_time .left {
  font-size: 18px;
}

/* hình mở đầu - start*/
.header_wrapper {
  position: relative;
  width: 100%;
  height: 900px;

  img {
    position: absolute;
    offset: 0;
    z-index: 0;
  }

  .overlay {
    position: absolute;
    offset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }

  .header_content {
    position: absolute;
    offset: 0;
    top: 20px;
    z-index: 2;
    width: 100%;
    text-align: center;
    font-size: 24px;
    color: #fff;
  }

  .header_content {
    p:nth-child(1) {
      font-family: 'Bonheur Royale';
      font-size: 4.4rem;
      line-height: 80px;
      margin-top: 30px;
    }

    p:nth-child(2) {
      font-size: 20px;
      font-weight: 400;
      /* opacity: 0.6; */
    }
    p:nth-child(3) {
      font-size: 20px;
      font-weight: 400;
      /* opacity: 0.6; */
    }

    p:nth-child(4) {
      font-size: 20px;
      font-weight: 400;
      opacity: 0.6;
    }
  }
}

/* bride_wrapper */
.bride_wrapper {
  display: flex;
  gap: 20px;
}

.bride_wrapper .img_bride_wrapper {
  width: 40%;
  height: 475px;
}

.bride_content {
  width: 60%;
}

/* event-section */
.event-section a {
  background: #636363;
  border-color: #636363;
  font-size: 14px;
}

.event-section .event-item {
  background-color: #f2f2f2;
}

.event-section .event-item {
  margin-bottom: 20px;
  /* background-color: #e9e2ce; */
}

.event-section .event-item:last-child {
  margin-bottom: 0;
}

.event-section .event-item img {
  border-bottom-left-radius: var(--bs-border-radius);
  border-top-left-radius: var(--bs-border-radius);
}

.event-section .event-item .image-wrap {
  max-width: 36%;
  width: 36%;
  min-width: 36%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/*new form*/
#wish-form {
  background-color: #d8d8d8;
}

#show-comments {
  background-color: #d8d8d8;
}

.box-comment {
  border-bottom: 0.1px solid black;
}

button#btn-submit-comment {
  background-color: #5c636a;
  color: white;
  text-transform: uppercase;
  border: none;
}

button#btn-submit-comment:hover {
  background-color: #848484;
}

#show-comments::-webkit-scrollbar {
  width: 8px;
}

#show-comments::-webkit-scrollbar-thumb {
  background-color: #5c636a;
}


/* couple-section */
.couple-section .wrap-people {
  overflow: hidden;
  gap: 25px;
  justify-content: space-between;
}

.couple-section .wrap-people .member {
  margin: 0 auto;
}

@media screen and (max-width: 450px) {
  .couple-section .wrap-people .member {
    width: 100% !important;
  }

  .couple-section .wrap-people {
    flex-direction: column;
  }
}

.couple-section .wrap-people .member img {
  width: 100%;
  max-width: 350px;
  margin: auto;
  border-radius: 50%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.couple-section .wrap-people .member-name {
  text-align: center;
  margin: 0 auto;
  font-size: 30px;
}

.couple-section .wrap-people .member-contact {
  justify-content: center;
  gap: 10px;
}

.couple-section .wrap-people .member-contact li {
  line-height: 20px;
  align-self: center;
}

.couple-section .member-contact li a {
  font-size: 20px;
  display: inline-block;
}

.parent {
  font-size: 16px;
  font-family: 'Bellota Text', cursive;
}

.parent-name>span {
  font-weight: bold;
}

/* Câu chuyện */
.story-section .timeline .title {
  color: #474747;
}

.timeline-card .img-holder {
  border-radius: 20px;
  overflow: hidden;
}

.story-section .timeline-card::before {
  border-color: #474747;
}

.story-section .timeline .title::before {
  border-color: #474747;
}

.story-section .timeline-1 li {
  border-left-color: #d3c4a1;
}

.story-section .timeline-1 li:before {
  border-color: #cbb788;
  box-shadow: 3px 3px 0px #d3c4a1;
}


/* table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
} */

td {
  width: calc(100%/8);
  font-size: 0.8rem;
  /* border: 1px solid red; */
  vertical-align: middle;
  height: 0.9rem;
}
#love-story img {
  object-fit: contain;
  /* background-color: #f0394c; */
}