* {
    margin: 0;
}

a {
    text-decoration: none;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    scroll-behavior: smooth;
    height: 100vh;
    background-color: #0d1015;
}

section {
    scroll-snap-align: start;
}

/* Home */
#home-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: #0d1015;
}

home-wrapper {
    width: 75vw;
    height: 35vh;
}

/* Home -> Content */
#home-page .content {
    display: flex;
    flex-direction: column;
    font-family: 'Lexend Deca', sans-serif;
}

#home-page .content h2 {
    font-weight: 200;
    font-size: 24px;
    color: #939393;
}

#home-page .content h1 {
    font-weight: 200;
    font-size: 90px;
    color: #d5d5d5;
}

#home-page home-wrapper .content #reflection{
    position: relative;
    line-height: 21px;
    color: #103074;
    opacity: 50%;
    transform: rotateX(-180deg);
}

#home-page .content p {
    margin-top: 42px;
    margin-bottom: 30px;
    color: #878787;
    font-weight: 200;
    font-size: 22px;
}

/* Home -> Content -> Button */
#home-page .content button {
    animation: left-in 2.5s;

    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;

    height: 60px;
    width: 240px;

    outline: none;
    background-color: transparent;
    border: 2px solid rgba(16, 48, 116, 0.85);

    font-family: 'Lexend Deca', sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #9f9f9f;
}

#home-page .content button .btn-text {
    position: absolute;
    transform: translate(15%, 55%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#home-page .content button .btn-text-container {
    transition: 0.75s;
    width: 0;
    height: 100%;
}

#home-page .content button:hover {
    color: #c1c1c1;
}

#home-page .content button:hover .btn-text-container {
    width: 100%;
    height: 100%;
    background-color: rgba(16, 48, 116, 0.50);
}

#home-page .content button .btn-arrow {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 60px;
    height: 100%;
    background-color: rgba(16, 48, 116, 0.50);
}

/* Glow */
.glow {
    pointer-events: none;
    position: absolute;
    width: 850px;
    height: 850px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(16, 48, 116, 0.45) 0%, rgba(16, 48, 116, 0.15) 64.58%, rgba(16, 48, 116, 0) 100%);
}

#glow-1 {
    top: 0;
    left: 0;
    transform: translate(-55%, -40%) !important;
}

#glow-2 {
    transition-delay: 600ms;
    left: 0;
    transform: translate(-10%, 55%) !important;
    opacity: 55%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(16, 48, 116, 0.30) 0%, rgba(16, 48, 116, 0.10) 64.58%, rgba(16, 48, 116, 0) 100%);
}

#glow-3 {
    transition-delay: 1200ms;
    animation: glow-in 8s;
    right: 0;
    transform: translate(50%, 48%) !important;
}

#glow-4 {
    transition-delay: 400ms;
    left: 0;
    transform: translate(20%, 75%) !important;
    opacity: 55%;
}

#glow-5 {
    transition-delay: 800ms;
    left: 0;
    transform: translate(-50%, 12%) !important;
    opacity: 55%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(16, 48, 116, 0.30) 0%, rgba(16, 48, 116, 0.10) 64.58%, rgba(16, 48, 116, 0) 100%);
}

/* Triangle */
wave-effect {
    position: absolute;
    right: 0;
    height: 100vh;
}

.triangle {
    pointer-events: none;
    position: absolute;
    border-color: transparent transparent rgba(16, 48, 116, 0.15) transparent;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
}

.triangle2 {
    pointer-events: none;
    position: absolute;
    border-color: transparent rgba(16, 48, 116, 0.15) transparent transparent;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
}

#triangle-1 {
    border-style: solid;
    border-width: 0 0 70vh 30vw;
    animation: 5s ease-in-out infinite alternate waves-1;
}

#triangle-2 {
    border-style: solid;
    border-width: 0 0 85vh 20vw;
    animation: 12s ease-in-out infinite alternate waves-1;
}

#triangle-3 {
    border-style: solid;
    border-width: 0 0 50vh 35vw;
    animation: 20s ease-in infinite alternate-reverse waves-1;
}



