@import url("https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap");

body {
  font-family: "Playfair Display", serif;
  background-color: #373737;
  margin: 0;
  padding: 0;
}
 
/* About Section */
.abt {
  background-color: #d6d6cf;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.abt .img {
  background-color: #faf0da;
  padding: 1rem;
  max-width: 400px;
}

.abt .img img {
  width: 100%;
  height: auto;
}

.abt .text {
  max-width: 600px;
  line-height: 1.6;
}

.gridcont {
  background-color: #373737;
  padding: 2rem 1rem;
  text-align: center;
    width: 30vw;
  margin: auto;

}

.gridcont h1 {
  color: wheat;
  margin-bottom: 2rem;
}

/* Works Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.box {
  background-color: white;
  width: 90%;
  max-width: 300px;
  padding: 0.5rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.box img {
  width: 100%;
  display: block;
  height: auto;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .box {
    width: calc(33% - 2rem);
  }

  .abt {
    flex-wrap: nowrap;
  }

  .abt .img {
    display: block;
  }
}

@media (max-width: 480px) {
  .header ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .abt .img {
     
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 100%;
  }
}

.btn{
    background-color: #d6d6cf;
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    color: black;
    &:hover{
        background-color: black;
        color: #d6d6cf;
    }
   
}




       .header {
        background-color: white;
        margin: 0;
        padding: 0;
      text-align: center;
      display: flex;
      justify-content: center;
      ul {
        display: flex;
        justify-content: center;
        gap: 1rem;
       }
      li {
        color: black;
        list-style-type: none;
        position: relative;

        z-index: 1;
        &::before {
          content: "";
          display: block;
          background-color: #d6d6cf;
          width: 100%;
          position: absolute;
          transition: height 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
          z-index: -1;
          height: 0;
        }

        &:hover {
          a {
            color: white;
          }
        }
        &:hover::before {
          background-color: #d6d6cf;

          height: 100%;
        }
      }

      a {
        color: black;
        text-decoration: none;
        padding: 0 0.1rem;
      }
    }

        .selected{
       color: white;
       a{color: white !important;}
      background-color: black;
    }