/* Basic styling */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background: #000; /* Set a background color to blend with shadows */
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.parallax {
    position: relative;
    height: 100vh;
    width: 100vw; /* Ensure it takes full viewport width */
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; /* Adjusted to cover the entire layer */
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.parallax-layer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0,0,0,0) 60%, rgba(0,0,0,0.5) 100%); /* Soft gradient overlay */
    pointer-events: none; /* Allow clicks to pass through */
}

#logo {
    opacity: 0;
    transition: opacity 5s ease-in-out; /* Transition duration updated */
    position: absolute; /* Ensure the logo is positioned relative to its container */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the logo */
    width: 800px; /* Adjust the logo width */
    height: auto; /* Maintain aspect ratio */
    z-index: 10; /* Bring to foreground */
}

.eye {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Center the eye */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Soft shadow for eye images */
    transition: opacity 5s ease-in-out; /* Smooth transition for opacity */
    opacity: 0; /* Initial opacity set to 0 */
    width: 100%; /* Adjust width as necessary */
    height: auto; /* Maintain aspect ratio */
}

.parallax-layer-back img,
.parallax-layer-mid img,
.parallax-layer-eye-back img,
.parallax-layer-eye-mid-back img,
.parallax-layer-eye-mid-front img,
.parallax-layer-eye-front img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px; /* Round the edges slightly */
}

/* Terminal container styles */
.terminal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 60vh;
    transform: translate(-50%, -50%);
    background-color: #000; /* Background color */
    border: 2px solid #0f0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace; /* Terminal font */
    z-index: 20; /* Ensure it is above other layers */
    opacity: 0; /* Initially hidden */
    transition: opacity 2s ease-in-out;
}

.terminal-header {
    background-color: #111;
    color: #0f0;
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #0f0;
}

.terminal-content {
    padding: 20px;
    height: calc(60vh - 50px); /* Adjust for header height */
    overflow-y: auto;
    color: #0f0;
}

/* New text styles */
.final-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0f0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    opacity: 0; /* Initially hidden */
    transition: opacity 2s ease-in-out;
}
