* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Background styling */
.mybg {
	background: linear-gradient(135deg, #89CFF0, #D8BFD8, #ECEFF1);

    
    font-family: Helvetica, sans-serif;
    padding: 40px 0;
}

/* Timeline container */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

/* Vertical timeline line */
.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Timeline container */
.container1 {
    padding: 15px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* Timeline circles */
.container1::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -12px;
    background-color: white;
    border: 4px solid #FF9F55;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

.container1:hover::after {
    transform: scale(1.2);
}

/* Left side styling */
.left {
    left: 0;
}

/* Right side styling */
.right {
    left: 50%;
}

/* Arrow indicators */
.left::before, .right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 25px;
    width: 0;
    z-index: 1;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.left::before {
    right: 30px;
}

.right::before {
    left: 30px;
    transform: rotate(180deg);
}

/* Fix circle position for right-side items */
.right::after {
    left: -12px;
}

/* Content box */
.content1 {
    padding: 20px 30px;
    background: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.container1:hover .content1 {
    transform: scale(1.05);
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 30px;
    }

    .container1 {
        width: 100%;
        padding-left: 50px;
        padding-right: 20px;
    }

    .container1::before {
        left: 40px;
    }

    .left::after, .right::after {
        left: 15px;
    }

    .right {
        left: 0%;
    }
}
