.portfolio_section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 109px;
    padding-bottom: clamp(60px, 10vh, 120px);
    position: relative;
    width: 100%;
    background-color: #141D2F;
    isolation: isolate;
}

.portfolio_section h1 {
    font-size: clamp(45px, 8vw, 90px);
    font-weight: 700;
    line-height: 120%;
}

.dNonePortfolio {
    display: none !important;
}

.project-headline-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: clamp(15px, 3vh, 20px);
    margin-bottom: clamp(30px, 5vh, 40px);
}

.headline_container {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 32px);
    margin-bottom: clamp(20px, 4vh, 40px);
}

.headline_span {
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 120%;
    font-weight: 400;
    width: 100%;
    max-width: 473px;
    position: relative;
    left: clamp(0px, 8vw, 100px);
}

.project-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(30px, 4vw, 40px);
    justify-content: center;
    max-width: 1286px;
    width: 100%;
}

.project_container {
    width: clamp(300px, 90vw, 603px);
    height: clamp(300px, 90vw, 603px);
    border: solid 1px #70E61C;
    border-radius: clamp(15px, 2vw, 20px);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #141D2F;
}

.project-container-img {
    width: 750px;
    height: 600px;
    transition: all 0.3s ease;
    object-fit: cover;
}

.zoomed {
    width: 1440px;
    height: 1500px;
    transition: all 0.3s ease;
    opacity: 0.3;
}

.overlay {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: clamp(300px, 60vw, 550px);
    gap: 74px;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    z-index: 10;
    box-sizing: border-box;
}

.button_container {
    display: flex;
    justify-content: space-evenly;
    gap: clamp(10px, 2vw, 20px);
    flex-wrap: wrap;
}

.portfolio_section button {
    cursor: pointer;
    color: white;
    height: clamp(48px, 6vw, 58px);
    width: clamp(130px, 20vw, 160px);
    border-radius: clamp(8px, 1vw, 10px);
    padding: clamp(12px, 1.5vh, 15px) clamp(20px, 3vw, 30px);
    font-size: clamp(16px, 2.5vw, 23px);
    line-height: 120%;
    margin-top: clamp(15px, 2vh, 20px);
    transition: all 0.3s ease;
}

.git_button {
    background-color: transparent;
    border: solid 1px #1ddae6;
    cursor: pointer;
    color: white;
    height: 58px;
    width: clamp(120px, 18vw, 137px);
    border-radius: clamp(8px, 1vw, 10px);
    padding: clamp(12px, 1.5vh, 15px) clamp(20px, 3vw, 30px);
    font-size: clamp(16px, 2.5vw, 23px);
    line-height: 120%;
    margin-top: clamp(15px, 2vh, 20px);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.git_button:hover {
    background-color: #1ddae6;
    transform: scale(1.05);
}

.live_button {
    background-color: #9747FF;
    border: none;
    cursor: pointer;
    color: white;
    height: 58px;
    width: clamp(130px, 20vw, 152px);
    border-radius: clamp(8px, 1vw, 10px);
    padding: clamp(12px, 1.5vh, 15px) clamp(20px, 3vw, 30px);
    font-size: clamp(16px, 2.5vw, 23px);
    line-height: 120%;
    margin-top: clamp(15px, 2vh, 20px);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.live_button:hover {
    background-color: #70E61C;
    transform: scale(1.05);
}

.info_container {
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: auto;
    min-height: 374px;
    padding: 40px;
    padding-top: 0px;
    padding-bottom: 0;
    border-top-left-radius: clamp(20px, 3vw, 30px);
    border-top-right-radius: clamp(20px, 3vw, 30px);
    border-bottom-left-radius: clamp(15px, 2vw, 20px);
    border-bottom-right-radius: clamp(15px, 2vw, 20px);
}

.portfolio_section h2 {
    color: #9747FF;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    text-align: center;
}

.project-description {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 125%;
    text-align: center;
    padding: 0 clamp(10px, 2vw, 20px);
}

.used-skills {
    color: #70E61C;
    font-size: clamp(14px, 2vw, 18px);
}

.portfolio-section-shadows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10;
}

.blue-shadow {
    position: absolute;
    bottom: 60%;
    right: clamp(-500px, -30vw, -350px);
    width: clamp(400px, 60vw, 740px);
    height: clamp(450px, 65vw, 800px);
    z-index: -1;
    pointer-events: none;
}

.green-shadow {
    position: absolute;
    top: 57%;
    left: clamp(-600px, -40vw, -514px);
    width: clamp(450px, 65vw, 800px);
    height: clamp(500px, 70vw, 870px);
    z-index: -1;
    pointer-events: none;
}

/* ⚠️ MEDIA QUERY - 768px - Tablet */
@media(max-width: 768px) {
    .headline_span {
        padding-right: 46px;
    }

    .button_container {
        align-items: center;
    }
}

@media(max-width: 630px) {
    .project-container-img {
        height: 400px;
        width: 500px;
    }

    .zoomed {
        height: 1440px;
        width: 1500px;
    }
}

@media (max-width: 580px) {
    .info_container {
        padding-top: 35px;
        justify-content: normal;
        gap: 30px;
    }
}

/* ⚠️ MEDIA QUERY - 480px - Mobile */
@media(max-width: 480px) {
    .portfolio_section h1 {
        font-size: 42px;
    }

    .headline_container {
        margin-bottom: 20px;
    }

    .project-container-img {
        height: 300px;
        width: 400px;
    }

    .zoomed {
        height: 1040px;
        width: 1100px;
    }

    .overlay {
        gap: 65px;
    }

    .info_container {
        gap: 22px;
        padding: 24px 0px;
    }

    .portfolio_section h2 {
        font-size: 24px;
    }

    .project-description {
        font-size: 14px;
    }

    .button_container {
        gap: 10px;
    }

    .git_button,
    .live_button {
        width: 130px;
        height: 44px;
        font-size: 16px;
        padding: 10px 12px;
        margin-top: 10px;
    }
}

@media(max-width: 440px) {
    .info_container {
        gap: 20px;
        padding: 20px 0px;
    }
}

@media (max-width: 420px) {
    .portfolio_section h2 {
        font-size: 18px;
    }

    .overlay {
        top: 40px;
        gap: 50px;
    }
}

/* ⚠️ MEDIA QUERY - 375px - Small Mobile */
@media(max-width: 375px) {
    .portfolio_section h1 {
        font-size: 38px;
    }

    .project_container {
        min-width: 300px;
    }

    .project-wrapper {
        margin-left: 10px;
        margin-right: 10px;
    }

    .portfolio_section h2 {
        font-size: 22px;
    }

    .project-description {
        font-size: 12px;
        padding: 0 5px;
    }

    .overlay {
        top: 40px;
        gap: 35px;
    }
}