*{
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}
body {
    backdrop-filter: blur(5px);;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('mainback.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

/*     margin: 25px auto;  */
.timeline{
    position: relative;
    max-width: 1200px;
    margin: 25px auto;
    top: 25px;
}

/* margin-bottom: 120px;  */
.container{
    padding: 10px 50px;
    position: relative;
    width: 50%;
    margin-bottom: 60px;
    animation: movedown 1s linear forwards;
    opacity: 0;
}



@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;
}
.container:nth-child(7){
    animation-delay: 6s;
}
.container:nth-child(8){
    animation-delay: 7s;
}
.container:nth-child(9){
    animation-delay: 8s;
}
.container:nth-child(10){
    animation-delay: 9s;
}
.container:nth-child(11){
    animation-delay: 10s;
}

.container:nth-child(12){
    animation-delay: 11s;
}
.container:nth-child(13){
    animation-delay: 12s;
}
.container:nth-child(14){
    animation-delay: 13s;
}
.container:nth-child(15){
    animation-delay: 14s;
}
.container:nth-child(16){
    animation-delay: 15s;
}
.container:nth-child(17){
    animation-delay: 16s;
}




.text-box{
    padding: 40px 30px;
    background: #fff;
    position: relative;
    border-radius: 16px;
    font-size: 15px;
}

#TextAboutMe{
    height: 105%;
    padding: 40px 30px;
    background: url('headheader.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    align: center;
    border-radius: 6px;
    font-size: 30px;
    text-align: center;
    width:60%;
    right: -20%;

}

#TextAfterWords{
    opacity: 0.8;
    background: black;
    font-size: 15px;
    height: calc(100vh - 80vh);
    padding: 40px 30px;
    color: white;
    line-height: 1.5;
    height: 105%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    align: center;
    border-radius: 16px;
    text-align: center;
    width: 60%;
    right: -20%;
}

.left-container{
    left: 0;
}

.right-container{
    left: 50%;
}
.container img{
position: absolute;
width: 40px;
border-radius: 50%;
right: -20px;
top: 32px;
z-index: 10;
}


.right-container img{
    left: -20px;
}



.timeline::after{
    content: "";
    position: absolute;
    width: 6px;
    height: 100%;
    background: #c8a000;
    top: 0;
    left: 50%;
    margin-left: -3px;
    z-index: -1;
    animation: moveline 6s linear forwards;
}
@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;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    right: -15px;
}


.right-container-arrow{
    height: 0;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    left: -15px;
}

#myImageR, #myImageL {
    width: 400px; /* Ширина и высота одинаковы, делаем их квадратными */
    height: 193px;
    background-color: blue;
    border: 0px solid black;
    position: absolute;
    border-radius: 10%;
    z-index: 0;
    object-fit: cover; /* Заполняет контейнер, сохраняя пропорции и обрезая лишнее */
}

#myImageR {
    left: -450px;
    top: 10px;
    position: fixed;
}

#myImageL {
    left: 109%;
    top: 10px;
}

.mobile-container-arrow{
    height: 0;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid transparent;
    left: -15px;
}

@media screen and (max-width: 1500px){
    #TextAboutMe{
        height: 105%;
        padding: 40px 30px;
        background: url('headheadersmall.png');
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        align: center;
        border-radius: 35px;
        font-size: 30px;
        text-align: center;
        width:60%;
        right: -20%;

    }



@media screen and (max-width: 950px){
    #TextAboutMe{
    height: 105%;
    padding: 40px 30px;
    background: url('headheadermid.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    align: center;
    border-radius: 6px;
    font-size: 30px;
    text-align: center;
    width:60%;
    right: -20%;

    }

    .timeline{
        margin: 50px auto;
    }

    .timeline::after{
        left: 31px;
    }
    .container{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box{
        font-size: 13px;
    }
    .text-box small{
        margin-bottom: 10px;
    }
    .right-container{
        left: 0;
    }

    .left-container img, .right-container img{
        left: 10px;
    }
    .right-container-arrow{
        border-right: 15px solid transparent;
        border-left: 0;
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        left: -15px;
    }
    .left-container-arrow{
        border-right: 15px solid transparent;
        border-left: 0;
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        left: -15px;
        right: 400px;
        rotate: 180deg;
    }

    .mobile-container-arrow{
        border-right: 15px solid #fff;
    }
}

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

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


.left-container-arrow{
    height: 0;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    right: -15px;
}


.right-container-arrow{
    height: 0;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    left: -15px;
}


.mobile-container-arrow{
    height: 0;
    weight: 0;
    position: absolute;
    top: 28px;
    z-index: 1;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid transparent;
    left: -15px;
}


@media screen and (max-width: 850px){
    .timeline{
        position: relative;
        max-width: 1200px;
        margin: 10px auto;
        top: 25px;
    }

/* margin-bottom: 120px;  */
    .container{
        padding: 10px 50px;
        position: relative;
        width: 50%;
        margin-bottom: 35px;
        animation: movedown 1s linear forwards;
        opacity: 0;
    }

    #TextAboutMe{
        height: 105%;
        padding: 40px 30px;
        background: url('headheadermicro.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: fixed;
        position: relative;
        align: center;
        border-radius: 35px;
        font-size: 30px;
        text-align: left;
        width:60%;
        right: -20%;

    }

    .timeline{
        margin: 50px auto;
    }

    .timeline::after{
        left: 31px;
    }
    .container{
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    .text-box{
        font-size: 13px;
    }
    .text-box small{
        margin-bottom: 10px;
    }
    .right-container{
        left: 0;
    }

    .left-container img, .right-container img{
        left: 10px;
    }
    .right-container-arrow{
        border-right: 15px solid transparent;
        border-left: 0;
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        left: -15px;
    }
    .left-container-arrow{
        border-right: 15px solid transparent;
        border-left: 0;
        border-bottom: 15px solid transparent;
        border-top: 15px solid transparent;
        left: -15px;
        right: 400px;
        rotate: 180deg;
    }

    .mobile-container-arrow{
        border-right: 15px solid #fff;
    }
}

.desailink img{
	width: 10px;
	height: 10px;
}
