@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&family=Poppins:ital,wght@0,300;0,800;1,500;1,900&display=swap');

/* common style*/
*{
    margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;/*remove underline of link */
list-style-type: none;/* removing list number or symbol form list-atoms */
outline: none;/*border of buttons and text are removed*/
font-family: "jura", sans-serif;
}

.html{
    font-size: 62.5%;/* font size of all text in html pages is 62.5%, e decreses font size 1rem=10pixel..but bydefault its 1rem=16pixel*/
    scroll-behavior: smooth;
}
/*End of common style*/
.center{
    display: flex;
    justify-content: center;/* horizontal centering*/
    align-items: center;/* verical centering*/
}
/* main btn*/
.main-btn{
    position:absolute;
    width: 8rem;
    height: 8rem;
    bottom: 1rem;
    background-color: #616247ff;   
    border-radius: 50%;
    border: 0.2rem dotted white;
    padding: 0.1rem;
    overflow: hidden;
}

.main-btn-content{
    width: 100%;
    height: 100%;
    border: 0.2rem dotted #daa03dff;
    border-radius: 50%;
    transform: rotate(40deg);
    transition: trasform 0.2s,border 0.2s;
}

.main-btn:hover .main-btn-content{
    transform: rotate(60deg);
    border: 0.2rem dotted blue;
    transition: trasform 0.2s 0.5s,border 0.2s;
}



.main-btn-line{
    position: absolute;
    top: 3rem;
    width: 2rem;
    height: 0.3rem;
    border: 0.1rem solid white;
}

.main-btn-line:nth-child(1){/* creating arrows in .main-btn*/
transform: rotateZ(-45deg) translateX(-0.52rem);
transform-origin: left center ;
border-right: none;
}

.main-btn-line:nth-child(2){/* creating arrows in .main-btn*/
    transform: rotateZ(45deg) translateX(0.52rem);
    transform-origin: right center ;
    border-left: none;
    }

    .main-btn-line:nth-child(3){/* creating arrows in .main-btn*/
        transform: rotateZ(90deg) translateX(0.5rem);
        border-left: none;
    }

    .main-btn span{
        position: absolute;
        bottom: 1rem;
        color:blue;
        font-size: 1.1rem;
        font-weight: 600;
        text-transform: uppercase;
    }

    .ripple{
        position: absolute;
        width: 0;
        height: 0;
        background-color: #DAA03DFF;
        border-radius: 50%;
        transform: translate(-50%,-50%);
        animation: rippleanim 0.5s forwards ;
    }

    @keyframes rippleanim{
        0%{
            width: 0;
            height: 0;
        }
        100%{
            width:210%;
            height: 210%;
        }/* end of main btn*/
 }
/* section-heading*/
.section-heading{
    font-size: 1.3rem;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
    position: absolute;
    top: 30%;
    left: 10rem;
    transform: translateY(-50%);
    width: 0;
    word-break: break-all;
    line-height: 4;
}
/*end of section heading*/
/* mouse circle*/
.mouse-circle,
.mouse-dot{
    border-radius: 50%;
    position: fixed;
    z-index: 500;
    transform: translate(-50%,-50%);/*dot inside the circle*/
    opacity: 0;
    pointer-events: none; /* when moving mouse circle over main circle,mouse-dot and mouse circle block the evnet hence we set ponter event -none*/
}

.mouse-circle{
   width: 2rem;
   height: 2rem;
   border: 0.1rem solid cornflowerblue;
   animation: mousecircleanimation 10s infinite linear ;
}

@keyframes mousecircleanimation {
    0%{
        width:4rem;
        height:4rem;
    }
    25%{
        width:6rem;
        height:6rem;
    }
    35%{
        width:4rem;
        height: 4rem;
    }
    70%{
        width:6rem;
        height:6rem;
    }
    100%{
        width:4rem;
        height:4rem;
    }
}

.mouse-dot{
    width: .5rem;
    height: .5rem;
    background-color: red;
    animation:mousedotanimation 10s infinite linear;
}

@keyframes mousedotanimation
{
    0%{
        width:0.5rem;
        height:0.5rem;
    }
    55%{
        width:1.5rem;
        height:1.5rem;
    }
   100%{
        width:.0.5rem;
        height:0.5rem;
    }
}
/* End of mouse Circle*/

/* page bg*/
.bg-page{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),
   url(./images/bg.jpg)center no-repeat;/* linear -gradient makes imge darker*/
    background-size: cover;
}
/* end of page bg*/

/*Progress Bar*/
.progress-bar{
    position: fixed;
    bottom: 5rem;
    right: 7rem;
    width: 5rem;
    height: 5rem;
    background-color: white;
    border-radius: 50%;
    z-index:200;
    overflow: hidden;
}

