@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap");

*{
  margin:0;
  padding:0;
  /* box-sizing:border-box; */
  font-family: "Be Vietnam Pro", sans-serif;
  scroll-behavior: smooth;
}
:root {
  --bgOrange: #e84949;
}

#wrapper{
    height:100vh;
    overflow-y:auto;
    overflow-x: hidden;
}

.container{
    /* width:1200px; */  
    /* don't use this width coz its creating issues while applying media query in skills section and hero section */
    margin:0 auto;
}

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

    padding-top:1rem;
}

.logo{
    width:80px;
    margin-left: 1.5rem;
}

.logo-container{
    display:flex;
    justify-content: baseline;
    align-items: center;
}

.logo-text{
    /* margin-left:-rem; */
    font-size:35px;
    font-weight: 800;
}

.nav-items{
    display:flex;
    gap:2rem;
    padding: 0 4em;
}

.nav-items div{
    font-size:20px;
    font-weight:500;
    cursor:pointer;
   
}
.nav-items div a{
    color:black;
    /* transition: all 5s ease; */
}

a{
    text-decoration: none;
}


.nav-items div:hover{
    transition:0.8s;
    font-weight: bold;
}

.hero-section{
    width: 100%;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 1000px ; */
    gap: 15rem;
    margin: 4rem auto;
    padding: 0 1rem;
    padding-bottom: 8rem;
    transform: translateX(-1rem);
    scale: 0.9;
}

.faded-text{
    position:absolute;
    user-select:none;
    font-size: 7em;
    color:rgb(231,231,231);
    bottom: -16%;
    left: -5%;
    font-weight: 600;
    transition: all 3s;
}

.hero-section-left{
    
    display: flex;
    flex-direction: column;
    justify-content:center;
    gap: 2rem;
}

.hero-section-heading{
    font-size: 35px;
    color: #343d68;
    font-weight: 500;
}

.role{
    color: #4e45d5;
    font-weight: 800;
}

.hero-section-sub-heading{
    font-size: 45px;
    line-height: 45px;

}

.hero-section-description{
    margin-top: 1rem;
    width: 70%;
    font-weight: 500;
    font-size: 16px;
}

