*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  font-family:Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  background: radial-gradient(circle at 10% 30%, rgb(0, 0, 0) 0%, rgb(15, 25, 30) 70.2%);
}

/* SECTION 1 */

.section1{
  position: relative;
  height: 100vh;
  /* background: radial-gradient(circle at 10% 30%, rgb(0, 0, 0) 0%, rgb(15, 25, 30) 70.2%); */
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigation{
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  position:absolute;
  width:100%;
  height: 100px;
  top: 0;

}
.namebox{
  margin: 1rem;
  line-height: 1;
  position: relative;
  width: 100%;
}
.namebox h1{
  font-weight: 500;
}
.namebox h2{
  position: absolute;
  font-weight: 900;
  font-size: 3rem;
   
}
.namebox h2:nth-child(1){
  color: transparent;
  -webkit-text-stroke: 2px #ffbd39;
}
.namebox h2:nth-child(2){
  color: #ffbd39;
  animation: animate 3s ease-in-out infinite;

}
@keyframes animate {
  0%,100%{
    clip-path: polygon(0% 45%, 15% 44%, 32% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%);

  }
  50%{
    clip-path: polygon(0% 60%,16% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100% );
  }
  
}

.navitem{
  width: 100%;
  display: flex;
  gap: 2.5rem;
  list-style: none;
  justify-content: space-between;
  align-items: center;
}
.navlist{
  font-size: 1.5rem;
  text-decoration: none;
  list-style: none;
 
}
.navtag{
  text-decoration: none;
  color: #fff;
}
.navtag::after{
  content: "";
  background-color: #ffbd39;
  height: 3px;
  width: 0%;
  display: block;
  margin: auto;
   
}
a:hover::after{
  width: 100%;
  transition: 0.3s linear;
}
.color{
  color: #ffbd39;
}
.textbox{
  line-height: 1.5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.textbox h6{
  font-size: 1.2rem;
  color: #ffbd39;
}
.textbox h1{
  font-size: 4rem;
  font-weight: 800;
}
.textbox h3{
  font-size: 2.5rem;
  font-weight: 700;
}
span{
  color: #ffbd39;
} 

.wrapper{
  display: flex;
  justify-content: center;
  align-items: center; 
}

#toggle{
  display: none;
}

.burger{
  display: none;
  width: 40px;
  height: 25px;
  margin: 30px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
} 
.burger span{
  height: 3px;
  width: 30px;
  background-color: snow;
}

/* SECTION 2 */

.section2{
  width: 100%;
  background: radial-gradient(circle at 10% 30%, rgb(0, 0, 0) 0%, rgb(18, 26, 31) 70.2%);
  display: flex;
  justify-content: space-around;
  
}
.aboutbox {
  width: 30rem;
}
.aboutbox h1{
  font-size: 2rem;
  padding-top:3rem ;
}

.aboutbox h1, p{
  padding-bottom:2rem ;
}

.skills h1{
  font-size: 2rem;
  padding-top:3rem ;
  padding-bottom:3rem ;
}
.flex{
  display: flex;
  opacity: 1;
}
.flex h1{
  font-size: 1.2rem;
  padding-top: 0rem;
}
.html,.css{
  width: 20rem;
}
.html,.css,.js,.sass{
  padding: 0.5rem;
}
.html{
  height: 20rem;
  background-color:rgb(20 20 20);
  
}
 

.css{
  height: 15rem;
  background-color: rgb(82 82 82);
  
}
 
.grid{
  display: grid;
  grid-template-columns:160px 160px;
  grid-template-rows:80px 80px ;
  
  
}
.js{
  background-color:rgb(51 51 51); 
  
}
.sass{
  background-color:rgb(30 30 30);
}

.fa-brands{
  font-size: 2.5rem;
}


/* SECTTION 3 */

.section3{
  height: 190vh;
  background-color: #0e171c;
  text-align: center;
  
}
.projects{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}
.section3 h1{
  padding-top: 2rem;
  margin-bottom: 5rem;
  font-size: 2.5rem;
}
.bluelancer,.edgeledger{
  height: 30rem;
  width: 45rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 2%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.edgeledger{
  background-color: #93cb52;

}
.bluelancer{
  background-color: #2f54eb;
}
img{
  width: 35rem;
  height: 20rem;
  image-rendering: crisp-edges;
  
}
.site{
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
}
.site1{
  background-color: #3a50a5;
  
}
.site2{
  background-color: #678d3a;
}
.sitetag{
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bolder;
}


/* SECTION 4 */


.section4{
  height: 100vh;
  background: radial-gradient(circle at 10% 30%, rgb(0, 0, 0) 0%, rgb(15, 25, 30) 70.2%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.contactbox{
  height: 30rem;
  width: 45rem;
  background-color:rgba(0, 0, 0, 0.4);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 2%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.contact{
  width: 30rem;
}
.contact h1{
  margin-bottom: 4rem ;
  font-size: 2.5rem;
}
.contact p{
  line-height: 1.2;
}
.icons{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}
.icons_link{
  color: #fff;
  font-size: 2rem;
}
#mail{
  font-size: 2.5rem;
}


/* FOOTER */



.footer{
  background-color:rgba(0, 0, 0, 0.4);
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.footer p{
  font-family: cursive;
}

.top{
  position: fixed;
  bottom:50px;
  right: 50px;
  text-align: center;
  width: 40px;
  border-radius: 50%;
  transition-property: all;
  transition-timing-function: linear;
  
}
.top:hover{
 background-color: #ffbd39;
}
.toplink{
  font-size: 2.5rem;
  color: #ffbd39;
  transition-property: all;
  transition-timing-function: linear;
}
.toplink:hover{
  color: #fff;
}



/* RESPONSIVENESS */

@media only screen and (max-width:1115px){
  .section2{
    flex-direction: column;
    align-items: center;
  }
  .aboutbox{
    text-align: center;
    width: 40rem;
  }
  .skills{
    text-align: center;
  }
}
@media only screen and (max-width:1024px){
  .section3{
    height: 1400px;
  }
}




@media only screen and (max-width:800px){
  .navitem{
    display: none;
  }

  .burger{
    display: flex;
    z-index: 5;
  }

  #toggle:checked ~ .burger{
    transform: rotate(360deg);
    transition: transform 0.3s ease-in-out;
  }

  #toggle:checked ~ .burger span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 5px);
    transition: transform 0.3s ease-in-out;
  }
    
  #toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }
    
  #toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(10px, -5px);
    transition: transform 0.3s ease-in-out;
  }

  #toggle:checked ~ .navitem{
    display: block;
    position: absolute;
    top: 30px;
  }

  /* #toggle:checked ~ .navitem .navlist{
    margin: 20px 0;
  } */

  .navlist{
    margin-bottom: 20px;
  }
  .navlist:nth-child(1){
    padding-top: 5px;
  }
  .navlist:nth-child(4){
    margin-bottom: 10px;
  }
  .navitem{
    width: 250px;
    margin-top: 50px;
    margin-right: 250px;
    background-color:#0d1316;
    text-align: center;
     
  }
  .navtag::after{
     display: none;
     
  }
  .navtag{
    transition: 0.1s linear;
  }
  .navtag:hover{
    color: #ffbd39;
  }
  .section3{
    height: 1000px;
  }
  .bluelancer,.edgeledger{
    height: 20rem;
    width: 35rem;
  }
   
  img{
    width: 30rem;
    height: 15rem;
    
  }
  .contactbox{
    height: 20rem;
    width: 35rem;
  }
  .contact{
    width: 25rem;
  }
  .contact h1{
    margin-bottom: 2.5rem ;
  }
}

@media only screen and (max-width:670px){
  .namebox h2{
    font-size: 2.5rem;
  }
  .textbox h1{
    font-size: 3rem;
  }
  .textbox h3{
    font-size: 2rem;
  }
  .aboutbox{
    width: 25rem;
  }
  .html,.css{
    width: 15rem;
  }
  .grid{
    grid-template-columns:120px 120px;
     
  }
  .flex h1{
    font-size: 1rem;
  }
}

@media only screen and (max-width:600px){
  .bluelancer,.edgeledger{
    height: 20rem;
    width: 25rem;
  }
   
  img{
    width: 20rem;
    height: 10rem;
    
  }
  .site{
    padding: 0.7rem 1.2rem;
  }
  .contactbox{
    height: 20rem;
    width: 25rem;
  }
  .contact{
    width: 20rem;
  }
  .contact h1{
    margin-bottom: 2.5rem ;
  }
}
@media only screen and (max-width:510px){
  .navitem{
    width: 150px;
    margin-top: 50px;
    margin-right: 150px;
    background-color:#0d1316;
    text-align: center;
     
  }
  .navtag{
    font-size: medium;
  }
  .textbox h6{
    font-size: smaller;
  }
  .textbox h1{
    font-size: 2.5rem;
  }
  .textbox h3{
    font-size: 1.5rem;
  }
  .html,.css{
    width: 10rem;
  }
  .html{
    height: 15rem;
  }
  .css{
    height: 10rem;
  }
  .grid{
    grid-template-columns:80px 80px;
     
  }
  .flex h1{
    font-size: 0.7rem;
  }
}
@media only screen and (max-width:430px){
  .namebox h1{
    font-size: medium;
  }
  .namebox h2{
    font-size: 2rem;
  }
  .textbox h1{
    font-size: 2rem;
  }
  .textbox h3{
    font-size: 1.2rem;
  }
  .burger{
    width: 30px;
    height:20px;
  }
  .burger span{
    width: 25px;
  }
  #toggle:checked ~ .burger span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 5px);
    
  }
    
  #toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -5px);
    
  }
  .aboutbox{
    width: 20rem;
  }
  .aboutbox p{
    font-size: small;
  }
  .section3{
    height: 900px;
  }
  .bluelancer,.edgeledger{
    height: 15rem;
    width: 20rem;
  }
   
  img{
    width: 15rem;
    height: 7rem;
    
  }
  .site{
    padding: 0.5rem 0.8rem;
  }
  .section4{
    height: 500px;
  }
  .contactbox{
    height: 15rem;
    width: 20rem;
  }
  .contact{
    width: 15rem;
  }
  .contact p{
    font-size: small;
  }
  .contact h1{
    font-size: 1.5rem;
    margin-bottom: 1rem ;
  }
  .footer p{
    font-size: small;
  }
}
@media only screen and (max-width:350px){
  .namebox{
    margin-top: 1.5rem;
  }
  .namebox h2{
    font-size: 1.5rem;
  }
  .textbox h6{
    font-size:x-small;
  }
  .textbox h1{
    font-size: 1.5rem;
  }
  .textbox h3{
    font-size: 1rem;
  }
  .aboutbox{
    width: 15rem;
  }
  .aboutbox h1{
    font-size: 1.5rem;
  }
  .aboutbox p{
    font-size: 0.8rem;
  }
  .skills h1{
    font-size: 1.5rem;
  }
  .flex h1{
    font-size: 0.5rem;
  }
  .html,.css{
    width: 7.5rem;
  }
 
  .grid{
    grid-template-columns:60px 60px;
     
  }
  .fa-brands{
    font-size: 2rem;
  }
  .section3 h1{
    font-size: 2rem;
  }
  .bluelancer,.edgeledger{
    height: 15rem;
    width: 15rem;
  }
   
  img{
    width: 12rem;
    height: 7rem;
    
  }
  .contactbox{
    height: 15rem;
    width: 15rem;
  }
  .contact{
    width: 12rem;
  }
  .contact p{
    font-size: 0.7rem;
  }
  .icons_link{
    font-size: 1rem;
  }
  #mail{
    font-size: 2rem;
  }
  .contact h1{
    font-size: 1.5rem;
    margin-bottom: 1rem ;
  }
  .footer p{
    font-size: x-small;
  }
  .toplink{
    font-size: 2rem;
}
}

 

 
 
 
 
