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

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: left;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    margin-left: 20px;
    transition: color 0.3s;
}

header a:hover {
    color: #e8491d;
}

header .current a {
    font-weight: bold;
    color: #e8491d;
}

@media (max-width: 768px) {
    header {
        text-align: center;
    }
    header a {
        display: block;
        margin: 10px 0;
    }
}

.home {
    padding: 50px 0;
    text-align: center;
}

.home h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.featured-project {
    font-size: 2em;
    color: #333; 
    text-align: center; 
    margin-top: 40px; 
}
.livestream-container {
    display: block; 
    width: fit-content; 
    margin-top: -60px;
    margin-left: auto; 
    margin-right: auto; 
    text-align: center; 
}

.livestream-container iframe {
    border: 5px solid #fff; 
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5); 
    margin-bottom: 20px; 
}


.about-content {
    display: flex;
    align-items: center;
    justify-content: start;
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: 2000px;
    padding: 0 20px;
}

.about img {
    width: 300px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border: 5px solid #333;
    margin-left: 20px;
}

.about-text h2 {
    font-size: 5em;
    margin-top: -100px;
    margin-bottom: 30px;
    padding-left: 20px;
    color: #333;
}

.about-text p {
    margin-top: -40px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.projects {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-title {
    max-width: 800px;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
}

.project-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 2000px;
}

.project {
    flex: 1 1 30%;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 800px;
}

.project:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.projects .project {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.projects h2 {
    font-size: 5em;
    padding-left: 20px;
    margin-bottom: 10px;
}

.projects h3 {
    margin-bottom: 10px;
}

.projects p {
    margin-bottom: 10px;
}

.project a {
    align-self: flex-start;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-top: 20px;
}

.project a:hover {
    background-color: #555;
    transform: translateY(-3px);
}

.project .project-image {
    width: 100%;
    height: auto;
}

.contact {
    background: #f0f0f0;
    padding: 10px 0;
    text-align: center;
}

.contact a {
    display: inline-block;
    margin: 0 15px;
    padding-top: 10px;
}

footer {
    padding: 10px;
    position: relative;
    color: #333;
    text-align: center;
}

@media (max-width: 960px) {
    .project-container {
        justify-content: center;
    }

    .project {
        flex: 1 1 80%;
        margin-bottom: 20px;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

p {
    font-size: 1rem;
}

body.dark-mode,
.dark-mode .contact,
.dark-mode footer {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .project {
    background-color: #222;
    color: #ccc;
}

.dark-mode .about-text,
.dark-mode .about-text h2,
.dark-mode .about-text p,
.dark-mode .featured-project {

    color: #ffffff;
}

.dark-mode .dark-mode-toggle img {
    filter: invert(1);
}

#dark-mode-toggle {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: white;
    cursor: pointer;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

#dark-mode-toggle:hover {
    background-color: #555;
}

header {
    position: relative;
}

#dark-mode-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    background: none;
    border: none;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 8px; 
}

#dark-mode-toggle img {
    width: 24px;
    height: 24px;
}
.dark-mode .contact a,
.dark-mode .contact a:visited {
    color: #e0e0e0;
}

.dark-mode .contact a:hover {
    color: #e8491d;
}

.dark-mode header {
    background-color: #1a1a1a;
}

.dark-mode .contact img {
    filter: invert(1);
}

.dark-mode .about img {
    border: 5px solid #ddd;
}

.dark-mode .livestream-container iframe {
    color: #000000;
}