.half-circle,
.half-circle-top{
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    transform-origin: right center;
}

.half-circle:nth-child(1) {
    background-color:green;
}

.half-circle:nth-child(2) {
    background-color:green;
}

.half-circle-top {
    background-color:white;
}
/*
.progress-bar:hover .half-circle-top{
    opacity: 0;
    transition: opacity 0s 1s;
}

.progress-bar:hover .half-circle:nth-child(1){
    transform: rotate(180deg);
  transition: transform 1s linear;
}

.progress-bar:hover .half-circle:nth-child(2){
    transform: rotate(360deg);
  transition: transform 2s linear;
}*/
.progress-bar-circle {
    width: 4.8rem;
    height: 4.8rem;
    background-color:rgb(255, 165, 0);
    border-radius: 50%;
    color: white;
    font-size: 3rem;
    z-index: 200;
    transition: transform 0.5s;
}
/* End of Progress Bar*/



/* Navigation*/
/*menu icon*/
.menu-icon{
    position: fixed;
    top: 0;
    right: 6rem;
    width: 10rem;
    height: 5rem;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 100;
    cursor: pointer;
}

.menu-icon-line{
    width: 4rem;
    height: 0.1rem;
    background-color: white;
    margin: 0.5rem 0;
    box-shadow: 0 0.3em 0.5rem black;
}

.show-menu-icon{
    opacity: 1;
    visibility: visible;
}
/* end of menu icon*/
/*navbar*/
.navbar{
    position: fixed;
    top: .6rem;
    width: 100%;
    display:flex;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 100;
    transition: opacity 0.5s,visibility 0.5s,transform 0.5s;
}
/*End of navbar*/

.navbar-link{
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    margin:0 2.5rem;
    text-shadow: 0 0.3rem 0.5rem black;
    
}

.hide-navbar{
    opacity:0;
    visibility: hidden;
    transform:translateX(10rem);
}
/* End of navigation*/

/* section-1*/
.section-1{
    position: relative;
    width:100%;
    height:100vh;
    }


    /* Logo */
.logo{
    position: absolute;/* placed top left on page so adjusting logo set top and left value*/
    top: 2rem;
    left: 5rem;
    font-size: 2rem;
    text-transform: uppercase;
    color: honeydew;
    }
    /* end of logo*/

    /* animated circle*/
    .circles{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows:repeat(2,1fr);
    }
    
    .circle{
        width: 12rem;
        height: 12rem;
        border-radius: 50%;
        background-color: red;
        align-self: center;/* vertically align center*/
        justify-self: center;/*horizontically align cicler in cnter*/
        position: relative;
        top: 0;
        left: 0;
         transition: left 2s, top 2s;
    }

    .circle-1{
       background: url("./images/akshaj1.png") center no-repeat;
       background-size: cover;
       background-clip: content-box;/* border outside circle so set background clip*/
       border: 0.3rem dotted gray;
       margin-left: -7rem;/* move circle little bit far from main circle*/
   }

   .circle-2{
    background: url("./images/akshaj2.png") center no-repeat;
    background-size: cover;
    background-clip: content-box;
    border: 0.3rem dashed gray;
    margin-right: -7rem;

}

.circle-3{
    background: url("./images/akshaj3.png") center no-repeat;
    background-size: cover;
    background-clip: content-box;
    border:1rem double gray;
    margin-left: -7rem;
}

.circle-4{
    background: url("./images/akshaj4.png") center no-repeat;
    background-size: cover;
    background-clip: content-box;
    border: 0.7rem double gray;
    margin-right: -7rem;
}
    .main-circle{
        width:25rem;
        height:25rem;
        position:absolute;
        overflow:hidden;/* image is too big ,to fint in section-1 we set overflow property*/
        border-radius:50%;
        transition: width 0.2s,height 0.2s;
    }

     .main-circle:hover{
         width: 30rem;
         height: 30rem;

     }
    .main-circle img{
     mix-blend-mode:multiply;
     position: relative;
     top: 0;
     left: 0;
     transition: left 2s, top 2s;
 }
/*end of animated circle*/


/*Featured text*/
.featured-text{
    font-size: 1.3rem;
    color: honeydew;
   text-transform: uppercase;
   width: 0;
   word-wrap: break-word;
   line-height: 2.5;
   position: sticky;
   top: 0;
}

.featured-text-1{
    margin: 0 auto 0 10rem;
}

.featured-text-2{
    margin: 0 10rem 0 auto;
}
/*end of Featured text*/

 /* end of section-1*/

/* sectiom-2 */
.section-2{
    position: relative;
    padding: 10rem 10rem 15rem 10rem;
}