.btn-pink {
    background-color: var(--bgOrange);
    width: fit-content;
    color: white;
    padding: 0.8rem 2.3rem;
    box-shadow: 5px 5px 7px 0px #0000003f;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.5s;
    font-weight: 500;
    border: solid 3px transparent;
    position: relative;
    z-index: 1;
  }
  .btn-pink::before {
    content: "";
    position: absolute;
    background-color: #fff;
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.8s;
  }
  .btn-pink:hover::before {
    transform: scaleX(1);
  }
  .btn-pink:hover {
    border: solid 3px var(--bgOrange);
    color: black;
  }

  .hero-section-right{
    position:relative;
    max-width: max-content;
    
  }
  .btn-bottom {
    visibility: hidden;
    display: none;
  }

  .absolute{
    position:absolute;
  }

  .user-image{
    padding:2.5rem;
    filter:grayscale(1);
    transition:all 1s;
    animation: scaleImage 5s linear infinite;
  }

  .user-image img{
    z-index:-9;
    width: 20rem;
    height: 24rem;
  }

  @keyframes scaleImage {

    0%{
        filter:grayscale(0);
        transform:scale(1);
        
    }

    50%{
        transform:scale(1.1);
        filter:grayscale(1);
        box-shadow: 3px 3px 10px black;
    }

    100%{
        transform:scale(1);
        filter:grayscale(0);
    }
    
  }


  .icon-dots{
    z-index:9;
    bottom:-1rem;
    right:0;
    animation-name:dotsAnimation;
    animation-duration: 5s;
    animation-iteration-count: infinite;
  }

  @keyframes dotsAnimation {
    0%{
        transform:translateY(0px);
    }
    50%{
        transform: translateY(-15px);
    }
    100%{
        transform: translateY(0px);
    }
    
  }

  .icon-cube{
    z-index:9;
    top:-0.8em;
    right:1em;
    animation-name: cubeRotate;
    animation-duration: 3s;
    animation-iteration-count: infinite;
  }

  @keyframes cubeRotate {
    0%{
        transform: rotateY(0deg) translateY(0px);
    }
    50%{
        transform:  rotateY(180deg) translateY(-12px);
    }
    100%{
        transform:  rotateY(360deg) translateY(0px);
    }
  }

  .icon-circle{
    z-index:9;
    left:0;
    bottom:0;
    animation-name:shakeEffect;
    animation-duration: 6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
} 
 @keyframes shakeEffect {
  
    50%{
        left:5%;
        bottom:10%;
    }
 
  }

  .icon-zigzag{
    z-index:9;
    top:1.5em;
    left:-0.3em;
    animation:zigzagAnimation 5s ease-in infinite;
  }

  @keyframes zigzagAnimation{
    50%{
        left:5%;
        top:2%;
    }
  }
  .icon-plus{
    z-index:9;
    top:-0.8rem;
    left: 50%;
    animation:shakeEffectPlus 5s ease-in infinite;
  }

  @keyframes shakeEffectPlus {
    50%{
        top:3%;
        left:48%
    }
  }

  .project-section{
    background-color: rgb(231,231,231);
    margin-top:4rem;
  }

  .page-header{
    color:var(--bgOrange);
    font-size:90px;
    text-align:center;
    padding-top:30px;
  }
  .project-container{
    max-width: 1200px;
    margin:0 auto;
    padding:3rem 0;

    display:flex;
    flex-direction:column;
    gap:120px;
  }

  .project-card{
    width:90%;
    height:550px;
    background-image: url(./images/projects/Project1.png);
    background-size: cover;
    /* background-repeat: no-repeat; */
    position:relative;
    box-shadow:0px 0px 40px #1f1f1f;
  }

  .project-card::after{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: #1f1f1f9a;
    z-index:0;
    /* transform: scaleX(1); */
  }

  .project-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background: linear-gradient(45deg, #343d68, #343d68be, #343d687c);
    transform:scaleX(0);
    transform-origin: left;
    transition: all 0.4s;
    z-index:1;
  }

  .project-card:hover::before{
    transform:scaleX(1);
  }

  .project-number{
    position:absolute;
    font-size:200px;
    font-weight:600;
    color:white;
    z-index:10;
    /* display:none; */
    opacity: 0;
  }

  .project-card:hover .project-number{
    /* display:block; */
    opacity: 1;
  }

  .project-number-right{
    right:-40px;
    top:-45px;
  }

  .project-number-left{
    left:-40px;
    top:-45px;
  }

  .project-content{
    position:absolute;
    display:flex;
    flex-direction:column;
    color:white;
    padding:2em;
    bottom:20%;
    z-index:5;
    gap:1em;
    transition:all 0.4s;
  }


  .project-content-left{ 
    left:10%;
  }

  .project-content-right{ 
    right:10%;
  }

  .project-skills-container{
    width:60%;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  
  }

  .project-skill{
    width:40px;
  }

  .project-heading{
    font-size:50px;
    font-weight: bold;
    line-height:3rem;
  }
  
  .project-subHeading{
    width:70%;
    font-size:16px;
    font-style: italic;
  }


  .btn-grp{
    display:flex;
    gap:0.9rem;
    align-items:center;
  }

  .btn-project:hover{
    border:none;
  }

  .icon{
    cursor:pointer;
    color:white;
    font-size:35px;
    transition:all 0.4s;
  }

  .icon:hover{
    color:var(--bgOrange);
  }

  .project-card:hover .project-content{
    transform:scale(1.1);
  }

  #project1{
    background-image: url(./images/projects/Project1.png);
  }

  #project2{
    margin-left:120px;
    background-image: url(./images/projects/Project2.png);
  }
  #project3{
    background-image: url(./images/projects/Project3.png);
  }
  #project4{
    margin-left:120px;
    background-image: url(./images/projects/Project4.png);
  }

  
  .skills-container{
    position:relative;
    display:flex;
    padding:5rem;
    margin:10rem auto;
    gap:6rem;
  }

.skill-container-left{
  width:40%;
  display:flex;
  flex-direction:column;
}

.skill-container-right{
  display:flex;
  flex-wrap:wrap;
  width:50%;
  position:relative;
  gap:2rem;
  justify-content: center;
}

.skill-fade-text{
  position:absolute;
  font-size:15em;
  font-weight: 600;
  color:rgb(231,231,231);
  bottom:-34.5%;
  right:-25%;
  user-select:none;
  overflow-y:hidden;
}

