@import url("./about.css");
@import url("./project_page_example.css");

.about_title_h3 {
  text-transform: uppercase;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 0.5rem;
  font-family: var(--font-nunito);
  font-size: 2rem;
  text-align: center;
  margin-inline: auto;
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 65rem;
  min-width: 200px;
}

.images_gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 100%;
  gap: 2rem;
  justify-content: center;
  padding: 1rem;
  margin-inline: auto;
  margin-top: 2rem;
}

.gallery_img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery_img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1450px) {
  .about_title_h3 {
    font-size: 1.8rem;
    max-width: 80%;
  }

  .images_gallery {
    max-width: 100%;
    gap: 1.5rem;
    padding: 1rem;
  }

  .gallery_img {
    height: 280px;
  }
}

@media (max-width: 992px) {
  .about_title_h3 {
    font-size: 1.6rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    max-width: 85%;
  }

  .images_gallery {
    max-width: 100%;
    gap: 1.2rem;
    padding: 0.8rem;
    margin-top: 1.5rem;
  }

  .gallery_img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .about_title_h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    max-width: 90%;
    min-width: 250px;
  }

  .images_gallery {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 1rem;
    padding: 0.5rem;
    margin-top: 1rem;
  }

  .gallery_img {
    height: 200px;
  }
}

@media only screen and (max-width: 480px) {
  .about_title_h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.6rem;
    max-width: 95%;
    min-width: 240px;
  }

  .images_gallery {
    max-width: 100%;
    gap: 0.8rem;
    padding: 0.5rem;
    margin-top: 0.8rem;
  }

  .gallery_img {
    height: 180px;
  }

  .gallery_img:hover {
    transform: none;
    box-shadow: none;
  }
}

@media (max-width: 320px) {
  .about_title_h3 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    padding: 0.4rem;
    max-width: 95%;
    min-width: 220px;
  }

  .images_gallery {
    max-width: 100%;
    gap: 0.5rem;
    padding: 0.3rem;
    margin-top: 0.5rem;
  }

  .gallery_img {
    height: 150px;
  }
}