/* resume */

.resume {
    height: auto;
    width: 100%;
    background-color: white;
    padding-top: 17rem;
    padding-bottom: 17rem;
}

.resume-header {
    font-size: 9.6rem;
    font-weight: 400;
    line-height: 110%;
    font-family: 'Poppins', sans-serif;
    color: black;
    text-align: right;
}

/* new code  */
.resume-content-stats {
    display: flex;
    flex-direction: column;
    width: 50%; 
    position: relative; 
    align-self: flex-start;
}

.attract-client-desc {
    position: sticky;
    top: 10vh; 
    z-index: 10;
    width: 100%;
    max-width: 720px; 
    margin-bottom: 0; 
    padding-bottom: 40px;
}

.resume-box-row {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.resume-box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resume-box-title {
    font-size: 9.6rem;
    font-weight: 700;
    line-height: 1;
    color: black;
}
/*  new code */


.align-right {
    text-align: right;
}

.resume-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: black;
    font-family: 'Poppins', sans-serif;
    padding: 10rem 0;
    width: 100%;
}

.resume-content p {
    font-size: 2rem;
}

.resume-content .resume-content-hook {
    font-size: 6.4rem;
}

.resume-content-text {
    width: 40%;
    position: sticky;
    top: 10vh;
    align-self: flex-start;
}

.resume-content-boxes {
    width: 58%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    position: relative;
}

.resume-box {
    width: 33%;
/*     height: 41.5rem; */
    background-color: black;
    border: 0.2rem solid white;
    color: white;
/*     position: relative; */
    position: sticky; 
    top: 28vh;
}

.resume-box-skeleton {
    background-color: transparent;
}

 .resume-box:nth-of-type(1) {
    margin-top: 50rem;
} 

.resume-box:nth-of-type(2) {
    margin-top: 100rem;
}

.resume-box:nth-of-type(3) {
    margin-top: 150rem;
}

.resume-box-alt {
    width: 20rem;
    height: 20rem;
    background-color: black;
    border-top-right-radius: 12rem;
    border-bottom-right-radius: 12rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5rem;
    position: relative;
}

.resume-box-alt-gif-face {
    width: 10rem;
    height: 10rem;
    z-index: 1;
    position: relative;
}

.resume-box-alt-gif-back {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: 2;
    position: relative;
    border-top-right-radius: 12rem;
    border-bottom-right-radius: 12rem;
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    transition: all .3s ease-in-out forwards;
}

.resume-box-alt:hover .resume-box-alt-gif-back {
    visibility: visible;
}

.resume .resume-box-face-bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.resume-box-face-bg-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.resume-box-face-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.resume-box .resume-box-title {
    font-size: 9.6rem;
    font-weight: 400;
}



.resume-box .resume-box-face-sub-title {
    font-size: 6.4rem;
    font-weight: 800;
}

.resume-box-face,
.resume-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.resume-box-face {
    display: block;
    transition: all 0.3s ease-in-out;
}

.resume-box-back {
    background-color: white;
    color: black;
/*     border-top: 4px solid black; */
    display: none;
    /* transition: all 0.3s ease-in-out; */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.resume-box-back .resume-box-back-description {
    font-size: 1.4rem;
    color: #919191;
    margin-top: 2rem;
}

.resume-box-back .resume-box-back-description span {
    color: black;
}

.resume-box-face .resume-box-title {
    animation: move-down 0.6s ease-in-out forwards;
}

.resume-box-back .resume-box-title {
    font-weight: 800;
}


.resume-box:hover .resume-box-face {
    display: none;
}

.resume-box:hover .resume-box-back {
    display: block;
}

.resume-box:hover .resume-box-back .resume-box-title {
    animation: move-up 0.4s ease-in-out forwards;
}



.resume-box:hover {
    background-color: white;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 1024px) {
    .resume {
        padding: 12rem 0;
    }

    .resume-header {
        font-size: 7rem;
        text-align: left !important;
        color: black !important;
    }

    .resume-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .resume-content p {
        font-size: 2rem;
    }

    .resume-content .resume-content-hook {
        font-size: 5rem;
    }

    .resume-content-text {
        width: 100%;
        position: relative;
    }

    .resume-content-boxes {
        width: 100%;
        flex-wrap: wrap;
        gap: 0rem;
        height: auto;
        padding-bottom: 4rem;
    }

    .resume-box {
        width: 100%;
        height: 38rem;
        position: relative;
    }

    .resume-box:nth-of-type(1) {
        margin-top: 0rem;
        /* position: sticky; */
        /* top: 20vh; */
    }

    .resume-box:nth-of-type(2) {
        margin-top: 0rem;
        /* position: sticky; */
        /* top: 70vh; */
    }

    .resume-box:nth-of-type(3) {
        margin-top: 0rem;
        position: relative;
    }

    .resume-box-alt {
        width: 100%;
        margin-top: 0;
        border-top-right-radius: 0;
        height: 40rem;
        border-bottom-right-radius: 18rem;
        border-bottom-left-radius: 18rem;
    }

    .resume-box-alt-gif-face {
        width: 17.5rem;
        height: 17.5rem;
        transform: translateY(-1.5rem);
    }


    .resume-box .resume-box-title {
        font-size: 8rem;
    }

    .resume-box .resume-box-face-sub-title {
        font-size: 7rem;
    }


    .resume-box-back img {
        width: 15rem;
    }
}

@media (max-width: 500px) {
    .resume-header {
        font-size: 6rem;
        color: black;
    }
}

/* new code */
@media (max-width: 1024px) {
    .resume-content-stats {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        padding: 4rem 0;
		
    }

    .attract-client-desc {
        position: relative !important;
        top: 0 !important;
        max-width: 100% !important;
        padding-bottom: 3rem !important;
		margin-top: 5em;
    }

    .resume-box-row {
        flex-direction: column !important;
        gap: 4rem !important;
        width: 100% !important;
		margin-top: 12em;
    }

    .resume-box {
        position: relative !important;
        top: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        height: auto !important;
        background-color: transparent !important;
        border: none !important;
        color: black !important;
    }

    .resume-box-back {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        background-color: transparent !important;
    }

    .resume-box-title {
        font-size: 8rem !important;
        line-height: 1 !important;
    }

    .resume-box-back-description {
        font-size: 2rem !important;
        margin-top: 1rem !important;
        color: #6b6b6b !important;
    }
}
/* new code */