/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer is at the bottom */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #333;
    color: #fff;
    overflow-x: hidden;
    transition: 0.3s; /* Smooth slide-in effect */
    z-index: 1000; /* Ensure it sits above other content */
    padding-top: 60px; /* Space for the header */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    border-top-right-radius: 15px; /* Rounded top-right corner */
    border-bottom-right-radius: 15px; /* Rounded bottom-right corner */
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar h1 {
    margin: 0;
    padding: 0 20px; /* Optional: add padding for spacing */
    border-bottom: 2px solid #fff;
    border-radius: 10px; /* Rounded corners for header */
}

.sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    border-radius: 10px; /* Rounded corners for links */
    padding: 10px;
    transition: background-color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #575757;
}
/* Ensure the sidebar button is a perfect circle */
.open-btn {
    font-size: 30px;
    position: fixed;
    top: 20px;
    left: 20px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%; /* Make sure the button is a perfect circle */
    width: 60px; /* Set the width and height to the same value */
    height: 60px; /* Set the width and height to the same value */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001; /* Ensure button is above the sidebar */
    display: block; /* Initially visible */
}

.open-btn.hidden {
    display: none; /* Hide when sidebar is open */
}

.open-btn:hover {
    background: #0056b3;
}

.close-btn {
    font-size: 36px;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 25px;
}


.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    color: #000; /* Change text color to black */
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background: #007bff;
    text-decoration: none;
    border-radius: 20px; /* Rounded corners */
    transition: background-color 0.3s;
}

.cta-button:hover {
    background: #0056b3;
}

main {
    padding: 20px;
    flex: 1; /* Allow main content to grow and push footer down */
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-top-left-radius: 15px; /* Rounded top-left corner */
    border-top-right-radius: 15px; /* Rounded top-right corner */
}

.container {
    width: 80%;
    margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.75s ease-in-out; /* 0.75 seconds for a smooth fade-in */
}

/* Contact Page Styles */
.contact {
    padding: 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    font-weight: bold;
}

input, textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

/* Discord Button Styles */
.discord-btn {
    display: inline-block;
    margin-top: 20px;
    border-radius: 50%;
    overflow: hidden; /* Ensure logo does not overflow the button */
}

.discord-logo {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    display: block;
    object-fit: contain; /* Prevents cropping */
}

.discord-btn img {
    border: 2px solid #007bff; /* Optional: Adds a border around the logo */
    border-radius: 50%; /* Makes sure the border is rounded */
    transition: transform 0.3s ease; /* Adds animation to the button */
}

.discord-btn:hover img {
    transform: scale(1.1); /* Slightly enlarges the logo on hover */
}


/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none; /* Hidden by default */
    z-index: 1002; /* Ensure it's above other content */
    max-width: 300px;
    font-size: 16px;
}

.notification p {
    margin: 0;
}

.close-notification {
    font-size: 20px;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.close-notification:hover {
    color: #ccc;
}

/* Project Section Styles */
/* Project Section Styles */
/* Project Section Styles */
.projects {
    padding: 20px;
    background-color: #f4f4f4; /* Light background color for the project section */
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between project items */
}

.project-item {
    background: #fff; /* White background for each project item */
    padding: 20px; /* Padding inside each project item */
    border-radius: 10px; /* Rounded corners for project items */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Black shadow with more opacity */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation for transform and shadow */
}

.project-item:hover {
    transform: scale(1.05); /* Slightly enlarge the item on hover */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.6); /* Darker shadow on hover */
}



