*{
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: "poppins", "sans-serif";
}

html, body{
   width: 100%;
   height: 100%;
}
#main{
   width: 100%;   /* locomotive lgne ki wjah se hieght nahi di */
}

#green
{
   /* display: none; */
   position: absolute;
   top: 100%;
   z-index: 9999;
   height: 150vh;
   width: 100%;
   background-color: #14CF93;
}

#loader
{
   /* display: none; */
   position: absolute;
   z-index: 9999;
   height: 100vh;
   width: 100%;
   background-color: #111;
}

#loader #topheading{
   position: absolute;
   margin-top: 5vh;
   margin-left: 50vw;
   color: aliceblue;
   transform: translate(-50%,0);
}
.surname{
   font-family: poppins, sans-serif;
   font-style: italic;
   /* font-style: inherit; */
   color:#14CF93;
} 
#topheading h5
{
   text-align: center;
   text-transform: uppercase;
   font-size: 12px;
   font-weight: 300;
}
#loader h1{
   width: 100%;
   justify-content: center;
   display: flex;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%,-50%);
   color: aliceblue;
   font-size: 2vw;
   font-weight: 500;
}

.reveal  .parent{
   overflow-x: hidden;
   display:flex;
   /* width: ; */
   justify-content: center;
   width: 100%;
}

.reveal .parent .child{
   display: block;
   word-spacing:20px;
   overflow-x: hidden;
}
/* .reveal */
.parent .child span{
   display: inline-block;
}

#home{
    /* padding-bottom: 2vw; */
   height: 161vw;
   width: 100%;
}
#home #nav{

   display: flex;
   height: 100px;
   width: 100%;
   align-items: center;
   padding: 0 5vw;
   justify-content:space-between;
}
#nav a{
   color: #636363;
   position: relative;
   text-decoration: None;
   cursor: pointer;
   text-transform: uppercase;
   font-weight: 300;
   font-size: 14px;  
}
#nav a .line{
   position: absolute;
   bottom: 0;
   height: 1px;   
   background-color: black;
   display: inline-block;
}
#line1{
   left: 0;
   width: 0%;
   transition: all cubic-bezier(0.165, 0.84, 0.44, 1) 1s;
   transition-delay: .2s;
 }
 #line2{
   right: 0;
   width: 100%;
   transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
 }
#nav a:hover #line2{
  
   width: 0;
   
}
#nav a:hover #line1{
  
   width: 100%;
   
}
.row{
   margin-top: 8vh;
   display: flex;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   color: #333;
   padding: 1vw;
   line-height: 1;
   padding-right: 12vw;
   /* background-color: red; */
}
.row h1 {
   font-size: 12vw;
   font-weight: 500; 
   /* margin-left: 10vw;  */
 
   
}
.row #second {
      font-size: 12vw;
      font-weight: 500; 
      margin-left: 20vw; 
   /* position: relative; */
   /* background-color: #14CF93; */
   }



.row .text{
   /* background-color: yellow; */
   margin-top: 1vw;
   margin-left: 10vw;
}
.row h5{
   opacity: .6;
   font-weight: 500;
   font-size:11px;
}
.row:nth-child(3){
   margin-top:0;
}


#imagery   {
   margin-top:  10vw;  
   padding: 0 5vw;
 display: flex; 
 align-items:center ;
  width: 100%;
  justify-content: space-between;
   /* background-color: red; */
}
#imagery #imagelef{
   width: 30%;
   margin-bottom: 10vw;
   height: auto;
}
#imagelef h1{
   font-size: 2vw;
   letter-spacing: 1px;
   font-weight: 500;
   color: #333;
   font-style: italic;
   
}
#imagelef span{
   color: #14CF93;
   font-family: accent-font;
   font-weight: 900;
   
   font-size: 2vw;
   /* background-color: red; */
}
.imgrig{
   width: 60%;
   position: relative;
   height: auto;
   display: flex;
   align-items: center;
   padding: 20%;
      display: flex;
   justify-content: center;
}
.imgrig .imgcntnr{
   position: absolute;
   
 
   border-radius: 20px;
   position: absolute;
   width: 27vw;
   height: 30vw;
   filter: grayscale(100%);
   transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1.9s;
}
.imgrig .imgcntnr:hover{
   filter: grayscale(0%);
}
.imgrig .imgcntnr:nth-child(1) {
   background-color: steelblue;
   background: url("images/fotis-fotopoulos-DuHKoV44prg-unsplash\ \(1\).jpg");
   transform: translate(-20%, -8%) rotate(-25deg);
   background-size: cover;
   background-position: center;
}
.imgrig .imgcntnr:nth-child(2) {
   transform: translate(0%, 0%) rotate(-17deg);
   background:url("images/safar-safarov-koOdUvfGr4c-unsplash.jpg");
   background-size: cover;
   background-position: center;
}
.imgrig .imgcntnr:nth-child(3) {
   background-color: blue;
   background: url("images/kevin-ku-w7ZyuGYNpRQ-unsplash.jpg");
   transform: translate(+20%, +10%) rotate(-9deg);
   background-size: cover;
  
}
.workrow h1{
   /* margin-top:1vw; */
   font-size:7vw;
 margin-left:  35vw;
  /* background-color: yellow; */
  display: inline;
   font-weight: 300;
}
#work{
   /* background-color: red; */
   padding-top: 10vw;
}

