@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');


html{
    box-sizing: border-box;
}

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

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

button{
    padding: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

ul{
    list-style: none;
}

html{
    scroll-behavior: smooth;
}

body{
    /* font-family: 'Nunito Sans', sans-serif; */
    font-family: 'PT Serif', serif;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.container{
    max-width: 1240px;
    padding: 0 10px;
    margin: 0 auto; 
}

.header{
    position: relative;
}

.header-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.2;
}

.header .container{
    position: relative;
    z-index: 9;
}

.header__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px; 
    margin: 0 auto; 
    background: #000;
    position: fixed;
    width: 100%; 
    max-width: 1240px;
    z-index: 5;
}

.logo{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.4rem;
    color: #4245da;
    border: 1px solid #1c1fc5; 
    border-radius: 4px;
    box-shadow: rgba(20, 50, 187, 0.874) 1px 2px 1px 1px; 
    padding: 5px;
    transition: color .2s ease-in; 
}

.logo:hover{
    color: rgba(23, 52, 182, 0.874); 
}

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

.menu__link{
    font-family: 'Nunito Sans', sans-serif;
    padding-right: 50px;
    color: rgb(201, 192, 192);
    transition: all .2s ease-in;
}

.menu__link:hover{
    color:rgba(255, 170, 0, 0.874);
    text-decoration: underline;
}

.header__content{
    display: flex;
    justify-content: space-between;
    align-items: center; 
    flex-wrap: wrap;
    padding: 80px 0 100px;
    position: relative;
}

.header__content-title{
    position: relative;
    max-width: 650px;
}

.header__photo{
    display: block;
    width: 400px;
	max-width: 100%;
    height: 100%;
	margin: 0 auto;
    margin-top: 30px;
    border-radius: 100%;
    z-index: -1;
}

.header__title{
    font-size: 55px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.2rem;
    margin-bottom: 20px;
}

.header__text{
    font-size: 24px;
    line-height: 1.4;
    color: rgb(201, 192, 192);
    margin-bottom: 20px;
}

.header__descr{
   position: absolute;
}

.header__descr-1{
    bottom: -40px;
    left: 0;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, red, green);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.header__descr-2{
    bottom: -50px;
    left: 120px;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, rgb(162, 255, 0), rgb(128, 105, 0));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.header__descr-3{
    bottom: -70px;
    left: 200px;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, rgb(255, 0, 76), rgb(128, 0, 115));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.header__descr-4{
    bottom: -80px;
    left: 290px;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, rgb(255, 187, 0), rgb(115, 128, 0));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.header__descr-5{
    bottom: -50px;
    right: 100px;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, rgb(255, 0, 0), rgb(128, 58, 0));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}
