
@import url('https://fonts.googleapis.com/css?family=Montserrat');

* {
  margin: 0;
  padding: 0;
  
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  
}
.container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container p {
  font-size: 3rem;
  padding: 0.5rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  text-align: center;
  overflow: hidden;
}
.container p span.typed-text {
  font-weight: normal;
  color: #ffffff;
}
.container p span.cursor {
  display: inline-block;
  background-color: #ccc;
  margin-left: 0.1rem;
  width: 3px;
  animation: blink 0.5s infinite;
}
.container p span.cursor.typing {
  animation: none;
}
@keyframes blink {
  0%  { background-color: #000000; }
  49% { background-color: #000000; }
  50% { background-color: transparent; }
  99% { background-color: transparent; }
  100%  { background-color: #000000; }
}
.home{
    width:100%;
    height:70%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    background-position: 100%;
    color:white;
}
.home h1{
    font-size: 500%;
    text-align: center;
}
.home h2{
    font-size: 30px;
    text-align: center;
}
.home p{
    font-size:30px;
    text-align: center;
}
nav a,nav p{
    font-size: 20px;
}
nav{
    padding:10px;
    background-color: #000000;
}



.images1{
    width:300px;
    flex:1;
    margin-top:20px ;
}

.about{
    display: flex;
    flex-direction: row;
    background-color:rgb(0, 0, 0);
    color:white;
    align-items: center;
    padding-bottom: 50px;
    padding-top: 50px;
}
@media only screen and (max-width:1176px){
    .about{
        flex-direction: column;
        
    }
    
}

.about h1,.skills h1{
    font-size: 50px;
}

.absec{
    flex:2;
    margin-left: 150px;
    margin-right:150px;
    
}
.hello{
    font-size: 32px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 0%;
}

@media only screen and (max-width:1176px){
    .absec{
        margin-left: 20px;
        margin-right:20px;
    }
    

}
.absec1{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 150px;
}
@media only screen and (max-width:1176px){
    .absec1{
        padding-left: 0%;
    }
    

}
.tab{
    display: flex;
    flex-direction: row;
    justify-content: start;
}
.tab p{
    flex:1;
}

.skillsec{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    color: white;
    padding-bottom: 20px;
}
::selection{
    color: #fff;
    background: #6665ee;
  }
  .skill-bars{
    padding: 25px 30px;
    width: 600px;
    background: #ffffff;
    box-shadow: 5px 5px 20px rgb(65, 62, 62);
    border-radius: 10px;
    color:black;
  }
  .skillsec h1{
    font-size: 50px;
    padding:30px ;
  }
  .skill-bars .bar{
    margin: 20px 0;
  }
  .skill-bars .bar:first-child{
    margin-top: 0px;
  }
  .skill-bars .bar .info{
    margin-bottom: 5px;
  }
  .skill-bars .bar .info span{
    font-weight: 500;
    font-size: 17px;
    opacity: 0;
    animation: showText 0.5s 1s linear forwards;
  }
  @keyframes showText {
    100%{
      opacity: 1;
    }
  }
  .skill-bars .bar .progress-line{
    height: 10px;
    width: 100%;
   
    background: #b7b1b1;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    border-radius: 10px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05),
                0 1px rgba(255,255,255,0.8);
    animation: animate 1s cubic-bezier(1,0,0.5,1) forwards;
  }
  @keyframes animate {
    100%{
      transform: scaleX(1);
    }
  }
  .bar .progress-line span{
    height: 100%;
    position: absolute;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: left;
    background: #000000;
    animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
  }
  .bar .progress-line.html span{
    width: 90%;
  }
  .bar .progress-line.css span{
    width: 60%;
  }
  .bar .progress-line.jquery span{
    width: 85%;
  }
  .bar .progress-line.python span{
    width: 50%;
  }
  .bar .progress-line.mysql span{
    width: 90%;
  }
  .progress-line span::before{
    position: absolute;
    content: "";
    top: -10px;
    right: 0;
    height: 0;
    width: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000;
    opacity: 0;
    animation: showText2 0.5s 1.5s linear forwards;
  }
  .progress-line span::after{
    position: absolute;
    top: -28px;
    right: 0;
    font-weight: 500;
    background: #000000;
    color: #ffffff;
    padding: 1px 8px;
    font-size: 12px;
    border-radius: 3px;
    opacity: 0;
    animation: showText2 0.5s 1.5s linear forwards;
  }
  @keyframes showText2 {
    100%{
      opacity: 1;
    }
  }
  .progress-line.html span::after{
    content: "90%";
  }
  .progress-line.css span::after{
    content: "60%";
  }
  .progress-line.jquery span::after{
    content: "85%";
  }
  .progress-line.python span::after{
    content: "50%";
  }
  .progress-line.mysql span::after{
    content: "90%";
  }

  
  .caro {
    padding: 20px;
    background-color: #000;
  }
  .caro h1 {
    text-align: center;
    font-size: 50px;
    color: white;
    margin-bottom: 30px;
  }
  .carousel-box {
    width: 80%;
    max-width: 1000px;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    background-color: #000;
  }
  .carousel-item {
    height: 60vh;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  .carousel-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }
  .carousel-caption h5 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
  }
  .carousel-caption p {
    font-size: 1.25rem;
    color: #ddd;
    margin-bottom: 20px;
  }
  .carousel-caption a {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
  }
  .carousel-caption a:hover {
    background-color: #0056b3;
    transform: scale(1.05);
  }
  .dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  

.contact {
    display: flex;
    flex-direction: column;
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
}

.cf {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.cf h1 {
    font-size: 50px;
    margin: 0;
}

.form1 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

form input, form textarea, form button {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    padding: 15px;
    color: white;
    border: 2px solid white;
    margin-bottom: 20px;
    background-color: black;
}

form textarea {
    resize: none;
}

form button {
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

form button:hover {
    background-color: #000000;
    color: #ffffff;
}

input::placeholder, textarea::placeholder {
    color: white;
    font-size: 16px;
    font-weight: 400;
}
#submit{
    max-width: 100px;
}
#submit:hover{
    background-color: #ffffff;
    color: #000000;
}


.social-icons {
  display: flex;
  gap: 20px;
  background-color: #000;
  justify-content: center;
}
.social-icons a {
  text-decoration: none;
  color: #ffffff;
  font-size: 2rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #0073b1; /* LinkedIn color */
}
.social-icons a.github:hover {
  color: #4078c0; /* GitHub color */
}
.social-icons a.codechef:hover {
  color: #5b4636; /* CodeChef color */
}
.social-icons a.skillrack:hover {
  color: #0e76a8; /* Assuming SkillRack color */
}

.footer {
    background: #000000;
    color: #d3d3d3;
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
}

.footer-content {
    margin: 0 auto;
}
