:root {
  --text-color: rgb(255, 255, 255);
  --link-color:#4a76ee;
  --backgroung-color:#1a1c20;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;

}

body {
  font-family: 'poppins', sans-serif;
  background-color: var(--backgroung-color);
  max-width: 1400px;
  margin: 0 auto;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

nav{
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
  height: 80px;
  
}

nav .left a {
  color: rgb(255, 255, 255);
  font-size: 22px;
  font-weight: 600;
}

nav .right a {
  color: rgb(255, 255, 255);
  margin: 0 10px;
}

nav .right a:hover {
  color:rgb(0, 255, 255) ;

}

nav .right a:last-child{
 color: rgb(255, 255, 255);
  background-color: rgb(89, 192, 192);
  padding: 5px 12px;
  border-radius: 5px;
  display: inline-block;
}


nav .right a:last-child:hover {
  color:rgb(0, 255, 255) ;
  border: 2px solid;
  border-color: rgb(0, 255, 255);
}

nav.right a span{
  margin-left: 5px;
}

/*SECTION2:INTRO*/
.intro-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin: 50px 0;
 
}

.intro-section .text{
  flex: 5;
  
}
.intro-section .text{
  color:rgb(255, 255, 255) ;
}


.intro-section .text h2 {
  font-size: 30px;
}
 .color-text1{
  color:rgb(89, 192, 192) ;
}

 .color-text2{
  color: rgb(89, 192, 192);
}

.intro-section .text .links {
  margin-top: 25px
}

.intro-section .text .links a {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid;
  background-color:rgb(89, 192, 192) ;
  border-radius: 5px;
  color:rgb(255, 255, 255);
  border-color:rgb(89, 192, 192) ;
  margin-right: 5px;
  margin-bottom: 5px;
  gap: 80px;
}


.intro-section .text .links a:hover {
  color:rgb(0, 255, 255) ;
  border: 2px solid;
  border-color: rgb(0, 255, 255);
}

.intro-section .image{
  flex: 2;
  display: flex;
  justify-content: right;
}

.intro-section .image img {
  width: 350px;
}

@media(max-width: 708px) {
  /* SECTION2: INTRO*/
  .intro-section .text h2{
    font-size: 25px;
  }
}

@media(max-width: 690px) {
  /* SECTION2: INTRO*/
  .intro-section{
    flex-direction: column-reverse;
  }
  .intro-section .image img {
    width: 280px;
  }


  
/*LAST SECTION*/
.reach-me .group{
  flex-direction: column;
}

}


/*LAST SECTION*/

@media(max-width: 600px) {

/*NAVBAR*/
  nav {
    padding: 0 20px;
  }

  nav .right a span {
    display: none;
  }

  /*SECTION2: INTRO*/
  .intro-section{
    padding: 0 20px;
  }
  .intro-section .text h2 {
    font-size: 20px;
  }
}

html{
  scroll-behavior: smooth;
}


/*SECTION3: ABOUTS*/
.about-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  margin: 50px 0;
  margin-bottom: 70px;
  gap: 40px;

}

.about-section .text2 {
  flex: 5; 
}

.about-section .image2 img {
  width: 350px;
}



.about-section .text2 {
  color:rgb(255, 255, 255) ;
}


.about-section .text2 h2 {
  font-size: 30px;
}

 .color-me{
 color:  rgb(89, 192, 192) ;
}


.about-section .text2 .links2 {
  margin-top: 20px
}

.about-section .text2 .links2 a {
  display: inline-block;
  padding: 5px 10px;
  border: 2px solid;
  background-color:rgb(89, 192, 192) ;
  border-radius: 5px;
  color:rgb(255, 255, 255);
  border-color:rgb(89, 192, 192) ;
  margin-right: 5px;
  margin-bottom: 5px;
}


.about-section .text2 .links2 a:hover {
  color:rgb(0, 255, 255) ;
  border: 2px solid;
  border-color: rgb(0, 255, 255);
}