/* About me text*/
.about-me-text{
    width: 60%;
    margin: 0 auto 0 10rem;
}
.about-me-text span{
    font-family: "poppins", sans-serif;
    font-size: 6rem;
    font-weight:bold;
    color:gray;
    letter-spacing:0.5rem;
    line-height:0.9;
    position: relative;
   }

@keyframes aboutmetextanim{
    0%{
        color:peachpuff ;
        top:0;   
      }
    10%,
    90%{
       color:powderblue;
       top: 2rem;
   }
   100%{
    color:peachpuff;
    top:0;
   }
}
/* End of About me text*/
/* section-2 mainbutton*/
.section-2 .main-btn{
    left: 50%;
    bottom: -4rem;
    transform: translateX(-50%);
}
/* end of section-2 main button*/

/* Section-3*/
.section-3
{
    width: 100%;
    height: 100%;
    padding: 10rem 0;
    margin-top: 10rem;
    position: relative;
}
/*projects*/

.projects{
    flex-wrap:wrap;
    padding-bottom: 15rem;
}

.project{
    width: 20rem;
    height: 25rem;
    overflow: hidden;
    margin: 5rem;
    background-color: black;
    display: flex;
    justify-content: center;
    position: relative;
    border: 0.2rem solid burlywood;
    border-radius: 0.5rem;
    cursor: pointer;
    perspective: 20rem; /* after setting this property oddimageanimation work */
    transition: opacity 0.5s;
}

.project img{
    width: 90%;
    object-fit: cover;/* to avoid shrinking*/
    position: absolute;
    top: 2rem;
    opacity: 0.5;
    transition: top 4s;
    opacity: 0.2s;
}
.project:nth-child(odd):hover img {
    animation: oddimganimation 4s 0.2s;
    opacity: 1;
}
@keyframes oddimganimation {
    0% {
        transform: rotateY(0);
    }
    25% {
        transform: rotateY(-2deg) rotateX(2deg);
      }
    50% {
          transform: rotateY(2deg) rotateX(-2deg);
        }
    100% {
        transform: rotateY(0);
    }
}

.project:nth-child(even):hover img {
    animation: evenimganimation 4s 0.2s;
    opacity: 1;
}
@keyframes evenimganimation {
    0% {
        transform: rotateY(0);
    }
    25% {
        transform: rotateY(2deg) rotateX(-2deg);
      }
    50% {
          transform: rotateY(-2deg) rotateX(2deg);
        }
    100% {
        transform: rotateY(0);
    }
}

/* big project imag*/
.project-img-wrapper{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
   background-color: black;
    opacity: 0.9;
    animation: imgwrapperanim 1s forwards;/* forward maintain height 100% */
    overflow: hidden scroll;/* this will show complete img,but here two scroll down*/
    z-index: 100;
    scroll-behavior: smooth;
    
}

@keyframes imgwrapperanim{
    0%
    {
        height: 0;
    }
    100%{
        height: 100%;
    }
}

.project-img{
    width: 100%;
    border-radius: 0.5rem;
    padding: 7rem 20rem;
    opacity: 0.9;
    display: block;
    transform-origin: top center;
    animation: imganimation 1s 1s both ;
}

@keyframes imganimation{
    0%{
        transform: scale(0);
    }
    100%{
        transform: scale(1);
    }
}
/* end of big project image*/

/* project hide button*/
.project-hide-btn
{
  position: fixed;
  top: 3rem;
  right: 5rem;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  cursor: pointer;
  z-index: 200;
  transform: scale(0);
  visibility: hidden;
}
.change.project-hide-btn
{
    transform: scale(1);
    visibility: visible;
    transition: transform 0.5s;
}
/* end of project hide button*/
/*end of projects*/

/* projects Button*/
.project-btn{
    left: 50%;
    transform: translateX(-50%);
 
}

.project-btn .main-btn-line{
    transition: all 0.5s;
}

.change > .main-btn-line:nth-child(1){
    transform: rotateZ(45deg) translateX(-0.65rem);

}
.change > .main-btn-line:nth-child(2){
    transform: rotateZ(-45deg)translateX(0.65rem);
    
}
.change > .main-btn-line:nth-child(3){
    transform: rotateZ(90deg) translateX(-0.5rem);
    border-left: 0.1rem solid white;
    border-right: none;
}
/* end of project button*/
/* End of Section-3*/

/* Section-4*/
.section-4{
    position: relative;
    width: 100%;
}
/* services*/
.service-wrapper{
    width: 100%;
    flex-direction: column;
}
.service{
    width: 70%;
    margin: 4rem 0;
    border-bottom: .6rem solid #03ac13
}
.service-btn{
    width: 100%;
    position: relative;
    display: block;
    height: 10rem;
}


.service-btn span{
    font-family: "poppins" sans-serif;
    font-size: 7rem;
    font-style: italic;
    font-weight: bold;
    color: #ffe77aff;
    position: absolute;
    right: 0;
    transition: right 0.5s;
}

