

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

/* ------------------ BODY -------------------- */

body {
    font-family: "Karla", sans-serif;
    background-image: url("../images/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.page-wrapper {
    width: 1440px;
    min-height: 2600px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* ------------------ GENERAL CARD STYLE -------------------- */

.card {
    width: 1000px;
    background: #F4E794;
    border-radius: 60px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
}

/* ------------------ SECTION 1 -------------------- */

.section-1 {
    width: 1000px;
    height: 190px;
    margin: 0 auto 50px auto;
}

.main-nav {
    width: 1000px;
    height: 190px;
    background: #F4E794;
    border-radius: 60px;
    box-shadow: 5px 10px 10px rgba(0, 0, 0, 0.8);
}

.main-nav ul {
    list-style: none;
    text-align: center;
    padding-top: 72px;
}

.main-nav li {
    display: inline-block;
    margin: 0 45px;
}

.main-nav a {
    text-decoration: none;
    color: #000000;
    font-size: 28px;
    font-family: "Karla", sans-serif;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #F068AA;
}

/* ------------------ SECTION 2 -------------------- */

.section-2 {
    width: 1000px;
    height: 600px;
    margin: 0 auto 50px auto;
}

.section-2-card {
    height: 600px;
    padding: 70px 60px;
    text-align: center;
}

.section-2-text {
    width: 500px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    margin-right: 10px;
}

.section-2-text h1 {
    font-family: "Just Another Hand", cursive;
    font-size: 96px;
    line-height: 0.95;
    font-weight: normal;
}

.section-2-image {
    width: 366px;
    height: 290px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.section-2-image img {
    width: 366px;
    height: 290px;
}

/* ------------------ SECTION 3 -------------------- */

.section-3 {
    width: 1000px;
    height: 400px;
    margin: 0 auto 50px auto;
}

.section-3-card {
    height: 400px;
    padding-top: 70px;
    text-align: center;
}

.section-3-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
}

.details-list {
    list-style: disc;
    display: inline-block;
    text-align: left;
    font-size: 28px;
    line-height: 1.7;
}

/* ------------------ SECTION 4 -------------------- */

.section-4 {
    width: 1000px;
    height: 600px;
    margin: 0 auto 50px auto;
}

.section-4-card {
    height: 600px;
    padding: 90px 70px;
    text-align: center;
}

.section-4-text {
    width: 420px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 32px;
    line-height: 1.4;
    margin-right: 60px;
}

.section-4-text p:first-child {
    margin-bottom: 35px;
}

.section-4-button-box {
    width: 260px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.rsvp-button {
    display: inline-block;
    width: 250px;
    height: 150px;
    line-height: 150px;
    text-decoration: none;
    background: #F068AA;
    color: #ffffff;
    border-radius: 40px;
    font-family: "Just Another Hand", cursive;
    font-size: 96px;
    transition: background 0.3s ease;
}

.rsvp-button:hover {
    background: #BA0066;
}

/* ------------------ SECTION 5 -------------------- */

.section-5 {
    width: 1000px;
    height: 600px;
    margin: 0 auto;
}

.section-5-card {
    height: 600px;
    padding-top: 90px;
    text-align: center;
}

.section-5-card h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 50px;
}

.section-5-card p {
    font-size: 28px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ------------------ RESPONSIVE -------------------- */

@media screen and (max-width: 1500px) {
    .page-wrapper {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-1,
    .section-2,
    .section-3,
    .section-4,
    .section-5,
    .main-nav,
    .card {
        width: 100%;
        max-width: 1000px;
    }
}

@media screen and (max-width: 900px) {
    .main-nav ul {
        padding-top: 40px;
    }

    .main-nav li {
        display: block;
        margin: 15px 0;
    }

    .main-nav {
        height: auto;
        padding: 30px 0;
    }

    .section-1 {
        height: auto;
    }

    .section-2,
    .section-3,
    .section-4,
    .section-5 {
        height: auto;
    }

    .section-2-card,
    .section-3-card,
    .section-4-card,
    .section-5-card {
        height: auto;
        padding: 40px 25px;
    }

    .section-2-text,
    .section-2-image,
    .section-4-text,
    .section-4-button-box {
        display: block;
        width: 100%;
        margin: 0 auto 30px auto;
    }

    .section-2-image img {
        width: 100%;
        max-width: 366px;
        height: auto;
    }

    .section-2-text h1 {
        font-size: 72px;
    }

    .details-list {
        font-size: 24px;
    }

    .rsvp-button {
        width: 220px;
        height: 120px;
        line-height: 120px;
        font-size: 80px;
    }

    .section-5-card p,
    .section-4-text,
    .section-3-card h2,
    .section-5-card h2 {
        font-size: 24px;
    }
}