.background {
    background-image: url('./assets/space_illustration.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section_text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #686868;
}

#hero_section {
    position: relative;
    justify-items: start;
    text-align: left;
    gap: 2.5rem;
    /* overflow-x: hidden; */
}

img {
    max-width: 100%;
}

/* #hero_section::after {
    content: '';
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    right: 0;
    height: 400px;
    width: 100vw;
    background-image: url('./assets/space_illustration_m.png');
    background-repeat: no-repeat;
    background-size: 400px;
    background-position: -10% 20%;
} */


.heading_two {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 600;
}

.heading_two span {
    color: #20C997;
    position: relative;
}

.heading_two span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #20C997;
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

#hero_section .paragraph_one {
    margin-top: 120px;
    position: relative;
}

#hero_section .paragraph_one::after {
    content: url('./assets/rocket_m.png');
    position: absolute;
    height: 80px;
    top: -90px;
    right: 0;
}

.paragraph_one {
    margin-inline: 0;
}

.screens_container {
    display: none;
}

#how_gg {
    background-color: #fff;
    color: #000;
    text-align: left;
    justify-content: start;
    padding-block: 5rem;
    /* overflow-x: hidden; */
}

.how_grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.how_item .item_img {
    padding: 2rem;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: max-content;
}


.item_img:nth-of-type(2) {
    /* transform: scale(1.5); */
}

.how_item .how_title {
    color: #1A1A1A;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.how_item .how_title_green::before {
    content: '';
    position: absolute;
    width: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 100%;
    background-color: #20C997;
    opacity: 0.15;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.how_item .how_title_yellow::before {
    content: '';
    position: absolute;
    width: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 100%;
    background-color: #FEDB00;
    opacity: 0.15;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
}

.how_title:nth-of-type() {
    background-color: #FEF7CB;
}

.how_item {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    color: #686868;
}


#why_gg {
    padding-block: 5rem;
    text-align: left;
    justify-content: start;
}

.why_grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    position: relative;
}

#why_gg .heading_two {
    position: sticky;
    top: 60px;
    z-index: 100;
    padding-top: .5rem;
    padding-bottom: 3rem;
    max-width: 100%;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0.03) 100%);
}

.why_images {
    position: relative;
}

.why_images img {
    position: sticky;
    top: 20%;
    max-width: 100%;
}

.why_item {
    height: 40rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.why_item .why_title {
    font-size: 1.75rem;
    font-weight: 700;
}

.why_item .why_text {
    font-size: 1.75rem;
    line-height: 1.6;
    color: #8B8B8B;
}

#lets_talk_btn {
    position: sticky;
    bottom: 40px;
}


#what_gg {
    background-color: #fff;
    color: #000;
    text-align: left;
}

.what_grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-start: 2rem;
    background-color: #F6F6F6;
    padding-block: 2rem;
}

.what_item {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-block-end: 1.5rem;
}

.item_img_container {
    margin-bottom: -0.5rem;
}

.item_desc {
    position: relative;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    max-width: 40ch;
}

.item_dark {
    background-color: #20C997;
    color: #000;
}

.item_dark::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 3%;
    top: -12%;
    border: 2px dashed #20C997;
    border-radius: 0.5rem;
}

.item_light {
    background-color: #FEDB00;
    color: #000;
}

.item_light::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 3%;
    top: -12%;
    border: 2px dashed #FEDB00;
    border-radius: 0.5rem;
}

.item_black {
    background-color: #000;
    color: #fff;
}

.item_black::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    left: 3%;
    top: -12%;
    border: 2px dashed #000;
    border-radius: 0.5rem;
}

.what_item .item_title {
    font-size: 1.5rem;
    font-weight: 600;
    /* margin-block-end: 1.125rem; */
}

.what_item .item_text {
    line-height: 1.5;
}

#process_gg {
    text-align: left;
}