.blob-style{
  position:absolute;
  top:50%;
  left:50%;
  z-index:-5;
  transform:translate(-50%, -50%);
  animation: blobAnimate 3s linear infinite;
}

@keyframes blobAnimate {
  50%{
    top:54%;
    left:46%;
  }
}

.skills-logo{
  width:90px;
  transition:all 0.5s;
}

.skills-logo:hover{
  transform:scale(1.2);
}

.skill-heading{
  font-size:50px;
  font-style: bold;
  color: var(--bgOrange);
  line-height: 50px;
}

.caps{
  font-size:90px;
}

.skill-subHeading{
  margin-top: 1rem;
  /* width:85%; */
  text-align: justify;
}

.skill-subHeading p{
  margin:15px 0;
}

.contactus-form-container{
  width:100%;
  background-color: rgb(231,231,231);
}
.contactus-heading{
  font-size:5em;
  color:var(--bgOrange);
  padding-top: 2rem;
  transform: translateX(4rem);
}

.contactus-sub-heading{
  font-size:3rem;
  color:#343d68aa;
  text-transform: capitalize;
  transform: translateX(4rem);

}

.contactus-form-container{
  margin-top:20px;
  display:flex;
  align-items: center;
  justify-content: center;
}

.form{
  display:flex;
  flex-direction: column;
  gap:30px;
  width:60%;
  margin: 2rem 5rem;
}

.formfield-container{
  width:100%;
}

.formfield{
  width:100%;
  height:42px;
  padding: 0 2rem;
  font-size:18px;
  border-radius: 5px;
  box-shadow: 2px 2px 10px #1f1f1f;
  font-weight:500;
  border:none;
  margin-top:27px;
  
}

.formfield-textarea{
  height:auto;
  padding-top:1rem;
  resize: none;
}

#submit-btn{
  border:none;
  font-size: 1.4rem;
  margin: 1rem 0;
}

#submit-btn:hover{
  scale:0.9;
}

.submit-icon{
  padding:0 1rem;
  font-size:1.5rem;
}

footer{
  position:relative;
  margin-top:-1px;
  background-color: #343d68;
  padding:5rem;
}

.footer-wrapper{
  display:flex;
  gap:1rem;
  padding:1.2rem;
  justify-content: space-between;
  align-items:center;
}

.footer-faded-text{
  position:absolute;
  left:0;
  bottom:0;color:#535c87;
  user-select:none;
  font-size:5em;
}

.link-wrapper{
  display:flex;
  gap:1.2rem;
}

.link-wrapper div a{
  color:white;
  text-decoration:none;
  transition:all 0.6s;
}

.link-wrapper div a:hover{
  color:var(--bgOrange);
}

.icon-wrapper{
  display:flex;
  gap:1rem;
}