.header__descr-6{
    bottom: -20px;
    right: 10px;
    font-size: 35px;
    font-weight: 700;

    color: #fff;
    background: linear-gradient(45deg, rgb(132, 0, 255), rgb(0, 96, 128));
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.title__text{
    color: #000;
    background: linear-gradient(45deg, red, green);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent ;
}

.text__top{
    position: absolute;
    top: 0;
    right: 0;
}

.textlink-1{
    font-size: 65px;
    top: 80px;
    right: 250px;
    color: #e5440f;
    font-weight: 700;
}

.textlink-2{
    font-size: 65px;
    top: 140px;
    right: 320px;
    color: #0dbc0a;
    font-weight: 700;
}

.textlink-3{
    font-size: 65px;
    top: 200px;
    right: 320px;
    color:#2528df;
    font-weight: 700;
}


/*portfolio*/
.portfolio{
    padding: 100px 0;
	border-top: 1px solid #999;
}

.portfolio__content-title{
    max-width: 540px;
    text-align: center;
    margin: 0 auto;
}

.portfolio__title{
    font-size: 42px;
    line-height: 1.2;
    color: #999;
    margin-bottom: 20px;
}

.portfolio__text{
    font-size: 18px;
    line-height: 1.4;
    color: rgb(201, 192, 192);
    margin-bottom: 80px;
}

.portfolio__inner-block{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.portfolio__box{
    display: block;
    overflow: hidden; 
    width: 250px;
    height: 250px;
    border: 1px solid #999;
}

.portfolio__img{
    display: block;
    width: 100%;
    max-width: 100%; 
    height: 100%; 
    transition: all .9s;
}


.portfolio__img:hover{
    border: 1px solid #fff;
    box-shadow: 0 0 2px 1px;
}

.portfolio__box .portfolio__img:hover{
    transform: scale(1.08);
} 


/*footer*/
.footer{
    padding: 100px 0;
    background-color: rgb(26, 24, 24);
}

.footer__inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner__text{
    font-size: 14px;
    opacity: .5;
}

.icons__list{
    display: flex;
    gap: 0 20px;
}

.icon-img{
   width: 30px;
   height: 30px;
   border-radius: 50%;
   transition: all .3s ease-in;
}

.icon-img:hover{
    border: 1px solid #fff;
    border-radius: 50px;
}

.hidden{
    display: none;
}

#icon__block{
    cursor: pointer
}

.contact__phone{
    margin-top: 20px;
    margin-left: 85%;
    color: rgb(11, 147, 11);
    text-decoration: underline;
}

/*burger-nav*/
.menu{
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu__list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px; 
}

.menu__item{
    list-style: none;
}

.menu__link{
    font-size: 16px;
    text-decoration: none;
    /*color: #333;*/
}

.nav__button{
    border: none;
    background-color: #000;
}

.nav__button img{
   position: fixed;
   display: none;
   width: 40px;
   height: 40px;
   top: 20px;
   right: 30px;
   
}

.menu.open .menu__list{ 
    position: fixed;
    top: 0;
    bottom: 400px;
    left: 0;
    right: 0;
    background-color: #000;
    z-index: 1;
    display: none;
    /* flex-direction: column; */
    row-gap: 30px;
    font-size: 34px;
    font-weight: 700;

    padding: 60px 40px;
	transition: all .10s ease-in;
}

@media(max-width: 700px){
    .menu__list{
        display: none; 
    }
    .nav__button img{
        display: block;
		background-color: #fff; 
        position: fixed;
        z-index: 9;
        border-radius: 20px;
    }
	.menu.open .menu__list{ 
        position: fixed;
        top: 0;
        bottom: 400px;
        left: 0;
        right: 0;
        background-color: #000; 
        z-index: 1;
        display: block;
        /* flex-direction: column; */
        row-gap: 30px;
        font-size: 34px;
        font-weight: 700;
		height: 300px;
        padding: 60px 40px;
        transition: all .10s ease-in;
	}
	.menu__item{
		padding-bottom: 30px;
	}
}
/*/burger-nav*/


/*Media*/

@media(max-width: 1024px){
	.header__content-title{
		margin-top: 10px;
	}
}

@media(max-width: 1106px){
    .header__content{
        padding: 150px 0 80px;
    }
    .header__photo{
        order: 1;
    }
}

@media(max-width: 699px){
    .header__descr{
        display: none;
     }
}


@media(max-width: 520px){
	.logo{
		font-size: 20px;
	}
    .header__photo{
        max-width: 300px;
        height: 300px;
        margin-top: 10px;
    }
	.header__title{
		font-size: 45px;
	}
	.header__text{
		font-size: 18px;
	}
	.header__content{
		padding: 100px 0px 50px;
	}
	.portfolio{
		padding: 50px 0;
	}
	.portfolio__title{
		font-size: 30px
	}
	.footer{
		padding: 70px 0;
	}
	.footer__inner{
		display: block;
	}
	.inner__text{
		margin-bottom: 20px;
	}
	.menu.open .menu__list{
		bottom: 0;
	}
	.nav__button img{
		right: 20px;
	}
	.icons__list{
		justify-content: flex-end;
	}
}

@media(max-width: 492px){
    .header__title{
		font-size: 30px;
	}
    .portfolio__title{
		font-size: 25px;
	}
}
