/* STRUCTURE */

footer {
  display: flex;
  justify-content: center;
  background-color: black;
  margin: auto;
  width: 75%;
  border-radius: 100px;
}

footer a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 14px;
  font-family: "Electrolize", serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  width: 160px;
  margin: 5px;
}

footer a:hover {
  background-color: #f7f7f7;
  color: black;
  clip-path: polygon(12.5% 0, 100% 0%, 87.5% 100%, 0 100%);
  transition: 0.5s;
}

.page-content {
  margin: auto;
  max-width: 700px;
  padding-top: 7%;
}

.page-content a {
  color: black;
}

.page-content a:hover {
  color: white;
  background-color: black;
}

nav {
  display: flex;
  margin: auto;
}

.central-container {
  margin-top: 10%;
}

.main-pages {
  margin: 2%;
  backdrop-filter: blur(12px);
  padding: 6%;
  filter: drop-shadow(0 0 0.75rem #f2f2f2);
  border-radius: 15px;
}

.lrw-background-container {
  height: 100%;
}

.lrw-background {
  background-image: url("./images/lrw-page-background.svg");

  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* FONT */

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Space Grotesk", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}

.gallery h2 a:hover {
  background-color: rgb(0, 0, 0) !important;
  color: white;
  transition: 0.5s;
}

/* NAV */



.topnav {

  overflow: hidden;
  margin: auto;
}

/* Style the links inside the navigation bar */
.topnav {

  overflow: hidden;
  display: flex;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #282828;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 25px;
  font-family: "Electrolize", serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  width: 160px;
  margin: 5px;

}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #f7f7f7;
  color: black;
  clip-path: polygon(12.5% 0, 100% 0%, 87.5% 100%, 0 100%);
  transition: 0.5s;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #000000;
  clip-path: polygon(12.5% 0, 100% 0%, 87.5% 100%, 0 100%);
  color: white;
}

@media screen and (max-width: 1218px) {
  .topnav a:not(:first-child, .home-nav) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }



  .topnav a:nth-child(2):not(.home-nav) {
    margin-top: 50px;
  }
}


.topnav .icon {
  display: none;
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 1218px) {

  .topnav {
    display: flex;
    flex-direction: column;
  }

  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;

  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
}

.home-nav {
  float: none !important;
}


.graphic-text {
  display: flex;
  margin: auto;
  max-height: 400px;
  max-width: 80%;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6%;
  max-width: 900px;
  margin: auto;
  padding: 10px;
}

.gallery img {
  max-width: 100%;
}

.gallery-item {
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
  padding: 10px;
}