#triangle-4 {
    border-style: solid;
    border-width: 0 30vh 70vw 0;
    animation: 5s ease-in-out infinite alternate-reverse waves-2;
}

#triangle-5 {
    border-style: solid;
    border-width: 0 20vw 45vw 0;
    animation: 12s ease-in-out infinite alternate-reverse waves-2;
}

#triangle-6 {
    border-style: solid;
    border-width: 0 35vw 45vw 0;
    animation: 20s ease-in-out infinite alternate-reverse waves-2;
}


@keyframes waves-1 {
    0% {
        border-width: 0 0 85vh 20vw;
    } 

    50% {
        border-width: 0 0 50vh 30vw;
    }

    100% {
        border-width: 0 0 75vh 40vw;
    }
}

@keyframes waves-2 {
    0% {
        border-width: 0 20vw 35vw 0;
    } 

    50% {
        border-width: 0 35vw 35vw 0;
    }

    100% {
        border-width: 0 30vh 20vw 0;
    }
}

.sticky {
    position: fixed;
}


/* Skills page */
#skills-page {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: #0d1015;
}

skills-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 75vw;
}

skills-wrapper .content {
    width: 100%;
    height: 65vh;
}

skills-wrapper .content .title {
    font-family: 'Lexend Deca', sans-serif;
}

skills-wrapper .content .title h1 {
    color: #d5d5d5;
    font-weight: 200;
    font-size: 50px;
}

skills-wrapper .content .title #reflection {
    position: relative;
    line-height: 14px;
    color: #103074;
    opacity: 65%;
    transform:rotateX(-180deg);
}

skills-wrapper .content .title hr {
    border: none;
    border-top: 3px solid #103074;
    opacity: 65%;
    margin-top: 18px;
    margin-bottom: 65px;
    width: 100px;
}

skills-wrapper .content container-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 1200px;
}

container-wrapper .skills-container-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 22px;
    width: 525px;
    height: 185px;
    border: 3px solid #10307484;
    font-family: 'Lexend Deca', sans-serif;

    transition: 0.5s;
    cursor: default;
    position: relative;
}

container-wrapper .skills-container-box::after {
    transition: 0.75s;
    content: "";
    z-index: -1;
    opacity: 0%;
    width: 0%;
    height: 100%;
    background-color: #1030742a;
    position: absolute;
    top: 0;
    left: 0;
}

container-wrapper .skills-container-box:hover:after {
    width: 100%;
    opacity: 100%;
}

container-wrapper .skills-container-box:hover {
    border: 3px solid #103074c3;
    scale: 1.01;
}

container-wrapper .skills-container-box h1 {
    font-size: 22px;
    font-weight: 300;
    color: #c1c1c1;
    margin-bottom: 10px;
}

container-wrapper .skills-container-box p {
    font-size: 20px;
    font-weight: 200;
    color: #878787;
}

container-wrapper .skills-container-box .skills-percentage {
    border-radius: 50px;
    width: 100%;
    height: 10px;
    background-color: #c1c1c1c5;
}

container-wrapper .skills-container-box .skills-percentage .skills-percentage-value {
    border-radius: 50px;
    height: 100%;
    background-color: #253f79;
}

#frontend-percentage {
    width: 85%;
}

#gfx-percentage {
    width: 70%;
}

#backend-percentage {
    width: 60%;
}

#ui-percentage {
    width: 80%;
}



/* About page */
#about-page {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background-color: #0d1015;
}

about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 75vw;
}

about-wrapper .content {
    width: 100%;
    height: 65vh;
}

about-wrapper .content .title {
    font-family: 'Lexend Deca', sans-serif;
}

about-wrapper .content .title h1 {
    color: #d5d5d5;
    font-weight: 200;
    font-size: 50px;
}

about-wrapper .content .title #reflection {
    position: relative;
    line-height: 14px;
    color: #103074;
    opacity: 65%;
    transform:rotateX(-180deg);
}

about-wrapper .content .title hr {
    border: none;
    border-top: 3px solid #103074;
    opacity: 65%;
    margin-top: 18px;
    margin-bottom: 90px;
    width: 100px;
}

about-wrapper .content container-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 1200px;
}

