body {
    margin: 0;
    padding: 0 0.5rem;
    background-color: #000;
    font-family: 'Open Sans', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0.5rem 3rem 0.5rem;
    overflow-x: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: linear-gradient(to bottom, #000000 0%, #000000 65%, #00000000 100%);
}

ul.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    font-size: 1rem;
    cursor: pointer;
    width: fit-content;
}

ul.nav-links::after {
    content: "";
    flex: 0 0 1px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    padding: 10px;
    margin-right: 0.5rem;
    border-radius: 10px;
    min-width: fit-content;
}

.nav-link.clear-filter {
    min-width: fit-content;
}

.nav-link a {
    text-decoration: none;
    color: inherit;
    pointer-events: none;
}

.nav-link.color-purple {
    color: #B700FF;
    border: 0.5px solid #B700FF66;
}

.nav-link.color-yellow {
    color: #EEFF00;
    border: 0.5px solid #EEFF0066;
}   

.nav-link.color-red {
    color: #FF0000;
    border: 0.5px solid #FF000066;
}   

.nav-link.color-light-blue {
    color: #00F6FF;
    border: 0.5px solid #00F6FF66;
}

.nav-link.color-white {
    color: #FFFFFF;
    border: 0.5px solid #FFFFFF66;
}

.nav-link.color-light-orange {
    color: #FFA500;
    border: 0.5px solid #FFA50066;
}

.nav-link.active.color-purple {
    box-shadow: 0 0 10px 3px #B700FF;
}

.nav-link.active.color-yellow {
    box-shadow: 0 0 10px 3px #EEFF00;
}

.nav-link.active.color-red {
    box-shadow: 0 0 10px 3px #FF0000;
}

.nav-link.active.color-light-blue {
    box-shadow: 0 0 10px 3px #00F6FF;
}

.nav-link.active.color-white {
    box-shadow: 0 0 10px 3px #FFFFFF;
}

.nav-link.active.color-light-orange {
    box-shadow: 0 0 10px 3px #FFA500;
}

@keyframes hidden-animation {
    from {
        display: block;
        opacity: 1;
    }
    to {
        opacity: 0;
        display: none;
    }
}

@keyframes hidden-animation-reverse {
    from {
        opacity: 0;
        display: none;
    }
    to {
        opacity: 1;
        display: block;
    }
}

.hidden-animation {
    animation: hidden-animation 0.2s ease-in-out forwards;
}

.hidden-animation-reverse {
    animation: hidden-animation-reverse 0.2s ease-in-out forwards;
}


.project-card.ux-ui:hover,
img.ux-ui {
    box-shadow: 0 0 20px #B700FF;
}

.project-card.animation:hover,
img.animation {
    box-shadow: 0 0 20px #EEFF00;
}

.project-card.branding:hover,
img.branding {
    box-shadow: 0 0 20px #FF0000;
}

.project-card.illustration:hover,
img.illustration {
    box-shadow: 0 0 20px #00F6FF;
}

.project-card.info:hover,
img.info {
    box-shadow: 0 0 20px #FFFFFF;
}

.projects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    top: 7rem;
    position: relative;
    align-items: flex-start;
}

.projects-column-1,
.projects-column-2,
.projects-column-3,
.projects-column-4 {
    display: flex;
    flex-direction: column;
    column-gap: 2%;
    width: 49%;
}

.project-card {
    margin-bottom: 1rem;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    opacity: 1;
    height: fit-content;
    max-height: 500px;
}

.project-card img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 25px;
}

.project-modal {
    display: none;
}

.project-modal.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #000000;
    width: 100vw;
    z-index: 100;
    height: 100vh;
    overflow-y: scroll;
}

.project-modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding-bottom: 1rem;
    min-height: 100%;
    height: auto;
    overflow-y: scroll;
    position: relative;
}

.project-modal-title {
    font-weight: 400;
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 0rem;
    margin-top: 3rem;
    max-width: 70%;
}

.project-modal picture {
    display: flex;
    padding: 10px;
}

.project-modal img {
    width: 100%;
    object-fit: contain;
    align-self: center;
    border-radius: 25px;
}

.project-modal-close {
    position: absolute;
    top: 2rem;
    right: 10px;
    z-index: 100;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
}

.swiper.swiper-initialized {
    justify-self: center;
    max-width: 90%;
}

.swiper-wrapper {
    width: 89vw !important;
    min-height: 65vh !important;
    align-items: center !important;
}

.swiper-buttons-container {
    margin-top: 3rem;
    margin-bottom: 1rem;
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
}

.swiper-button-next, 
.swiper-button-prev {
    color: #fff !important;
    position: relative !important;
    width: fit-content !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.swiper-pagination-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem !important;
    font-size: 1.5rem !important;
}

.swiper-pagination {
    color: #fff !important;
    width: fit-content !important;
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
    position: relative !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

.projects-column-3,
.projects-column-4 {
    display: none;
}


.info-popup {
    display: none;
}

.info-popup.active {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #000000;
    z-index: 100;
}

.info-popup-content {
    display: flex;
    justify-content: space-between;
    position: relative;
    color: #fff;
    padding: 0 2rem;
    height: 100%;
}

.info-popup-content-text {
    margin-top: 10%;
}

.info-popup-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.info-popup-content p {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
}

.social-media-container {
    display: flex;
    gap: 3rem;
}

.social-media-container a {
    text-decoration: none;
    color: transparent;
}

.social-media-container svg {
    width: auto;
    height: 20px;
}

.info-popup-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    cursor: pointer;
}

.info-popup img {
    max-width: 45%;
    height: 30%;
    object-fit: cover;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    border-radius: 25px;
}





@media (min-width: 768px) {
    .project-modal-content {
        width: 100vw;
    }

    .project-modal.active {
        overflow-x: hidden;
    }

    ul.nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-link {
        margin-right: 5%;
    }

    .nav-link:last-child {
        margin-right: 0;
    }

    .projects-column-1,
    .projects-column-2,
    .projects-column-3,
    .projects-column-4 {
        width: 23.5%;
    }


    .projects-column-3,
    .projects-column-4 {
        display: flex;
    }

    .project-modal img,
    .project-modal video {
        width: auto;
        max-width: 800px;
    }

    .project-modal video {
        max-height: 80dvh;
    }

    .swiper-slide {
        display: flex !important;
        justify-content: center !important;
    }

    .info-popup-content {
        padding: 0 4rem;
    }

    .info-popup-content-text {
        width: 60%;
    }

    .info-popup-content h2 {
        font-size: 2.5rem;
    }

    .info-popup-content p {
        font-size: 1.5rem;
    }

    .info-popup img {
        width: 30%;
        height: 60%;
        align-self: flex-end;
        position: relative;
        margin-bottom: 5%;
    }

    .social-media-container svg {
        width: auto;
        height: 35px;
    }
    
}