.service-text{
    font-size: 3rem;
    color: coral;
    letter-spacing: 0.1rem;
    height: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
}

.change.service-text{
    height: 10rem;
    visibility: visible;
    opacity: 1;
    transition: height 0.5s, opacity 0.5s 0.5s;
}
/* end of services*/
/* end of section-4*/

/*Section-5*/
.section-5{
    position: relative;
    height: 100vh;
    flex-direction: column;
}

.form-heading{
    font-family: "poppins" sans-serif;
 font-size: 4rem;
   font-weight: 400;
   color:midnightblue;
   letter-spacing: 0.3rem;
   margin-bottom: 3rem;
   transition: opacity 0.3s;
}

.contact-form{
  flex-direction: column;
}

.contact-form-input{
    width: 40rem;
    padding: 0.5rem;
    margin: 1rem 0;
    background-color:grey;
   border: 0.1rem solid #03ac13 ;
    font-size: 1.5rem;
    font-weight: bold;
    color:white;
    letter-spacing: 0.1rem;
   }

   .contact-form-txtarea{
       height:15rem;
       resize: none;
   }

   .form-submite-btn{
       width: 10rem;
       height: 2rem;
       background-color: #03ac13;
       border: none;
      font-size: 1.rem;
       color: white;
   }
   /* form validation*/
   .message{ /* for paragraph message*/
       font-size:1rem;
       font-weight: 600;
       color: red;
       text-transform: uppercase;
       letter-spacing: 0.1rem;
       left: 0.1rem;
       margin: 0 auto 1rem 0;
       visibility: hidden;
       opacity: 0;
       transition: opacity 0.3s;
   }
   .error.message{
       visibility: visible;
       opacity: 1;
   }
   /* End of form validation*/

   /*slide show*/
.slideshow{
    display: flex;
    width: 30rem;
   margin-top: 10rem;
   padding: 0.2rem;
}
.slideshow-link{
    width: 20%;
    filter: brightness(0.5);
    transition: filter 1.5s;
}

.slideshow-link:nth-child(1)
.slideshow-link:nth-child(5){
    transition: width 0.5s;
    opacity: 0.5s;
}

.slideshow-link:nth-child(3){
 transition: filter 0.5s;

}
.slideshow-link img{
    width: 100%;
    padding: 0 1rem;
}

.faded-out{
    opacity: 0;
    padding: 0 1rem;
}

.light{
    filter: brightness(1.5);
}
   /* end of slide show*/
/* End of Section-5*/

/* respoinsive*/

@media (max-width:1500px){
.cirlce{
        width: 10rem;
        height: 10rem;
    }
.main-circle{
    width: 30rem;
    height: 30rem;
}
.main-circle:hover{
    width:35rem;
    height:35rem;
}
.main-circle img{
    width: 90%;
    height: 90%;
}
.about-me-text span{
    font-size: 11rem;
}
.section-4{
    margin-bottom: 10rem;
}
.service-btn span{
    font-size: 9rem;
}
.service-text{
    font-size: 4rem;
}
}
@media (max-width:1350px){
    .main-btn{
        width: 10rem;
        height: 10rem;
    }
    .circle{
        display: none;
    }
    .progress-bar{
        right: 1rem;
     top: 20rem;
    }
    .about-me-text span{
        font-size: 7rem;
    }
    .section-4{
        margin-bottom: 10rem;
    }
    .service-btn span{
        font-size:5rem;
    }
    .service-text{
        font-size:3rem;
    }
}

@media (max-width:1150px){
    .html{
        font-size: 45%;
    }
    .mouse-circle
    .mouse-dot{
        display: none;
    }
    .navbar-link{
        margin: 0.2rem;
    }
    .main-circle{
        width: 20rem;
        height: 20rem;
    }
    .main-circle:hover{
        width: 25rem;
        height: 25rem;
    }
    .about-me-text span{
        font-size: 5.5rem;
   }
   .project-img{
       padding: 3rem 9rem;
   }
   .project-hide-btn{
       right: 1rem;
   }
   .slideshow{
       margin: 5rem 3rem;
   }
}
@media (width:900px){
    .html{
        font-size: 40%;
    }
    .menu-icon{
        right: -4rem;
    }
    .featured-text-1{
        margin: 0 auto 0 5rem;
    }
    .featured-text-2{
        margin: 0 5rem 0 auto;
    }
    .section-heading{
        left: 1rem;
    }
    .about-me-text span{
        font-size: 3rem;
    }
    .service-btn {
        font-size: 12rem;
    }
    .service-btn span{
        font-size: 4rem;
    }
    .service-text{
        font-size: 2.3rem;
    }
    .contact-form-input{
        width: 40rem;
    }
}

/*End of responsive*/