* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial;
  background-color: rgb(250, 250, 207);
}

.nav-links {
  position: absolute;
  margin: 50px 0 0 20px;
}

.nav-links a img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.text-header {
  text-align: center;
  padding: 32px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 1);
  border-radius: 10px;
  
}

.row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

.top-shadow {
    top: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent);
  }

  .bottom-shadow {
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
  }

/* Responsive layout - makes a two column-layout instead of four columns */
@media (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 100%;
  }

  .nav-links {
  position: absolute;
  margin: 50px 0 0 20px;
}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .nav-links {
    margin: 110px 0 0 20px;
  }
  
  .nav-links a img {
    width: 80px;
    height: 80px;
    position: absolute;
  }

  .gallery {
    flex: 25%;
    width: 100%;
    padding: 0 4px;
  }

  .column {
    flex: 100%;
    width: 100%;
  }

  .gallery img {
    margin-top: 8px;
    vertical-align: middle;
  }

  .gallery img:hover {
    transform: scale(1.05);
  }

  .text-header h1 {
    font-size: 4.5rem;
  }

  .text-header p {
    font-size: 2.7rem;
  }




  /* Shadow overlays */
  .top-shadow,
  .bottom-shadow {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100px;
    pointer-events: none;
    z-index: 2;
  }

  

}