#hello, #about #recentworks{
   width:90%; 
    margin: 0 auto;
}


/* Navigation link styling: use a class so it can be applied to multiple elements */

.nav-link {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
color: black;
font-size: 20px; 
text-decoration: none;
}

.navbar a.nav-link:hover {
  color: #068c9e; 
}

.navbar-nav li {
  margin-right: 20px;
}



#button {
font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
font-size: 20px;
  font-weight: 400;
}
.btn {
    border-color: #068c9e;
    color: #068c9e;
}

.btn:hover {
    background-color: #068c9e;
    color: white;
}

 /* general styles */

h1, h2{
   font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
color: black;

}

p {
     font-family: "Noto Sans", sans-serif;

  
  font-style: normal;
  color: black;
}

b{
 font-family: "Ubuntu", sans-serif;
 font-size: 20px;
  font-weight: 400;
 
}

/* skills  */
.accordion-gallery {
 display: flex;
  flex-wrap: wrap;

  justify-content: center;
  align-items: stretch;
  padding: 1rem;
}


.accordion-item {
  position: relative;
  flex: 0 0 200px;
  transition: flex 0.4s ease;
  cursor: pointer;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.accordion-item:hover {
  flex: 0 0 300px;
}

.accordion-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.accordion-item:hover img {
  transform: scale(1.05);
}

.Skills-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #52F2B8;
  text-align: center;
}

.Skills-text h4 {
  margin: 0;
  font-size: 1.1rem;
}


.Skills-text p {
  opacity: 0;
  max-height: 0;
   color:#52F2B8;

  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.accordion-item:hover .Skills-text p {
  opacity: 1;
  max-height: 120px;
  

}


/* footer */

footer li a {
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  font-style: normal;
color: black;
font-size: 20px; 
text-decoration: none;
}

footer li a:hover{
   color: #068c9e;
}



@media (max-width: 768px) {
  .accordion-gallery {
    flex-wrap: wrap;
    justify-content: center;
   
  }

  .accordion-item {
    flex: 1 1 45%;
    max-width: 45%;
  }

  .accordion-item:hover {
    flex: 1 1 45%;
  }

  .accordion-item img {
    height: auto;
  }
}


/* media queris */
@media (max-width: 576px) {
  .accordion-gallery {
    flex-direction: column;
    align-items: center;

  }

  .accordion-item {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .accordion-item:hover {
    flex: 1 1 100%;
  }

  .accordion-item img {
    height: auto;
  }

  .Skills-text p {
    opacity: 1;
    max-height: none;
  }
}
