/*GENERALY*/
body {
    background-color: #F2E7C9;
    box-sizing: border-box;
    font-family: "Montserrat Alternates", serif;
    margin: 0;
    overflow-x: hidden;
    padding: 0;
}
.none {
    display: none;
}
button {
    background-color:#F2E7C9;
    border: none;
    border-radius: 50%;
    box-shadow: inset #413C58 1px 1px 10px;
    padding: 0.5rem 0.5rem;
}
button:first-child{
    position: absolute;
    right: 4em;
    top: 15px;
}
button:nth-child(2){
    position: absolute;
    right: 1em;
    top: 15px;
}
button:hover{
    background-color: #f2e7c9be;
}
/*HEADER*/
.header {
    background-color: #413C58;
    color: #faf9f7;
    display: flex;
    flex-direction: row;
    font-family: "Nunito Sans", sans-serif;
    height: 40vh;
    letter-spacing: 0.2rem;
    line-height: 6rem;
    text-transform: uppercase;
    width: 100%;
}
.header-block {
    background-color: #F2E7C9;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: inset #413C58 2px 2px 15px;
    height: 31vh;
    margin: 0 2rem 0 18rem;
    width: 10rem;
}
.header-right {
    display: flex;
    flex: 1;
    justify-content: space-between;
}
.text {
    display: flex;
    flex-direction: column;
    font-size: 108px;
    justify-content: flex-end;
    padding-bottom: 5rem;
}
.second-name {
    font-weight: bold;
}
.professia {
    align-items: flex-end;
    display: flex;
    font-size: 44px;
    justify-content: end;
    text-align: center;
}
.name-professia {
    padding-bottom: 8.5rem;
}
.header-line {
    background-color: #F2E7C9;
    height: 8px;
    margin-bottom: 11.4rem;
    margin-left: 1rem;
    width: 8rem;
}
/*STATIC BLOCK*/
.static-block{
    display: flex;
    flex-direction: row;
}
.main-photo{
    border-radius: 50%;
    box-shadow: black 1px 1px 15px;
    height: 350px;
    margin: 50px 35px;
    width: 350px;
}
.generaly-title {
    font-size: 36px;
    margin: 3.5rem 0rem 2rem 5rem;
}
.generaly-subtitle {
    font-size: 24px;
    margin: 2rem 5rem;
}
.short-skill_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 6em 0 4em;
}
.short-skill {
    border: 1px solid black;
    background-color: #413C58;
    border-radius: 7px;
    box-shadow: black 1px 1px 10px;
    color: #faf9f7;
    margin: 1em;
    padding: 0.7em;
    transition: all 0.7s;
    cursor: default;
}
.short-skill:hover {
    background-color: #F2E7C9;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 0%;
    border-top-left-radius: 0%;
    border-top-right-radius: 50%;
    color: black;
}
/*SIDE MENU*/
.side-menu {
    background-color: #413C58;
    border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    float: left;
    height: 75vh;
    position: relative;
    transition: top 0.3s ease-in-out;
    width: 25vw;
}
.circle{
    background-color: white;
    border-radius: 50%;
    box-shadow: inset black 1px 1px 5px;
    height: 2rem;
    left: 15px;
    position: absolute;
    top: 25px;
    width: 2rem;
}
.side-menu > ul {
    font-size: 28px;
    justify-content: center;
    list-style: none;
    line-height: 2em;
    margin: 0;
    padding-top: 2em;
    text-align: center;
}
.side-menu > ul > li > a {
    color: #faf9f7;
    text-decoration: none;
}
.side-menu > ul > li > a:hover {
    color: #adadac;
}
.side-menu > ul > li > a.active {
    color: #ff0808;
    color: #F2E7C9;
}
/*SECTION -- SHARE*/
.content {
    animation-duration: 1.5s;
    animation-name: slidein;
}
.container {
    margin-left: 25vw;
    width: 75vw;
}
@keyframes slidein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
        width: 100%;
    }
}
.right-line {
    display: none;
}
.main-title {
    display: flex;
}
.title {
    font-size: 44px;
    font-weight: bold;
    margin: 0 2rem 3rem 5.3rem;
    padding-bottom: 5px;
}
.main-line {
    background-color: #413C58;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    flex: 1;
    height: 0.5em;
    margin-top: 1.6rem;
}
.main-block {
    display: flex;
    justify-content: space-between;
}
.wrapper {
    font-size: 28px;
    letter-spacing: 0.1rem;
    margin: 0 2rem 0rem 5.3rem;
}
/*EDUCATION*/
.main-block-skill{
    display: flex;
    justify-content: space-around;
}
.education-name {
    font-size: 28px;
    font-weight: bold;
}
.education-specialist {
    font-size: 20px;
}
.first-child {
    margin-bottom: 0;
}
.second-child {
    margin-top: 0;
}
.education-year {
    font-size: 28px;
    margin: 1em 2em 0 2em;
    text-wrap: nowrap;
}
/*JOBS*/
.link {
    color: grey;
    font-size: 24px;
    margin-right: 2em;
    text-decoration: none;
}
.link:hover {
    color: black;
    font-weight: 700;
    transition: font-weight 0.5s;
}
/*SKILLS*/
.skill-name {
    margin-bottom: 0.4em;
}
.status-line {
    background-color: #AFAAC5;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    margin: 0 1em 2em 0;
    width: 10em;
}
.skill-1::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-1;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 9em;
}
@keyframes move-skill-1 {
    from {
        width: 0em;
    }
    to {
        width: 9em;
    }
}
.skill-2::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-2;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 5em;
}
@keyframes move-skill-2 {
    from {
        width: 0em;
    }
    to {
        width: 5em;
    }
}
.skill-3::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-3;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 7em;
}
@keyframes move-skill-3 {
    from {
        width: 0em;
    }
    to {
        width: 7em;
    }
}
.skill-4::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-4;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 3em;
}
@keyframes move-skill-4 {
    from {
        width: 0em;
    }
    to {
        width: 3em;
    }
}
.skill-5::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-5;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 6.5em;
}
@keyframes move-skill-5 {
    from {
        width: 0em;
    }
    to {
        width: 6.5em;
    }
}
.skill-6::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-skill-6;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 6em;
}
@keyframes move-skill-6 {
    from {
        width: 0em;
    }
    to {
        width: 6em;
    }
}
details {
    font-size: 24px;
    margin-bottom: 1.5em;
}
details > span {
    font-size: 18px;
}
.subskill {
    font-size: 24px;
}
/*LANGUAGES*/
.status-line-language {
    background-color: #AFAAC5;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    margin: 0 1em 2em 0;
    width: 21em;
}
.language-1::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-language-1;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 21em;
}
@keyframes move-language-1 {
    from {
        width: 0em;
    }
    to {
        width: 21em;
    }
}
.language-2::after{
    content: '';
    animation-duration: 1s;
    animation-name: move-language-2;
    background-color: #413C58;
    border-radius: 15px;
    display: block;
    height: 0.5rem;
    width: 15em;
}
@keyframes move-language-2 {
    from {
        width: 0em;
    }
    to {
        width: 15em;
    }
}
.language-wrapper {
    display: flex;
}
.circle-level {
    align-items: center;
    background-color: #413C58;
    border-radius: 50%;
    display: flex;
    height: 50px;
    justify-content: center;
    margin-left: 0.7em;
    margin-top: 0.7em;
    width: 50px;
}
.level {
    color: #F2E7C9;
    margin: 0;
    padding: 0;
}
/*CONTACTS*/
.contact-item {
    border: 1px solid black;
    border-radius: 3em;
    margin: 1em 0;
    padding: 3rem 3rem;
    text-align: center;
}
.contact-link {
    color: black;
    padding: 0 5em 0 1em;
    text-decoration: none;
}
i {
    font-size: 2em;
    padding-left: 1em;
}
.contact-item:hover {
    background-color:#413C58;
    transition: all 0.3s;
}
.contact-item:hover .contact-link {
    color: #faf9f7;
    transition: all 0.3s;
}
.contacts-list {
    align-items: center;
    display: grid;
    font-size: 26px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    list-style: none;
    text-align: center;
}
.s1, .s2, .s3, .s4, .s5 {
    align-items: center;
    box-shadow: black 1px 1px 10px;
    display: flex;
    justify-content: center;
    margin: 0rem 1.5rem 2rem 2.5rem;

}
.s5 {
    grid-column: 1/3;
    grid-row: 3;
}