@media(max-width: 708px) {
  /* SECTION3: ABOUT*/
  .about-section .text2 h2{
    font-size: 25px;
  }
}

@media(max-width: 690px) {
  /* SECTION3: ABOUT*/
  .about-section{
   flex-direction: column;
  }
  .about-section .image2 img {
    width: 280px;
  }

}

@media(max-width: 600px) {

  nav {
    padding: 0 20px;
  }

  nav .right a span {
    display: none;
  }

  /*SECTION3: ABOUT*/
  .about-section{
    padding: 0 20px;
  }
  .about-section .text2 h2 {
    font-size: 20px;
  }

  .projects-grid{
    padding: 0 20px;
  }
}

/*SECTION4: SERVICES*/
.service-section{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  margin: 50px 0;
  margin-bottom: 70px;
  gap: 40px;

}

.head-color{
  color:  rgb(89, 192, 192) ;
}



/*BOX1*/

.box1{
  
  background-color: #303133;
  padding: 20px 40px;
  border-radius: 10px;
  margin-bottom: 5px;
  margin-right: 2.5pxpx;
}



.text3a {
  flex: 5;
  text-align: center;
  width: 300px;
  font-size: 18px;
 
}

.image3{
  width: 60px;
  margin-bottom: 30px;
}

.space1{
  margin-bottom: 10px;
}



.service-section .text3a {
  color:rgb(255, 255, 255) ;
}


.service-section .text3a h2 {
  font-size: 15px;
   
}

 .text3 {
   color:rgb(255, 255, 255) ;
   width: 100%;
   font-size: 20px;
  text-align: center;

}

.text-color{

  color:  rgb(89, 192, 192) ;
}

 .color-me1{
 color:  rgb(89, 192, 192) ;
}


.service-section{
  display: flex;
  justify-content: center;
 
}
.all-boxes{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
 
 
}


/*BOX2*/

.box2{
 
  background-color: #303133;
 padding: 20px 40px;
  border-radius: 10px;
  margin-bottom: 5px;
  margin-left: 2.5px;
}



.text3b {
  flex: 5;
  text-align: center;
  width: 300px;
  font-size: 18px;
 
}

.image4{
  width: 60px;
  height: 56px;
  margin-bottom: 41.3px;
}

.space2{
  margin-bottom: 10px;
}




.service-section .text3b {
  color:rgb(255, 255, 255) ;
}


.service-section .text3b h2 {
  font-size: 15px;
}

 .color-me2{
 color:  rgb(89, 192, 192) ;
}



/*BOX3*/

.box3{
 
  background-color: #303133;
  padding: 20px 40px;
  border-radius: 10px;
  margin-bottom: 5px;
  margin-left: 2.5px;

}



.text3c {
  flex: 5;
  text-align: center;
  width: 300px;
  font-size: 18px;
 
}

.image5{
  width: 60px;
  margin-bottom: 30px;
}

.space3{
  margin-bottom: 10px;
}



.service-section .text3c {
  color:rgb(255, 255, 255) ;
}


.service-section .text3c h2 {
  font-size: 15px;
}

 .color-me3{
 color:  rgb(89, 192, 192) ;
}



/*PORTFOLIO*/

.work{
     color:rgb(255, 255, 255) ;
   width: 100%;
   font-size: 28px;
  text-align: center;
  
}

.green1{
   color:  rgb(89, 192, 192) ;

}

.my-works{
  color:rgb(255, 255, 255) ;
   width: 100%;
   font-size: 18px;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 15px;
  padding: 0 30px;

}

.portfolio-work1{
  display: inline-block;
  padding: 10px 10px;
  border: 2px solid;
  background-color:rgb(89, 192, 192) ;
  border-radius: 5px;
  color:rgb(255, 255, 255);
  border-color:rgb(89, 192, 192) ;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 18px;

}

