@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins';
}
img {
  max-width: 100%;
}
.gallery-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    & .header{
        width: min(100vw, 1440px);
        padding-inline: 2rem;
    }
}

.gallery {
  width: min(100vw, 1440px);
  display: flex;
  flex-direction: column;
  padding-inline: 2rem;
  padding-block: 1rem;
  row-gap: 1rem;

  & .image-container {
    flex: 1;
    width: 100%;
    height: 550px;
    transition: flex 0.75s ease-in;

    @media only screen and (width > 480px) {
      &:hover {
        flex: 5;
      }
    }

    & .image {
      height: 100%;
      width: 100%;
      object-fit: cover;
      object-position: center;
    }
  }

  @media screen and (width > 480px) {
    flex-direction: row;

    & .image-container {
      width: calc(100% / 5);
    }
  }
}
