/* Hide elements initially */
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
}

/* Show elements */
.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s, visibility 1s;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #111;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-x: hidden; /* Hide horizontal scroll bars */
    overflow-y: auto; /* Allow vertical scroll */
    font-size: 14px; /* Smaller base font size */
    line-height: 1.4;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px; /* Reduced padding */
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

.welcome-message {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px; /* Reduced margin */
}

.shell-box {
    width: 85%; /* Reduced width */
    font-size: 18px; /* Smaller font size */
    position: relative;
    padding: 15px; /* Reduced padding */
    border: 1px solid #0f0; /* Thinner border */
    border-radius: 8px; /* Slightly reduced border radius */
    background-color: #222;
    box-sizing: border-box;
    color: #fff;
    text-align: left;
    margin-bottom: 15px; /* Reduced margin */
}

.typing {
    white-space: pre-wrap;
    overflow: hidden;
    display: inline-block;
    font-size: 18px; /* Smaller font size */
    line-height: 1.5;
    text-align: left;
    color: #0f0; /* Entire text green */
}

.typing .command {
    color: #0f0; /* Green for root commands */
}

.typing .text {
    color: #fff; /* White for text details */
}

#loading-text {
    font-size: 18px; /* Smaller font size */
    color: #0f0;
    margin-top: 5px; /* Reduced margin */
    display: none; /* Hide initially */
}

#loading-text.visible {
    display: block;
}

#loading-text .loading-dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    60% {
        opacity: 1;
    }
    80%, 100% {
        opacity: 0;
    }
}

#ascii-art {
    font-size: 12px; /* Smaller ASCII art */
    white-space: pre-wrap; /* Maintain formatting */
    color: #ffffff; /* Light gray color for ASCII art */
    margin: 20px 0; /* Reduced margin */
    display: none; /* Hide initially */
    
}

#ascii-art.visible {
    display: block;
}

#logo-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%;
    max-width: 900px; /* Reduced max width */
}

.logo-detail {
    display: flex;
    align-items: center;
    margin: 15px 0; /* Reduced margin */
    background-color: #222;
    border: 2px solid #0f0;
    border-radius: 10px;
    padding: 15px; /* Reduced padding */
    box-sizing: border-box;
    width: 100%;
    max-width: 900px; /* Adjusted max width */
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-detail:hover {
    transform: scale(1.05); /* Slightly scale up the box */
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.5); /* Add a glowing shadow */
}

.logo {
    width: 80px; /* Smaller logo size */
    height: 80px; /* Smaller logo size */
    margin-right: 15px; /* Reduced margin */
}

.details {
    color: #ffffff;
    text-align: left;
    flex: 1;
    line-height: 1.6; /* Adjust line height */
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between badges */
    align-items: center; /* Vertically align badges */
    justify-content: center; /* Center badges horizontally */
    margin-top: 15px; /* Reduced margin */
}

.badge-placeholder {
    width: 60px; /* Smaller badge size */
    height: 60px; /* Smaller badge size */
    background-color: #444; /* Placeholder background color */
    border: 2px solid #0f0;
    border-radius: 50%;
    margin: 0 8px; /* Reduced margin */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f0; /* Badge text color */
    font-size: 16px; /* Smaller font size */
    transition: background-color 0.3s, transform 0.3s;
}

.badge-placeholder:hover {
    background-color: #0f0; /* Change background on hover */
    color: #222; /* Change text color on hover */
    transform: scale(1.1); /* Slightly scale up the badge */
}

/* Badge Link */
.badge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* Adjust to match the size of the circle */
    height: 80px; /* Adjust to match the size of the circle */
    margin: 0 10px; /* Space between badges */
    border: 2px solid #0f0; /* Border color */
    border-radius: 50%; /* Circular container */
    overflow: hidden; /* Ensure images fit within the circle */
    text-decoration: none; /* Remove default link underline */
    transition: transform 0.3s ease; /* Smooth scaling effect */
}

.badge-image {
    width: 100%; /* Fill the circle */
    height: 100%; /* Fill the circle */
    object-fit: cover; /* Ensure image covers the circle */
    border-radius: 50%; /* Ensure image is circular */
}

.badge-link:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Back Button Styling */
.back-button {
    position: fixed;
    top: 100px;
    left: 10px;
    padding: 10px 20px;
    background-color: transparent; /* Transparent background */
    color: #00FF00; /* Green font color */
    text-decoration: none;
    border: 2px solid #00FF00; /* Green border */
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px; /* Smaller font size */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.back-button:hover {
    background-color: #00FF00; /* Green background on hover */
    color: #000; /* Black text color on hover */
}

/* Logo Image Styling */
.logo {
    border: 2px solid #00FF00; /* Green border */
    border-radius: 5px;
    padding: 5px;
    max-width: 100%; /* Ensure logos are responsive */
    height: auto;
    transition: border-color 0.3s; /* Smooth transition for border color */
}

.logo:hover {
    border-color: #8bfc8b; /* Darker green border on hover */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 4px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #000000; /* Track color */
}

::-webkit-scrollbar-thumb {
    background: #00FF00; /* Thumb color */
    border-radius: 2px; /* Rounded corners for thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #00CC00; /* Darker green on hover */
}
/* Badge Container Styling */
.badge-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between badges */
    align-items: center; /* Vertically align badges */
    justify-content: center; /* Center badges horizontally */
    margin-top: 15px; /* Margin above the badge container */
}

/* Badge Styling */
.badge-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; /* Adjust size */
    height: 80px; /* Adjust size */
    border: 2px solid #0f0; /* Border color */
    border-radius: 50%; /* Circular badge */
    overflow: hidden; /* Ensure images fit within the circle */
    text-decoration: none;
    transition: transform 0.3s ease; /* Smooth scaling effect */
    position: relative; /* To position tooltip */
}

.badge-link:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Badge Image Styling */
.badge-image {
    width: 100%; /* Fill the circle */
    height: 100%; /* Fill the circle */
    object-fit: cover; /* Ensure image covers the circle */
    border-radius: 50%; /* Circular image */
}

/* Tooltip Styling */
.tooltip {
    position: absolute;
    bottom: 120%; /* Position above the badge */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff; /* Dark background for tooltip */
    color: #fff; /* White text color */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap; /* Prevent text from wrapping */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10; /* Ensure tooltip is above other elements */
}

.badge-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
}
#menu-bar {
    display: flex;
    justify-content: center;
    gap: 1px;
    margin: 0;
    width: 100%;
    background-color: #181616;
    padding: 3px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-link {
    color: #0f0;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 2px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover {
    background-color: #0f0;
    color: #000000;
}
