@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Raleway:wght@400&display=swap');

:root {
    --primary-color: white;
    --secondary-color: #333333;
    --accent1-color: #FF8C00;
    --accent2-color: #007BFF;

    --heading-font: 'Poppins', sans-serif;
    --paragraph-font: 'Raleway', sans-serif;

    --headline-color-on-white: #333333;
    --paragraph-color-on-white: #333333;
    --paragraph-background-color: #FF8C00;
    --nav-link-color: white;
    --nav-background-color: #007BFF;
    --nav-hover-background-color: #0056b3;
}

body {
    margin: 0;
    font-family: var(--paragraph-font);
    background-color: var(--primary-color);
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-background-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
}

.logo {
    height: 50px;
    border-radius: 10px;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    top: 0;
    z-index: 10;
}

nav a {
    text-decoration: none;
    color: var(--nav-link-color);
    font-size: 1.2em;
    padding: 10px;
}

nav a:hover {
    background-color: var(--nav-hover-background-color);
    border-radius: 5px;
    transition: 0.3s;
}

/* Hero Section */
#hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: center;
    padding: 20px;
}

#hero_img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    grid-column: 2/3;
    object-fit: cover;
}

.home_title {
    font-family: var(--heading-font);
    color: var(--headline-color-on-white);
    margin-top: 10px;
    grid-column: 1/2;
    font-size: 50px;
}

.title_message {
    font-family: var(--paragraph-font);
}

.titlevideo {
    text-align: center;
}

.homevideo {
    width: 900px;
    height: 500px;
    outline: 5px solid var(--accent2-color);
    border-radius: 5px;
}

/* Paragraph Section */
.paragraph1 {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    font-size: 1.1em;
}

.paragraph2 {
    font-size: 40px;
    text-align: center;
}

hr {
    height: 3px;
    margin: 35px 0;
    background: var(--accent1-color);
}

.bluedot {
    height: 3px;
    margin: auto;
    background: var(--accent2-color);
    width: 50px;
}

.celebration {
    text-align: center;
}

.partypic {
    width: 1000px;
}

/* Card Grid */
.home_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.step_card {
    background: var(--accent2-color);
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

.step_card a {
    text-decoration: none;
}

.step_card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.card_image {
    width: 100%;
    max-height: 180px;
    border-radius: 5px;
}

h2 {
    color: white;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--secondary-color);
    color: white;
    margin-top: 20px;
}

footer a {
    color: var(--nav-link-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Social Media Icons */
.social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.social img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.fire-btn {
    background: palegreen;
    color: black;
    font-weight: bold;
    font-family: var(--heading-font);
    font-size: 20px;
    padding: 10px;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 150px;
}

.confetticontainer {
    background: palegreen;
    color: black;
    font-weight: bold;
    font-family: var(--heading-font);
    font-size: 20px;
    padding: 10px;
    text-align: center;
    border: none;
    cursor: pointer;
    width: 150px;
    margin: 0 auto;
}


@media (max-width: 768px) {
    /* Body */
    body {
        font-size: 1em; /* Adjust font size for readability */
        padding: 0;
    }

    /* Header */
    header {
        flex-direction: column;
        text-align: center;
        padding: 10px 20px;
    }

    .logo {
        height: 40px; /* Slightly reduce logo size */
    }

    /* Navigation */
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    nav a {
        padding: 12px 0;
        font-size: 1.1em;
    }

    /* Hero Section */
    #hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    #hero_img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        grid-column: 1/2;
        margin: 20px auto;
        object-fit: cover;
    }

    .home_title {
        font-family: var(--heading-font);
        color: var(--headline-color-on-white);
        font-size: 30px;
        margin-top: 10px;
        grid-column: 1/2;
    }

    .homevideo {
        width: 100%;
        height: auto;
        outline: 5px solid var(--accent2-color);
        border-radius: 5px;
        margin-top: 20px;
    }

    /* Paragraph Section */
    .paragraph1 {
        max-width: 100%;
        margin: 20px 10px;
        font-size: 1em;
    }

    .paragraph2 {
        font-size: 30px;
        text-align: center;
    }

    /* Horizontal Line */
    hr {
        height: 3px;
        margin: 20px 0;
        background: var(--accent1-color);
    }

    .bluedot {
        margin: 20px auto;
        background: var(--accent2-color);
        width: 50px;
    }

    /* Card Grid */
    .home_grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .step_card {
        padding: 20px;
        text-align: center;
        border-radius: 10px;
    }

    .card_image {
        width: 100%;
        max-height: 180px;
        border-radius: 5px;
    }

    h2 {
        color: white;
    }

    /* Footer */
    footer {
        padding: 20px;
        background-color: var(--secondary-color);
        color: white;
        margin-top: 20px;
    }

    footer a {
        color: var(--nav-link-color);
    }

    footer a:hover {
        text-decoration: underline;
    }

    /* Social Media Icons */
    .social {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }

    .social img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

    /* Hero Section - Adjustments */
    .title_message {
        font-family: var(--paragraph-font);
        font-size: 1em;
        padding: 0 10px;
    }

    /* Remove specific large widths for smaller screens */
    .partypic {
        width: 100%;
        margin: 0 auto;
    }

    /* Adjust font size for headings */
    h1, h2, h3, h4, h5, h6, p {
        font-size: 1em;
    }
}

