body {
  font-family: EuclidCircularB, sans-serif;
  margin: 24px;
  background-color: #374151;
  color: white;
}

.homepage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  font-size: 1.5rem;
}

h1 {
    font-size: 1.5rem;
    text-align: center;
    margin: 24px;
    font-weight: normal;
}

.homepage a {
  text-decoration: none;
  color: white;
}

.homepage a:visited {
  color: white;
}

#about {
  align-items: center;
}

#about {
  line-height: 2.1rem;
}

#about img {
  height: 1em;
}

#about ul {
  padding-left: 18px;
}

#banner {
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
}

#banner svg {
  max-width: 380px;
}

#contact {
  width: 100%;
  flex-direction: column;
  display: flex;
}

#contact>div>div {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

#socials {
  width: 100%;
}

#socials>div {
  display: flex;
  gap: 24px;
  justify-content: center;
}

#contact svg,
#socials svg {
  transition: transform 0.3s ease;
}

#contact svg:hover,
#socials svg:hover {
  transform: scale(1.1);
}

@media (min-width: 600px) {

  #socials>div,
  #contact>div,
  #about {
    padding: 0px 80px;
  }
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 100vw;
}

.grid-item {
  position: relative;
  width: 100%;
  padding: 4px;
  transition: background-color 0.3s ease;
  position: relative;
  /* Needed for absolute positioning inside */
}

.grid-item::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.grid-item>* {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.grid-item img {
  width: 90%;
  height: 90%;
  padding: 2px;
  object-fit: cover;
  background-color: white;
  transition: transform 0.3s ease;
}

/* For desktop devices */
@media (hover: hover) and (pointer: fine) {
  .grid-item:hover img {
    transform: scale(1.1);
  }
}

/* For mobile devices */
@media (hover: none) and (pointer: coarse) {
  .grid-item img:active {
    transform: scale(1.1);
  }
}