* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background-color: #ffffff;
    --text-color: #333;
    --accent-color: #007BFF;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #121212;
        --text-color: #f1f1f1;
        --accent-color: #1DB954;
    }
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background-color: var(--accent-color);
    padding: 1rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

p a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

p a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hero, .projects, .about {
    text-align: center;
}

.cta {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    background-color: var(--accent-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.cta:hover {
    transform: scale(1.05);
}

.project-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.project-grid a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
}

.project-grid a:hover {
    transform: translateY(-10px);
    text-decoration: none;
}


.project {
    background-color: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project:hover {
    transform: translateY(-10px);
}

.about-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
}

.about h1 {
    text-align: center;
    margin-bottom: 1rem;
}


.project-detail {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
}

.project-detail h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.project-detail p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.video-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.download-buttons {
    text-align: center;
    margin-top: 2rem;
}

.download-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-block;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
    filter: var(--icon-filter);
}

.social-icons img:hover {
    transform: scale(1.1);
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

:root {
    --icon-filter: invert(0);
}

footer {
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {
    .project-grid {
        flex-direction: column;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --icon-filter: invert(1);
    }
}