.process_grid {
    display: grid;
    /* grid-gap: 5rem; */
    margin-top: 0.5rem;
    padding: 16px;
    grid-template-columns: repeat(auto-fill, minmax(50ch, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(50ch, 1fr);
    overflow-x: auto;
}

.process_grid::-webkit-scrollbar {
    height: 5px;
}

/* Track */
.process_grid::-webkit-scrollbar-track {
    background: #1A1A1A;
}

/* Handle */
.process_grid::-webkit-scrollbar-thumb {
    background: #20C997;
    border-radius: 4px;
}

/* Handle on hover */
.process_grid::-webkit-scrollbar-thumb:hover {
    background: #FEDB00;
}


.process_item {
    width: 40ch;
    grid-row: 1;
    grid-column: auto;
    padding-bottom: 5rem;
    padding-top: 7rem;
}

.process_img_container {
    padding: 1.625rem;
    border-radius: 1rem;
    display: grid;
    justify-content: center;
    align-content: center;
    max-width: max-content;
}

.process_img_container img {
    width: 3rem;
}

.process_green {
    background-color: #ABFFE6;
}

.process_yellow {
    background-color: #FFF7C6;
}

.process_desc {
    position: relative;
}

.process_desc .step_count {
    position: absolute;
    z-index: -10;
    font-size: 5rem;
    font-weight: 600;
    right: 40%;
    top: -30%;
    opacity: .15;
}

.process_desc .down_curve {
    position: absolute;
    z-index: -10;
    right: -50%;
    bottom: -4rem;
    opacity: .5;
}

.process_desc .up_curve {
    position: absolute;
    z-index: -10;
    right: -50%;
    top: -100%;
    opacity: .5;
}

.process_desc .item_title {
    margin-top: 1rem;
    margin-bottom: 2.875rem;
    font-size: 1.625rem;
    font-weight: 700;
}

.process_desc .item_text {
    font-size: 1.125rem;
    line-height: 1.5;
    color: #8B8B8B;
}

#tech_gg {
    background-color: #fff;
    color: #000;
}

#app_idea_section {
    text-align: left;
    width: 100%;
    justify-content: start;
    padding-block: 7rem;
    background-image: url(assets/app_idea.png);
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}


@media screen and (min-width:900px) {
    #hero_section {
        grid-template-columns: 35% auto;
    }

    /* #hero_section::after {
        content: '';
        z-index: -99;
        position: absolute;
        top: 0px;
        left: 150px;
        transform: translateY(0);
        max-width: 90%;
        max-height: 100%;
        background-image: url('');
        background-repeat: no-repeat;
        background-size: 80%;
        background-position: -10% 20%;
    
}

*/
    #hero_section .heading_two {
        font-size: 3.75rem;
        line-height: 1.1;
        font-weight: 600;
        width: 15ch;
    }

    #hero_section .paragraph_one {
        margin-top: 50px;
        position: relative;
    }

    #hero_section .paragraph_one::after {
        content: url('./assets/rocket_m.png');
        position: absolute;
        top: -70px;
        right: -100px;
    }

    .screens_container {
        display: flex;
        margin-top: -10px;
        justify-content: center;
    }

    .screens_container img {
        max-width: 100%;
        max-width: max(45vw, 500px);
        object-fit: contain;
    }

    .how_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .how_item .item_img::before {
        content: url(./assets/ring.svg);
        position: absolute;
        inset: 0;
        top: -20%;
    }

    .why_grid {
        grid-template-columns: 1fr 0.75fr;
    }



    .item_dark::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #20C997;
        left: -9px;
        top: 50%;
        transform: translateY(-50%);
    }

    .item_light::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #FEDB00;
        left: -9px;
        top: 50%;
        transform: translateY(-50%);
    }

    .item_black::after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid #000;
        left: -9px;
        top: 50%;
        transform: translateY(-50%);
    }

    .what_grid {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin-block-start: 2rem;
        background-color: #F6F6F6;
        padding-inline: 2rem;
        margin-block-end: 0;
        gap: 4rem;
    }

    .what_item {
        display: flex;
        flex-direction: row;
        text-align: center;
        align-items: center;
        margin-block-end: 0;
    }

    .item_img_container {
        margin-bottom: 0;
        margin-right: 1.25rem;
    }
}

@media screen and (max-width:500px) {
    #app_idea_section {
        background: none;
    }
}