#about-page .content {
    font-family: 'Lexend Deca', sans-serif;
}

#about-page .content p {
    transition-delay: 200ms;
    transition: 0.5s;
    color: #a8a8a8;
    font-weight: 200;
    font-size: 23px;
    border-left: 3px solid #10307484;
    padding: 14px 10px 14px 30px
}

#about-page .content p:hover {
    color: #c1c1c1;
    border-left: 3px solid #103074c3;
}

#about-page .content h2 {
    color: #b6b6b6;
    font-size: 22px;
    font-weight: 300;
    z-index: 2;
}

#about-page span {
    font-weight: 200;
    color: #929292;
}

about-wrapper .about-container-box {
    transition: 0.5s;
    position: relative;
    width: 785px;
    margin-top: 75px;
    padding: 28px;
    border: 3px solid #10307484;
}

about-wrapper .about-container-box:hover {
    border: 3px solid #103074c3;
    scale: 1.01;
}

about-wrapper .about-container-box::before {
    pointer-events: none;
    transition: 0.75s;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 0%;
    height: 100%;
    background-color: #1030742a;
    opacity: 0;
}

about-wrapper .about-container-box:hover:before {
    width: 100%;
    opacity: 1;
}

about-wrapper .about-container-box .text-wrapper {
    display: flex;
    justify-content: space-between;
}

about-wrapper .content button {
    transition: 0.5s;
    height: 60px;
    width: 265px;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #9f9f9f;
    background-color: transparent;
    border: 3px solid #10307484;
    margin-top: 24px;
    background-color: #1030741e;
    cursor: pointer;
}

about-wrapper .content button:hover {
    scale: 1.01;
    color: #c1c1c1;
    border: 3px solid #103074c3;
}

/* Other displays  */
@media (max-width: 1050px) {
    about-wrapper .about-container-box .text-wrapper {
        flex-direction: column;
        justify-content: left;
    }

    about-wrapper .about-container-box {
        margin-top: 40px;
        width: auto;
    }

    about-wrapper .content .title hr {
        margin-bottom: 50px;
    }
}



/* Reveal animation */
.a_hidden {
    opacity: 0 !important;
    transform: translateX(-35px) !important;
    transition: all 1.5s;
    filter: blur(3px);
}

.a_show {
    opacity: 1 !important;
    transform: translateX(0px) !important;
    filter: blur(0);
}


.skills-container-box:nth-child(2) {
    transition-delay: 200ms;
}

.skills-container-box:nth-child(4) {
    transition-delay: 400ms;
}

.skills-container-box:nth-child(3) {
    transition-delay: 200ms;
}


@keyframes glow-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* index ratio */
@media(max-width: 1200px) { /* iPad */
    #home-page home-wrapper {
        position: relative;
        top: -30px;
    }


    skills-wrapper .content .title h1 {
        font-size: 38px !important;
    }

    skills-wrapper .content .title hr {
        margin-bottom: 30px !important;
    }

    container-wrapper .skills-container-box h1 {
        font-size: 20px !important;
        margin-bottom: 6px;
    }

    container-wrapper .skills-container-box p {
        font-size: 18px !important;
    }

    container-wrapper .skills-container-box {
        width: 365px;
        height: 170px;
        padding: 16px;
    }

    #glow-5 {
        display: none;
    }
}

@media(max-height: 800px) {
    #about-page .content .title h1 {
        font-size: 38px !important;
    }

    .content .title hr {
        margin-bottom: 30px !important;
    }

    .content p {
        font-size: 20px !important;
    }

    .content h2 {
        font-size: 20px !important;
    }

    about-wrapper .about-container-box {
        padding: 19px;
        margin-top: 28px;
        min-width: 10px !important;
    }
}