@media only screen and (max-width: 600px) {
  .hero-section-left .hero-section-sub-heading .role{
    font-size: 2.5rem;    
  }
  .hero-section-sub-heading{
    font-size: 2.5rem;
    width: 80%;
  }
  .project-content{
    flex-direction: row;
    gap: 3rem;
    transform: translateX(-50%);
  } 
  .project-skills-container{
    flex-direction: column;
    width: 50%;
    height: 100%;
    flex-wrap: wrap;
  }
  .project-card:hover .project-skills-container{
    flex-direction: column;
    width: 50%;
    height: 100%;
    flex-wrap: wrap;
  }
  .project-content{
    transform: translateX(-8rem);
    gap: 2rem;
  }
  .project-card:hover .project-content{
    scale: 0.3;
    transform: translateX(-8rem);
    /* font-size: 1.5rem; */
  }
  .project-content h2{
    font-size: 2rem;
  }
  .project-card:hover .project-content h2{
    font-size: 2rem;
  }
  .project-content p{
    font-size: 1rem;
  }
  .project-card:hover .project-content p{
    font-size: 1rem;
  }
  .btn-grp{
    flex-direction: column;
    gap: 2rem;
  }
  .project-card:hover .btn-grp{
    flex-direction: column;
    gap: 2rem;
  }
  .btn-project{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 4rem;
  }
  .project-card:hover .btn-project{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 4rem;
  }
  .skills-container {
    max-width: 80%;
    padding: 3rem 0;
  }
  .skill-heading{
    font-size: 2.4rem;
  }
  .caps{
    font-size: 4rem;
  }
  #contactme{
    display: flex;
    align-items: center;
    max-width:100% ;
  }
  #contactme .contactus-heading{
    width: 80%;
    font-size: 2.4rem;
    text-align: center;
  }
  .container .contactus-sub-heading{
    width: 80%;
    font-size: 1rem;
  }
  .contact-headings{
    width: 80%;
    display: flex;
    flex-direction: column;
  }
  .formfield-container input{
    font-size: 1rem;
  }
  .formfield-container textarea{
    font-size: 1rem;
  }
  #submit-btn{
    width:80%;
    height: 4rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }
  #submit-btn i{
    font-size: medium;
  }
  .link-wrapper{
    text-align: center;
  }
}
    @media (max-width:1300px) {
      .logo-container img{
       width: 4rem;
      }
      .logo-text{
        font-size: 1.5rem;
      }
      
      .hero-section {
        width:100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5rem;
        margin: 0;
        transform: translateY(7rem);
        padding: 0;
      }
      
      .hero-section-left {
        width:100%;
        display: flex;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;
  
      }
      .hero-section-heading{
        font-size: 35px;
      }
      .hero-section-sub-heading{
        font-size: 45px;
      }
      .hero-section-description {
        text-align: center;
        font-size: 16px;
      }
      .hero-section-right {
        margin-top: -6em;
       scale: 0.7;
      }
      .hero-section-left .btn-pink{
        display: none;
      }
      .btn-bottom {
        display: flex;
        visibility: visible;
        margin: 6em auto;
      }
      .hero-section .faded-text {
        /* transform: translateY(50%); */
        /* bottom: 0;
        left:0;
        scale: 0.7; */
        display:none;
      }
      .icon-circle{
        z-index:9;
        left:0;
        bottom:0;
        animation-name:shakeEffect;
        animation-duration: 6s;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    } 
     @keyframes shakeEffect {
      
        50%{
            left:5%;
            bottom:10%;
        }
     
      }
      
      .page-header {
        padding-top: 30px;
        color: var(--bgOrange);
        text-align: center;
        font-size: 40px;
      }
      .project-container {
        padding: 5px;
        margin: 10px;
        gap: 60px; 
      }
      .project-card {
        width: 100%;
        height: 300px;
      }
      .project-card {
        background-size: cover;
        background-position: center;
      }
      .project-content {
        scale: 0.5;
        bottom: 0;
        left: 0;
        right: 0;
        top: 0;
      }
      .project-content-left {
        left: 0;
      }
      .project-heading {
        font-size: 40px;
        width: 100%;
      }
      .project-sub-heading {
        width: 100%;
      }
      #project2 {
        margin-left: 0;
      }
      #project4 {
        margin-left: 0;
      }
      .project-skill-container {
        width: 100%;
      }
      .project-skill {
        width: 35px;
      }
      .project-card:hover .project-number {
        display: none;
      }
      .project-card:hover .project-content {
        scale: 0.55;
      }
      .skills-container{
        width: 90%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin: 0 auto; 
      }
     
      
  
      .skill-container-left{
        width: 90%;
        display: flex;
        flex-direction:column;
                
      }
      
      .skill-container-right {
        width: 90%;
        display: flex;
        flex-wrap: wrap;        
      }
  
      .skill-container-right .skills-logo{ 
        width: 50px;
      }
      
      .skill-fade-text {
        display: none;
      }
  
      .contactus-form-container {
        display: flex;
        justify-content: space-evenly;
      }
/*   
      .contactus-form-container .contactus-form-container form {
        width: 100%;
        transform: translateY(-5%);
      } */
  
      .contactus-form-container h1 {
        text-align: center;
        font-size: 40px;
        padding: 15px 10px;
      }
  
      .contactus-form-container h3 {
        font-size: 25px;
        padding: 0px 10px;
        text-align: center;
      }
  
      .formfield-container  {
        display: flex;
        max-width: 100%;
        align-items: space-evenly;
        justify-content: center;
        flex-wrap: wrap;
       
      }
      .formbtn{
        display: flex;
        justify-content: center;
        align-items: center;
  
      }
      /* .formbtn button{
        height: 4.5rem;
        width: 21rem;
        font-weight: 500;
      } */
      
      footer .container {
        max-width: 50%;
        
      }
      .footer-wrapper {
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* margin: 0; */
      }
      .footer-faded-text {
        display: none;
      }
  
    }