* {
  font-family: "Ubuntu", sans-serif;
  text-decoration: none;
}

.wrapper {
  width: 1000px;
  margin: 0 auto;
}

header {
  padding-bottom: 60px;
}

.logo {
  box-sizing: border-box;
  padding-top: 10px;
  float: left;
  height: 70px;
}

nav {
  height: 70px;
  text-align: right;
  line-height: 90px;
}

ul {
  display: inline-flex;
  text-align: right;
  list-style-type: none;
  font-size: 20px;
  gap: 35px;
}

ul li a {
  color: black;
}

#gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 10px;
  grid-template-areas:
    "img1 img3 img4 img6"
    "img2 img3 img5 img7";
}

#gallery .gallery-image {
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  cursor: pointer;
}

#gallery .img1 {
  grid-area: img1;
  background-image: url(img/img-1.jpeg);
}
#gallery .img2 {
  grid-area: img2;
  background-image: url(img/img-2.jpeg);
}
#gallery .img3 {
  grid-area: img3;
  background-image: url(img/img-3.jpeg);
  height: 610px;
}
#gallery .img4 {
  grid-area: img4;
  background-image: url(img/img-4.jpeg);
}
#gallery .img5 {
  grid-area: img5;
  background-image: url(img/img-5.jpeg);
}
#gallery .img6 {
  grid-area: img6;
  background-image: url(img/img-6.jpeg);
}
#gallery .img7 {
  grid-area: img7;
  background-image: url(img/img-7.jpeg);
}

.gallery-image div {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-image div:hover {
  opacity: 0.8;
  transition: ease-in-out 0.2s;
}

.gallery-image div a {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.img-window {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.img-window img {
  max-height: 80vh;
  max-width: 80vw;
}

.img-btn-next {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  background-color: rgb(24, 23, 23);
  position: fixed;
  top: 48vh;
  z-index: 200;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

.img-btn-next:hover {
  opacity: 0.8;
}

.img-btn-prev {
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  background-color: rgb(24, 23, 23);
  position: fixed;
  top: 48vh;
  z-index: 200;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

.img-btn-prev:hover {
  opacity: 0.8;
}
