@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
* {
  color: black;
  list-style: none;
  margin: 5px;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 2px;
}
body {
  min-height: 100vh;
}
nav {
  background-color: white;
  display: flex;
  witdh: 100%;
  display: flex;
  justify-content: space-between;
}
nav-right {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-right a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-right:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
nav-center {
  background-color: white;
  width: auto;
  color: black;
}
nav-center a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-center:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
nav-left {
  background-color: white;
  width: auto;
}
nav-left a {
  background-color: white;
  width: auto;
  text-decoration: none;
}
nav-left:hover {
  text-decoration: line-through;
  color: black;
  font-weight: bold;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  font-weight: bold;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

nav-right:hover .dropdown-content {
  display: block;
}
nav-center:hover .dropdown-content {
  display: block;
}
nav-left:hover .dropdown-content {
  display: block;
}

.filters {
  text-align: center;
  margin-bottom: 20px;
}
.filters button {
  margin: 5px;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-weight: 200;
  font-size: 18px;
  letter-spacing: 2px;
  background-color: white;
  color: black;
  border: none;
  transition: all 0.3s ease;
}
.filters button:hover {
  background-color: gray;
  transform: scale(1.05);
}
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.item {
  width: auto;
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.hidden {
  display: none;
}
.hover-img {
  transition: transform 0.3s ease;
}

.hover-img:hover {
  filter: blur(3px);
}
.overlay-text {
  position: relative;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  * {
    font-size: 14px;
    letter-spacing: 1px;
  }
  nav {
    flex-direction: row;
    width: 90%;
    align-items: center;
    position: fixed;
    top: 0;
    right: 4em;
    background-color: white;
    z-index: 10;
  }
  nav-right {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-right a {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-right:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  nav-center {
    background-color: white;
    width: auto;
    color: black;
    white-space: nowrap;
  }
  nav-center a {
    background-color: white;
    width: auto;
    text-decoration: none;
    white-space: nowrap;
  }
  nav-center:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  nav-left {
    background-color: white;
    width: auto;
  }
  nav-left a {
    background-color: white;
    width: auto;
    text-decoration: none;
  }
  nav-left:hover {
    text-decoration: line-through;
    color: black;
    font-weight: bold;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-weight: bold;
  }

  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }

  .dropdown-content a:hover {
    background-color: #ddd;
  }

  nav-right:hover .dropdown-content {
    display: block;
  }
  nav-center:hover .dropdown-content {
    display: block;
  }
  nav-left:hover .dropdown-content {
    display: block;
  }
}
