body {
    margin: 0;
    font-family: sans-serif;
    height: 100vh;
    overflow: hidden;
/*	background-size: cover; */

}

.container {
    width: 100%;
    height: 100vh;
    /*margin: 0; */
    position: relative;
    background-color: rgba(255, 255, 255, 0); /* Transparent white background */
}

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 2em;
    text-align: center;
    opacity: 0; /* Initially hidden */
    animation: textFadeIn 3s forwards;
}

.background {
    position: absolute;
    top: 0%;
    left: 0%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100vh;
    z-index: -1;
    background-image: url("background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1; /* Start fully opaque */
    animation: fadeZoom 3s forwards, backgroundFadeOut 3s forwards;  /* Added background fade out animation*/
}

.content {
    position: relative;
    text-align: center;
    padding: 2em;
    background-color: rgba(255, 255, 255, 0); /* Transparent background for content */
}

#heading {
    font-size: 3em;
    margin-bottom: 1em;
	opacity: 0;
}

/* Animation Styles - Using CSS Animations */
@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

@keyframes textFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundFadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0.5; /* Fade out to 50% opacity */
    }
}


.background, .content {
    animation: fadeZoom 4s forwards;
}

#heading {
    animation: textFadeIn 5s forwards;
}
