@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    90% {
        opacity: 0.8;
        transform: translateY(-2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.view-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.view-btn {
    background-color: var(--yellow-color);
    border: none;
    padding: 2vw 2.7vw;
    border-radius: 30%;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.view-btn:hover {
    background-color: var(--primary-color);
    color: var(--yellow-color);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-in-out;
}

.icon {
    filter: brightness(0) saturate(100%) invert(8%) sepia(42%) saturate(1478%) hue-rotate(175deg) brightness(90%) contrast(104%);
    transition: transform 0.3s ease-in-out;
}

.icon:hover {
    filter: brightness(0) saturate(100%) invert(85%) sepia(38%) saturate(5710%) hue-rotate(343deg) brightness(100%) contrast(101%);
    transform: scale(1.05);
}

.wave {
    position: absolute;
    width: 100%;
    height: 9vw;
}

.wave path {
    fill: var(--primary-color);
    width: 100%;
}

.wave-top {
    top: -1px;
}

.wave-bottom {
    bottom: -1px;
    height: 8vw;
}

.bold {
    font-weight: 700;
    color: var(--text-bold-color);
}

.section-header {
    font-size: 20vw;
    line-height: 1.0;
    font-weight: 700;
    color: var(--text-bold-color);
}

.section-subheader {
    font-size: 13vw;
    line-height: 0.95;
    color: var(--text-bold-color);
}

.section-subsubheader {
    font-size: 10vw;
    line-height: 1.0;
    color: var(--text-bold-color);
}

.section-light-header {
    color: var(--text-color) !important;
}

.section-description {
    font-size: 6vw;
    line-height: 1.0;
    color: var(--text-color);
    text-align: justify;
}

.section {
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--background-color);
}

.section-content {
    padding: 10vw 3vw 8vw 3vw;
    margin: auto;
}

.header-decoration-background {
    position: absolute;
    font-size: 40vh;
    color: var(--text-light-color);
    top: 15vh;
    left: 2vw;
    line-height: 0.8;
    z-index: -1 !important;
}

.skills h1 {
    line-height: 0.95;
}

/* .skills-list li::before {
    content: '•';
    color: var(--text-bold-color);
    margin-right: 10px;
} */

.skills-list li {
    font-size: 5vw;
}

.contact-link-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    height: 10vh;
    margin-top: 5vh;
}

.contact-link img {
    height: 7vh;
    transition: transform 0.3s ease-in-out;
}

.contact-link img:hover {
    transform: scale(1.2);
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.projects h1 {
    height: 15vw;
}

.project-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 95vw;
}

.project-header-icon {
    width: 8vw;
    height: 8vw;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-description {
    font-size: 3vw;
    line-height: 1.4;
    text-align: justify;
    margin: 20px 0 20px 0;
    max-width: calc(90vw);
}

.project-photos {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: auto;
    gap: 10px;
}

.project-photos img {
    width: 95vw;
    height: 16vh;
    object-fit: scale-down;
    object-position: center top;
    border-radius: 8px;
    margin: 0;
    padding: 0;
}


.project-photos img:hover {
    transform: scale(1.05);
}

.project-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel {
    display: flex;
    overflow: hidden;
}

.carousel-view {
    flex-shrink: 0;
    width: 100%;
    transition: transform 0.3s ease-in-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: hidden;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    height: 10vh;
    width: calc(95vw);
    z-index: 2;
    position: absolute;
    overflow: hidden;
    margin-top: -5vh;
}

.carousel-btn {
    font-size: 6vw;
    font-weight: 700;
    border: none;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    z-index: 10;
}

.carousel-btn:hover {
    color: var(--yellow-color);
}

.footer {
    text-align: center;
    padding: 20px;
    background-color: var(--primary-color);
}

@media (min-width: 1100px) {
    .view-btn {
            padding: 0.5vw 0.7vw;
        }
    .project-header-icon {
        width: 2vw;
        height: 2vw;
    }

    .section-header {
        font-size: 8vw;
    }

    .section-subheader {
        font-size: 5vw;
    }

    .section-subsubheader {
        font-size: 3vw;
    }

    .section-description {
        font-size: 2.4vw;
    }

    .about-me-content {
        width: 55%;
        margin: auto;
    }

    .projects h1 {
        height: 7vw;
    }

    .project-photos {
        flex-direction: row;
        width: 95vw;

        margin: 0;
        justify-content: space-around;
    }

    .project-photos img {
        width: 31vw;
        height: 16.87vw;
    }

    .project-description {
        font-size: 1.5vw;
    }


    .skills-list li {
        font-size: 1.5vw;
    }

    .carousel-btn {
        font-size: 1.2vw;

    }

}

@media (min-width: 1600px) {
    .section-header {
        font-size: 7.4vw;
    }

    .section-subheader {
        font-size: 4.5vw;
    }

    .section-subsubheader {
        font-size: 2.1vw;
    }

    .section-description {
        font-size: 2.2vw;
    }

    .projects h1 {
        height: 6vw;
    }

    .project-description {
        font-size: 1.3vw;
    }


}