@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
.content {
    width: 100%;
    position: absolute;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;


}

@keyframes startAnimation{
    from{
        transform: scale(0.5) rotate(22deg) skew(-25deg, 0deg);
    }
    to{
        transform: scale(1);
    }
}

#faceBlock{
    width: 475px;
    height: 600px;
    background-color: #31313A;

    border-radius: 40px 20px;
    opacity: .95;
    z-index: 2;

    overflow: hidden;

    -webkit-box-shadow: -18px -15px 0px -2px #31313a9d, 4px 5px 18px 3px rgba(12, 13, 14, 0.2);
    -moz-box-shadow: -18px -15px 0px -2px #31313a9d, 4px 5px 18px 3px rgba(12, 13, 14, 0.2);
    box-shadow: -25px -15px 0px -2px #31313a9d, 4px 5px 18px 3px rgba(12, 13, 14, 0.2);
}

#faceBlock .imgBox{
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%); 
}
#faceBlock .logoBox img{
    margin-top: -100px;
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 1;
}
#faceBlock .logoBox{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

#faceBlock .imgBox img{
    background-size: cover;
    opacity: .9;
    width: 100%;
    height: 100%;
}
.nameBox{
    display: flex;
    text-align: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-family:'Comfortaa';
    font-weight: 800;
    margin-top: 20px;
}

.small {
    color: rgb(255, 208, 0);
    font-weight: 400;
    font-size: 22px
}

#contentBlock{
    width: 800px;
    height: 525px;
    z-index: 1;
    background-color: #31313A;
    opacity: .95;
    margin-left: -10px;

    display: flex;
    flex-direction: column;

    border-radius: 40px 20px;
    padding-left: 10px;
    overflow: hidden;
    -webkit-box-shadow:4px 5px 18px 3px rgba(12, 13, 14, 0.2);
    -moz-box-shadow:4px 5px 18px 3px rgba(12, 13, 14, 0.2);
    box-shadow:4px 5px 18px 3px rgba(12, 13, 14, 0.2);
}

