/* Default style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar style */
.navbar {
  position: fixed !important;
  background-color: #222;
}
.navbar-brand {
  color: #f8b400 !important;
  font-weight: 1000;
}
.nav-link.active {
  color: #f8b400 !important;
}
.nav-link.active:hover {
  background-color: #444;
  padding: 10px;
}

.navbar-dark .navbar-toggler {
  color: #f8b400 !important;
  border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
  background-color: #444 !important;
}

/* Home style */
/****Animation style for home*****/
#home p::after {
  animation-name: role;
  animation-duration: 2s;
  animation-iteration-count: infinite;
 content:"";
}
.home video{
  width: 100%;
}
@keyframes role {

  25%{
    content:"Front-End Developer";
    color: blueviolet;
    }
    50%{
      content:"Back-End Developer";
      color: red;
      }
      75%{
        content: "Web Developer";
        color: orange;
      }
      100%{
        content: "Full stack Java Developer";
        color:white;
      }
}





#home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(50%);
  z-index: -1;
}

#home .container-fluid {
  position: relative;
  z-index: 1; /* Ensures content stays above the video */
  text-align: center;
  color: white; /* Adjust text color for better visibility */
}
#home img {
  height: 300px;
  width: 300px;
  align-items: center;
  border-radius: 50%;
  object-fit: cover;
  border:2px solid white; /* Optional: Adds a white border for better visibility */
}
/* About style */
#about {
  background-color: #2c2c2c;
  color: white;
}
#about p {
  color: #d9d9d9;
}

/* Education style */
#education {
  background-color: #1a1a1a;
  color: #f8b400;
}
#education h1 {
  color: #f8b400;
}
#education > div > div > div:hover {
  transition: all 0.5s;
  transform: scale(1.1);
}

/* Skills style */
#skills h1, #skills h2 {
  color: #f8b400;
}
input[type="range"] {
  accent-color: #f8b400;
  pointer-events: none;
}

/* Project style */
#project {
  background-color: #2c2c2c;
  padding: 50px 0;
}
#project .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#project .row > div {
  background-color: #444;
  color: white;
  border-radius: 10px;
  padding: 20px;
  margin: 15px;
  width: 350px;
  text-align: center;
  transition: transform 0.3s;
}
#project .row > div:hover {
  transform: scale(1.05);
}
#project img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
}


/* Contact style */
#contact form textarea {
  resize: none;
}

/* Responsive styling */
@media only screen and (max-width: 800px) {
  #project img {
    width: 150px;
    height: 150px;
  }
}
