/* General Styles */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #121212;
    color: #CCCCCC;
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
}

/* Background Balls Styles */
.background-balls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Ensure background balls are behind other content */
    pointer-events: none; /* Prevent interference with other elements */
}

.ball {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #FF3CAC, #784BA0, #2B86C5); /* Futuristic gradient */
    border-radius: 50%;
    opacity: 0.7; /* Slight transparency for depth effect */
    animation: moveBall 10s infinite; /* Animation for ball movement */
}

.ball:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.ball:nth-child(2) {
    top: 40%;
    left: 75%;
    animation-delay: 2s;
}

.ball:nth-child(3) {
    top: 70%;
    left: 10%;
    animation-delay: 4s;
}

@keyframes moveBall {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    padding: 10px 20px;
    z-index: 3; /* Ensure header is above the balls */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    color: #FFFFFF;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

#language-toggle {
    background-color: #007BFF;
    color: #FFFFFF;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#language-toggle:hover {
    background-color: #0056b3;
}

/* Hero Section Styles */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2; /* Ensure hero content is above the balls */
}

.hero-content {
    max-width: 600px;
    width: 100%; /* Ensure content takes full width within max-width */
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    color: #FFFFFF;
}

.hero-content p {
    font-size: 20px;
    margin: 20px 0;
    color: #CCCCCC;
}

.contact-icons a {
    color: #FFC107;
    font-size: 40px;
    margin: 0 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-icons a:hover {
    color: #FF5722;
    transform: scale(1.2);
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    padding: 20px;
    text-align: center;
    color: #CCCCCC;
    position: relative;
    z-index: 2; /* Ensure footer is above the balls */
}

/* Overlay Styles */
#start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 4; /* Ensure overlay is above everything else */
}

.overlay-content p {
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
}

.overlay-content p:hover {
    color: #007BFF;
    transition: color 0.3s ease;
}
/* Scrollbar Styles */
/* Webkit Browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 16px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #1a1a1a; /* Background color of the scrollbar track */
    border-radius: 8px; /* Rounded corners for the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background: #007BFF; /* Color of the scrollbar thumb (the draggable part) */
    border-radius: 8px; /* Rounded corners for the scrollbar thumb */
    border: 4px solid #1a1a1a; /* Creates the box effect by adding a border */
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3; /* Color of the scrollbar thumb on hover */
}

/* Firefox */
.scrollable-box {
    scrollbar-width: thin; /* Thin scrollbar width */
    scrollbar-color: #007BFF #1a1a1a; /* Scrollbar thumb color and track color */
}

/* Optional: Style the scrollbar for Edge */
@supports (-ms-overflow-style: none) {
    .scrollable-box {
        -ms-overflow-style: scrollbar;
    }
    
}
/* Skills Section Styles */
#skills {
    padding: 50px 20px;
    text-align: center;
    background-color: #1a1a1a;
    color: #CCCCCC;
    z-index: 2;
}

#skills h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

/* Style the skill buttons */
.skill-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.skill-button {
    background-color: #000000; /* Darker background color */
    color: #FFFFFF; /* White text color */
    border: 2px solid #444444; /* Dark border for contrast */
    padding: 12px 30px; /* Wider button with more padding */
    border-radius: 8px; /* Slightly rounded corners */
    cursor: pointer;
    font-size: 18px; /* Larger font size */
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.skill-button:hover,
.skill-button:focus {
    background-color: #333333; /* Slightly lighter on hover/focus */
    border-color: #666666; /* Lighter border color on hover/focus */
    transform: scale(1.05); /* Slight scale effect on hover/focus */
}

.skill-button.active {
    background-color: #007BFF; /* Highlight color */
    border-color: #0056b3; /* Border color for active state */
    color: #FFFFFF; /* Text color for active state */
}


/* Proficiency Display Styles */
.proficiency-display {
    margin-top: 20px;
    font-size: 18px;
    color: #FFFFFF;
    background-color: #333333;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #444444;
    display: none; /* Hidden by default */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
