* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f7f1e9;
    color: #4a2929;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: Georgia, serif;
}

img {
    width: 100%;
    display: block;
}

button {
    cursor: pointer;
}


/* OPENING */

.opening {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(55, 20, 25, 0.55),
            rgba(55, 20, 25, 0.55)
        ),
        url("assets/foto-couple.jpg");

    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: white;
}


.opening-content {
    padding: 30px;
}

.opening h1 {
    font-size: 70px;
    margin: 15px 0;
}

.opening h1 span {
    color: #d4b27a;
}

.small-title {
    font-size: 12px;
    letter-spacing: 5px;
}

.date {
    margin: 20px 0;
    letter-spacing: 3px;
}

.guest-box {
    margin-bottom: 30px;
}


/* BUTTON */

.gold-button {
    background: #a47745;
    border: none;
    color: white;

    padding: 14px 28px;

    font-size: 12px;
    letter-spacing: 2px;
}

.gold-button:hover {
    background: #7d5834;
}


/* MUSIC */

.music-button {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    border: 1px solid #a47745;

    background: #f7f1e9;
    color: #8b6037;

    z-index: 999;
}


/* GENERAL */

.hidden {
    display: none;
}

.section {
    padding: 90px 20px;
    text-align: center;
}

.container {
    max-width: 1000px;
    width: 90%;
    margin: auto;
}

.section-label {
    color: #a47745;

    font-size: 11px;

    letter-spacing: 4px;

    margin-bottom: 10px;
}

.section h2 {
    font-size: 45px;

    margin-bottom: 40px;
}


/* HERO */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    overflow: hidden;
}

.hero-image {
    position: absolute;

    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        rgba(55, 20, 25, 0.55);
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero h1 {
    font-size: 80px;

    margin: 10px 0;
}


/* QUOTE */

.quote {
    background: #efe4d6;
}

.quote-text {
    max-width: 650px;

    margin: auto;

    font-family: Georgia, serif;

    font-size: 25px;

    font-style: italic;
}

.quote-source {
    margin-top: 20px;

    color: #9b7142;
}


/* COUPLE */

.couple-grid {
    display: grid;

    grid-template-columns:
        1fr 80px 1fr;

    align-items: center;

    max-width: 800px;

    margin: auto;
}

.person-image {
    width: 210px;
    height: 270px;

    margin: auto;

    overflow: hidden;

    border-radius:
        120px 120px 0 0;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.person h3 {
    margin-top: 20px;

    font-size: 32px;
}

.person p {
    font-size: 13px;
}

.ampersand {
    font-family: Georgia, serif;

    font-size: 50px;

    color: #a47745;
}


/* STORY */

.story {
    background: #efe4d6;
}

.timeline {
    max-width: 650px;

    margin: auto;
}

.timeline-item {
    border-left:
        1px solid #b28a5a;

    text-align: left;

    padding:
        0 0 35px 30px;

    position: relative;
}

.timeline-item::before {
    content: "";

    position: absolute;

    left: -6px;
    top: 5px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: #a47745;
}

.timeline-item span {
    color: #a47745;

    font-size: 12px;

    letter-spacing: 2px;
}

.timeline-item h3 {
    font-size: 28px;
}


/* EVENT */

.event {
    background: #f7f1e9;
}

.event-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    max-width: 850px;

    margin: auto;
}

.event-card {
    background: #fffaf4;

    padding: 45px 30px;

    border:
        1px solid #eadac5;
}

.event-icon {
    font-size: 30px;

    color: #a47745;
}

.event-card h3 {
    font-size: 35px;

    margin: 10px 0;
}

.event-card hr {
    border: none;

    border-top:
        1px solid #eadac5;

    margin: 20px 0;
}

.outline-button {
    display: inline-block;

    border:
        1px solid #a47745;

    color: #8b6037;

    padding:
        10px 20px;

    margin-top: 20px;

    text-decoration: none;

    font-size: 10px;

    letter-spacing: 2px;
}


/* COUNTDOWN */

.countdown {
    background:
        linear-gradient(
            rgba(67, 25, 31, 0.9),
            rgba(67, 25, 31, 0.9)
        ),
        url("assets/foto-couple.jpg");

    background-size: cover;

    background-position: center;

    color: white;
}

.countdown h2 {
    color: white;
}

.countdown-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    max-width: 650px;

    margin: auto;
}

.countdown-grid div {
    border-right:
        1px solid
        rgba(255,255,255,0.3);
}

.countdown-grid div:last-child {
    border-right: none;
}

.countdown-grid strong {
    display: block;

    font-family: Georgia, serif;

    font-size: 45px;
}

.countdown-grid span {
    font-size: 10px;

    letter-spacing: 2px;
}


/* GALLERY */

.gallery {
    background: #efe4d6;
}

.gallery-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 10px;

    max-width: 750px;

    margin: auto;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center top;
}


/* GIFT */

.bank-card {
    max-width: 400px;

    margin: 35px auto 0;

    padding: 35px;

    background: #fffaf4;

    border:
        1px solid #eadac5;
}

.bank-card h3 {
    font-family: Arial, sans-serif;

    font-size: 24px;

    margin: 10px 0;
}


/* RSVP */

.rsvp {
    background: #efe4d6;
}

.rsvp form {
    max-width: 500px;

    margin: auto;

    display: flex;

    flex-direction: column;

    gap: 12px;
}

.rsvp input,
.rsvp select {
    width: 100%;

    padding: 14px;

    border:
        1px solid #d9c5ad;

    background: #fffaf4;

    font-family: Arial, sans-serif;
}


/* WISHES */

.wish {
    max-width: 600px;

    margin: 15px auto;

    padding: 20px;

    text-align: left;

    background: #fffaf4;

    border-left:
        3px solid #a47745;
}


/* CLOSING */

.closing {
    background:
        linear-gradient(
            rgba(60, 22, 28, 0.88),
            rgba(60, 22, 28, 0.88)
        ),
        url("assets/foto-couple.jpg");

    background-size: cover;

    background-position: center;

    color: white;

    padding: 120px 20px;
}

.closing h2 {
    font-size: 60px;

    margin: 25px 0 10px;
}


/* FOOTER */

footer {
    background: #30151a;

    color: #d8c3aa;

    text-align: center;

    padding: 20px;

    font-size: 10px;
}


/* MOBILE */

@media (max-width: 700px) {

    .opening h1 {
        font-size: 55px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .couple-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .ampersand {
        font-size: 40px;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .countdown-grid strong {
        font-size: 30px;
    }

    .section h2 {
        font-size: 38px;
    }
}