/* Buttons */
/* Inputs */
/* Timeline custom component */
.timeline {
    border-left: 2px solid #E6E9ED;
    padding: 1rem 0;
}

.timeline-card {
    position: relative;
    margin-left: 31px;
    border-left: 2px solid;
    margin-bottom: 2rem;
}

.timeline-card:last-child {
    margin-bottom: 1rem;
}

.timeline-card:before {
    content: '';
    display: inline-block;
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    width: 12px;
    height: 12px;
    top: 20px;
    left: -41px;
    border: 2px solid;
    z-index: 2;
}

.timeline-card:after {
    content: '';
    display: inline-block;
    position: absolute;
    background-color: currentColor;
    width: 29px;
    height: 2px;
    top: 25px;
    left: -29px;
    z-index: 1;
}

.timeline-card-primary {
    border-left-color: #4A89DC;
}

.timeline-card-primary:before {
    border-color: #4A89DC;
}

.timeline-card-primary:after {
    background-color: #4A89DC;
}

.timeline-card-success {
    border-left-color: #37BC9B;
}

.timeline-card-success:before {
    border-color: #37BC9B;
}

.timeline-card-success:after {
    background-color: #37BC9B;
}

html {
    scroll-behavior: smooth;
}

.site-title {
    font-size: 1.25rem;
    line-height: 2.5rem;
}

.nav-link {
    padding: 0;
    font-size: 1.25rem;
    line-height: 2.5rem;
    color: rgba(0, 0, 0, 0.5);
}

.nav-link:hover,
.nav-link:focus,
.active .nav-link {
    color: rgba(0, 0, 0, 0.8);
}

.nav-item + .nav-item {
    margin-left: 1rem;
}

.cover {
    border-radius: 10px;
}

.cover-bg {
    background-color: #4A89DC;
    background-image: url("images/04ef5e1743f2123165f573616c533885.jpg");
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.avatar {
    max-width: 216px;
    max-height: 216px;
    margin-top: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/*.avatar img {*/
/*  !* Safari 6.0 - 9.0 *!*/
/*  !*filter: grayscale(100%); }*!*/

footer a:not(.nav-link) {
    color: inherit;
    border-bottom: 1px dashed;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 48em) {
    .site-title {
        float: left;
    }

    .site-nav {
        float: right;
    }

    .avatar {
        margin-bottom: -80px;
        margin-left: 0;
    }
}

@media print {
    body {
        background-color: #fff;
    }

    .container {
        width: auto;
        max-width: 100%;
        padding: 0;
    }

    .cover, .cover-bg {
        border-radius: 0;
    }

    .cover.shadow-lg {
        box-shadow: none !important;
    }

    .cover-bg {
        padding: 5rem !important;
        padding-bottom: 10px !important;
    }

    .avatar {
        margin-top: -10px;
    }

    .about-section {
        padding: 6.5rem 5rem 2rem !important;
    }

    .skills-section,
    .work-experience-section,
    .education-section,
    .contant-section {
        padding: 1.5rem 5rem 2rem !important;
    }

    .page-break {
        padding-top: 5rem;
        page-break-before: always;
    }
}

.progress_text {
    color: #efefef;
}

.other_tech {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

@media (max-width: 700px) {
    .other_tech {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
}

.summary {
    margin-top: 48px;
}

.likes {
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.likes_title {
    text-align: center;
}

@media (max-width: 770px) {
    .likes {
        margin: 0px;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
}

.likes > div > strong {
    cursor: default;
    background: linear-gradient(
            to right,
            rgba(100, 200, 200, 1),
            rgba(100, 200, 200, 1)
    ),
    linear-gradient(
            to right,
            rgba(255, 0, 0, 1),
            rgba(255, 0, 180, 1),
            rgba(0, 100, 200, 1)
    );
    background-size: 100% 3px, 0 3px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 400ms;
}

.likes > div > strong:hover {
    background-size: 0 3px, 100% 3px;
}


.back_to_top {
    border-radius: 50%;
    display: inline-block;
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    text-align: center;
    /*border-radius: 4px;*/
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
    opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back_to_top > img {
    filter: contrast(0.1);
}

/*.back_to_top::after {*/
/*    font-weight: normal;*/
/*    font-style: normal;*/
/*    font-size: 2em;*/
/*    line-height: 50px;*/
/*    color: #fff;*/
/*}*/
.back_to_top>img:hover {
    cursor: pointer;
    filter: contrast(0.7);
    /*background-color: #333;*/
}
.back_to_top:active {
    background-color: #555;
}
.back_to_top-show {
    opacity: 1;
    visibility: visible;
}

/*Timeline*/
:root {
    --primary: #37a9e1;
    --primary-gradient: linear-gradient(45deg, #153c7e 0%, #37a9e1 100%);
}
.section-header {
    text-align: center;
}
.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}
.section-header hr {
    border: 1px solid #fff;
    width: 56px;
}
.bg-gradient_solid {
    background: var(--primary-gradient);
    color: #fff;
    padding: 48px 0;
}

.steps {
    position: relative;
    margin-top: 32px;
}
.steps::after {
    content: "";
    position: absolute;
    width: 1px;
    background-color: #1f23ff;
    opacity: 0.4;
    top: 0;
    bottom: 0;
    left: 50%;
}

.steps .content p {
    color: #676767;
    font-size: 16px;
}

.steps .content h2 {
    font-weight: 600;
    font-size: 16px;
    color: #676767;
}

.steps-container {
    position: relative;
    background-color: inherit;
    width: calc(50% + 32px);
}

.steps-container .content {
    /*min-width: 400px;*/
    padding: 32px;
    background-color: white;
    position: relative;
    border-radius: 50px 50px 50px 50px;
    box-shadow: 0px 16px 27px rgb(0 11 30 / 10%);
}

.steps .steps-container:nth-child(even) {
    left: calc(50% - 29px);
    flex-direction: row-reverse;
}

.steps-container {
    display: flex;
    justify-content: flex-end;
}

.steps .steps-container .date {
    font-weight: 900;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
    width: 62px;
    height: 62px;
    background-color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    align-items: center;
    display: flex;
    justify-content: center;
    z-index: 777;
}

.step-line {
    width: 40px;
    background-color: #313131;
    height: 1px;
    margin-top: 31px;
    opacity: 0.4;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .steps::after {
        left: 32px;
    }
    .steps-container {
        left: -10px;
        flex-direction: row-reverse;
        width: auto;
        margin-bottom: 16px;
    }
    .steps .steps-container:nth-child(even) {
        left: -10px;
    }
}

.steps-container h2, p {
    margin-bottom: 0px;
}

.boris {
    width: 60px;
}