/* Add hover effects to project links */
.project-link {
   position: relative;
   overflow: hidden;
}

/* Style the overlay for project information */
.overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.7);
   color: #fff;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   opacity: 0;
   transition: opacity 0.3s ease;
}

/* Show the overlay on hover */
.project-link:hover .overlay {
   opacity: 1;
}

/* Style the project information */
.overlay h2 {
   font-size: 24px;
   margin-bottom: 10px;
}
.overlay{
   border-bottom-left-radius:20px ;
   border-bottom-right-radius: 20px;
}

/* .overlay p {
   font-size: 16px;
   margin: 0;
} */

/* Style the arrow SVG */
.o-ui-arrow {
  
   stroke: grey;
   /* rotate: 90deg; */
   width: 5vw;
   position: absolute;
   /* background-color: red; */
   margin-left:90vw;
   transform: rotate(45deg);
   transition-duration: 1.5s;
}

/* Rotate the arrow SVG on hover */
#work:hover .o-ui-arrow {
   transform: rotate(90deg);
   transition-duration: 1.5s;
}

.images
{
   width: 100%;
   position: relative;
   display: block;
   align-items: baseline;
   justify-content:space-between;
   margin-top: 6vw;
   padding: 3vw 0vw;
   overflow: hidden;
   /* background-color:yellow; */
}

.cnt{
   /* overflow: hidden; */
   margin: 2vw 4vw;
   border-radius: 20px;
   /* background-color: red; */

}
.cnt img{
   justify-content: center;
   width: 100%;
   border-radius: 20px;
   transition:  filter cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

.cnt1{
   width:50%;
   margin-left: 25vw; 
background-size: cover;
   /* height: 60rew; */
}
.cnt2{
   width: 50%;
   margin-top: 10vh;
   /* margin-right: 10vw; */
   margin-left: 25vw;
   padding-bottom: 10vw;
}
#cursor{
   position: fixed;
   width: 17vw;
   top: 0;
   left: 0;
   /* background-color: #14CF93; */
   z-index: 999999;
}
#cursor>div{
   opacity: 0;
   transition: all cubic-bezier(0.19, 1, 0.22, 1) 1.4s;
   position: absolute;
   pointer-events: none;
}
#elem{
   width: 100%;
   position: relative;
}

#cursor .crow{
   display: flex;
   align-items: center;
   /* gap: 20px; */
   width: 100%;
   padding: .7vw;
}

.crow .ccircle{
   width: 2vw;
   height: 2vw;
   border: 2px solid #fff;
   border-radius: 50%;
}
.crow .ccapsule{
   padding:0.7vw 1vw;
   border: 2px solid #fff;
   border-radius: 100px;
   background-color: #fff;
}
#elem img{
   width: 100%;
   opacity: 1;
   animation: an 4s linear infinite;
   position: absolute;  
}
#elem img:nth-child(2){
   animation-delay: 1s;
}
#elem img:nth-child(3){
   animation-delay:2s;
}
#elem img:nth-child(4){
   animation-delay: 3s;
}
#elem img:nth-child(5){
   animation-delay: 4s;
}
@keyframes an{
   0%{
      opacity: 1;
   }
   20%{
      opacity: 1;
   }
   21%{
      opacity: 0;
   }
   40%{
      opacity: 0;
   }
   60%{
      opacity: 0;
   }
   80%{
      opacity: 0;
   }
   100%{
      opacity: 0;
   }
}

/* ===== FOOTER =====*/
.footer {
  background-color:#202020	;

   color: rgb(51, 51, 51);
   text-align: center;
   font-weight: 500;
   padding: 2rem 0;
 }
 .footer__title {
   font-size: 2rem;
   margin-bottom: 2rem;
 }
 .footer__social {
   margin-bottom: 2vw;
 }
 .footer__icon {
   padding: 4vw;
   font-size: 2rem;
   /* color: grey; */
   margin: 0 var(--mb-2);
 }
 #linkedin{
   color: #004182;
 }
 #twitter{
   color: #1DA1F2;
 }
 #git
 {
   color: wheat;
 }

 #linkedin:hover, #twitter:hover, #git:hover{
   color: white;
 }
 
 .footer__copy {
   font-size: 1.5vw;
   opacity: 0.3;
   margin-top: 5vw;
   color: #DCDCDC			;
 }
 
 /* ===== MEDIA QUERIES=====*/
 @media screen and (max-width: 320px) {
   .home {
     row-gap: 2rem;
   }
   .home__img {
     width: 200px;
   }
 }
 @media screen and (min-width: 576px) {
   .home {
     padding: 4rem 0 2rem;
   }
   .home__social {
     padding-top: 0;
     padding-bottom: 2.5rem;
     flex-direction: row;
     align-self: flex-end;
   }
   .home__social-icon {
     margin-bottom: 0;
     margin-right: var(--mb-4);
   }
   .home__img {
     width: 300px;
     bottom: 25%;
   }
   .about__container {
     grid-template-columns: repeat(2, 1fr);
     align-items: center;
     text-align: initial;
   }
   .skills__container {
     grid-template-columns: 0.7fr;
     justify-content: center;
     column-gap: 1rem;
   }
   .work__container {
     grid-template-columns: repeat(2, 1fr);
     column-gap: 2rem;
     padding-top: 2rem;
   }
   .contact__form {
     width: 360px;
     padding-top: 2rem;
   }
   .contact__container {
     justify-items: center;
   }
 } 
 