.webdev {
    height: 500px;
    width: 100%;
    background: url(images/pexels-goumbik-574071\ 2.09.37\ PM.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    text-align: center;
}

.heading-webdev {
    font-size: 60px;
    align-items: center;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.531);
    height: max-content;
    width: 1000px;
    border-radius: 20px;
    margin-top: 150px;
}

@media (max-width: 768px) {
    .heading-webdev {
        font-size: 30px;
        margin-top: 100px;
        width: 90%;
        padding: 20px;
    }
    .webdev {
        height: 300px;
    }
}

.about-webdev {
    display: flex;
    flex-direction: row;
    margin-top: 100px;
    background: linear-gradient(-45deg, #222222 0%, #000000 100%);
    height: 400px;
    width: 90%;
    box-shadow: 0 8px 16px rgb(0, 0, 0);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    border-radius: 20px;
    align-items: center;
}

.about-webdev img {
    height: 200px;
    margin-left: 50px;
    border-radius: 20px;
    box-shadow: 4px 8px 16px rgb(255, 255, 255);
    align-items: center;
}

@media (max-width: 768px) {
    .about-webdev {
        flex-direction: column;
        height: fit-content;
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }
    .about-webdev img {
        height: 100px;
        margin-top: 15px;
        margin-left: 0;
    }
}

.desc-webdev {
    width: 750px;
    padding-left: 50px;
}

.desc-webdev h1 {
    font-weight: 700;
    font-size: 40px;
    color: rgb(255, 255, 255);
}

.desc-webdev p {
    font-weight: 500;
    color: rgb(255, 255, 255);
}

@media (max-width: 768px) {
    .desc-webdev h1 {
        font-size: 25px;
        text-align: left;
        margin-top: 30px;
    }

    .desc-webdev p {
        font-size: 15px;
    }

    .desc-webdev {
        width: 100%;
        padding-left: 0;
        padding-top: 00px;
    }
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 10px auto;
}

.container {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    animation: movedown 1s linear forwards;
    opacity: 0;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 768px) {
    .timeline {
        width: 100%;
        padding: 0 20px;
    }
    .container {
        width: 100%;
        padding: 10px 20px;
    }
}

@keyframes movedown {
    0% {
        opacity: 1;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.container:nth-child(1) {
    animation-delay: 0s;
}

.container:nth-child(2) {
    animation-delay: 1s;
}

.container:nth-child(3) {
    animation-delay: 2s;
}

.container:nth-child(4) {
    animation-delay: 3s;
}

.container:nth-child(5) {
    animation-delay: 4s;
}

.container:nth-child(6) {
    animation-delay: 5s;
}

.text-box {
    padding: 20px 30px;
    background: rgb(245, 242, 242);
    position: relative;
    border-radius: 6px;
    font-size: 20px;
    height: max-content;
    width: 350px;
    box-shadow: 0 8px 16px rgb(0, 0, 0);
    transition: background-color 0.3s ease;
}

.left-container {
    left: 0;
}

.right-container {
    left: 50%;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 100%;
    background: black;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
    box-shadow: 0 8px 10px rgb(0, 0, 0);
}

@media (max-width: 768px) {
    .text-box {
        width: 100%;
        padding: 10px;
    }
    .right-container {
        left: 0%;
    }
    .timeline::after {
        left: 5%;
    }
}

@keyframes moveline {
    0% {
        height: 0;
    }
    100% {
        height: 100%;
    }
}

.text-box h2 {
    font-weight: 600;
}

.text-box small {
    display: inline-block;
    margin-bottom: 15px;
}

.left-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid black;
    right: -15px;
    transition: transform 0.3s ease;
}

.right-container-arrow {
    height: 0;
    width: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid black;
    left: -15px;
    transition: transform 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.text-box:hover {
    background-color: rgb(255, 255, 255);
}

.container:hover .left-container-arrow {
    transform: translateX(-5px);
}

.container:hover .right-container-arrow {
    transform: translateX(5px);
}












.slider {
	display: flex;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	padding: 2.5rem;
}
.item {
	animation: animate 25s linear infinite;
}
.item img
	{
		min-width: 200px;
		padding: 0 30px;
	}
/* .slider:hover .item {
	animation-play-state: paused;
} */
@keyframes animate {
	0% {
		transform: translate3d(0, 0, 0);
	}
	100% {
		transform: translate3d(-1800px, 0, 0);
	}
}