.webSites{
    margin-top: 50px;
    width: 100%;
    height: 40px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation{
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.navigation div{
    display: flex;
    align-items: center;
    color: #ffd000;
    font-size: 18px;
    margin: 0 25px;

    border-bottom: 0px solid;
    padding-bottom: 0px;
    margin-top: 0px;

    transition: all .2s;

    cursor: pointer;
}
.navigation div:hover{
    transition: all .2s;
    border-bottom: 5px solid;
    padding-bottom: 10px;
    margin-top: 5px;
}
.navigation div img{
    width: 25px;
    height: 25px;
    margin-right: 12.5px;
}
.line{
    width: 100%;
    min-height: 2px;
    background: radial-gradient(ellipse at left,rgba(197,202,213,.15) 0%,rgba(255,255,255,0) 80%);
}

.site{
    width: 35px;
    height: 35px;
    opacity: .5;
    margin: 0 5px;
}

::-webkit-scrollbar{
    display: none;
}


/* ABOUT */
.about{
    overflow-y: scroll;
    padding: 50px;
    padding-top: 0;
    padding-bottom: 0;
    color: rgba(255,255,255,.55);
    font-size: 20px;
    line-height: 30px;

    display: flex;
    justify-content: center;
}
.about .additional{
    width: 50%;
}
.about .text{
    width: 50%;
}
.line2{
    min-width: 2px;
    height: 100%;
    background: radial-gradient(ellipse at top,rgba(197,202,213,.15) 0%,rgba(255,255,255,0) 80%);
    margin: 0 20px;
}
.line4{
    min-width: 2px;
    height: 100%;
    background-color: rgba(197,202,213,.15);
    margin: 0 20px;
}

/* ABOUT */


.additional .addItem{
    margin: 25px 0;
}

.additional .addItem .itemTitle{
    display : flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.additional .addItem .itemTitleName{
    background-color: #ffd000;
    border-radius: 10px;
    color: rgb(26, 26, 26);
    font-size: 16px;
    padding: 0px 6px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.additional .addItem .Content{
    font-size: 20px;
}

.line3{
    width: 100%;
    min-height: 2px;
    background: radial-gradient(ellipse at center,rgba(197,202,213,.15) 0%,rgba(255,255,255,0) 70%);
}

.openTabAnim{
    animation: openTabAnim 1s;
}
@keyframes openTabAnim {
    0% {
        opacity: 0;
        -webkit-transform: scale(.1) rotate(30deg);
        transform: scale(.1) rotate(30deg);
        -webkit-transform-origin: center bottom;
        transform-origin: left bottom;   
    }
    50%{
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    70%{
        -webkit-transform: rotate(3deg);
        transform: rotate(3deg);
    }
    100%{
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
  }

.resume{
    overflow-y: scroll;
    padding: 50px;
    padding-top: 0;
    padding-bottom: 0;
    color: rgba(255,255,255,.55);
    font-size: 27px;
    line-height: 46px;

    display: flex;
    flex-direction: column;
}
.resumeFirstBlock{
    display: flex;
    justify-content: center;
}
.resumeRightSide{
    width: 50%;
}
.resume .resumeTitle{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.resumeTitleItem{
    width: 50%;
}
.resume .resumeTitle img{
    width: 50px;
    height: 50px;
    margin-top: -20px;
    margin-right: 15px;
}
.resumeLeftSide{
    width: 50%;
}
.resumeJobItem{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
.resumeJobItemTitle{
    text-align: center;
    font-size: 22px;
    color: white;
}
.resumeJobItemDate{
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    border: 2px solid #ffd000;
    color: #ffd000;
    width: 160px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.resumeJobItemDesc{
    line-height: 30px;
    font-size: 16px;
    text-align: center;
}
.resumeSecondBlock{
    display: flex;
    justify-content: center;
}


.resumeEduItem{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
.resumeEduItemTitle{
    text-align: center;
    font-size: 22px;
    color: white;
}
.resumeEduItemDate{
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    border: 2px solid #ffd000;
    color: #ffd000;
    width: 210px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}
.resumeEduItemDesc{
    line-height: 30px;
    font-size: 16px;
    text-align: center;
}

.skills{
    overflow-y: scroll;
    padding: 50px;
    padding-top: 0;
    padding-bottom: 0;
    color: rgba(255,255,255,.55);
    font-size: 27px;
    line-height: 46px;

    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}
.skillsItem{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 30px;
}
.skillsItem .skillsItemTitle{
    display: flex;
    align-items: center;
    font-size: 24px;
}
.skillsItem .skillsItemTitle .skillsItemTitleImage img{
    width: 50px;
    height: 50px;
}

.skillsItem .skillsItemTitle .skillsItemTitleTitle{
    margin-left: 20px;
}

.skillsItemContent{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 10px;
}
.skillsContentItem{
    margin: 20px 40px;
}
.skillsItemContent .skillsItemContentTitle{
    color: white;
    font-size: 18px;
}
.skillsItemContentPB{
    width: 200px;
    height: 5px;
    background-color: #524300;
}
.skillsItemContentPBFill{
    height: 100%;
    background-color: #ffd000;
}

.port{
    overflow-y: scroll;
    padding: 50px;
    padding-top: 0;
    padding-bottom: 0;
    color: rgba(255,255,255,.55);
    font-size: 27px;
    line-height: 46px;

    display: flex;
    flex-direction: column;
    margin-top: 10px;
}
.portItem{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.portItem .portItemTitle{
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
    text-align: center;
}
.portItem img{
    width: 125px;
    height: 125px;
    border-radius: 25px 10px;
    box-shadow: 0px 5px 20px rgb(0 0 0);
    margin-bottom: 20px;
}
.portItemDesc{
    width: 70%;
    text-align: center;
    line-height: 30px;
    margin-bottom: 50px;
    font-size: 20px;
}

.portItem a{
    padding: 3px 50px;
    border-radius: 20px 5px;
    background-color: #ffd000;
    font-size: 25px;
    color: rgb(36, 36, 36);
    font-weight: 800;
    text-decoration: none;
    transition: background-color border-radius;
    transition-duration: .3s;
    margin-bottom: 50px;
}

.portItem a:hover{
    transition: background-color border-radius;
    transition-duration: .3s;
    border-radius: 5px 20px;
}


  #lngSwitcher{
    z-index: 1;
    position: absolute;
    left: 0; 
    right: 0; 
    margin-left: 87%;
    width: 100px;
    margin-top: 30px;
  }

  .switch {
    position: relative;
    display: inline-block;
    margin: 0 5px;
  }
  
  .switch > span {
    position: absolute;
    top: 14px;
    pointer-events: none;
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
    width: 50%;
    text-align: center;
  }
  
  input.check-toggle-round-flat:checked ~ .off {
    color: #303039;
  }
  
  input.check-toggle-round-flat:checked ~ .on {
    color: #fff;
  }
  
  .switch > span.on {
    left: 0;
    padding-left: 2px;
    color: #303039;
  }
  
  .switch > span.off {
    right: 0;
    padding-right: 4px;
    color: #fff;
  }
  
  .check-toggle {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
  }
  .check-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  
  input.check-toggle-round-flat + label {
    padding: 2px;
    width: 97px;
    height: 35px;
    background-color: #303039;
    -webkit-border-radius: 60px;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
    display: block;
    position: absolute;
    content: "";
  }
  
  input.check-toggle-round-flat + label:before {
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background-color: #303039;
    -moz-border-radius: 60px;
    -ms-border-radius: 60px;
    -o-border-radius: 60px;
    border-radius: 60px;
  }
  input.check-toggle-round-flat + label:after {
    top: 4px;
    left: 4px;
    bottom: 4px;
    width: 48px;
    background-color: #fff;
    -webkit-border-radius: 52px;
    -moz-border-radius: 52px;
    -ms-border-radius: 52px;
    -o-border-radius: 52px;
    border-radius: 52px;
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    -o-transition: margin 0.2s;
    transition: margin 0.2s;
  }
  
  input.check-toggle-round-flat:checked + label {
  }
  
  input.check-toggle-round-flat:checked + label:after {
    margin-left: 44px;
  }

@media only screen and (min-width: 1200px){
    .content{
        animation: startAnimation 3s cubic-bezier(.8, -0.2, 0.2, 1);
    }
    
}

@media only screen and (max-width: 1000px) {
    .content{
        flex-wrap: wrap;
    }

    #faceBlock{
        margin: 25px;
    }
    #contentBlock{
        margin: 50px;
    }
    body .area{
        height: 200vh;
    }
    .resumeFirstBlock .line4{
        display: none;
    }
    .area{
        display: none;
    }
    html{
        background-color: #202025;
    }
}


@media only screen and (max-width: 860px) {
    .navigation div span{
        display: none;
    }
    .resume{
        justify-content: flex-start;
    }
    .resumeFirstBlock{
        flex-direction: column;
        align-items: center;
    }
    .resumeSecondBlock{
        margin-top: 25px;
    }
    .resumeTitleItem{
        width: 100%;
        
    }
    .resumeTitle{
        justify-content: center;
    }

    .about{
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        font-size: 24px;
        line-height: 33px;
    }
    .about .text{
        width: 100%;
    }
    .about .additional{
        width: 100%;
        font-size: 20px;
    }
    #contentBlock .about .addItem .itemTitle .itemTitleName{
        font-size: 16px;
    }
    #contentBlock .addItem .addItem .itemTitle .Content{
        font-size: 20px;
    }
    .resumeSecondBlock{
        flex-direction: column;
        align-items: center;
    }
}

@media only screen and (max-width: 600px) {
    #lngSwitcher{
        position: relative;
        margin: 0 auto;
        margin-top: 30px;
    }

    #faceBlock{
        height: 575px;
        box-shadow: none;
    }
    .resumeTitleItem .resumeTitle{
        line-height: 20px;
    }
    #contentBlock{
        border-radius: 20px 10px;
        height: 630px;
    }
    .about .text{
        font-size: 16px;
        line-height: 25 px;
    }
    .resumeLeftSide{
        width: 100%;
    }
    html body #faceBlock .logoBox img{
        width: 125px;
        height: 125px;
    }
    html body #faceBlock .logoBox{
        margin-bottom: 30px;
    }
    html body #faceBlock .nameBox{
        font-size: 36px;
    
    }
    html body #faceBlock .small{
        font-size: 20px;
    }
    .navigation{
        justify-content: space-around;
    }
    .navigation div{
        margin: 0;
    }
    .resumeTitleItem .resumeTitle{
        font-size: 18px;
    }
    .skillsItemTitleTitle{
        font-size: 20px;
        line-height: 25px;
    }
    .skillsItemTitleImage img{
        width: 40px;
        height: 40px;
    }.port{
        padding: 10px;
    }
}

@media only screen and (max-width: 360px) {

    

    .about{
        padding: 10px;
    }
    
    .portItemDesc{
        width: 100%;
    }
    #contentBlock .about .addItem .itemTitle .itemTitleName{
        font-size: 12px;
    }
    #contentBlock .about .addItem .itemTitle .Content{
        font-size: 13px;
    }
    
    #contentBlock .resume {
        padding: 0;
    }

    .resumeRightSide{
        width: 100%;
    }
}

@media only screen and (max-height: 700px) {
    body .area{
        height: 250vh;
    }
}