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

p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
}

.mob_banner {
  margin-top: 32px;
}

.invitation_section,
.location_section,
.timing_section,
.dresscode_section,
.details_section {
  margin: 48px 0;
}

.head_banner {
  display: flex;
  justify-content: space-between;
}

.left_side {
  font-family: "Lavishly Yours", cursive;
  font-size: 64px;
  line-height: 40px;
  word-spacing: 4px;
  font-weight: 400;
  writing-mode: vertical-lr;
  text-orientation: sideways;
  margin-top: 0;
  transform: rotate(180deg);
}

.right_side {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  line-height: 40px;
  text-align: end;
  text-transform: uppercase;
}

.mob_l,
.mob_o,
.mob_v,
.mob_e {
  position: absolute;
  font-family: "Cormorant Infant";
  font-size: 180px;
  line-height: 180px;
  font-weight: 600;
  text-transform: uppercase;
}
.mob_l {
  top: -24px;
  left: 40%;
}
.mob_o {
  top: 80px;
  left: 45%;
}
.mob_v {
  top: 160px;
  left: 40%;
}
.mob_e {
  top: 240px;
  left: 45%;
}
.date {
  font-family: "Cormorant Garamond", serif;
  text-align: end;
  font-size: 48px;
  margin-top: 24px;
}

#play,
#pause {
  position: absolute;
  top: 40%;
  left: 90%;
  width: 88px;
  z-index: 1000;
}

#play:hover,
#pause:hover {
  cursor: pointer;
}

#pause {
  display: none;
}

.invitation_section,
.location_section,
.timing_section,
.dresscode_section,
.details_section,
.countdown_section {
  margin: 80px 0;
}

.countdown_title_box {
  position: relative;
  z-index: 2;
}
.countdown_title {
  font-family: "Cormorant Garamond", serif;
  font-size: 80px;
  text-align: center;
  margin-bottom: 24px;
}

.countdown_list {
  text-align: center;
  margin: 0;
  background: #000;
  padding: 32px 0;
  border-radius: 8px;
}

.countdown_item {
  display: inline-block;
  font-size: 16px;
  list-style-type: none;
  padding: 6px;
  border-radius: 8px;
  margin: 0 4px;
  color: #1b1b1b;
}

.countdown_item span {
  display: block;
  font-size: 48px;
}

.title {
  font-family: "Lavishly Yours", cursive;
  font-size: 72px;
  text-align: center;
}

.location_section .subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 24px;
  margin: 16px 0;
}

