body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: url('assets/BackgroundBody.png') repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.large-header {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

#large-header {
    background: url('assets/PortifolioBackground.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: rgba(0, 31, 63, 0.8);
    padding: 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    color: white;
}

.fixed-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.fixed-nav .nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 10px;
}

.fixed-nav .nav-links li {
    margin: 10px 10px;
}
.fixed-nav .nav-links li a:hover {
    color: #007bff;
    text-decoration: underline;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.fixed-nav .change-theme:hover {
    color: #007bff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .fixed-nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 47px;
        background-color: rgba(0, 31, 63, 0.9);
        width: auto;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        right: 40px;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 49px;
        height: 6px;
        background-color: white;
        margin: 4px 0;
        transition: 0.9s;
    }

    .menu-active .nav-links {
        display: flex;
        align-items: center;
        text-align: center;
    }
}

.hero {
    text-align: center;
    color: #fff;
    position: absolute;
    top: 15vh;
    left: 20vw;
    right: 20vw;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    z-index: -1;
    position: relative;
}

.hero h2 {
    font-size: 28px;
    margin-bottom: 30px;
    z-index: -1;
    position: relative;
}

.hero h2::after {
    content: none;
}

.view-work {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    cursor: pointer;
}

.view-work:hover {
    background-color: #0056b3;
}

#demo-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

h2 {
    color: white;
    position: relative;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0d1319;
}

.cases, .github, .contact {
    padding: 80px 20px;
    text-align: center;
}

.about {
    padding: 80px 20px;
    text-align: center;
}

.about h2 {
    color: rgb(0, 0, 0);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

.about-content p {
    max-width: 500px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    border-left: 3px solid #007bff;
    padding-left: 15px;
}

.about-content img {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-content p {
        text-align: center;
        border-left: none;
        padding-left: 0;
    }
}

.technologies {
    padding: 80px 20px;
    text-align: center;
}

.technologies h2 {
    color: rgb(0, 0, 0);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.technologies h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.technologies .tech-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 600px;
    margin: 0 auto;
}

.technologies .tech-item {
    text-align: center;
}

.technologies .tech-item img {
    width: 90px;
    height: 90px;
}

.technologies .tech-item p {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.6;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

@media (max-width: 768px) {
    .technologies .tech-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cases {
    padding: 80px 20px;
    text-align: center;
}

.cases h2 {
    color: rgb(0, 0, 0);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.cases h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.cases-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto;
    color: #ccc;
}

.cases-content p {
    max-width: 500px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    border-left: 3px solid #007bff;
    padding-left: 15px;
}

.cases-content img {
    width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .cases-content {
        flex-direction: column;
        text-align: center;
    }

    .cases-content p {
        border-left: none;
        padding-left: 0;
    }

    .cases-content img {
        width: 100%;
        max-width: 500px;
    }
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    left: 0;
    top: 0;
}

.carousel-image.active {
    opacity: 1;
    position: relative;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.prev {
    left: 10px;
    color: #c3cbd1;
}

.carousel-control.next {
    right: 10px;
    color: #c3cbd1;
}

.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .carousel {
        width: 100%;
        max-width: 100%;
    }

    .carousel-control {
        font-size: 20px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-control {
        font-size: 18px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .carousel-control {
        font-size: 18px;
        padding: 6px;
    }
}

@media (max-width: 480px) {
    .carousel {
        height: 180px;
    }

    .carousel-control {
        font-size: 18px;
        padding: 6px;
    }
}

.github {
    padding: 80px 80px;
    text-align: center;
}

.github h2 {
    color: rgb(0, 0, 0);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.github h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px auto 20px;
}

.github-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.github-content p {
    max-width: 400px;
    text-align: left;
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
    border-left: 3px solid #007bff;
    padding-left: 15px;
    display: flex;
    align-items: center;
}

.github-content img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

.github-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: rgb(0, 0, 0);
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.github-button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .github-content {
        flex-direction: column;
        text-align: center;
    }

    .github-content p {
        border-left: none;
        padding-left: 0;
    }
}

.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: left;
    color: white;
    background: url('assets/ContactBackground.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.contact-info {
    max-width: 400px;
    padding: 20px;
    text-align: left;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.contact-info h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007bff;
    margin: 10px 0 0 0;
}

.contact-info h2::after {
    content: none !important;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.6;
}

.contact-form {
    background-color: rgba(163, 200, 226, 100);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin-left: 40px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #59809A;
    color: white;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #c3cbd1;
}

.contact-form button {
    padding: 15px;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .contact {
        flex-direction: column;
        text-align: center;
    }

    .contact-info, .contact-form {
        margin: 0;
        padding: 20px;
    }

    .contact-form {
        margin-top: 20px;
    }
}

footer {
    background-color: #0b1223;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

footer .footer-content {
    max-width: 800px;
    margin: 0 auto;
}

footer h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

footer .social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

footer .social-media a {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

footer .social-media a:hover {
    transform: scale(1.1);
}

footer .social-media img {
    width: 80px;
    height: 80px;
}

footer p {
    font-size: 14px;
    color: #ccc;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .tech-icons {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero h2 {
        font-size: 22px;
    }
}
