@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
}

body {
  background: linear-gradient(135deg, #191919, #232323);
  padding: 0;
  margin: 0;
  -ms-overflow-style: none;
}

#blurLogo-Gallery {
  position: absolute;
  width: 55.625rem;
  height: 33.75rem;
  top: -15rem;
  left: -0rem;
  filter: blur(8.25rem);
  z-index: -999;
}

#blurLogo-Gallery-2 {
  position: absolute;
  width: 55.625rem;
  height: 33.75rem;
  top: 0rem;
  left: -20rem;
  filter: blur(6.25rem);
  z-index: -999;
}

/* project Section Styles */
.project-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 12.5rem 7.5rem 10rem 7.5rem;
  max-width: 1920px;
  margin: 0 auto;
}

.project-container h2 {
  color: #fff;
  text-align: center;
  font-family: Oswald;
  font-size: 4rem;
  font-weight: 300;
  margin: 0;
}

.h2-span-project {
  max-width: max-content;
  position: relative;
  padding-bottom: 1rem;
  overflow: hidden;
  color: #fff;
  font-family: Oswald;
  font-size: 4rem;
  font-weight: 500;
}

.h2-span-project::after {
  content: "";
  position: absolute;
  bottom: 1.6rem;
  transform: translateX(-81%);
  width: 25.3rem; /* 400px */
  height: 0.3125rem; /* 5px */
  background: linear-gradient(
    90deg,
    #e51e27 -1.08%,
    rgba(229, 30, 39, 0) 96.83%
  );
}

.inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  justify-content: center;
  align-items: center;
  padding-top: 5.25rem;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  width: 25rem;
  height: 20rem;
  transition: transform 0.3s ease-in-out;
}
.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0.5rem 1rem rgba(255, 255, 255, 0.2);
}

.project-card img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.project-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  border-radius: 0rem 0rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  display: flex;
  padding: 1.5rem;
  height: 3rem;
  flex-direction: column;
  align-items: flex-start;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  padding: 3px; /* Border thickness */
  background: linear-gradient(
    -155deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.project-details h3 {
  color: #fff;
  font-family: "Work Sans";
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
}

@media screen and (max-width: 1200px) {
  .inner-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-container {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media screen and (max-width: 1024px) {
  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }

  .project-container {
    padding: 10rem 5rem 7.5rem 5rem;
  }

  #blurLogo-Gallery {
    width: 40.625rem;
    height: 40rem;
    top: -10rem;
    left: 0rem;
    filter: blur(6.25rem);
  }

  #blurLogo-Gallery-2 {
    width: 40.625rem;
    height: 40rem;
    top: 0rem;
    left: -10rem;
    filter: blur(6.25rem);
  }
}

@media screen and (max-width: 992px) {
  #blurLogo-Gallery {
    position: absolute;
    width: 40.625rem;
    height: 40rem;
    top: -10rem;
    left: 0rem;
    filter: blur(6.25rem);
    z-index: -999;
  }

  #blurLogo-Gallery-2 {
    position: absolute;
    width: 40.625rem;
    height: 40rem;
    top: 0rem;
    left: -10rem;
    filter: blur(6.25rem);
    z-index: -999;
  }

  .project-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 768px) {
  #blurLogo-Gallery {
    position: absolute;
    width: 30.625rem;
    height: 30rem;
    top: -10rem;
    left: 0rem;
    filter: blur(5.25rem);
    z-index: -999;
  }

  #blurLogo-Gallery-2 {
    position: absolute;
    width: 30.625rem;
    height: 30rem;
    top: 0rem;
    left: -5rem;
    filter: blur(5.25rem);
    z-index: -999;
  }

  .project-container {
    padding: 7.5rem 1.5rem 5rem 1.5rem;
  }

  .project-container h2 {
    font-size: 3rem;
  }

  .h2-span-project {
    font-size: 3rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }

  .h2-span-project::after {
    width: 19rem;
    bottom: 1.4rem;
  }

  .inner-container {
    gap: 2rem;
    padding-top: 4rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 735px) {
  .inner-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}
@media screen and (max-width: 480px) {
  #blurLogo-Gallery {
    position: absolute;
    width: 25.625rem;
    height: 25rem;
    top: -10rem;
    left: 0rem;
    filter: blur(5.25rem);
    z-index: -999;
  }

  #blurLogo-Gallery-2 {
    position: absolute;
    width: 25.625rem;
    height: 25rem;
    top: 0rem;
    left: -5rem;
    filter: blur(5.25rem);
    z-index: -999;
  }

  .project-container {
    padding: 7.5rem 1rem 5rem 1rem;
  }

  .project-container h2 {
    font-size: 2.5rem;
  }

  .h2-span-project {
    font-size: 2.5rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }

  .h2-span-project::after {
    width: 16rem;
    bottom: 1.2rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }
}

@media screen and (max-width: 375px) {
  #blurLogo-Gallery {
    position: absolute;
    width: 20rem;
    height: 20rem;
    top: -10rem;
    left: 0rem;
    filter: blur(3.25rem);
    z-index: -999;
  }

  #blurLogo-Gallery-2 {
    position: absolute;
    width: 20rem;
    height: 20rem;
    top: 0rem;
    left: -5rem;
    filter: blur(3.25rem);
    z-index: -999;
  }

  .project-container {
    padding: 7.5rem 1rem 5rem 1rem;
  }

  .project-container h2 {
    font-size: 2.25rem;
  }

  .h2-span-project {
    font-size: 2.25rem;
  }

  .project-card {
    width: 20rem;
    height: 16rem;
  }

  .project-details {
    height: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.25rem;
  }

  .h2-span-project::after {
    width: 14.3rem;
  }
}
