:root {
    --wedding-green-100: #f9fbfb;
    --wedding-green-200: #ccd8b5;
    --wedding-green-300: #a0ab74;
    --wedding-green-400: #7c8656;
    --wedding-green-500: #5c623c;
    --wedding-green-600: #44372f;
    --wedding-green-700: #1a1a19;
}
.parallax {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

body {
    margin: 0;
    font-family: sans-serif;
    padding-top: 60px;
    color: var(--wedding-green-700);
}

/* Navbar styles */
.navbar {
    background-color: color-mix(in srgb, var(--wedding-green-400), transparent 10%);
    overflow: hidden;
    position: fixed;
    /* Make the navbar sticky */
    top: 0;
    /* Position at the top of the viewport */
    width: 100%;
    /* Full width */
    z-index: 1000;
    /* Ensure it stays on top of other content */
    box-shadow: 0 2px 5px var(--wedding-green-300);
    /* Subtle shadow */
    text-align: center;
    transition: top 0.3s;
    /* Smooth transition for showing/hiding */
}

.navbar-hidden {
    top: -60px;
    /* Adjust this value to the height of your navbar */
}

.navbar-links {
    display: inline-block;
    /* For centering the links if the navbar is wider than content */
}

.navbar a {
    float: left;
    /* Align links horizontally */
    display: block;
    color: black;
    /* Changed text color to white */
    text-align: center;
    padding: 18px 20px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    position: relative;
    /* Needed for the pseudo-element positioning */
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    /* Underline thickness */
    bottom: 10px;
    /* Distance from text */
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    /* Underline color */
    transition: width 0.3s ease-out;
    /* Animation for the underline */
}

.navbar a:hover::after {
    width: calc(100% - 40px);
    /* Adjust width to match padding */
}

/* Active link style */
.navbar a.active {
    background-color: #04AA6D;
    /* Highlight active link */
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: color-mix(in srgb, var(--wedding-green-200), transparent 15%);
    margin: 50px auto;
    /* Added top margin and kept auto for horizontal centering */
    padding: 20px;
    border-radius: 10px;
    /* Added for softer edges */
    width: 800px;
}

.container img {
    max-width: 60%;
    height: auto;
    display: block;
    /* To remove extra space below image and allow margin: auto for centering */
    margin: 40px auto;
    /* Add some vertical space and center horizontally */
}

.cinzel-display {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    line-height: 1.2;
}

h1 {
    font-family: 'Kapakana', serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
}

h1,
p {
    margin-top: 1em;
    margin-bottom: 1em;
}
