* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.42px;
}

body {
    background-color: #f5f7fa;
    font-family: Montserrat, sans-serif;
}

body main {
    margin: 20px;
    background-color: #fff;
    display: flex;
    box-shadow: 5px 9px 20px rgba(0, 0, 0, 0.15);
}

main ul {
    list-style: none;
}

main ul li::before {
    content: '\2022';
    font-weight: bold;
    display: inline-block;
    width: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: 700;
}

h4 {
    font-size: 16px;
    margin-top: 25px;
}

h3 {
    font-size: 22px;
    margin: 50px 0 20px 0;
}

h2 {
    font-size: 18px;
    margin-bottom: 25px;
}

h1 {
    font-size: 45px;
    margin-bottom: 25px;
    line-height: 45px;
}

body b {
    color: #000 !important;
}

a {
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    text-decoration: none;
}

a::after {
    content: ' \260D';
}

a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -2px;
    background-color: #000;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out 0s;
}

a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.top-sticky-btn {
    transition: 0.6s;
    cursor: pointer;
    padding: .1rem;
    border: 0px solid;
    border-radius: .2rem; 
    background: none;
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: #ff7518;
}

.top-sticky-btn:hover {
    transition: 0.6s;
    box-shadow: 0px 0px 12px 0px #ff7518;
}

/*===================================_SIDEBAR_==========================================*/

aside {
    background-color: #1e2939;
    width: 370px;
    color: #fff;
}

aside img {
    width: 100%;
    object-fit: contain;
    margin: 40px 0 0 0;
}

aside > div {
    margin: 55px 40px;
}

aside .tech-skills,
aside .soft-skills {
    display: none !important;
}

aside .contacts a {
    transition: 0.6s;
    font-weight: 400;
    color: #6d737a;
    margin: 0 0 0 10px;
}

aside .contacts a:hover {
    transition: 0.6s;
    color: #fff;
}

aside .contacts a::before {
    background-color: #fff;
}

aside .contacts label {
    font-weight: 700;
    cursor: pointer;
}

aside li {
    color: #d8dadd;
}

aside ul li::before {
    color: #ff6b08;
}

aside .contacts div {
    margin: 5px 0;
}

/*===================================_SIDEBAR_END_======================================*/

/*===================================_ABOUT_ME_=========================================*/

.aboutMe {
    width: 60%;
    margin: 110px 90px;
    color: #000;
}

.aboutMe .block-header {
    margin: 6rem 0 2rem;
    display: flex;
    justify-content: center;
}

.aboutMe .block-header hr {
    width: 100%;
    border: #ff7518 solid 3px;
    border-radius: 1rem;
    margin: auto 0;
}

.aboutMe .block-header h3 {
    margin: 1rem;
}

.aboutMe ul li::before {
    color: #000;
}

.aboutMe .orangeColor {
    color: #ff7518;
}

.aboutMe .timePlace,
.muted-text {
    color: #bebebe;
}

.aboutMe .aboutHeader {
    max-width: 440px;
}

.aboutMe .projects h3 {
    margin-bottom: 9px;
}

.aboutMe .projects {
    margin-top: 65px;
}

.aboutMe ol {
    list-style: none;
    counter-reset: customCounter;
}

.aboutMe ol li {
    counter-increment: customCounter;
}

.aboutMe ol li *,
.aboutMe a {
    color: #979797;
}

.aboutMe ol li::before {
    content: counter(customCounter) '.';
    font-weight: 700;
    display: inline-block;
    width: 1rem;
    margin-right: 9px;
}

.aboutMe .workExp {
    margin-top: 50px;
}

.aboutMe .timePlace {
    margin-bottom: 10px;
}

/*===================================_ABOUT_ME_END_======================================*/

/*=====================================_LINK_ANIM_=======================================*/
/*
a {
    -webkit-animation: fading 2s alternate infinite;
    animation: fading 2s alternate infinite;
}

@-webkit-keyframes fading {
    100% {
        color: #ff6b08a9;
        font-size: 1.11rem;
    }
}

@keyframes fading {
    100% {
        color: #ff6b086e;
        font-size: 1.11rem;
    }
}
*/
/*===================================_LINK_ANIM_END_=====================================*/
@media print {
    @page {
        margin: 0;
    }
    head {
        display: none !important;
    }
    * {
        font-size: 1.1rem;
        -webkit-print-color-adjust: exact;
    }
    aside {
        background-color: #1e2939;
    }
    .top-sticky-btn {
        display: none !important;
    }
}

@media screen and (max-width: 1000px) and (min-width: 0px) {
    * {
        font-size: 0.9rem;
    }
    body main {
        display: block;
    }
    aside {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    aside > * {
        margin: auto 0;
    }
    aside img {
        width: 33%;
    }
}

@media screen and (max-width: 400px) and (min-width: 0px) {
    main {
        margin: 0 !important;
        padding: 0 0 1rem 0;
    }
    main .aboutMe {
        margin: 60px 20px;
    }
    aside > div {
        margin: 0 1rem 2rem;
    }
    main .aboutMe {
        width: 90vw;
    }
    .block-header {
        margin: 2rem 0 1rem !important;
    }
}
