@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');


html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: #959595;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  background: #121826;
   
  
}

img {
  max-width: 100%;
}

a {
  color: #94A3B8;
  font-weight: 500;
  transition: 0.3s ease;
  text-decoration: none;
  
  
}

a:hover {
  opacity: 0.6;
  
}
.header__nav a:hover{
  opacity: 0.6;
   color: #22D3EE;

}
nav a {
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #22D3EE;
  transition: 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
.container {
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.logo {
  font-weight: 800;

  display: flex;
  align-items: center;
  gap: 10px;
}

.title {
  margin-top: 0;
  font-size: 36px;
  text-align: center;
  color: #DEDEDE;
  
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;

  font-size: 18px;
  background: #22d3ee71;
  color: #ECECEC;
   
  border-radius: 4px;
  transition: 0.3s ease;

  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;



}
.btn:hover{
   transform: translateY(-3px);

}

.btn:hover {
  transform: scale(1.1);
 
  opacity: 0.7;
  background: #0ba8c4;      

}

.btn::before {
  content: "";
  width: 21px;
  height: 21px;

  background-image: url("images/mail.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.socials {
  display: flex;
  gap: 40px;
}

.socials__img {
  display: flex;
}



.burger-menu {
  display: none;
}


/*--------------
    HEADER
--------------*/
.header {
  padding: 13px 0;
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0; 
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #94A3B8;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
 
}




@media (max-width: 768px) {

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #232d41;
    width: 200px;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: 12px;
    
  }

  .nav a {
    margin: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.119);
  }

  .burger {
    display: flex;
  }

  .nav.active {
    display: flex;
  }
}
/*--------------
    WELCOME
--------------*/
.welcome {
  margin-top: 160px;
}

.welcome .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  

}

.welcome__title {
  width: 500px;
  margin-bottom: 24px;
  margin-top: 0;
  

  font-weight: 700;
  font-size: 54px;
  line-height: 1.19;
  color:  #b4c3d8;
  border-bottom: 2px solid rgba(255,255,255,0.05);
}

.welcome__text {
  width: 395px;
  margin-bottom: 88px;
  color: #94A3B8;
  font-size: 18px;
  line-height: 1.7;
  max-width: 500px;
}

.welcome__img {
  margin-right: 105px;

  width: 400px;
  height: 400px;
  border-radius: 50%;
  

  object-fit: cover;
  object-position: center;
  
  box-shadow: 0 0 70px rgba(34,211,238,0.2);

}


/*--------------
    WORKS
--------------*/
.works {
  margin-top: 140px;
}

.works__btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin-bottom: 80px;


  font-family: 'Manrope';
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  
  
  
  color: #DEDEDE;

  
  background-color: transparent;
  border: none;
  opacity: 0.7;
}

.works__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  padding-top: 140px;
}

.work {
  height: 888px;
  
  position: relative;
  color: #FFFFFF;
}

.work:nth-child(odd) {
  margin-top: -140px;
  
}

.work:hover {
  opacity: 1;
}

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  
}

.work__name {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
 

  display: flex;
  justify-content: center;
  align-items: center;

 
  font-weight: 700;
  font-size: 40px;

  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s;
}



.about_me2{
  color: rgb(255, 255, 255);
  width: 40%;
   color: #94A3B8;
  font-size: 18px;
  line-height: 1.7;
  max-width: 500px;
}

.about_me3{
  position: relative;
  margin: 0px 40px 0px;
  color: #94A3B8;
}
.about_me4{
  

 color: #94A3B8;
  width: 40%;
  
  


}
@media (max-width:1110px){
  .about_me2{
    font-size: 25px;

    width: 60%;
    color: #94A3B8;
  }

}
@media (max-width:600px){
  .about_me2{
    font-size: 20px;

    width: 90%;
    color: #94A3B8;
  }

  
}











@media (max-width:1110px){
  .about_me4{
    font-size: 25px;

    width: 60%;
   color: #94A3B8;
  }

}
@media (max-width:600px){
  .about_me4{
    font-size: 20px;

    width: 90%;
   color: #94A3B8;
  }
}
.work:hover .work__name {
  opacity: 1;
}

/*--------------
    PROJECTS
--------------*/

.projects--vertical{
  margin-top: 150px;
}
.projects--vertical h2{
  color:  #9fa6b0;

}






.projects--vertical  a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;

  font-size: 18px;
  background: #22d3ee71;
  color: #ECECEC;
   
  border-radius: 4px;
  transition: 0.3s ease;

  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s ease;



}

.projects--vertical  a:hover{
  transform: translateY(-3px);

  

}

.projects{
  display: flex;
  justify-content: center;
  gap: 60px;
}
.row1{
  display: flex;
  margin-top: 50px;
  flex-direction: column;
  
  align-items: center;
  gap: 20px;

}
.row1 img{
  width: 600px;
  height: 300px;
  box-shadow: 0 0 70px rgba(34,211,238,0.2);
}



