#resume {

    .resume-heading {
        display: grid;
        gap: 10px;
        margin-top: 40px;

        span:first-child {
            color: var(--color-primary);
            font-size: 14px;
            letter-spacing: 2px;
            font-weight: 500;
            text-transform: uppercase;
        }

        span:last-child {
            font-size: 36px;
            font-weight: 700;
            line-height: 62px;
            color: var(--color-lightn);               
        }
    }

    .inner {
        display: grid;
        gap: 20px;
        margin-top: 50px;
    }

    .tabby {
        box-shadow: var(--shadow-1);
        background-color: var(--background-color-1);
        border-radius: 10px;
        width: 100%;
        padding: 0;
        height: fit-content;
        display: grid;
        border: none;
        outline: none;

        @media screen and (min-width: 980px) {
            grid-auto-flow: column;
            position: sticky;
            top: 0;           
        }   

        .tab {
            cursor: pointer;
            border: none;
            font-size: 18px;
            color: var(--color-light);
            height: 90px;
            border-radius: 10px;
            padding: 15px 20px;
            width: 100%;
            display: flex;
            margin: 0;
            align-items: center;
            transition: 0.3s;
            justify-content: center;

            &.active {
                position: relative;
            }

            &.active,
            &:hover {
                box-shadow: var(--shadow-1);
                color: var(--color-primary);
                background-color: #212428;
            }
        }
    }

    .content {
        display: none;

        &.active {
            display: block;
        }
    }
}


#resume-experience {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;

    @media screen and (max-width: 980px) {
        grid-template-columns: 1fr;

        .column:last-child .resume-heading {
            margin-top: 0px;
        }       
    }      
}


.experience-list {
    padding-left: 31px;
    border-left: 5px solid #17191c;

    .resume-single-list {
        position: relative;
        z-index: 1;
        margin-top: 50px;
        padding: 45px 40px;
        border-radius: 6px;
        background: var(--background-color-1);
        box-shadow: var(--shadow-1);
        transition: var(--transition);

        &:hover {
            background: #212427;

            .context::after {
                background: var(--color-primary) !important;
            }            

            h4,
            .list-sub-title {
                color: #fff !important;
            }

            .description {
                color: var(--color-heading) !important;
            }
        }

        &:before {
            content: "";
            position: absolute;
            transition: var(--transition);
            width: 100%;
            height: 100%;
            border-radius: 6px;
            top: 0;
            left: 0;
            background: linear-gradient(to right bottom, #212428, #16181c);
            opacity: 0;
            z-index: -1;
        }        

        .context {
            &:before {
                position: absolute;
                content: "";
                width: 28px;
                height: 5px;
                right: 100%;
                top: 63px;
                transform: translateY(-7px);
                background: #1b1c1d;
                z-index: 0;
            }

            &:after {
                position: absolute;
                content: "";
                width: 20px;
                height: 20px;
                border: 5px solid #17191c;
                border-radius: 100%;
                left: -43.5px;
                top: 55px;
                transform: translateY(-7px);
                background: #222529;
                transition: var(--transition);
            }

            .heading {
                display: flex;
                align-items: center;
                justify-content: space-between;
                border-bottom: 1px solid #1a1d23;
                padding-bottom: 20px;
                margin-bottom: 20px;

                .title {
                    margin-bottom: 15px;

                    h4 {
                        color: var(--color-lightn);
                        font-family: var(--font-primary);
                        font-size: 24px;
                        line-height: 28px;
                        margin-bottom: 10px;
                        font-weight: 500;
                        transition: var(--transition);
                        margin-top: 0;
                        text-align: left;
                    }

                    span {
                        color: var(--color-body);
                        display: block;
                        font-size: 14px;
                        text-align: left;
                    }
                }   

                .date-of-time span {
					display: block;
					font-size: 31px;
					background: linear-gradient(145deg, #fff, var(--color-primary) 50%);
					background-clip: text;
					color: transparent;					
					transition: var(--transition);
					font-weight: 500;
                }

            }

            p {
                font-size: 18px;
                line-height: 28px;
                color: var(--color-body);
                transition: var(--transition);
                margin-bottom: 0;
            } 
        }
    }
}




#resume-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    
    @media screen and (max-width: 980px) {
        grid-template-columns: 1fr;
    } 
    
    .item {
		position: relative;
		border-radius: 20px;
		background: var(--background-color-1);
		box-shadow: var(--shadow-1);
		position: relative;
		z-index: 1;
		transition: 0.5s all ease-in-out;

        .wrap {
            width: 100%;
            height: 100%;
            position: relative;
        }
        
		.image {
			overflow: hidden;
			border-radius: 10px;
			padding: 30px;
			text-align: center;
			display: flex;
			align-items: center;
			height: 100%;

			img {
				margin-inline: auto;
				display: block;
				transition: all 0.25s;
			}
		}   
        
        .context {
            text-align: center;
            padding: 25px;
            box-sizing: border-box;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
            display: grid;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transform: scale(0.95);
            opacity: 0;
            transition: all 0.3s;
            
            span:first-child {
                font-size: 24px;
                line-height: 1.2;
                font-weight: 600;
                color: var(--color-primary);
            }

            span:last-child {
                line-height: 1.2;
            }
        }
        
        &:hover {
            img {
                opacity: 0.1;
                transform: scale(1.1);
            }
            
            .context {
                opacity: 1;
                transform: scale(1);
            }
        }
    }
}



#resume-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
    
    @media screen and (max-width: 980px) {
        grid-template-columns: 1fr;
    }  
    
    .item {
        .context {
            display: flex;

            span {
                margin-bottom: 15px;
                color: #c3cedd;
                font-size: 12px;
                text-transform: uppercase;
                letter-spacing: 2px;
                opacity: 0.9;
                font-weight: 400;
            }

            span:last-child {
                margin-left: auto;
            }
        }

        &.is-animation {
            .progress .bar {
                width: var(--percent);
            }
        }

        .progress {
            position: relative;
            height: 13px;
            overflow: hidden;
            font-size: 14px;
            border-radius: 10px;
            padding: 3px;
            background: #212428;
            box-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.4588235294), inset -8px -8px 16px rgba(56, 62, 69, 0.4588235294);

            .bar {
                width: 0%;
                overflow: hidden;
                position: relative;
                border-radius: 14px;
                background: linear-gradient(145deg, var(--color-primary-gradient-from) 0%, #fff 100%);
                transition: width 0.5s ease-in-out;
                height: 6px;
            }
        }
    }
}