section img {
    max-width: 100%;
    max-height: 100%;
}

.img-box img,
.img-box span {
    transition: all .3s;
    position: absolute;
    max-width: none;
    max-height: none
}

.profile {
    overflow-x: hidden;
    padding: 40px 0;
    font-size: 20px;
    line-height: 1.4;
    color: #2D3138;
}

.profile h1 {
    font-size: 35px;
    font-weight: 700;
    color: #2D3138;
    margin-bottom: 0;
    margin-top: 35px;
    line-height: 1.1;
    text-transform: none;
}

.profile h1 span {
    color: #A9B8FF;
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile h1 span span {
    font-size: 31px;
    color: #fff;
    background: #6984FF;
    border-radius: 14px;
    text-transform: lowercase;
    font-weight: 400;
    padding: 0 8px;
}

.profile h2 {
    font-size: 44px;
    font-weight: 700;
    color: #2D3138;
    margin-bottom: 15px;
    line-height: 1.1;
    text-align: left;
    width: 100%;
}

.profile h3 {
    font-size: 23px;
    margin-bottom: 0;
    text-transform: none;
}

.profile h4 {
    font-size: 25px;
    text-transform: none;
    line-height: 1.2;
}

.profile .btn {
    font-size: 16px;
    font-weight: 700;
    line-height: .7;
    padding: 22px 0;
    width: 340px;
    position: relative;
}

.profile .btn img {
    position: absolute;
    top: 11px;
    right: -80px;
}

.profile .container {
    display: flex;
    justify-content: space-between;
    border-radius: 30px;
    flex-wrap: wrap;
    padding: 0;
    position: relative;
    flex-direction: row;
    align-items: flex-start;
}

.profile p img {
    vertical-align: middle !important;
}

.profile video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile .watch_video {
    top: auto !important;
    bottom: 20px !important;
}

.profile .video_title {
    position: absolute;
    color: #fff;
    top: 10px;
    left: 10px;
}

.video_items {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 290px;
    height: 493px;
} 

.profile video {
    max-height: 100%;
    width: 100%;
    border-radius: 19px;
    height: 100%;
    object-fit: cover;
}

.profile .watch_video {
        position: absolute;
    left: 0px;
    right: 0px;
    margin-right: auto;
    margin-left: auto;
    padding: 0px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-transform 0.2s 
ease-out, background-color 0.3s 
ease-out, color 0.3s 
ease-out;
    -webkit-transition: transform 0.2s 
ease-out, background-color 0.3s 
ease-out, color 0.3s 
ease-out;
    transition: transform 0.2s 
ease-out, background-color 0.3s 
ease-out, color 0.3s 
ease-out;
    -webkit-animation: 0.3s lbWRkT 
ease-out;
    animation: 0.3s lbWRkT 
ease-out;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 100;
    height: 50px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: normal;
    color: rgba(14, 18, 33, 1);
    background: rgba(255, 255, 255, 0.7);
    width: 80%;
    max-width: 200px;
    bottom: auto;
    text-decoration: none;
    top: 405px;
}

.profile .watch_video:hover {
    transform: scale(1.1);
    background: r:255px;
}

.hero.profile {
    /*padding: 30px;*/
}

.profile .resume {
    width: 100%;
    background: #fff;
    border-radius: 22px;
    border: 2px solid #FFEEC5;
    position: relative;
    padding: 35px;
}

.profile .resume-top {
    padding-left: 200px;
    height: 170px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.profile .resume-top > img {
    width: 170px;
    height: 170px;
    position: absolute;
    top: 0;
    left: 0;
}

.profile .resume-top span {
    color: #767676;
    line-height: 1.4;
    font-size: 20px;
}

.profile .resume-top .social_links {
    display: flex;
    gap: 15px;
    padding-top: 10px;
}

.profile .quotes {
    padding-left: 43px;
    position: relative;
    margin-top: 10px;
}

.profile .quotes img {
    position: absolute;
    width: 33px;
    height: 33px;
    left: 0;
    top: 0;
}

.diplomas.profile {
    padding-top: 0;
}

.diplomas.profile .container {
    background: #fff;
    border-radius: 22px;
    border: 2px solid #FFEEC5;
    padding: 30px;
}

.diplomas.profile h2 {
    font-size: 25px;
    text-transform: none;
}

.diplomas.profile .gallery {
    display: flex;
    gap: 10px;
}

.diplomas.profile a {
    width: calc((100% - 20px) / 3);
    border-radius: 15px;
    display: block;
    overflow: hidden;
}

.articles.profile .container {
    background: #fff;
    border-radius: 22px;
    border: 2px solid #FFEEC5;
    padding: 50px 30px;
}

.articles.profile .article-item {
    border-bottom: 2px solid #E6E9F1;
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.articles.profile .article-item span {
    border-radius: 10px;
    background: #DFDFDF;
    margin-right: 15px;
    padding: 4px 8px;
}

.articles.profile .article-item a {
    color: #2D3138;
    text-decoration: underline;
}

@media screen and (max-width: 1199px) {
    .profile {
        font-size: 18px;
    }

    .profile h1 {
        margin-top: 0;
        position: relative;
    }

    .profile .container {
        justify-content: flex-end;
    }

    .video_items {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100%;
    }

    .profile .resume {
        /*width: calc(100% - 310px);*/
        padding: 40px 20px 40px 30px;
        /*height: 468px;*/
    }

    .profile .resume-top {
        padding-left: 148px;
        height: 128px;
        justify-content: center;
        margin-bottom: 30px;
    }

    .profile .resume-top > img {
        width: 128px;
        height: 128px;
    }

    .profile .resume-top span {
        position: relative;
    }

    .profile .quotes {
        margin-top: 20px;
    }
}

@media screen and (max-width: 743px) {
    .profile {
        padding: 30px 0;
    }

    .profile .container {
        width: calc(100% - 20px);
    }

    .profile h1 {
        top: 0;
        font-size: 25px;
    }

    .profile .video_items {
        position: relative;
        order: 2;
        width: 100%;
        margin: 30px auto 0;
        max-width: 450px;
    }

    .profile .watch_video {
        height: 31px;
        width: 153px;
    }

    .profile .resume {
        width: 100%;
        order: 1;
        padding: 20px;
    }

    .profile .resume-top {
        position: relative;
        height: auto;
        padding: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .profile .resume-top span {
        top: 0;
        font-size: 16px;
    }

    .profile .resume-top > img {
        position: relative;
        width: 199px;
        height: 199px;
        margin: 0 auto 25px;
    }

    .profile .resume-top .social_links {
        gap: 4px;
        padding-top: 20px;
        margin: 0 -10px;
        justify-content: center;
    }

    .profile p {
        margin-bottom: 10px;
    }

    .profile .quotes {
        margin-top: 15px;
        padding: 36px 0 0;
    }

    .diplomas.profile .container {
        padding: 20px 10px;
    }

    .diplomas.profile h2 {
        font-size: 20px;
        text-align: center;
    }

    .diplomas.profile .gallery {
        flex-direction: column;
        gap: 10px;
    }

    .diplomas.profile a {
        width: 100%;
        border-radius: 12px;
    }

    .articles.profile .container {
        padding: 20px 17px;
    }

    .profile h2 {
        font-size: 24px;
    }

    .articles.profile .article-item {
        flex-wrap: wrap;
    }

    .articles.profile .article-item span {
        margin-bottom: 10px;
        font-size: 14px;
        padding: 7px 8px;
    }

}

