* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
.container {
    max-width: 1440px;
    margin: 0 auto;
}

ul {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

a {
    text-decoration: none;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 100vh;
    padding: 0 auto;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #3b3b45;
}
.header-container {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    justify-content: end;
}

.nav-item{
  margin-left: 10px;
}

.nav-link {
    position: relative;
    line-height: 50px;
    padding: 0 20px;
    transition: .3s;
    color: #fff;
    font-size: 18px;
    transition: color 0.5s;
}

.nav-link:visited {
    color: #fff;
}



@keyframes slidein1
{
    from {
      width: 0;
    }
    to {
      width: calc(100% - 24px);
    }
}

@keyframes slidein2
{
    from {
      width: 0;
    }
    to {
      width: 100%;
    }
}
 
.projects-point {
    position: relative;
    color: #3b3b45;
}

.nav-link:hover::after {
    animation-name: slidein1;
}
.projects-point:hover::after {
    animation-name: slidein2;
}

.nav-link:hover::after, .projects-point:hover::after {
    opacity: 1;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}


.nav-link::after, .projects-point::after {
    content: "";
    position: absolute;
    height: 2px;
    opacity: 0;
    transition: .5s;

}

.nav-link::after {
    left: 12px;
    bottom: -5px;
    width: calc(100% - 24px);
    background-color: #fff;
}

.projects-point::after {
    left: 0px;
    bottom: 5px;
    width: 100%;
    background-color: #3b3b45;
}

.container-main {
    padding: 30px;
}

.profile {
    display: flex;
    padding:30px 0px 100px 0px;
    border-bottom: 10px solid #3b3b45;
}

.profile-text {
    text-align: center;
    width: 50%;
    font-size: 25px;
}

.profile-text h1 {
    text-transform: uppercase;
    color: #333;
    font-weight: 100;
    letter-spacing: 2px;
}

.profile-text span {
    font-size: 25px;
    color: #3b3b45;
}

.profile-photo {
    text-align: center;
    width: 50%;
}

.profile-photo img {
    border-radius: 50%;
}


.section-content {
    display: flex;
    flex-wrap: wrap;
}
.section {
    margin: 50px 0;
    font-size: 20px;
    width: 50%;
}


.section-title {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 22px;
    letter-spacing: 3px;
    color: #3b3b45;
}


.section img {
    vertical-align: middle;
    width: 32px;
    height: 32px;
}

.main-text {
    line-height: 30px;
    margin-top: 30px;
}
.github-text, .telegram-text, .email-text, .cf-text {
    display: inline-block;
    vertical-align: middle;
}


.main-text-item {
    margin: 20px 0;
}

.list-point {
    margin-left: 15px;
    line-height: 50px;
    display: inline-block;
}

.rs-logo {
    width: 121px;
    height: 45px;
    background-image: url(assets/akylman-logo.jpeg);
    background-size: contain;
    background-repeat: no-repeat;
}
.footer {
    padding: 20px;
    
    background: #3b3b45;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    color: #fff;
}
