﻿/* PROJECT SECTION */
.project-section {
    position: relative;
    margin: 0;
    padding: 64px 100px;
    overflow: hidden;
    box-sizing: border-box;
}

.my-work {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 64px 0;
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.my-work h1 {
    color: #5988FF;
    font-family: 'Baloo 2', sans-serif;
    font-size: 96px;
    font-weight: 700;
    font-style: normal;
    line-height: 100%;
    letter-spacing: 1%;
    margin: 0;
}

.my-work h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 0%;
    padding-top: 24px;
}


.project {
    display: flex;
    flex-direction: row;
    gap: 84px;
    position: relative;
    z-index: 1;
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.project,
.project {
    margin-top: 124px;
}

.project--reverse {
    flex-direction: row-reverse;
}

.project h2 {
    font-family: 'Baloo 2', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 45px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #5988FF;
}

.project h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #5988FF;
}

.project h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
}

.project-image {
    width: 50%;
    z-index: 999;
    display: flex;
    justify-content: end;
}

.project-image img {
    transition: transform 0.1s ease;
    transform-origin: bottom center;
    width: 600px;
    box-shadow: 5px 5px 15px 0px #00000026;
}

.project-image img:hover {
    transform: scale(1.2);
}

.pollo-loco-image {
    justify-content: start !important;
}

.project-description {
    width: calc(50% - 84px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 12px;
}

.project-pollo-loco {
    align-items: flex-end !important;
}

.project-description h2 {
    margin-bottom: 16px;
}

.project-description h3 {
    margin-top: 0;
    margin-bottom: 16px;
}

.project-description h4 {
    margin-top: 0;
    text-align: start;
}

.project-pollo-loco h4 {
    text-align: end;
}

.ellipse-4 {
    position: absolute;
    top: 600px;
    left: max(-96px, calc((100vw - var(--content-max-width)) / 2 - 96px));
    width: 256px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(74.22% 74.22% at 19.79% 22.42%, #5988FF 6.25%, #5988FF 51.56%, #0043F0 100%);
}

.ellipse-7 {
    position: absolute;
    top: 56px;
    left: max(598px, calc((100vw - var(--content-max-width)) / 2 + 713px));
}

.ellipse-8 {
    position: absolute;
    top: 164px;
    right: max(148px, calc((100vw - var(--content-max-width)) / 2 + 148px));
}

.ellipse-9 {
    position: absolute;
    top: 900px;
    right: max(-180px, calc((100vw - var(--content-max-width)) / 2 - 180px));
    width: 420px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(74.22% 74.22% at 19.79% 22.42%, #5988FF 6.25%, #5988FF 51.56%, #0043F0 100%);
}

.ellipse-10 {
    position: absolute;
    top: 1380px;
    left: max(100px, calc((100vw - var(--content-max-width)) / 2 + 100px));
}

.ellipse-11 {
    position: absolute;
    top: 1490px;
    left: max(100px, calc((100vw - var(--content-max-width)) / 2 + 100px));
}

.ellipse-12 {
    position: absolute;
    top: 1790px;
    right: max(100px, calc((100vw - var(--content-max-width)) / 2 - 100px));
}

.btn.mobile-btn {
    display: none;
}

@media (max-width: 1024px) {
    .project-section {
        padding: 100px 16px;
    }

    .project {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: 96px;
    }

    .project-image {
        width: 100%;
        justify-content: center !important;
    }

    .project-image img {
        width: 100%;
        max-width: 600px;
    }

    .my-work h1 {
        font-size: 64px;
    }

    .project-description {
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .project-pollo-loco {
        align-items: center !important;
    }

    .project-description h2 {
        font-size: 45px;
        margin-bottom: 8px;
    }

    .project-description h3 {
        margin-bottom: 12px;
    }

    .project-description h4,
    .project-pollo-loco h4 {
        max-width: 360px;
        margin-bottom: 28px;
        text-align: center;
    }

    .btn-container {
        display: flex;
        flex-direction: row;
        gap: 48px;
        justify-content: center;
    }

    .btn-container .btn {
        min-width: 112px;
        min-height: 56px;
        padding: 00px 15px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.15;
        text-align: center;
    }

    .btn.mobile-btn {
        display: inline-flex;
        color: white;
        background-color: #5988FF;
    }

    .ellipse-4 {
        top: 700px;
        left: 0;
        width: 100px;
    }

    .ellipse-7 {
        right: 45px;
        left: auto;
        width: 45px;
        height: 45px;
    }

    .ellipse-9 {
        top: 1300px;
        right: -140px;
        width: 256px;
    }

    .ellipse-12 {
        bottom: 284px;
        right: -32px;
        width: 64px;
        height: auto;
        top: auto;
    }

    .ellipse-8,
    .ellipse-10,
    .ellipse-11 {
        display: none;
    }
}

@media (max-width: 420px) {
    .project-section {
        padding: 64px 18px;
    }

    .my-work {
        padding: 40px 0;
    }

    .my-work h1 {
        font-size: 52px;
    }

    .my-work h2 {
        font-size: 16px;
    }

    .project {
        margin-top: 72px;
    }

    .project-description h2 {
        font-size: 34px;
    }

    .project-description h3 {
        font-size: 18px;
    }

    .project-description h4,
    .project-pollo-loco h4 {
        max-width: 100%;
        font-size: 15px;
    }

    .btn-container {
        gap: 18px;
        flex-wrap: wrap;
    }

    .btn-container .btn {
        min-width: 104px;
        min-height: 48px;
        padding: 0 12px;
    }
}

