body{
    background: #fff;
    color: #000;
}

.footer_links, .footer_info_container{
    background-color: #000;
    color: #fff;
}

/* ----------------------------------- */
/*            Hero section             */
/* ----------------------------------- */
.re_hero {
    height: var(--viewport-section-height);
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    position: relative;
    top: 0;
    transition: opacity 0.4s ease-out;
}

.re_hero > picture {
  position: absolute;
  inset: 0; /* top 0 right 0 bottom 0 left 0*/
  width: 100%;
  height: 100%;
  z-index: -1;
}

.re_hero_bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* similar to background-size: cover */
  z-index: -1; /* if set to 0 the border of the hero-content is not seen anymore as by default has 0 z-index */
}

.re_hero_bg_overlay{
    background: rgba(0, 0, 0, 0.3); /* dark overlay */
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.re_hero h1 {
  position: relative;
  z-index: 2; /* text will be above the dark overlay */
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(2rem, 2vw, 4rem);
  letter-spacing: 1.5px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
}

/* alignment of h1, paragraph + line border */
.re_hero_content {
  margin-top: calc(var(--viewport-section-height) * 0.17);
  margin-left: 19.5vw;
  border-left: 1px solid white;
  padding-left: 1rem;
  position: absolute;
}

/* scroll down arrow */
.scroll_arrow_container {
  position: absolute;
  bottom: 80px;

  /* center horizontally */
  left: 50%;
  transform: translateX(-50%);

  width: 32px;
  height: 32px;
  background-color: #ccc;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  transition: background-color 0.3s;
  animation: upNdown 3s infinite linear;
  z-index: 2;
}

.scroll_arrow_container:hover {
  background-color: #aaa;
}

.scroll_arrow_container img {
  width: 22px;
  height: auto;
}

@keyframes upNdown {
  0%, 100% {
    transform: translateX(-50%) translateY(0); 
  }
  50% { 
    transform: translateX(-50%) translateY(-15px); 
  }
}

/* ----------------------------------- */
/*            Photos section           */
/* ----------------------------------- */
.re_work {
  width: 100%;
  max-width: 100%;
  position: relative;
  padding: 80px 20px 60px 20px;
}

.re_work_content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.re_work_content_gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns desktop & tablet */
  gap: 15px;
}

/* All images default behaviour */
.re_work_content_gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Logos */
.re_work_content_gallery .logo {
  grid-column: 1 / -1; /* same like horizontals, logo takes one full row */

  width: clamp(120px, 18vw, 180px); /* keep it small and centered */
  max-width: 40%;
  height: auto;
  justify-self: center;
  align-self: center;

  object-fit: contain; /* don't crop the logo */
}

/* Vertical & horizontals */
.re_work_content_gallery picture.vertical {
  aspect-ratio: 4 / 5;
}


.re_work_content_gallery picture.horizontal {
  grid-column: 1 / -1; /* takes full width - spans across the whole row */
  aspect-ratio: 16 / 9;
}

/* Media queries */
@media (min-width: 1024px) {
    .re_work_content {
        width: 90%;
    }
}

@media (max-width: 600px) {
  .re_work_content_gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 cols on mobile */
  }

  .re_work_content_gallery .logo {
    width: 35%;
  }
}

@media (max-width: 500px) {
  .re_hero_content {
    margin-left: 16vw;
  }
}