body {
    background-color: #ffffff;
}

.lock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(188, 229, 238, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1.5s ease, visibility 0.5s ease;
}

.lock-box {
  text-align: center;
  font-family: 'Cormorant Upright', serif;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lock-box h2 {
  font-family: 'Pinyon Script', serif;
  font-size: 40px;
  margin-bottom: 0px;
}

.input-group {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.input-group input {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  flex: 1;
  min-width: 0;
}

.input-group button {
  padding: 10px 20px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-left: 10px;
  white-space: nowrap;
}


.error-text {
  color: red;
  font-size: 14px;
  margin-top: 15px;
  height: 18px;
}

.hidden-content {
  opacity: 0;
  transition: opacity 2s ease;
}

.unlocked .lock-overlay {
  opacity: 0;
  visibility: hidden;
}

.unlocked .hidden-content {
  opacity: 1;
}


h1 {
    font-family: 'Pinyon Script';
    font-size: 80px;
    font-weight: normal;
    text-align: center;
    margin-bottom: -30px;
}

.ourstory {
    font-family: 'Pinyon Script', serif;
    font-size: 80px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0px;
}

p {
    font-family: 'Cormorant Upright', serif;
    font-size: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.subheading {
    font-family: 'Pinyon Script', serif;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.divider {
    width: 600px;
    height: 0.5px;
    background-color: rgb(41, 41, 41);
    margin: 20px auto;
}

nav a {
    font-family: 'Cormorant Upright', serif;
    text-decoration: none;
    color: black;
}

nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav li {
    list-style-type: none;
    margin: 0 20px;
    position: relative;
}

nav li::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: black;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease-in-out; 
    margin-top: 4px; 
}

nav li:hover::after {
    transform: scaleX(1.3);
}



.swirl-container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: auto;
    margin: 70px;
    transform: rotate(270deg);
    opacity: 0.5;
}

.swirl-container2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: auto;
    margin: 70px;
    transform: rotate(90deg) scaleX(-1);
    opacity: 0.5;
}

.swirl-container1 *,
.swirl-container2 * {
    width: 300px !important;
    height: auto !important;
}


.image-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 0px;
}

.image-container img {
    max-width: 500px;
    width: auto;
    height: auto;
    object-fit: cover;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    margin-top: 30px;
    margin-bottom: 40px;
    text-align: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
}

.countdown-item span:first-child {
    font-family: 'Pinyon Script', serif;
    font-size: 48px;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.countdown-item .label {
    font-family: 'Cormorant Upright', serif;
    font-size: 16px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rsvp-button {
    font-family: 'Cormorant Upright', serif;
    font-weight: bold;
    display: block;
    width: 600px;
    text-align: center;
    text-decoration: none;
    justify-content: center;
    color: black;
    margin: -20px auto;
    padding: 10px 20px;
    font-size: 22px;
    border-radius: 1px;
    background-color: #f1f5f6;
    border: 1px solid #ccc;
    cursor: pointer;
}

.rsvp-button:hover {
    background-color: #f1e5c0;
}

.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f1f5f6;
    font-family: 'Cormorant Upright', serif;
    color: #555;
}

.footer h1 {
    font-family: 'Pinyon Script', serif;
    font-weight: normal;
    font-size: 36px;
    margin-bottom: -10px;
}

.bio-container {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Forces equal height for the bio cards */
    gap: 50px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto; 
}

.bio {
    flex: 1;
    text-align: center;
    min-width: 0;
    padding: 15px;
    background-color: #f0f0f0;
}

.bio img {
    width: 250px; 
    height: 350px; 
    object-fit: cover;
    object-position: center; 
    display: inline-block;
    margin-bottom: 15px;
}

.bio h2 {
    font-family: 'Pinyon Script', serif;
    font-size: 36px;
    margin-bottom: 10px;
}


@media (max-width: 480px) {
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

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

    h1 {
        font-size: 48px;
        margin-bottom: -15px;
        padding: 0 10px;
    }

    .subheading {
        font-size: 24px;
        padding: 0 10px;
    }

    .divider {
        width: 90%;
        max-width: 100%;
    }

    nav {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px 12px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin: 0;
        overflow: hidden;
    }

    nav li {
        margin: 0;
        min-width: 0;
    }

    nav a {
        display: block;
        font-size: 14px;
        white-space: normal;
        text-align: center;
    }

    .image-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .image-container img {
        display: block;
        width: 100%;
        max-width: 500px;
        height: auto;
        margin: 0 auto;
    }

    .countdown {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        margin-top: 25px;
        margin-bottom: 30px;
    }

    .countdown-item {
        min-width: 0;
        flex: 1;
    }

    .countdown-item span:first-child {
        font-size: 32px;
    }

    .countdown-item .label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .rsvp-button {
        display: block;
        width: calc(100% - 40px);
        max-width: 100%;
        padding: 10px;
        margin: 20px auto;
        font-size: 20px;
    }

    .footer {
        width: 100%;
        max-width: 100%;
        padding: 15px 10px;
        overflow-wrap: break-word;
    }

    .footer h1 {
        font-size: 30px;
    }

    .bio-container {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .bio img {
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 250 / 350;
    }
}