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

body {
    font-family: 'Montserrat', sans-serif;
    color: #e4e4e4;
    background-color: #121212;
    line-height: 1.6;
}

content {
    font-family: 'Montserrat', sans-serif;
    color: #e4e4e4;
    background-color: #121212;
    line-height: 1.6;
}

h1, h2, h3 {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: #1e90ff;
    transition: color 0.3s;
}

a:hover {
    color: #4682b4;
}

video {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #1f1f1f;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.navbar ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
}

.navbar a {
    color: #e4e4e4;
    font-weight: 500;
}

/* Section Styling */
.section {
    padding: 100px 20px;
    text-align: center;
    transition: opacity 0.5s, transform 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Home Section */
.home {
    background: url('dl-files/Font.webp') no-repeat center center/cover;
    color: #e4e4e4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative; /* Required for pseudo-elements */
}

.home::before {
    position: absolute;
    width: 100%;
    height: 100%;
}

.home .content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    animation: fadeIn 2s;
}


/* About Section */
.about {
    background: #1a1a1a;
    color: #e4e4e4;
}

.about ul {
    text-align: left;
    max-width: 600px;
    margin: 20px auto 0;
    padding: 0;
    list-style: none;
}

.about ul li {
    margin: 10px 0;
}

/* Projects Section */
.projects {
    background: #1f1f1f;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    padding: 0 20px;
}

.project {
    background: #2b2b2b;
    border: 1px solid #333;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

/* Contact Section */
.contact {
    background: #1a1a1a;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #2b2b2b;
    color: #e4e4e4;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #1e90ff;
    color: #e4e4e4;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #4682b4;
}

footer {
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
