/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    height: 110vh; /* Ensures consistent height */
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('/images/Background.jpg') center / cover fixed no-repeat; /* Combined background properties */
}

.main-content {
    margin-left: 20px; /* Keeps main content aligned */
    padding: 20px;
    min-height: 100vh; /* Avoid conflicting height values */
    overflow-x: hidden;
}

/* Layout Styles */
.container {
    display: flex;
    max-width: 1000px;
    background: #00000085; /* Solid black */
    color: #ffffff; /* White text */
    border-radius: 10px;
    overflow: auto;
    padding: 20px; /* Optional: Adds spacing inside the box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Optional: Shadow for depth */
}

.container h1, .container h2, .container p, .container span {
    color: #ffffff; /* Ensure all text is white */
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    padding: 20px;
    background: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    text-align: center;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.sidebar .profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.sidebar .profile h2 {
    margin: 10px 0 5px;
    font-size: 20px;
}

.sidebar .profile .title {
    font-size: 14px;
    color: #00bcd4;
}

.sidebar .social-links a {
    display: block;
    margin: 10px 0;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

/* Main Content */
.main {
    flex: 1;
    padding: 5px;
}

/* Header Styles */
header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
}

header nav a {
    color: white;
    margin-right: 15px;
    text-decoration: none;
}

header nav a:hover {
    text-decoration: underline;
}

/* Section Styles */
h1, h2, p {
    text-align: center;
}

main {
    padding: 10px;
}

section {
    margin: 20px 0;
    background: rgb(0, 0, 0);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 5px 0;
}

/* Footer */
footer {
    text-align: center;
    background: #333;
    color: white;
    padding: 10px 0;
    margin-top: 20px;
}

/* Gallery Section */
.gallery {
    margin-top: 10px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 5px;
    margin-top: 5px;
}

.gallery-item {
    background-color: #121212;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img {
    width: 75%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 5px;
}

.gallery-item p {
    margin: 0;
    color: #fff;
    font-weight: 150;
}

.gallery-item:hover {
    transform: scale(1.5);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.5);
}