.upgrade_section{
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    padding-top: 150px;
    padding-bottom: 150px;
    padding-left: 18%;
    padding-right: 18%;
    overflow: hidden;
}

/* --- upgrade section decoration --- */

.upgrade_section_decoration{
    width: 625px;
    height: fit-content;
    max-width: 100%;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}

.upgrade_section_decoration.visible img:last-of-type{
    transform: translateY(100px);
    opacity: 0;
}

/* core */

.upgrade_section_decoration img:first-of-type{
    width: 100%;
    height: fit-content;
    position: relative;
    z-index: 1;
}

/* overlay */

.upgrade_section_decoration img:last-of-type{
    width: 100%;
    height: fit-content;
    will-change: transform;
    transform-origin: top left;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: 1s cubic-bezier(0.445, 0.05, 0.55, 0.95); 
}

/* --- upgrade section benefits --- */

.upgrade_section_benefits{
    width: 600px;
    height: fit-content;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 40px;
}

/* --- Benefit --- */

.upgrade_section_benefits div{
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* icon */

.upgrade_section_benefits div img{
    width: 26px;
    height: 26px;
}

/* title */

.upgrade_section_benefits div p:first-of-type{
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: var(--text2);
}

/* text */

.upgrade_section_benefits div p:last-of-type{
    width: 100%;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    color: var(--text3);
}


/* --- MEDIA --- */

@media screen and (max-width: 1000px) {
    
    .upgrade_section_benefits{
        width: 100%;
        margin-top: 60px; 
        flex-direction: column;
        gap: 60px;
    }

    /* text */

    .upgrade_section_benefits div p:last-of-type{
        width: 300px;
    }
}

@media screen and (max-width: 820px) {
    
    .upgrade_section{
        padding-top: 90px;
        padding-bottom: 90px;
        padding-left: 8%;
        padding-right: 8%;
    }
}

@media screen and (max-width: 400px) {
    
    .upgrade_section_benefits div p:last-of-type{
        width: 90%;
    }
}