@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Ubuntu:wght@700&display=swap');
html{
    scroll-behavior: smooth;
}
.navbar{
    font-family: 'ubuntu';
    transition: all 0.3s ease;
    max-width: inherit;
}
.navbarspan{
    transition: all 0.3s ease;
}
.mycss{
    background-color: red;
}

.home{
    background: url("images/p.jpeg") no-repeat center;
    font-family: 'Poppins',sans-serif;
    max-width: inherit;
}
.about{
  max-width: inherit;
}
.mytransition{
    transition: all 0.3s ease ;
}
.mypicgradient{
    background: rgb(193,93,249);
    background: linear-gradient(0deg, rgba(193,93,249,1) 0%, rgba(213,216,217,1) 77%); 
}

.card:hover i{
    color: white;

}
.card:hover .box{
    transform: scale(1.05);
    transition: all 0.3s ease;
}
.card:hover .img{
    border-color: white;
    transition: all 0.3s ease;
}
.line{
    height: 5px;
    width: 100%;
    background: lightgray;
    position: relative;
}
.line::before{
    position: absolute;
    content: "";
    height: 100%;
    
    left: 0;
    top: 0;
    background: crimson;
}
.html::before{
    width: 90%;
}

.css::before{
    width: 60%;
}
.js::before{
    width: 80%;
}
.php::before{
    width: 50%;
}
.mysql::before{
    width: 70%;
}
.parallax{
     /* Set a specific height */
  min-height: 500px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-size: auto;

}


/* parallax css */
.carousel{
    height: 400px;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
   
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
    border-radius: 13px;
    
  }
  .carousel-inner{
    height: 100%;
    /* min-width: 400%; */
    display: flex;
    transition: all ease .5s;
  }
  .carousel-item{
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .carousel-item h1{
    opacity: .5;
  }
  .carousel-controls .prev{
    display: inline-block;
    height: 32px;
    width: 32px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('prev.svg');
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: .5;
    color: white;
  }
  .carousel-controls .next{
    display: inline-block;
    height: 32px;
    width: 32px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('next.svg');
    background-position: center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    cursor: pointer;
    opacity: .5;
  }
  .prev:hover, .next:hover{
    opacity: 1;
  }
  .carousel-indicators{
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .carousel-indicators span{
    display: inline-block;
    background-color: white;
    width: 30px;
    height: 4px;
    border-radius: 2px;
    opacity: .5;
    cursor: pointer;
    margin: 3px;
  }
  .carousel-indicators span.active{
    opacity: 1;
  }


    
    
    
    
    
    
      @media (max-width: 768px){ 
        .mobnav{
            height: 100vh;
            position: fixed;
            background-color: black;
            top: 0;
            left: -100%;
            width: 100%;
            
            transition: all 0.5s ease;
            
            
        
        
        }
        .mobnav ul{
          display: block;
          
      }
      .active {
        
        left: 0;
        
        
        transition: all 0.5s ease;
        
    }
    
      }

      @media (max-width: 400px){ 
      
      .home .text-1{
          font-size: 16px;
      }
      .home .text-2{
        font-size: 32px;
      }
      .home .text-3{
        font-size: 20px;
      }
      .about .myimg{
        padding: 20px;
      }
      }



