:root {
  --hijau: #8f9779;
  --bg: #0a0a0a;
  --shadow: 0px 2px 3px rgba(0, 0, 0, 0.415);
  --font: white;
}

body {
  font-size: 1.2rem;
  font-family: "Cormorant Garamond", serif;
}

.hero {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url(img/bg.webp);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  font-size: 1.6rem;
}

.hero h1 {
  font-family: "Ephesis", cursive;
  font-size: 6rem;
  text-shadow: var(--shadow);
  color: var(--hijau);
}

.hero p {
  font-size: 1.4rem;
  color: #252525;
  padding: 15px;
}

.hero a {
  color: white;
  background-color: var(--hijau);
  box-shadow: var(--shadow);
}

.hero a:hover {
  background-color: white;
  color: var(--hijau);
}

.frame img {
  width: 350px;
}

.simply-countdown > .simply-section {
  background-color: #ffffff;
  border: 2px solid var(--hijau);
  color: var(--hijau);
}

.mynavbar {
  background-color: rgb(255, 255, 255) !important;
  padding: 0rem 5rem;
}

.mynavbar .navbar-brand {
  font-family: "Ephesis", cursive;
  font-size: 3.2rem;
  font-weight: bold;
  color: var(--hijau);
}

.mynavbar .nav-link {
  text-transform: uppercase;
}

.home,
.info,
.family,
.rsvp,
.gallery,
.gifts {
  background-image: url(img/bg.webp);
  background-size: cover;
  background-position: center;
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.home h5 {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.home p,
.info p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  color: #252525;
}

.home .mempelai h1 {
  font-size: 4rem;
  font-family: "Ephesis", cursive;
  font-weight: bold;
  color: var(--hijau);
  text-shadow: 0px 2px 2px rgba(78, 78, 78, 0.357);
}

.home .mempelai h2 {
  font-family: "Ephesis", cursive;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.home .mempelai p {
  margin-bottom: 2rem;
}

.info h2,
.family h2,
.gallery h2,
.rsvp h2,
.gifts h2 {
  color: var(--hijau);
  font-family: "Ephesis", cursive;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.info a {
  color: #666;
  box-shadow: var(--shadow);
}

.info a:hover {
  color: white;
  background-color: var(--hijau);
}

.info .card {
  background-color: #00000030 !important;
  background-size: cover;
  color: white !important;
  letter-spacing: 0.1rem;
  border: 1px solid white;
  border-radius: 20px;
  padding: 10px 30px 30px 30px;
}

.info .card-header {
  border-bottom: 1px solid #ffffff;
  background-color: rgba(0, 0, 0, 0);
  padding-bottom: 10px;
}

.info .card-body {
  font-family: serif;
  font-weight: 300;
  float: left;
}

.info .card-body ul {
  font-style: normal;
}

.info .btn {
  border-radius: 5px;
  padding: 1rem 2rem;
}

.family ul {
  list-style: none;
}

.gifts p {
  margin-bottom: 0px;
}

.gifts img {
  width: 200px;
  margin-left: 35px;
  margin-bottom: 1rem;
}

footer {
  padding: 2rem;
  background-color: var(--hijau);
  color: white;
}

footer a {
  color: var(--bg);
  font-weight: bold;
  text-decoration: none;
}

.audio-icon-wrapper {
  width: 4rem;
  height: 4rem;
  font-size: 4rem;
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  cursor: pointer;
  color: white;
  opacity: 0.5;
  mix-blend-mode: difference;
  animation: rotating 4s linear infinite;
  transform-origin: center;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}

section {
  overflow: hidden;
}

/* RSVP */
.rsvp-section {
    max-width: 600px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.rsvp-section h2 {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    color: #2d6a4f;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d6a4f;
}
input[type="text"], textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #a5d6a7;
    background: #fafffa;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}
input[type="text"]:focus, textarea:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 8px rgba(45, 106, 79, 0.3);
}
textarea {
    min-height: 100px;
    resize: none;
}
.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 10px 0;
}
.radio-option {
    background: #fafffa;
    border: 1px solid #a5d6a7;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}
.radio-option input { display: none; }
.radio-option span {
    font-weight: 500;
    color: #2d6a4f;
}
.radio-option input:checked + span {
    color: white;
    background: #2d6a4f;
    padding: 5px 12px;
    border-radius: 8px;
}
.rsvp-section button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    background: #2d6a4f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.rsvp-section button:hover {
    background: #1b4332;
    transform: scale(1.03);
}
.alert {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
}
.alert.success {
    background: #d8f3dc;
    color: #2d6a4f;
}
.alert.error {
    background: #ffcccc;
    color: #b00020;
}
.ucapan-list {
    margin-top: 30px;
    text-align: left;
}
.ucapan-item {
    background: #f8fff8;
    border-left: 5px solid #2d6a4f;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
}
.ucapan-item strong {
    color: #1b4332;
}
.ucapan-item small {
    display: block;
    color: #6c757d;
    font-size: 12px;
}

@keyframes rotating {
  form {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Media Query */
/* Laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }
  .simply-countdown > .simply-section {
    padding: 60px;
  }
}

/* Tablet */
@media (max-width: 767px) {
  html {
    font-size: 72.5%;
  }
  .simply-countdown > .simply-section {
    padding: 50px;
    margin: 5px;
  }

  .mynavbar .nav-link {
    text-transform: uppercase;
    font-size: 2rem;
    text-align: center;
  }

  .sticky-top {
    overflow: hidden;
  }

  .info .card-body .pemisah {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Mobuile */
@media (max-width: 576px) {
  html {
    font-size: 55%;
  }

  .simply-countdown > .simply-section {
    padding: 38px;
    margin: 3px;
  }

  .hero h4,
  .hero p,
  .hero a,
  .home h5,
  .home p,
  .info p,
  .info .card-header,
  .info span,
  .gifts p,
  .family h4 {
    font-size: 2rem;
  }

  .info a,
  .info .btn,
  .family li {
    font-size: 1.5rem;
  }

  .mempelai h1 {
    font-size: 3rem;
  }

  .gallery {
    padding-left: 20px;
    padding-right: 20px;
  }

  .frame img {
    width: 250px;
  }
}

/* 360 */

@media (max-width: 360px) {
  html {
    font-size: 40%;
  }

  .simply-countdown > .simply-section {
    padding: 20px;
    margin: 3px;
  }
}

/* 200 */
@media (max-width: 277px) {
  html {
    font-size: 30%;
  }
  .simply-countdown > .simply-section {
    padding: 10px;
    margin: 3px;
  }
}