.projects1{
  display: flex;
  justify-content: center;
  margin-top: 60px;
  gap: 60px;
}
.row2{
  display: flex;
  flex-direction: column;
  
  align-items: center;
  gap: 20px;

}
.row2 img{
  width: 600px;
  height: 300px;
  box-shadow: 0 0 70px rgba(34,211,238,0.2);
}


@media (max-width: 1110px) {
  .row1 img{
  width: 400px;
  height: 300px;
}


}

@media (max-width: 850px) {
  .row1 img{
  width: 300px;
  height: 300px;
}


}


@media (max-width: 700px) {
  .projects{
  display: inline-block;
  justify-content: center;
  gap: 60px;
  
}
.row1{
  display: flex;
  flex-direction: column;
  
  align-items: center;
  gap: 20px;

}
.row1 img{
  width: 80%;
  height: 300px; 
}

  


 


}
@media (max-width: 400px) {

  .row1 img{
  width: 90%;
  height: 300px; 
}

}











@media (max-width: 1110px) {
  .row2 img{
  width: 400px;
  height: 300px;
}


}

@media (max-width: 850px) {
  .row2 img{
  width: 300px;
  height: 300px;
}


}

@media (max-width: 700px) {
  .projects1{
  display: inline-block;
  justify-content: center;
  gap: 60px;
  
}
.row2{
  display: flex;
  flex-direction: column;
  
  align-items: center;
  gap: 20px;

}
.row2 img{
  width: 80%;
  height: 300px; 
}
}




/*--------------
    CONTACT
--------------*/
.contact {
  margin-top: 200px;
  margin-bottom: 120px;
}

.contact .container {
  max-width: 520px;
  text-align: center;
}

.contact__title {
  margin-bottom: 24px;
  color:  #9fa6b0;
}

.contact__text {
  margin-bottom: 50px;
  font-size: 26px;
  color: #94A3B8;
  

}


/*--------------
    FOOTER
--------------*/
.footer {
  padding: 40px 0;
  border-top: 1px solid #696969;
}

.footer .container {
  display: flex; 
  justify-content: space-between;
  align-items: baseline;
}

.footer__copy {
  font-size: 16px;
  margin: 0;
  color: #94A3B8;
}

.footer__copy span {
  color: #94A3B8;;
}


@media (max-width: 1100px) {
  .welcome__img {
    margin-right: 0;
  }
}

@media (max-width: 950px) {
  .welcome {
    margin-top: 70px;
  }

  .welcome .container {
    flex-direction: column-reverse;
    gap: 65px;
  }

  .welcome__title {
    width: auto;
  }
  
  .welcome__text {
    width: auto;
    margin-bottom: 50px;
  }

  .welcome__desc {
    text-align: center;
  }

  .work {
    height: 600px;
  }

  .work__name {
    opacity: 1;
  }
}

@media (max-width: 850px) {
  .projects__img {
    height: 300px;
    width: 300px;
  }

  .works, .projects, .contact {
    margin-top: 100px;
  }
}


@media (max-width: 770px) {
  .welcome__title {
    font-size: 36px;
  }
}

@media (max-width: 700px) {
  .footer .container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 35px;
  }

  .header {
    position: relative;
  }

  .burger-menu {
    display: block;
    background-color: transparent;
    padding: 0;
    border: none;

    position: absolute;
    top: 29px;
    right: 15px;
  }
  
  .burger-menu__icon {
    height: 24px;
    width: 30px;
    object-fit: contain;
    object-position: center;
  }

  .header.header--mobile .header__nav {
    display: flex;
  
    align-self: center;
    flex-wrap: wrap;
    gap: 20px 30px;
    justify-content: center;
  }

  .header.header--mobile .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }




  .header__nav {
    display: none;
  }

}

@media (max-width: 650px) {
  .projects__img {
    width: 100%;
    height: 360px;
  }

  .works__wrapper {
    grid-template-columns: 1fr;
  }

  .work:nth-child(odd) {
    margin-top: 0;
  }

  .works__wrapper {
    padding-top: 0;
  }
}

@media (max-width: 500px) {
 

  .welcome__img {
    width: 240px;
    height: 240px;
  }

  .btn {
    padding: 16px 20px;
  }

  .works__btn {
    margin-bottom: 40px;
  }

  .work__name {
    font-size: 28px;
  }

  .title {
    font-size: 28px;
  }

  .projects__title {
    margin-bottom: 35px;
  }

  .contact__title {
    margin-bottom: 12px;
  }

  .contact .container {
    max-width: 270px;
  }

  .contact__text {
    font-size: 18px;
  }

  .contact {
    margin-bottom: 100px;
  }
}

@media (max-width: 420px) {
  .welcome__title {
    font-size: 26px;
  }
}


