body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Merriweather', serif;
    background-color: #f5f5f5;
    position: relative;
}

.blurred::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(15px); /* Applied 15px blur to the background */
    pointer-events: none;
}

.blurred {
    position: fixed;
    width: 100%;
    height: 100%;
    background: url('./images/background.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
}

.content {
    z-index: 1;
    text-align: center;
    padding: 0 1rem; /* Added padding for better mobile view */
}

header {
    margin-bottom: 0.5rem; /* Reduced margin */
}

.title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.title {
    font-size: 8rem;
    color: #FFFFFF; /* Changed color to white for better contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.6); /* Natural shadow */
    margin: 0;
    position: relative;
    padding-bottom: 0.1rem; /* Reduced padding to move underline closer */
    opacity: 0;
    animation: fadeIn 1s ease-in forwards; /* Subtle fade-in animation */
}

.underline-container {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    top: -5px;
}

.underline {
    width: 80%;
    height: 4px;
    background-color: #FFFFFF; /* Changed color to match the title */
    margin-top: 0;
    margin-bottom: 0.1rem; /* Reduced margin to bring subtitle closer */
    opacity: 0;
    animation: grow 1s ease-in forwards; /* Subtle grow animation */
    animation-delay: 0.5s; /* Delay to sync with title */
}

@keyframes grow {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80%;
        opacity: 1;
    }
}

.subtitle {
    font-size: 2rem;
    color: #FFFFFF; /* Changed color to match the title */
    margin: 0;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards; /* Subtle fade-in animation */
    animation-delay: 1s; /* Delay to sync with underline */
    margin-top: 0.1rem; /* Reduced margin to bring subtitle closer */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8), 2px 2px 4px rgba(0, 0, 0, 0.6); /* Natural shadow */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .title {
        font-size: 6rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .underline {
        width: 90%; /* Adjust underline width for small screens */
    }
}