@media (max-width: 575px) { /* Phone */
    #home-page home-wrapper {
        top: -50px;
    }

    #home-page .content h1 {
        font-size: 65px;
    }

    #home-page .content p {
        font-size: 18px;
    }



    #about-page .content .title h1 {
        font-size: 35px !important;
    }

    .content .title hr {
        margin-bottom: 26px !important;
    }

    #about-page .content p {
        font-size: 18px !important;
        padding: 5px 20px 5px 20px;
    }

    #about-page .content h2 {
        font-size: 17px !important;
    }

    about-wrapper .about-container-box {
        padding: 15px;
        margin-top: 24px;
        min-width: auto !important;
    }

    about-wrapper .content button {
        font-size: 17px;
        height: 53px;
        width: 253px;
        margin-top: 18px;
    }



    skills-wrapper .content .title h1 {
        font-size: 35px !important;
    }

    skills-wrapper .content .title hr {
        margin-bottom: 30px !important;
    }

    container-wrapper .skills-container-box h1 {
        font-size: 18px !important;
        margin-bottom: 6px;
    }

    container-wrapper .skills-container-box p {
        font-size: 17px !important;
    }
    
    skills-wrapper .content container-wrapper {
        width: 100%;
    }

    container-wrapper .skills-container-box {
        width: 100%;
        height: 215px;
        padding: 16px;
    }

    #glow-5 {
        display: none;
    }

    #skills-page {
        height: 175vh;
    }

    #skills-page wave-effect {
        height: 175vh;
    }
}



/* Projects Page */
#projects-page {
    display: flex;
    justify-content: center;
    width: 100%;
}

#projects-page projects-page-wrapper {
    width: 75%;
    margin-top: 175px;
}

#projects-page project-filters {
    display: flex;
    gap: 30px;
}

#projects-page .filter-btn {
    position: relative;
    transition: 0.75s;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #9f9f9f;
    background-color: transparent;
    outline: none;
    border: 2px solid rgba(16, 48, 116, 0.85);
    height: 60px;
    width: 250px;
    cursor: pointer;
}

#projects-page .filter-btn:hover {
    color: #c4c4c4;
    border: 2px solid rgba(19, 54, 131, 0.85);
}

#projects-page .filter-btn::before {
    opacity: 0;
    transition: 0.75s;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #1030742a;
}

#projects-page .filter-btn:hover::before {
    opacity: 1;
    width: 100%;
}

#return-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 60px !important;
}

#return-button:hover {
    width: 180px !important;
    gap: 10px;
}

#return-hidden {
    transition: 0.2s;
    opacity: 0;
    width: 0;
}

#return-button:hover #return-hidden {
    transition: 0.5s;
    opacity: 1;
    width: 100px;
}

#return-button h2 {
    font-weight: 200;
    font-size: 20px;
}

#return-button span {
    font-size: 25px;
}

.filter-selected {
    color: #d6d6d6 !important;
}

.filter-selected::before {
    opacity: 1 !important;
    width: 100% !important;
}

.all-filter-btn {
    transition-delay: 200ms !important;
}

.websites-filter-btn {
    transition-delay: 400ms !important;
}

.applications-filter-btn {
    transition-delay: 600ms !important;
}



#projects-page project-posts {
    position: relative;
    top: 70px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 45px;
}

#projects-page .project-container {
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    height: 275px;
    width: 500px;
    border: 2px solid rgba(16, 48, 116, 0.85);
}

#projects-page .project-container:hover {
    scale: 1.025;
    border: 2px solid rgba(19, 54, 131, 0.85);
}

#projects-page .project-container:hover .project-preview img {
    filter: brightness(115%);
}

#projects-page .project-details {
    color: #9f9f9f;
    font-family: 'Lexend Deca', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#projects-page .project-details h2 {
    font-weight: 200;
    font-size: 17px;
    
}

#projects-page .project-details-tag {
    background-color: rgba(16, 48, 116, 0.747);
    padding: 5px 30px 5px 30px;
}

#projects-page .project-details-date {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 5px 30px 5px 30px;
    background-color: rgba(16, 48, 116, 0.288);
}

#projects-page .project-preview img{
    transition: 0.25s;
    z-index: 0;
    position: absolute;
    opacity: 25%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#projects-page .project-preview .project-info {
    font-family: 'Noto Sans', sans-serif;
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#projects-page .project-preview .project-info project-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 88%;
    margin-bottom: 22px;
}

#projects-page .project-preview .project-info project-info-wrapper h1 {
    color: #d5d5d5;
    font-weight: 500;
    font-size: 23px;
}

