/* html {
    scroll-behavior: smooth; 
  } */
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 360px;
    min-height: 100vh;    
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #000000;
}
* {
    box-sizing: border-box;
  }
.main__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
}
.header {    
    background: linear-gradient(to right, #01587a, #5cb3c1, #99d8dd);      
    padding: 30px 0;
    box-shadow: -5px -6px 12px #9ea2a4;
}
.header__wrapper {
    display: flex;
    justify-content: flex-end;
}
.header__list {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;    
}
.header__list li {
    padding: 0;
    margin-right: 20px;
}
.header__list li:last-child {    
    margin-right: 0;
}
.header__item {
    transition: .3s;
}
.header__item:hover .header__link {
    color: #ffffff;
}
.header__link {
    font-weight: 500;
    line-height: 50px;
    color: #222b56;
    text-decoration: none;   
    padding: 0 10px; 
    transition: color 0.5s;
}
.header__mobile-menu {
    display: none;
} 
.header__burger {    
    width: 30px;
    height: 30px;
    position: relative;
}
.header__burger span {
    content: '';
    background: #5cb3c1;
    position: absolute;
    width: 100%;
    height: 3px;
    top: 15px;
    transition: all 0.3s ease 0s;
}
.header__burger span::before,
.header__burger span::after {
    content: '';    
    position: absolute;
    width: 100%;
    height: 3px;
    left: 0;
    transition: all 0.3s ease 0s;
}
.header__burger span::before {
    background: #01587a;
    top: -10px;
}
.header__burger span::after {
    background: #99d8dd;
    bottom: -10px;
}
.open-menu .header__burger span::before {
    transform: rotate(45deg);
    top: 0;
    background: #ffffff;
}
.open-menu .header__burger span::after {
    transform: rotate(-45deg);
    bottom: 0;
    background: #ffffff;
}
.open-menu .header__burger span {
    background: transparent;
}
.section {
    width: 48%;
    padding: 30px;
    box-shadow: 0px 0px 30px 0px #e1e8ec;
    margin-bottom: 40px;
    border-radius: 10px;
}
.section__profile {
    width: 100%;
    text-align: center;
}
.section__profile {
    box-shadow: none;
}
.section__logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid #01587a;
    box-shadow: 5px 6px 12px #5cb3c1;
    object-fit: cover;    
}
.section__title {    
    text-transform: uppercase;
    font-weight: 500;
    font-size: 36px;
    color: #01587a;
}
.section__profile-subtitle {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 24px;
    color: #5cb3c1;
}
.section__subtitle {    
    /* text-transform: uppercase; */
    font-weight: 500;
    font-size: 28px;
    color: #01587a;
}
.section__list {
    /* position: relative; */
    list-style: none;
}
.section__list-item {
    position: relative;
    margin-bottom: 10px;
    color: #01587a;
}
.section__list-item:hover a {
    color: #f3ba00;
}
.section__list-item a {
    text-decoration: none;
    color: #5cb3c1;
    /* font-weight: 500;
    font-size: 26px; */
}
.section__list li:first-child:before {
    content: "";
    position: absolute;
    top: 2px;
    left: -35px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(img/location-icon.png);
}
.section__list li:nth-child(2):before {
    content: "";
    position: absolute;
    top: 2px;
    left: -35px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(img/discord-logo.png);
}    
    .section__list li:nth-child(3):before {
        content: "";
        position: absolute;
        top: 2px;
        left: -35px;
        width: 24px;
        height: 24px;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url(img/email-icon.png);
}        
.section__list li:nth-child(4):before {
    content: "";
    position: absolute;
    top: 2px;
    left: -35px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(img/phone-icon.png);
}
.section__skills-list,
.section__education-list,
.section__projects-list {
    padding-left: 30px;    
}
::marker {
    color: #99d8dd;
    font-size: 0.9em;
  }
.section__education-list ul {
    padding-left: 20px;
}
.section__education-list li a,
.section__projects-list li a {
    text-decoration: none;
    color: #5cb3c1;
}
.section__education-list li:hover a,
.section__projects-list li:hover a {    
    color: #f3ba00;
}
.footer {    
    background: linear-gradient(to left, #01587a, #5cb3c1, #99d8dd);  
    box-shadow: 5px 6px 12px #9ea2a4;   
    padding: 30px 0; 
}
.footer__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__link-git {
    margin-left: 10px;
    text-decoration: none;
    color: #01587a;
    transition: color 0.5s;
}
.footer__link-git:hover {
    color: #f3ba00;
}
.footer__link-rss {
    display: inline-block;
}
.footer__link-rss svg {
    width: 150px;
    fill: #ffffff;
}
@media (max-width: 1440px) {
    body {
        font-size: 16px;
    }
    .container {
        padding: 0 20px;
    }
    .section {
        padding: 20px;
    }
}
@media (max-width: 992px) {
    .section {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .header {
        display: none;
    }
    .open-menu .header {
        display: flex;
    }
    .header__mobile-menu {
        display: flex;
        justify-content: flex-end;
        padding: 20px;
        position: absolute;
        right: 0;
    }
    .header__list {
        flex-direction: column;
        justify-content: center;
    }  
    .header__list li {
        margin: 0;
    }
}
@media (max-width: 576px) {
    body {
        font-size: 16px;
    }
    .header__link {
        font-size: 22px;
    }
    .section__subtitle {
        font-size: 24px;
    }
    code {
        font-size: 14px;
    }
    .footer__wrapper {
        flex-direction: column-reverse;
    }
    svg {
        margin-bottom: 20px;
    }
}
