html {
    scroll-behavior: smooth;
}

body {
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('./assets/shower1.gif');
}

body.scroll-locked {
    overflow: hidden;
}

h2 {
    font-size: 1.5rem;
    padding: 0;
    margin: 0;
}

h3 {
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
}

.showerhead img {
    width: 50%;
    max-width: 250px;
}

header {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

section {
    position: relative;
    height: 100vh;
    /* height: 100dvh; */
}

.section-jump {
    position: absolute;
    bottom: max(30px, calc(env(safe-area-inset-bottom) + 20px));
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    animation: float 3s ease-in-out infinite;
    /* text-decoration: none; */
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    background-color: rgb(199, 179, 31);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.first-section-jump {
    bottom: max(30px, calc(env(safe-area-inset-bottom) + 60px));
}

.section-jump::after {
    content: '▼';
    position: absolute;
    bottom: 40%;
    right: 20px;
}

.page-section {
    padding: 2rem;
    box-sizing: border-box;
}

.info-card {
    background-color: #69c8c0;
    padding: 2rem;
    /* border-radius: 10px; */
    border: 3px ridge blue;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
    max-height: 70dvh;
    overflow-y: auto;
}

.info-text {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
}


.info-video {
    width: 50%;
    height: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    max-width: 200px;
}

.rsvp-widget {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.rsvp-count {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.rsvp-btn {
    background-color: rgb(199, 179, 31);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rsvp-btn:disabled {
    opacity: 0.7;
    cursor: default;
}

@keyframes float {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}