.portfolio-work1:hover {
  color:rgb(0, 255, 255) ;
  border: 2px solid;
  border-color: rgb(0, 255, 255);
}

.portfolio-work2{
  display: inline-block;
  padding: 10px 10px;
  border: 2px solid;
  background-color:rgb(89, 192, 192) ;
  border-radius: 5px;
  color:rgb(255, 255, 255);
  border-color:rgb(89, 192, 192) ;
  margin-right: 5px;
  margin-bottom: 5px;
  font-size: 18px;
 
}

.portfolio-work2:hover {
  color:rgb(0, 255, 255) ;
  border: 2px solid;
  border-color: rgb(0, 255, 255);
}

.p-w{
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}




.projects-grid {
  display: grid;
  padding: 0 20px;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 20px;
}



.projects-grid2 {
  display: grid;
  padding: 0 20px;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 20px;
}



.inner-place{
  background-color: rgb(50, 107, 107);
   padding: 10px 9px;
  border-radius: 15px;
  margin-top: 0;
  
}

.arrow{
  top: 0;
  left: 0;
  position: absolute;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: 0.6s;
}

.arrow:hover{
  opacity: 1;
}

.project-card {
 background-color: #303133;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;

  border-radius: 10px;
  margin-bottom: 5px;
  margin-left: 2.5px;
}



.project-card img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 2px 15px rgb(20, 20, 20);
  border-radius: 10px;
  
 
}

.project-card h4 {
  margin: 16px;
  font-size: 1.1rem;
  color: white;
}

.read-more {
  margin: 0 16px 16px;
  padding: 10px 20px;
  border: none;
  background: rgb(89, 192, 192);
  color: white;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-start;
  font-size: 18px;
}

.read-more:hover {
     border: 2px solid;
  border-color: rgb(0, 255, 255);
}













/*REACH ME*/
.reach-me{
  padding: 0 50px;
  margin-bottom: 100px;
}

.reach-me h2{
 color:rgb(255, 255, 255) ;
   width: 100%;
   font-size: 30px;


}
.contact-color{
  color:  rgb(89, 192, 192) ;
}

.reach-me .group{
   color:rgb(255, 255, 255) ;
  display: flex;
  gap: 50px;

}
.reach-me .group .text-group{
  flex: 3;
  margin-top: 20px;
}

.reach-me .group form{
  flex: 3;
  display: flex;
  flex-direction: column;
 
}

.reach-me .group form input,
.reach-me .group form textarea {
  font-family: 'poppins', sans-serif;
  border: 2px solid rgb(89, 192, 192);
  background-color: transparent;
  padding: 10px;
  margin-bottom: 15px;
  outline: none;
  resize: none;
  color: white;
 
 
}


.reach-me .group form button {
  font-size: 16px;
  font-family: 'poppins', sans-serif;
  color:rgb(255, 255, 255) ;
  background-color:rgb(89, 192, 192) ;
  border: none;
  height: 50px;
  cursor: pointer;
  transition: .1s;
  border-radius: 5px;
}

.reach-me .group form button:hover{
  filter: brightness(.9);
}

.reach-me{
  padding: 0 20px;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  
}
.footer a{
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(89, 192, 192);
  margin-bottom: 40px;
  
}

.footer a:hover{
   color:rgb(0, 255, 255) ;

}


.talk{
  color: white;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}


.new-footer{
  margin-top: 50px;
  background-color: #303133;
  border-top-right-radius: 30px;
  border-top-left-radius: 30px;
  padding: 2px 5px;
}


.site-footer {
  text-align: center;
  padding: 20px;
}

.site-footer {
  opacity: .7;

}

.footer-line {
  width: 70%;
  height: 1px;
  background-color: #e7e5e5;
  margin: 0 auto 10px;
  opacity: .3;
}

.footer-text {
  font-size: 14px;
  color: white;
  margin: 0;
}