#projects-page .project-preview .project-info project-info-wrapper h2 {
    color: #929292;
    font-weight: 400;
    font-size: 18px;
}

#view-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 50px !important;
    height: 50px !important;
}

#view-button:hover {
    width: 120px !important;
    gap: 0px;
}

#view-hidden {
    transition: 0.2s;
    opacity: 0;
    width: 0;
}

#view-button:hover #return-hidden {
    transition: 0.5s;
    opacity: 1;
    width: 100px;
    color: #9f9f9f
}

#view-button h2 {
    font-weight: 200;
    font-size: 20px;
    z-index: 1;
}

#view-button span {
    font-size: 25px;
}

.hidden {
    display: none !important;
}



/* Modal */
modal {
    position: fixed;
    z-index: 10;
    width: 100%;
    height: 100vh;
}

modal .modal-bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #000000a2;
}

modal .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

modal .content .popup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1250px;
    height: 625px;
    background-color: #07090e;
    border: 3px solid #1030749c;
    font-family: 'Noto Sans', sans-serif;
}

modal .content .popup-container popup-wrapper {
    width: 85%;
    height: 80%;
}

modal .content .popup-container popup-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 70px;
}

modal .content .popup-container popup-title .title h1 {
    font-size: 32px;
    font-weight: 500;
    color: #b6b6b6;
}

modal .content .popup-container popup-title .title h2 {
    font-size: 21px;
    font-weight: 400;
    color: #878787;
}

.popup-return-text {
    transition: 0.25s;
    opacity: 0;
    width: 0%;
    font-weight: 400;
    z-index: 2;
}

modal .content .popup-container popup-title button {
    position: relative;
    transition: 0.75s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: transparent;
    border: 2px solid #10307484;
    cursor: pointer;
    font-family: 'Lexend Deca', sans-serif !important;
}

modal .content .popup-container popup-title button::before {
    transition: 0.75s;
    opacity: 0;
    top: 0;
    left: 0;
    content: '';
    width: 0%;
    height: 100%;
    background-color: #1030741e;
    position: absolute;
}

modal .content .popup-container popup-title button:hover {
    width: 165px;
    border: 2px solid #123b9284;
}

modal .content .popup-container popup-title button:hover > .popup-return-text {
    width: 100px !important;
    opacity: 1;
}

modal .content .popup-container popup-title button:hover:before {
    width: 100% !important;
    opacity: 1 !important;
}

modal .content .popup-container popup-title button:hover span {
    color: #9f9f9f;
}

modal .content .popup-container popup-title button h2 {
    font-weight: 200;
    color: #929292;
    padding-right: 10px;
}

modal .content .popup-container popup-title span {
    color: #696969;
    z-index: 2;
}



modal .content .popup-container .popup-content {
    position: relative;
    top: 35px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 75px;
}

modal .content .popup-container .popup-content popup-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

modal .content .popup-container .popup-content h2 {
    display: flex;
    justify-content: center;
    width: 125px;
    padding: 3px 20px 3px 20px;
    color: #9f9f9f;
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 200;
    font-size: 18px;
    background-color: #1030741e;
    border: 2px solid #10307484;
}

modal .content .popup-container .popup-content .popup-preview {
    position: relative;
    overflow: hidden;
    width: 520px;
    height: 270px;
    border: 2px solid #10307484;
}

modal .content .popup-container .popup-content .popup-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 45%;
    width: 100%;
    object-fit: cover;
}

modal .content .popup-container .popup-content .popup-tags {
    width: 480px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

modal .content .popup-container .popup-content .popup-tags p {
    font-family: 'Lexend Deca', sans-serif;
    font-weight: 300;
    padding: 5px 20px 5px 20px;
    display: flex;
    justify-content: center;
    background-color: #1030741e;
    border: 2px solid #10307484;
    color: #939393;
}

modal .content .popup-container .popup-content popup-right {
    gap: 10px;
    margin-top: 42px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

modal .content .popup-container .popup-content popup-right button {
    transition: 0.25s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    
    width: 100%;
    height: 60px;
    color: #878787;
    background-color: transparent;
    border: 2px solid #10307484;
    cursor: pointer;
}

modal .content .popup-container .popup-content popup-right button h1 {
    font-family: 'Lexend Deca', sans-serif;
    font-size: 20px;
    font-weight: 300;
    z-index: 2;
}

#sourcecode-btn {
    border: 2px solid #696969;
    z-index: 3;
}

#sourcecode-btn:hover{ 
    border: 2px solid #878787;
}

