*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: normal;
    font-style: normal;
}
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

ul{list-style: none;padding: 0;}
a{text-decoration: none; color: inherit;}
a:hover{color: inherit;}

.nav__list a{
    position: relative;
}

.nav__list-link::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #070707;
    left: 0;
    bottom: -1px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .5s;

}
.nav__list .nav__list-link:hover::before{
    /* background-size: 0 2px, 100% 2px; */
    transform: scaleX(1);
    transform-origin: left;
}
.wrapper{
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.container{
    width: 1170px;
    margin: 0 auto;
}
/* HEADER */

.nav{
    display: flex;
    justify-content: space-between;
    padding: 46px 20px 0 20px;
    margin-bottom: 76px;
    position: fixed;
    width: 100%;
    top: 0;left:0;right: 20px;
    z-index: 50;
    background-color: #fff;
}

.nav__list{
    display: flex;
    gap: 50px;
    align-items: end;
}
.nav__list-link{
    font-size: 20px;
}
.main{
    flex-grow: 1;
}
/* FOOTer */
.footer{
    display: flex;
    text-align: center;
    padding: 90px 0;
}
.footer__title,
.footer__icons{
    margin-bottom: 40px;
}
.footer__title{
    font-size: 34px;
}
.footer__text{
    font-size: 18px;
    max-width: 286px;
    margin: 0 auto 40px;
}

.footer__link{
    display: block;
    width: 190px;
    padding: 7px 23px;
    border-radius: 32px;
    background-color: black;
    color: #fff;
    font-size: 18px;
    margin: 0 auto;
}
.footer__link:hover{
    background-color: #fff;
    border: 1px solid black;
    color: #000;
}
.footer__icons-link,
.footer__icons-btn{
    transition: transform .3s;
}
.footer__icons-link:hover, 
.footer__icons-btn:hover{
    transform: scale(1.1);
    transition: transform, filter .3s;
}
svg#fb, 
svg#inst, 
svg#github,
svg#donate{
    transition: filter, fill, .2s;
}
svg#inst:hover{
    filter: drop-shadow(.1em .2em .4em rgb(255, 81, 0));
    fill: rgba(253, 0, 0, 0.822);
    transition: filter, fill .3s;
}
svg#fb:hover{
    filter: drop-shadow(0 .2em .4em rgba(0, 89, 255, .8));
    fill: blue;
    transition: filter, fill, .2s;
}
svg#github:hover{
    filter: drop-shadow(0 .2em .4em rgba(0, 0,0,.8));
    fill: #000000;
    transition: filter, fill, .2s;
}
svg#donate:hover{
    filter: drop-shadow(0 .2em .4em rgba(213, 255, 1, 0.8));
    fill: #c3d310;
    transition: filter, fill, .2s;
}
.footer__icons-btn{
    border: none;
    background: transparent;
    height: 40px;
    padding: 0;
    margin: 0;
}


.footer__icons{
    display: flex;
    gap: 61px;
    justify-content: center;
    margin-top: 88px;
}
.footer__list-item{
    width: 40px;
}
.footer__name-icon{
    width: 260px;
    margin: 0 auto;
    color: #828282;
}

/* TOP */
.top__inner{
    display: flex;
    justify-content: space-between;
    margin-top: 150px;
}

.top__content{
    max-width: 496px;
    align-items:center;
    margin: auto 0;
}
.top__title{
    font-size: 44px;
    margin-bottom: 20px;
}
.top__img{
    width: 600px;
    height: 500px;
}

/* SKILLS */
.skills{
    padding: 90px 0 0;
}
.skills-title{
    line-height: 200%;
}
.skills__list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.skills__list-img{
    width: 68px;
    height: 68px;
    margin-bottom: 30px;
}

.skills__list-title{
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.skills__list-text{
    line-height: 200%;
}

/* PORTFOLIO */
.portfolio{
    padding: 90px 0 0;
}
.portfolio__content{

}
.portfolio__title{
    font-size: 34px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 70px;
}
.portfolio__img{
    max-width: 830px;
    max-height: 500px;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px;
}
.portfolio__link{
    display: block;
    font-size: 18px;
    text-align: center;
    margin-bottom: 90px;
    text-decoration-line: underline;
}

.menu__btn{
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: none;
}
.menu__btn span{
    width: 100%;
    height: 3px;
    background-color: #000;
}

/* MODAl */

.danate__content-link{
    display: block;
    margin: 0 auto;
    width: 150px;
    padding: 12px 0;
    background: transparent;
    border: 1px solid #000;
    border-radius: 30px;
    font-size: 20px;
    transition: all .4s;
}
.danate__content-link:hover{
    background-color: #000;
    color: #fff;
    transition: all .4s;
}
.danate__content-item{

}
.danate__content-item3{
    padding: 10px;
    background-color: aquamarine;
    border-radius: 30px;
    height: 150px;
}

@media (max-width:1024px){
    .container{
        width: 900px;
    }
    .top__title {
        font-size: 36px;
    }
    .footer{
        display: block;
    }
}
@media (max-width:980px){
    .container{
        width: 900px;
    }
    .top__title {
        font-size: 40px;
    }
    .footer{
        display: block;
    }
}
@media (max-width:768px){
    .container{
        width: 760px;
        margin: 0 auto;
    }
    .nav {
        padding: 18px 10px 0;
    }
    .skills__list {
        gap: 20px;
    }
}


@media (max-width:820px){
    html{
        box-sizing: border-box;
    }
    .container{
        max-width: 810px;
        margin: 0 auto;
    }
    .nav__list {
        gap: 40px;
    }
    .top__content {
        max-width: 430px;
    }
    .top__title {
        font-size: 37px;
    }
    .top__img{
        width: 100%;
    }
    .footer{
        display: block;
    }
}

@media (max-width:540px) {
    .menu__btn{
        display: flex;
        margin-bottom: 30px;
    }
    .menu__btn,
    .logo{
        position: relative;
        z-index: 10;
    }
    .nav__list{
        position: absolute;
        z-index: 5;
        padding-top: 200px;
        height: 100vh;
        inset: 0;
        color: #000;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
        transform: translateX(-100%);
        transition: transform .3s ease-in-out;
    }
    .nav__list.nav__list--active{
        transform: translateY(0);
    }
    .nav__list-link{
        font-size: 34px;
    }
    .nav__list-link::before{
    height: 3px;
    }
    .container{
        width: 315px;
    }
    .nav {
        
        margin-bottom: 53px;
    }
    .top__inner{
        flex-wrap: wrap;
    }
    .top__title{
        font-size: 30px;
    }
    .top__text{
        font-size: 11px;
        margin-bottom: 20px;
    }
    .top__img {
        width: 291px;
        height: 266px;
    }
    .skills{
        padding: 60px 0;
    }
    .skills__list{
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio {
        padding: 60px 0 0;
    }
    .portfolio__img{
        width: 100%;
    }
    .footer {
        padding: 60px 0;
    }
    .footer__icons {
        gap: 51px;
        margin-top: 64px;
    }
}