@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Meow+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playball&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mali:wght@200;500&display=swap');

* {
  padding: 0;
  margin: 0;
}

/* width */
::-webkit-scrollbar {
  width: 2px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: red; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

.block_1 {
  width: 100vw;
  height: 100vh;
  background-image: url('img/block_0.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.save_date {
  position: absolute;
  width: 300px;
  right: 5%;
  top: 5%;
  /* transform: translate(-50%, 0); */
}

.save_date img {
  width: 100%;
}

.block_2 {
  width: 100vw;
  height: 100vh;
  background-image: url('img/block_2.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.ring_img {
  width: 40%;
  position: absolute;
  left: 50%;
  top: 3%;
  transform: translate(-50%, 0); 
}

.ring_img img {
  width: 100%;
}

.card_img {
  width: 50%;
  position: absolute;
  top: 22%  ;
  left: 50%;
  transform: translate(-50%, 0); 
}


.card_img img {
  width: 100%;
  margin-top: 10px;
  border-radius: 30px;
}

.block_3 {
  width: 100vw;
  height: 150vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  background-image: url('img/block_1.jpeg');
  background-color: #ffeef8;
}

.mr_zone {
  width: 100%;
  display: flex;
  padding-top: 80px;
}

.mr_zone .img_mr {
  width: 40%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
}

.mr_zone .img_mr img {
  width: 55%;
  margin: 0 auto;
}

.mr_zone .content_mr {
  width: 60%;
  text-align: justify;
  background-color: #f5f5db;
  border-radius: 20px;
  margin-right: 35px;
  margin-top: 50px;
  padding-left: 35px;
  padding-top: 50px;
  height: 260px;
}

.title_mr {
  font-family: 'Meow Script', cursive;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.content_main_mr {
  font-family: 'Patrick Hand', cursive;
  font-size: 20px;
  width: 85%;
  line-height: 30px;
}

.ms_zone {
  width: 100%;
  display: flex;
  padding-top: 20px;
}

.ms_zone .img_ms {
  width: 40%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
}

.ms_zone .img_ms img {
  width: 55%;
  margin: 0 auto;
}

.ms_zone .content_ms {
  width: 60%;
  padding-left: 50px;
  text-align: justify;
  line-height: 30px;
  background-color: #f5f5db;
  border-radius: 20px;
  margin-left: 35px;
  padding-top: 50px;
  height: 250px;
  margin-top: 50px;
}

.title_ms {
  font-family: 'Meow Script', cursive;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.content_main_ms {
  font-family: 'Patrick Hand', cursive;
  font-size: 20px;
  width: 80%;
}

.down-arrow {
  position: absolute;
  bottom: 20px;
  left: calc(50% - 14px);
  width: 0;
  height: 30px;
  border: 2px solid;
  border-radius: 2px;
  animation: jumpInfinite 1.2s infinite;
}

.down-arrow:hover {
  cursor: pointer;
}

.down-arrow:after {
  content: " ";
  position: absolute;
  top: 12px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-bottom: 4px solid;
  border-right: 4px solid;
  border-radius: 4px;
  transform: rotateZ(45deg);
}

.flower-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url('img/flower-top-right.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flower-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background-image: url('img/flower-bottom-left.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotateX(180deg);
}

.flower-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background-image: url('img/flower-bottom-left.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flower-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: url('img/flower-top-right.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: rotateX(180deg);
}

.block_4 {
  width: 100vw;
  height: 100vh;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('img/block_4.jpg');
  position: relative;
  padding-top: calc(10% - 14px);
}

.block_4 div#myTimeline {
  margin: 0 auto;
  width: 85%;
  background-color: #ffffff38;
  overflow-x: scroll;
  border-radius: 10px;
}

.cooldown {
  width: 100%;
  color: white;
  text-align: center;
  font-size: 60px;
  font-family: 'Dancing Script', cursive;
  margin-bottom: 150px;
}

.block_5 {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.flexslider .slides > li {
  height: 100vh;
  object-fit: cover;
}

.flexslider {
  /* width: 70%; */
  margin: 0 auto;
  max-height: 100vh;
}

.block_6 {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
}

.block_7 {
  width: 100vw;
  height: 100vh;
  position: relative;
  background-color: #ffffff;
  display: flex;
}

.img_bsdc {
  width: 500px;
  position: absolute;
  bottom: 40px;
  left: 40px;
}

.img_bsdc img {
  width: 75%;
}

.left_box {
  padding-top: 50px;
  height: 100vh;
  background-image: url('img/camon.jpeg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.left_box .title {
  font-family: 'Alex Brush', cursive !important;
  font-size: 70px;
  margin-top: 100px;
  margin-left: 50px;
  color: #334c51;
}

.left_box .content {
  font-family: 'Playball', cursive;
  font-size: 20px;
  margin-top: 50px;
  margin-left: 50px;
  color: #334c51;
  line-height: 40px;
  width: 90%;
  text-align: justify;
}

.block_7 .left_box {
  width: 50%;
}

.block_7 .right_box {
  width: 50%;
  padding-top: calc(15% - 50px);
  position: relative;
  -webkit-margin-start: 180px;
}

.right_box .img_tree3 {
  position: absolute;
  width: 250px;
  right: 0;
}

.right_box .img_tree3 img {
  width: 100%;
}

.img_tree1 img {
  width: 100%;
}

.img_tree1_1 img {
  width: 100%;
}

.img_tree1 {
  position: absolute;
  width: 125px;
  right: 10px;
  top: 10px;
}

.img_tree1_1 {
  position: absolute;
  width: 125px;
  left: 10px;
  bottom: 10px;
  transform: rotate(180deg);
}

.form_message {
  width: 60%;
  margin: 0 auto;
  margin-right: 250px;
}

.form_message label {
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 25px;
  font-family: 'Playball', cursive;
}

.form_message input {
  font-family: 'Playball', cursive;
  font-size: 20px;
}

.form_message textarea {
  font-family: 'Playball', cursive;
  font-size: 20px;
}

.list_message {
  width: 90%;
  background-color: white;
  margin: 20px auto;
  border-radius: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  max-height: 320px;
}

.box_message {
  height: 250px;
  overflow-y: scroll;
  font-family: 'Playball', cursive;
}

.mess_title {
  font-family: 'Dancing Scripts', cursive;
  color: red;
  font-size: 18px;
  padding-left: 20px;
  text-transform: capitalize;
  height: 40px;
  line-height: 40px;
}

.list_message .row {
  margin: 0 auto;
  width: 90%;
  border-bottom: 1px solid #ffeded;
}

.list_message .name {
  padding-left: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.list_message .message {
  text-align: justify;
  padding-left: 20px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  box-sizing: border-box;
}

.block_bosung {
    width: 100%;
    text-align: center;
}

.block_bosung .title {
    font-size: 40px;
    margin-top: 40px;
    margin-bottom: 0;
    color: #334c51;
    font-weight: bolder;
    background-image: url(img/flower.png);
    background-size: 200px auto;
    background-position: center center;
    background-repeat: no-repeat;
    height: 95px;
}

.block_bosung .description {
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #334c51;
}
.block_bosung2 {
    width: 100%;
    line-height: 30px;
    height: 30px;
    text-align: center;
    font-family: 'Playball', cursive;
    font-size: 18px;
    color: #2a865f;
}

.block_8 {
    width: 100%;
    display: none;
}

.name.namebox {
    font-family: 'Alex Brush', cursive !important;
}

.messagebobx {
    font-family: 'Mali', cursive !important; 
    font-weight: 500;
}
/* .flex-direction-nav a {
  top: 15%;
  z-index: 500;
} */

/* timeline */
section#timeline article div.panel div.badge {
  font-size: 8px;
  width: 35px;
  height: 35px;
  line-height: 31px;
  background-color: #ef683a;
  color: white;
  padding-left: 5px;
}

.list_message .message p {
    word-break: break-all;
}

section#timeline > article > div.panel {
  border-radius: 10px;
}

section#timeline div[class*="group"] {
  border-bottom: 5px solid #ffffff;
  color: #fff;
}

section#timeline:before {
  background-color: #fff;
}

section#timeline article:nth-last-child(2) div.panel div.badge {
  background-color: #fff5f2;
}

.flex-direction-nav a:before {
  content: '<';
}
.flex-direction-nav a.flex-next:before {
  content: '>';
}
.zoomwall {
  height: 100vh;
}

.play-music {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 50px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px #000;
    padding: 6px;
    -webkit-animation: ring 2s .7s ease-in-out infinite;
      -webkit-transform-origin: 50% 4px;
      -moz-animation: ring 2s .7s ease-in-out infinite;
      -moz-transform-origin: 50% 4px;
      animation: ring 2s .7s ease-in-out infinite;
      transform-origin: 50% 4px;
}

.play-music img {
    width: 100%;
}

@keyframes jumpInfinite {
  0% {
    bottom: 20px;
  }
  50% {
    bottom: 35px;
  }
  100% {
    bottom: 20px;
  }
}

@-webkit-keyframes ring {
  0% { -webkit-transform: rotateZ(0); }
  1% { -webkit-transform: rotateZ(30deg); }
  3% { -webkit-transform: rotateZ(-28deg); }
  5% { -webkit-transform: rotateZ(34deg); }
  7% { -webkit-transform: rotateZ(-32deg); }
  9% { -webkit-transform: rotateZ(30deg); }
  11% { -webkit-transform: rotateZ(-28deg); }
  13% { -webkit-transform: rotateZ(26deg); }
  15% { -webkit-transform: rotateZ(-24deg); }
  17% { -webkit-transform: rotateZ(22deg); }
  19% { -webkit-transform: rotateZ(-20deg); }
  21% { -webkit-transform: rotateZ(18deg); }
  23% { -webkit-transform: rotateZ(-16deg); }
  25% { -webkit-transform: rotateZ(14deg); }
  27% { -webkit-transform: rotateZ(-12deg); }
  29% { -webkit-transform: rotateZ(10deg); }
  31% { -webkit-transform: rotateZ(-8deg); }
  33% { -webkit-transform: rotateZ(6deg); }
  35% { -webkit-transform: rotateZ(-4deg); }
  37% { -webkit-transform: rotateZ(2deg); }
  39% { -webkit-transform: rotateZ(-1deg); }
  41% { -webkit-transform: rotateZ(1deg); }

  43% { -webkit-transform: rotateZ(0); }
  100% { -webkit-transform: rotateZ(0); }
}

@-moz-keyframes ring {
  0% { -moz-transform: rotate(0); }
  1% { -moz-transform: rotate(30deg); }
  3% { -moz-transform: rotate(-28deg); }
  5% { -moz-transform: rotate(34deg); }
  7% { -moz-transform: rotate(-32deg); }
  9% { -moz-transform: rotate(30deg); }
  11% { -moz-transform: rotate(-28deg); }
  13% { -moz-transform: rotate(26deg); }
  15% { -moz-transform: rotate(-24deg); }
  17% { -moz-transform: rotate(22deg); }
  19% { -moz-transform: rotate(-20deg); }
  21% { -moz-transform: rotate(18deg); }
  23% { -moz-transform: rotate(-16deg); }
  25% { -moz-transform: rotate(14deg); }
  27% { -moz-transform: rotate(-12deg); }
  29% { -moz-transform: rotate(10deg); }
  31% { -moz-transform: rotate(-8deg); }
  33% { -moz-transform: rotate(6deg); }
  35% { -moz-transform: rotate(-4deg); }
  37% { -moz-transform: rotate(2deg); }
  39% { -moz-transform: rotate(-1deg); }
  41% { -moz-transform: rotate(1deg); }

  43% { -moz-transform: rotate(0); }
  100% { -moz-transform: rotate(0); }
}

@keyframes ring {
  0% { transform: rotate(0); }
  1% { transform: rotate(30deg); }
  3% { transform: rotate(-28deg); }
  5% { transform: rotate(34deg); }
  7% { transform: rotate(-32deg); }
  9% { transform: rotate(30deg); }
  11% { transform: rotate(-28deg); }
  13% { transform: rotate(26deg); }
  15% { transform: rotate(-24deg); }
  17% { transform: rotate(22deg); }
  19% { transform: rotate(-20deg); }
  21% { transform: rotate(18deg); }
  23% { transform: rotate(-16deg); }
  25% { transform: rotate(14deg); }
  27% { transform: rotate(-12deg); }
  29% { transform: rotate(10deg); }
  31% { transform: rotate(-8deg); }
  33% { transform: rotate(6deg); }
  35% { transform: rotate(-4deg); }
  37% { transform: rotate(2deg); }
  39% { transform: rotate(-1deg); }
  41% { transform: rotate(1deg); }

  43% { transform: rotate(0); }
  100% { transform: rotate(0); }
}

@media screen and (max-width: 480px) {
  .block_1 {
    background-image: url('img/block_1_m.jpeg');
  }
  .save_date {
    position: absolute;
    width: 200px;
    right: unset;
    left: 2%;
    top: 0%;
    /* transform: translate(-50%, 0); */
  }
  .ring_img {
    width: 80%;
    top: 20%;
  }
  .card_img {
    width: 100%;
    top: 36%;
    padding: 0 10px;
  }
  .block_3 {
    height: auto;
  }
  .mr_zone .img_mr {
    width: 50%;
    padding-top: calc(20% - 14px);
  }
  .mr_zone .img_mr img {
    width: 100%;
  }
  .mr_zone .content_mr {
    width: 95%;
    margin-top: 40px !important;
    margin: 0 auto;
  }
  .content_main_mr {
    font-size: 15px;
    width: 85%;
  }
  .ms_zone {
    padding-top: 0px;
    margin-top: 15px;
    display: block;
  }
  .ms_zone .content_ms {
    width: 95%;
    margin: 0 auto;
    height: 280px;
  }
  .ms_zone .img_ms {
    width: 50%;
    padding-top: calc(20% - 14px);
  }
  .ms_zone .img_ms img {
    width: 100%;
  }
  .content_main_ms {
    font-size: 15px;
    width: 85%;
  }
  .block_4 {
    padding-top: 80px;
  }
  .cooldown {
    font-size: 50px;
    margin-bottom: 120px;
  }
  .block_4 div#myTimeline {
    width: 95%;
    height: 60%;
    padding-top: calc(10% - 14px);
  }
  .mr_zone {
    display: block;
    padding-top: 15px;
  }
  .block_6 {
    height: auto;
  }
  .zoomwall {
    height: auto;
  }
  .arrow6 {
    display: none;
  }
  .block_7 {
    display: block;
    height: auto;
    min-height: 750px;
    background-color: #bbbbbd00;
  }
  .block_7 .left_box {
    width: 100%;
    height: 100vh;
  }
  .block_7 .right_box {
    width: 100%;
    height: 70vh;
    padding-left: 20px;
    padding-bottom: 20px;
    display: none;
  }
  .left_box .content {
    width: 90%;
    margin: 0 auto;
    line-height: 25px;
  }
  .left_box .title {
    margin-top: 12px;
    font-size: 32px;
    margin-left: unset;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
  .block_bosung2 {
    font-size: 20px;
    height: auto;
  }
  .block_bosung .title {
      font-size: 32px;
        background-size: 150px auto;
        height: 60px;
  }
  .block_bosung .description {
      line-height: 22px;
  }
  .list_message {
    height: 350px;
    max-height: 350px;
    overflow-y: scroll;
  }
  .box_message {
    height: 410px;
    overflow-y: unset;
  }
  .right_box .img_tree3 {
    width: 100px;
  }
  .img_bsdc {
    bottom: 72vh;
    width: 80%;
    display: none;
  }
  .form_message {
    width: 80%;
    margin-right: unset;
    margin: unset;
  }
  .block_8 {
    display: block;
    padding-left: 15px;
    height: auto;
    padding-top: 40px;
    }
}
