*{
    margin: 0;
    padding: 0;
}
body{
    background: #D2D6DF;
}
#banner{
    background: linear-gradient(rgba(242, 243, 245), rgba(242, 243, 245, 0.7), #D2D6DF);
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.logo a{
    width: 150px;
    position: fixed;
    top: 5%;
    left: 10%;
    font-size: 24px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 900;
    color: #171B23;
    text-decoration: none;
}
.banner-about-me{
    text-align: center;
    color: #171B23;
    padding-top: 100px;
}
.banner-about-me h1{
    font-size: 100px;
    font-family: 'Old Standard TT', serif;
    font-weight: 700 bold;
}
.border{
    display: block;
    margin: auto;
    width: 160px;
    height: 3px;
    background: #7985A2;
    margin-bottom: 40px;
    margin-top: 20px;
}
.avatar{
    margin-bottom: 40px;
}
.avatar img{
    display: inline-block;
    margin: 0 30px;
    width: 160px;
    height: 160px;
    overflow: hidden;
    border-radius: 50%;
}
.name{
    font-size: 28px;
    font-family: 'Source Sans Pro', sans-serif;
    font-style: italic;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 3px;
}
.banner-about-me p{
    font-size: 20px;
    font-family: 'Old Standard TT', serif, regular;
    font-style: regular;
    font-weight: 400;
}
.description{
    font-size: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}
.nav{
    width: 240px;
    height: 100vh;
    position: fixed;
    right: -250px;
    top: 0;
    background: #A7AFC2;
    box-shadow: 0 10px 20px 3px #171B23;
    z-index: 2;
    transition: 0.7s;
    /* opacity: .3; */
}
nav ul li{
    list-style: none;
    margin: 60px 20px;   
}
nav ul li a{
    text-decoration: none;
    font-size: 18px;
    font-family: 'Old Standard TT', serif;
    font-weight: 400;
    color: #171B23;
}
nav ul li a:hover{
    color: #F3DBAD;
}
#nav-button{
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 5%;
    border-radius: 3px;
    z-index: 3;
    cursor: pointer;
}
#nav-button img{
    width: 20px;
    margin-top: 5%;
}
@media screen  and (max-width: 770px){
    .banner-about-me h1{
        font-size: 40px;
    }
}



/* portfolio */
#portfolio{
    width: 100%;
    padding: 70px 0;
}
.title-text{
    text-align: center;
    padding-bottom: 70px;
}
.title-text p{
    margin: auto;
    font-size: 28px;
    font-style: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color: #171B23;
}

.projects-list{
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;   
}
.item{
    flex-basis: 48%;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 120px;
    color: #A7AFC2;
    position: relative;
}
.item img{
    border-radius: 10px;
    transition: 1s; 
    display: block; 
    /* filter: brightness(85%); */
}
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    border-radius: 7px;
    cursor: pointer;
    background: linear-gradient(rgba(0,0,0, 0.9), #A7AFC2);
    opacity: 0;
    transition: 1s;
}
.item:hover .overlay{
    opacity: 1;
}
.project-desc{
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: 1s;
}
.hr-1{
    background: #F4F2F5;
    height: 3px;
    border: 0;
    margin: 15px auto;
    width: 60%;
}
.project-desc p{
    font-size: 24px;
    font-family: 'Old Standard TT', serif;
    font-weight: 400;
    color: #F4F2F5;
    text-transform: lowercase;
}
.project-desc h2{
    font-size: 30px;
    font-family: 'Old Standard TT', serif;
    font-weight: 700;
    color: #F4F2F5;
}
.item:hover .project-desc{
    bottom: 40%;
    opacity: 1;
}
@media screen  and (max-width: 770px){
    .item{
        flex-basis: 100%;
        margin-bottom: 150px;
    }
    .project-desc p{
        font-size: 20px;
    }
    .project-desc h2{
        font-size: 26px;
    }
    .hr-1{
        margin: 5px auto;
    }
    .item:hover .project-desc{
        bottom: 25% !important;
    }
}


#contacts{
    width: 100%;
    padding: 70px 0;
    background: #FFFFEE;
}
.contacts-row{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.contacts-col{
    background: #FFFFEE;
    flex-basis: 28%;
    padding: 15px;
    margin-bottom: 30px;
    border-radius: 5px;
    align-items: center;
    text-align: center;
    transition: transform .5s;
}
.contacts-col p{
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    font-size: 22px;
    text-align: center;
}
.contacts-col img{
    width: 40px;
    margin: 0;
    text-align: center;
}
.contacts-col:hover{
    transform: translateY(-7px);
}
.hr-2{
    background: #7985A2;
    height: 1px;
    border: 0;
    margin: 15px auto;
    width: 80%;
}
@media screen  and (max-width: 770px){
    .contacts-col{
        flex-basis: 100%;
    }
    .hr-2{
        margin: 5px auto;
    }
}



/* FOOTER */
.footer{
    background-color: #FFFFEE;
    box-sizing: border-box;
    color: #171B23;
    cursor: auto;
    line-height: 24px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
    overflow-wrap: break-word;
    padding: 0;
}
.items{
    padding-bottom: 40px;
}
.footer-list{
    display: flex;
    justify-content: center;
    flex-flow: row wrap;
    margin: 0px auto;
    max-width: 100%;
}
.footer-list li{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #171B23;
    display: flex;
    justify-content: space-around;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 0px;
    padding-top: 10px;
}
.footer-list li a{ 
    color: #171B23;
    display: flex;
    justify-content: space-around;
    text-decoration: none;
    transition: 0.7s;
}
.footer-list li a:hover{
    color:#7985A3;
}
.social-networks-footer-list{
    box-sizing: border-box;
    align-items: center;
    margin: 0;
    padding-bottom: 38px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
}
.social-networks-footer-list p{
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 300;
    color: #171B23;
    text-align: center;
}
.social-networks-footer-list ul{
    align-items: flex;
    display: center;
    align-items: center;
    display: flex;
    list-style-type: none;
    justify-content: center;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 0px;
    padding-top: 3px;
}
.social-networks-footer-list ul li{
    margin: 0px 5px;
}
.footer-block-brand-info{
    box-sizing: border-box;
    color: #99B5B5;
    cursor: auto;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    padding-bottom: 45px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
    text-align: center;
}
.brand-info{
    box-sizing: border-box;
    color: #79859F;
    cursor: auto;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    overflow-wrap: break-word;
    text-align: center;
    text-decoration: none;
}
.brand-info a{
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #79859F;
    text-align: center; 
    text-decoration-line: none;
}
@media screen  and (max-width: 770px){
    .footer-list li{
        padding-left: 15px;
        padding-right: 15px;
    }
}