html{
    box-sizing: border-box;
}

*,
*::before,
*::after{
    box-sizing: inherit;
}

a{
    color: inherit; 
    text-decoration: none;
}

img{
    max-width: 100%;
}

body{
    font-family: "Poppins", sans-serif;
    /* font-family: "DM Sans", sans-serif; */
    background-color: rgb(209, 203, 203);
}

.container{
    max-width: 1230px;
    padding: 0 15px;
    margin: 0 auto;
}

.header-portfolio {
    position: fixed;
    color: #fff;
    display: block;
    margin-top: 90px;
    padding: 5px 10px;
    border-radius: 4px;
    background: #3c0202;
    transition: all .2s ease-in;
    z-index: 100;
}

.header-portfolio:hover{
    background-color: #be0924;
    color: #fff;
}

.menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 41px 0;
}

.nav{
    display: flex;
    align-items: center;
}

.nav__list{
    display: flex;
    align-items: center;

}

.nav__item{
    margin-right: 51px;
}

.nav__link{
    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: #666;
    transition: color .3s;
}

.nav__link:hover{
    color: #9c9494;
}

.nav__icons{
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 220px;
}

.header-block__title{
    width: 636px;
}

.header__title{
    font-size: 58px;
    line-height: 70px;
    font-weight: 700;
    color: #42446e;
}

.header__title span{
    color: #000;
    background: linear-gradient(90deg, #13B0F5 -0.08%, #CA24B4 63.6%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.stack{
    padding-top: 350px;
    padding-bottom: 215px;
}

.content-box{
    text-align: center;
}

.content__title{
    font-size: 48px;
    line-height: 26px;
    font-weight: 700;
    color: #42446e;
    margin-bottom: 50px;
}

.content__text{
    font-size: 32px;
    line-height: 26px;
    color: #666;
}

.stack-content__inner{
    margin-top: 150px;
}

.stack__list-icons{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
}

.icon__img{
    width: 120px;
    height: 120px;
}

.project{
    padding-bottom: 200px;
}

.project__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 96px;
}

.project-container{
    width: 373px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 62px;
}

.project__title{
    font-size: 28px;
    line-height: 26px;
    font-weight: 500;
    color: #000;
    margin-top: 27px;
    margin-bottom: 17px;
    padding: 0 31px 0 28px;
}

.project__text{
    font-size: 18px;
    line-height: 26px;
    font-weight: 300;
    color: #666;
    margin-bottom: 12px;
    padding: 0 31px 0 28px;
}

.project__stack{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #000;
    margin-bottom: 24px;
    margin-left: 25px;
}

.project__stack-title{
    font-size: 16px;
    line-height: 26px;
}

.project__stack-title span{
    font-size: 14px;
    line-height: 26px;
}

.project__links{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 0 28px;
}

.link__left{
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: underline;
    color: #000;
    transition: color .3s;
}

.link__left:hover{
    color: rgb(87, 84, 84);
}

.link__right{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: underline;
    color: #000;
    transition: .3s;
}

.link__right:hover{
    color: rgb(87, 84, 84);
}

.footer__inner-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #666;
    padding-bottom: 42px;
}

.footer__inner-info{
    display: flex;
    align-items: center;
}

.footer__list{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.footer__phone{
    font-family: "DM Sans", sans-serif;
    width: 169px;
    font-size: 18px;
    line-height: 26px;
    color: #42446e;
    margin-right: 33px;
}

.footer__phone:hover{
    text-decoration: underline;
}

.footer__mail{
    font-family: "DM Sans", sans-serif;
    width: 206px;
    font-size: 18px;
    line-height: 26px;
    color: #42446e;
    margin-right: 48px;
}

.footer__mail:hover{
    text-decoration: underline;
}

.footer__inner-bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 60px 0;
}

.footer__nav-list{
    display: flex;
    align-items: center;
    list-style: none;
    gap: 52px;
}

.footer__nav-link{
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    line-height: 26px;
    color: #42446e;
    transition: color .2s;
}

.footer__nav-link:hover{
    color: #212561;
}

.footer__bottom-text{
    font-size: 18px;
    line-height: 26px;
    color: #666;

}

.pav{
    color: #666;
    background: linear-gradient(90deg, #13B0F5 -0.08%, #CA24B4 63.6%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.lov{
    color: #666;
    background: linear-gradient(40deg, #b59ded -0.08%, #CA24B4 80.6%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.cof{
    color: #666;
    background: linear-gradient(40deg, #a565cb -0.08%, #CA24B4 80.6%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}



/* Burger */
.header__burger-btn{
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.header__burger-btn span{
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #000;
    left: 5px;
    transition: transform .5s, opacity .5s, background-color .5s;
}

.header__burger-btn span:nth-child(1){
    transform: translateY(-10px);
}

.header__burger-btn span:nth-child(3){
    transform: translateY(10px);
}

.header.open .header__burger-btn span{
    background-color: #fff;
}

.header.open .header__burger-btn span:nth-child(1){
    transform: translateY(0) rotate(45deg);
}
.header.open .header__burger-btn span:nth-child(2){
    opacity: 0;
}
.header.open .header__burger-btn span:nth-child(3){
    transform: translateY(0) rotate(-45deg);
}
/* /menu-burger */

/* Burger */
@media(max-width:971px){
    .header__burger-btn{
        display: block;
        z-index: 4;
    }
    .menu__list{
        position: absolute;
        left: -100%; 
        top: 0;
        background-color: deepskyblue;
        display: block;
        width: 100%;
        height: 400px;
        padding: 100px 20px 20px 20px;
        z-index: 2;
        transition: transform .5s;
    }
    .menu__item{
        margin-top: 20px;
    }
    .menu__link{
        font-size: 18px;
        color: #333;
        padding-top: 30px;
    }
    .header.open .menu__list{
        transform: translateX(100%);
    }
}

/*/Burger*/

@media(max-width: 1045px){
    .header-block__title{
        margin-bottom: 30px;
    }
    .header-block{
        margin-top: 120px;
    }
    .stack{
        padding-top: 150px;
        padding-bottom: 150px;
    }
    .footer__bottom-text{
        margin-top: 20px;
    }
}

@media(max-width: 772px){
    .content__title{
        font-size: 38px;
        margin-bottom: 30px;
    }
    .content__text {
         font-size: 28px; 
         line-height: 28px; 
         
        }
    .project-container{
        margin: 30px auto;
    }
    .footer__inner-top{
        display: block;
    }
    .stack__list-icons{
        gap: 50px;
    }
}

@media(max-width: 669px){
    .header__title{
        font-size: 48px;
        line-height: 60px;
    }
}

@media(max-width: 585px){
    .header-block{
        margin-top: 30px;
    }
    .header__title {
        font-size: 38px;
        line-height: 50px;
        }
    .stack{
        padding: 50px 0;
    }    
    .project{
        padding-bottom: 100px;
    }
    .content__title{
        font-size: 28px;
        margin-bottom: 20px;
    }
    .content__text {
         font-size: 20px; 
         line-height: 28px; 
         
        }
    .footer__inner-info{
        display: block;
    }
    .footer__nav-list{
        display: block;
    }
    .footer__nav-item{
        margin-top: 20px;
    }
    .footer__phone{
        margin-right: 100px;
    }
    .footer__list{
        margin-top: 20px;
    }
}


@media(max-width: 410px){
    .project__stack{
        display: block;
        margin-left: 5px;
    }
    .project__links{
        padding: 0 5px;
    }
}

@media(max-width: 330px){
    .icon__img{
        margin: 0 auto;
    }
}




