.project-section {
  margin-top: 60px;
  width: 100%;
}
.project-section p {
  transition: all 0.7s ease; 
}

.projects-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(10px, 4vw, 50px);
  color: #fff;
  text-shadow: 2px 2px 5px rgb(255, 255, 255);
  text-align: center;
  margin-bottom: 0.5em;
}

.project-image {
  z-index: 2;
  border: 4mm ridge rgba(124, 82, 82, 0.671);
  border-radius: 20px;
  width: 60%;
  height: 60%;
  object-fit: cover;
  overflow: hidden;
  
}

.projects-description {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
  color: #ddd;
  text-shadow: 1px 1px 3px rgb(200, 200, 200);
  text-align: center;
  margin-bottom: 2em;
}

.project-section p:hover {
  color: #ffffff;
  transform: scale(1.02);
  transition: all 0.7s ease; 
  text-shadow: 2px 2px 5px rgb(255, 255, 255);
}


.project-box:hover {
  transform: translateY(-10px);
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: 0.5s ease;
  cursor: pointer
}


.projects-flex p {
  display: flex;
  justify-items: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  color: rgba(207, 207, 207, 0.85);
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 2s;
  transition: 0.7s ease;
}
.projects-flex a {
  text-decoration: none;
}

.projects-title {
  text-decoration: underline;
  text-decoration-thickness: clamp(2px, 0.3vw, 5px);
}

.project-description {
  font-size: clamp(5px, 2.2vw, 20px);
}


.projects-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 18px;
  row-gap: 48px;
  width: 100%;
  justify-items: center;
  align-items: stretch;
}

.project-box {
  background: linear-gradient(180deg, rgba(141, 62, 48, 0.671), rgba(73, 16, 32, 0.877));
  border-radius: 22px;
  padding: 38px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  width: clamp(320px, 23vw ,500px);
  margin-top: 70px;
  transition: 0.5s ease;
  z-index: -3;
}



.project-container p {
  font-family: 'Poppins', sans-serif;
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 2s;
  transition: 0.7s ease;
}


.projects-title {
  font-size: clamp(30px, 3.4vw, 65px);
  color: #fff;
  text-shadow: 2px 2px 5px rgb(255, 255, 255);
  grid-column: 3;
  grid-row: 1 / span 1;
  text-align: center;
}

.projects-description {
  font-size: clamp(16px, 2vw, 32px);
  color: #ddd;
  text-shadow: 1px 1px 3px rgb(200, 200, 200);
  grid-column: 3;
  grid-row: 1 / span 1;
  text-align: center;
}

.project-title {
  font-size: clamp(15px, 4vw, 30px);
}

.project-soon {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

p .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 0.9;
  transform: translateY(0);
}

.vines-divider-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-items: top; 
  align-items: top;
  grid-row: 3;
  grid-column: 1 / span 3;
}

.vines-divider {
  position: relative;
  width: 100%;
  z-index: -1;
  position: absolute;
  display: inline-block;
  margin-top: -17vw;
}

@media (max-width: 1300px) {
  .projects-flex {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    row-gap: 20px;
  }
  .project-box {
    margin-top: 16px;
  }
  .vines-divider
  {
   top: 50vw; 
  }
}



@media (max-width: 900px) {
  .projects-flex {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 8px;
    row-gap: 20px;
    width: 100%;
  }
  .project-box {
    min-width: 0;
    max-width: 320px;
    width: 100%;
    margin-top: 16px;
    padding: 18px 6px;
  }
  .vines-divider
  {
   top: 120vw; 
  }
}

@media (max-width: 600px) {
  .projects-flex {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 16px;
  }
  .project-box {
    max-width: 50vw;
    padding: 12px 4vw;
    margin-top: 10px;
  }
}