@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.title-linkd{
    color: black;
    text-decoration: none;
}
body {
  color: #111;
  font-family: "Raleway", sans-serif;
}
main {
  display: flex;
  justify-content: space-around;
}
.text-wrap {
  margin-top: 10vh;
  margin-left: 5vw;
  margin-right: 5vw;
}
.text-title {
  font-size: 2em;
  font-weight: 500;
}
.text-ct {
  margin-top: 5vh;
  font-size: 1.2em;
}
.mail-link {
  text-align: center;
  margin-top: 15vh;
  font-size: 1.3em;
  letter-spacing: 0.2em;
  cursor: pointer;
}
.mail-link:hover {
  text-decoration: underline;
}
.navig {
  height: 100vh;
  background-color: #f0f0f0;
  width: 30vw;
  position: relative;
  position: fixed;
  left: 0;
}
.photos {
  position: absolute;
  right: 0;
  width: 70vw;
}
.photoGrid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 5vw);
  grid-gap: 15px;
  margin-bottom: 1em;
}
.navig-texts {
  margin: 10vh 0 0 5vw;
}
.navig-link-item {
  color: #111;
}
a {
  color: #111;
}
.navig-title {
  font-size: 2em;
  font-weight: 500;
}
.navig-copyright {
  font-family: "Inter var", "Inter", "Helvetica Neue", "Helvetica", "Arial",
    sans-serif;
  font-size: 0.8em;
  text-align: center;
  position: absolute;
  bottom: 5vh;
  width: 100%;
}
.navig-links {
  margin-top: 10vh;
  line-height: 2em;
  margin-left: 5vw;
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.galleryFormatPanr {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}
.galleryFormat1 {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
}
.galleryFormat2 {
  grid-column-start: 3;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 3;
}
.galleryFormat3 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 6;
}
.galleryFormat4 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 3;
  grid-row-end: 7;
}
.galleryFormat5 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 7;
  grid-row-end: 10;
}
.galleryFormat6 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 6;
  grid-row-end: 10;
}
.galleryFormat7 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  grid-row-end: 3;
}
.galleryFormat8 {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 3;
  grid-row-end: 10;
}
.title-a{
    text-decoration: none;
    color: black;
}
.galleryFormat9 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 6;
}
.galleryFormat10 {
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 6;
  grid-row-end: 10;
}
img {
  transition: all 0.5s ease;
  transition-property: filter;
  cursor: pointer;
}
img:hover {
  filter: brightness(70%);
}
.mobile-navig {
  display: none;
}
.mobile-navig-menu{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f0f0f0;
}
.mnm-links{
    text-align: center;
    padding-top: 30vh;
}
.mnm-link{
    padding-bottom: 2em;
    font-size: 2em;
    display: block;
    text-decoration: none;
    color: unset;
}
.mnm-show{
    display: block;
    z-index: 9;
}
@media only screen and (max-width: 600px) {
  body {
    background-color: #f0f0f0;
  }
  .navig {
    display: none;
  }
  .photos {
    width: 90vw;
    position: static;
    margin: 0 auto;
  }
  .mobile-navig {
    height: 4em;
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    top: 0;
    left: 0;
  }
  main {
    display: block;
  }
  .mnv-title {
    display: block;
    text-align: center;
    width: 100vw;
    font-weight: 600;
    font-size: 1.3em;
    cursor: pointer;
  }
  .photoGrid {
    display: block;
    margin-bottom: 0em;
  }
  .gallery__item{
      margin-bottom: 5%;
  }
  .mnv-trig-menu{
      position: absolute;
      border: 1px solid black;
      width: 1.3em;
      height: 1.3em;
      top: 1.3em;
      right: 1.3em;
      border-radius: 9999px;
      z-index: 99;
  }
}

@media (prefers-color-scheme: dark) {
  main > .navig {
    background-color: #151515;
    color: #f0f0f0;
  }
  main > .photos {
    background-color: #111;
    color: #ddd9d9;
  }
  .title-linkd, .navig-link-item > a {
    color: white;
  }
  a {
    color: white;
  }
  body{
    background-color: #111;
  }
  .mobile-navig{
    background-color: #151515;
  }
  .mnv-trig-menu{
    filter: invert();
}
.mobile-navig-menu{
  background-color: #111;
}
.mnm-links > a {
  color: #f0f0f0;
}
}