/* General Styles */
body {
    margin: 0;
    font-family: "Courier New", Courier, monospace; /* Terminal-style font */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full screen height */
    background-image: url('./background3.webp'); /* Your background GIF */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
	padding-top: 60px; /* Adjust based on navbar height */
}


/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.85); /* Dark semi-transparent background */
    font-family: "Courier New", Courier, monospace; /* Terminal-style font */
    font-size: 20px; /* Terminal font size */
    z-index: 10; /* Keep it above other elements */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7); /* Subtle shadow for depth */
    
}

/* Navbar Link Styles */
.navbar a {
    color: maroon; /* Neon green text */
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s ease-in-out; /* Smooth hover animation */
}

.navbar a:hover {
    color: #ff0000; /* Change to red on hover */
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; /* Glow effect */
}

/* Blinking Cursor Animation */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Separator Styles */
.separator {
    color: #00ff00; /* Green separator */
    margin: 0 10px; /* Add spacing around separators */
}

/* Terminal Cursor Effect */
.navbar a::after {
    content: "_"; /* Underscore like a blinking cursor */
    animation: blink 1s steps(2, start) infinite;
}
/* Logo Container Styles */
.logo-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
	width: 600px; /* Matches total width of boxes */
    height: 320px; /* Adjusted height for two rows */
    position: relative;
    margin: 0 auto; /* Center the container */
}

/* Logo Style */
.logo {
    position: absolute;
    width: 300px;
    height: 300px;
    justify-content: center;
    align-items: center;
}

/* Logo Image Fade-Out */
.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    animation: fadeOut 2s ease forwards; /* Logo fades out */
	border-radius: 50%;
}

/* Hidden Boxes for Splitting Effect */
.box {
    position: absolute;
    width: 120px; /* Adjusted box size */
    height: 120px;
    color: white; /* White text for visibility */
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid maroon; /* Default maroon border */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.7); /* Default box shadow */
    border-radius: 50%; /* Rounded corners */
    background-size: cover;
    background-position: center;
    opacity: 0; /* Initially hidden */
    z-index: 5;
    animation: fadeIn 2s ease forwards;
    transition: box-shadow 0.3s ease, border-color 0.3s ease; /* Smooth transition */
}

.box:hover {
    border-color: #ff0000; /* Change border to glowing red */
    box-shadow: 0 0 20px 5px #ff0000; /* Add glowing red effect */
}


/* Add Unique Background Images for Each Box */
#box1 { background-image: url('./cloud.png'); }
#box2 { background-image: url('./fmlogo.png'); }
#box3 { background-image: url('./url.png'); }
#box4 { background-image: url('./forum.png'); }
#box5 { background-image: url('./csgoroll.png'); }
#box6 { background-image: url('./crypto.png'); }
#box7 { background-image: url('./freegames.png'); }
#box8 { background-image: url('./project.png'); }
#box9 { background-image: url('./worcal.png?v=2'); }

/* Adjusted Position and Animation Delay for Centering */
#box1 { top: 0; left: -200px; animation-delay: 0.3s; } /* Adjust for centering */
#box2 { top: 0; left: -60px; animation-delay: 0.5s; }
#box3 { top: 0; left: 80px; animation-delay: 0.7s; } /* Centered box */
#box4 { top: 0; left: 220px; animation-delay: 0.9s; }
#box5 { top: 0; left: 360px; animation-delay: 1.1s; }

#box6 { top: 160px; left: -135px; animation-delay: 1.3s; }
#box7 { top: 160px; left: 10px; animation-delay: 1.5s; }
#box8 { top: 160px; left: 155px; animation-delay: 1.7s; }
#box9 { top: 160px; left: 300px; animation-delay: 2.0s; }





/* Fade out logo animation */
@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Fade in boxes animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.blinking-text {
    text-align: center;
    color: white;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px; /* Small like the footer */
    position: fixed;
    bottom: 40px; /* Position just above the footer */
    width: 100%;
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

 .footer {
            position: fixed;
            bottom: 0;
            width: 100%;
            text-align: center;
            background-color: transparent;
            padding: 10px 0;
            color: white;
        }
.footer p {
            margin: 0;
        }