.subtitle {
  margin: 24px 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.description {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 24px;
}

.invitation_image {
  margin: 16px 0;
}

.invitation_image img {
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.cst_btn {
  text-align: center;
  display: block;
  font-family: "Cormorant Garamond", serif;
  color: #000;
  font-size: 18px;
  text-decoration: underline;
  margin: 16px 0;
}

.timing_box {
  display: flex;
  gap: 8px;
  margin: 64px 0;
}
.timing_date {
  writing-mode: vertical-lr;
  text-orientation: sideways;
  transform: rotate(180deg);
  font-family: "Cormorant Garamond", serif;
  font-size: 40px;
  border-left: 1px solid #000;
}
.timing_subtitle {
  font-family: "Lavishly Yours", cursive;
  font-size: 40px;
  line-height: 40px;
}
.timing_description {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  line-height: 26px;
  margin-top: 8px;
}

.dresscode_box {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
}
.dress_first,
.dress_second,
.dress_third,
.dress_fourth,
.dress_fifth {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #000;
}
.dress_first {
  background-color: #000;
}

.dress_second {
  background-color: #2b2121;
}

.dress_third {
  background-color: #162546;
}

.dress_fourth {
  background-color: #fff;
}

.dress_fifth {
  background-color: rgb(202, 204, 209);
}

.form {
  text-align: center;
}

.form-title-box {
  position: relative;
  z-index: 2;
}
.form-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
}
.form-subtitle {
  position: absolute;
  top: 60px;
  left: 48%;
  color: #e4e4e491;
  font-size: 80px;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 8px;
}
.form-description {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 24px;
  margin-top: 24px;
}
.rsvp-form {
  width: 100%;
  font-size: 16px;
}
.form-button {
  text-decoration: underline;
  margin-top: 24px;
  color: #fff;
  background: #000;
  padding: 6px 20px;
}
.form-label {
  width: 100%;
  font-family: "Cormorant Garamond", serif;
}
input {
  outline: none;
}

.form-control {
  border: none;
  border-bottom: 1px solid #1b1b1b;
  border-radius: 0;
  outline: none;
  margin: 16px 0;
  background-color: transparent;
}
.form-control:focus {
  outline: none;
  outline-offset: 0;
  border-color: transparent;
  box-shadow: none;
  border-bottom: 1px solid #1b1b1b;
}
.radio {
  margin-top: 8px;
  text-align: left;
}

input[type="radio"] {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  color: #000;
  background-color: transparent;
}

.footer {
  background-color: #1b1b1b;
  color: #fff;
  padding: 24px 0;
  margin-top: 48px;
  overflow-x: hidden;
}

.social-menu ul {
  display: flex;
  justify-content: center;
  margin: 24px 0;
}

.social-menu ul li {
  list-style: none;
  margin: 0 8px;
  padding: 8px;
}

.social-menu ul li .fab {
  font-size: 24px;
  line-height: 24px;
  transition: 0.3s;
  color: #000;
}

.social-menu ul li a {
  position: relative;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  transition: 0.6s;
}
.fa-globe {
  font-size: 24px;
  color: #000;
}

.social-menu ul li a:hover {
  transform: translate(0, -10%);
}
li {
  font-size: 20px;
  background: #ffffff;
  border-radius: 8px;
}

.location_section .row,
.dresscode_section .row {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
}
.timing_section .row {
  align-items: center;
}
.time_cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.invitation_section .row {
  align-items: center;
}

/* Media Queries */
@media (max-width: 767px) {
  .mob_banner {
    margin-top: 16px;
    display: block;
  }
  #play,
  #pause {
    top: 75%;
    left: 80%;
    width: 64px;
  }
  .countdown_title {
    font-size: 32px;
  }
  .invitation_section,
  .location_section,
  .timing_section,
  .dresscode_section,
  .details_section,
  .countdown_section {
    margin: 48px 0;
  }

  .head_banner {
    display: flex;
    justify-content: space-between;
  }

  .left_side {
    font-family: "Lavishly Yours", cursive;
    font-size: 48px;
    line-height: 40px;
    word-spacing: 4px;
    font-weight: 400;
    writing-mode: vertical-lr;
    text-orientation: sideways;
    margin-top: 96px;
    transform: rotate(180deg);
  }

  .right_side {
    font-family: "Cormorant Garamond", serif;
    font-size: 40px;
    line-height: 40px;
    text-align: end;
    text-transform: uppercase;
  }

  .mob_l,
  .mob_o,
  .mob_v,
  .mob_e {
    position: absolute;
    font-family: "Cormorant Infant";
    font-size: 180px;
    line-height: 180px;
    font-weight: 600;
    text-transform: uppercase;
  }
  .mob_l {
    top: -24px;
    left: 80px;
  }
  .mob_o {
    top: 80px;
    left: 140px;
  }
  .mob_v {
    top: 160px;
    left: 80px;
  }
  .mob_e {
    top: 240px;
    left: 140px;
  }
  .date {
    font-family: "Cormorant Garamond", serif;
    text-align: end;
    font-size: 32px;
    margin-top: 24px;
  }
  .invitation_image {
    margin: -15px;
  }
  .invitation_image img {
    width: 100%;
    margin-top: 32px;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
  }
  .time_cont {
    display: block;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