#sourcecode-btn::before {
    background-color: #dadada1a;
}

modal .content .popup-container .popup-content popup-right button:hover {
    scale: 1.025;
    border: 2px solid #0e44b884;
}

popup-right a {
    width: 100%;
}

modal .content .popup-container .popup-content popup-right p {
    margin-top: 12px;
    color: #878787;
    font-weight: 300;
    font-size: 20px;
}

modal .content .popup-container .popup-content popup-right button:hover:before {
    width: 100% !important;
}

modal .content .popup-container .popup-content popup-right span {
    color: #939393;
}

modal .content .popup-container .popup-content popup-right img {
    transition: 0.75s;
    width: 30px;
    filter: invert(.6);
}

.project-buttons::before {
    left: 0;
    transition: 0.75s;
    content: '';
    width: 0%;
    height: 100%;
    background-color: #1030741e;
    position: absolute;
}

.modal-hidden {
    display: none;
}

.srcDisabled {
    opacity: 35% !important;
    cursor: not-allowed !important;
}



/* index ratio */
@media(max-width: 1400px) { /* iPad */
    #projects-page .project-container {
        width: 400px;
    }

    modal .content .popup-container {
        width: 1000px;
    }

    modal .content .popup-container popup-title .title h1 {
        font-size: 28px;
    }

    modal .content .popup-container popup-title .title h2 {
        font-size: 18px;
    }

    modal .content .popup-container .popup-content h2 {
        font-size: 18px !important;
    }

    modal .content .popup-container .popup-content .popup-preview {
        width: 450px;
        height: 235px;
    }

    modal .content .popup-container .popup-content .popup-tags p {
        font-size: 18px !important;
    }

    modal .content .popup-container .popup-content popup-right p {
        font-size: 18px !important;
    }

    modal .content .popup-container .popup-content popup-right button {
        height: 55px;
    }
}

@media(max-width: 1140px) {
    #projects-page .project-container {
        width: 365px;
    }
}

@media(max-width: 1045px) {
    #projects-page .project-container {
        width: 550px;
        height: 300px;
    }

    #projects-page project-posts {
        justify-content: center;
        padding-bottom: 100px;
    }
}

@media(max-width: 600px) { /* Phone */
    #projects-page .filter-btn {
        height: 50px;
        width: 100%;
        font-size: 18px;
    }

    #projects-page project-filters {
        flex-wrap: wrap;
        gap: 15px;
    }

    #projects-page project-posts {
        top: 50px;
    }

    #projects-page .project-container {
        height: 250px;
    }
}

@media(max-width: 965px) {
    modal .content .popup-container .popup-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    modal .content .popup-container {
        width: 650px;
    }

    modal .content .popup-container popup-wrapper {
        height: 90%;
    }

    modal .content .popup-container popup-title .title h1 {
        font-size: 24px;
    }

    modal .content .popup-container .popup-content {
        top: 15px;
    }

    modal .content .popup-container .popup-content .popup-preview {
        width: 100%;
        height: 225px;
    }

    modal .content .popup-container .popup-content popup-right {
        margin-top: 25px;
    }

    modal .content .popup-container .popup-content .popup-tags p {
        font-size: 16px !important;
    }

    #project-description {
        display: none;
    }
}

@media(max-width: 500px) {
    modal .content .popup-container .popup-content .popup-preview {
        min-width: 50%;
        height: 195px;
    }

    modal .content .popup-container .popup-content popup-left {
        width: 100%;
    }

    modal .content .popup-container popup-wrapper {
        width: 75%;
    }

    modal .content .popup-container .popup-content {
        top: 35px;
    }

    #projects-page .project-details-date {
        padding: 5px 20px 5px 20px;
    }
}