* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: #fff9ea;
  color: #333;
}

a {
  color: steelblue;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.albumpage nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: inherit;
  box-shadow: 0 2px 5px #fff9ea;
}
.albumpage .album {
  margin: 4rem 1rem 2rem;
}

@media (min-width: 768px) {
  .album {
    display: flex;
    justify-content: space-between;
    margin: 4rem 1rem 2rem;
  }
  .album__header {
    max-width: 300px;
    min-width: 200px;
    width: 33%;
  }
  .album__title {
    position: fixed;
    font-weight: normal;
  }
  .album__content {
    overflow: hidden;
    max-width: calc(100% - 300px);
  }
}
.photos {
  display: flex;
  flex-wrap: wrap;
}
.photos::after {
  content: "";
  flex-grow: 10;
}

.photo__item {
  height: 25vh;
  flex-grow: 1;
  padding: 10px;
}
.photo__item:last-child {
  flex-grow: 10;
}

.photo__link img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

@media (max-aspect-ratio: 1/1) {
  .photo__item {
    height: 20vh;
  }
}
@media (max-height: 480px) {
  .photo__item {
    height: 80vh;
  }
}
@media (max-aspect-ratio: 1/1) and (max-width: 480px) {
  .photos {
    display: block;
  }

  .photo__item {
    height: auto;
    width: 100%;
    max-height: fit-content;
    max-width: 100%;
  }

  .photo__link img {
    width: 100%;
  }
}
.singleimage {
  background-color: #222026;
  color: #fff;
}
.singleimage a {
  color: #aaa;
}
.singleimage a:hover {
  color: #dedede;
}
.singleimage a:not([href]) {
  opacity: 0.4;
}
.singleimage a:not([href]):hover {
  color: #aaa;
}
.singleimage h1, .singleimage h2, .singleimage h3 {
  font-weight: normal;
}
.singleimage .nav {
  position: fixed;
  padding: 0.5rem 1rem;
}
.singleimage .title {
  display: inline;
  font-size: 1rem;
}
.singleimage .photo {
  width: 100%;
  height: 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.singleimage .photo__image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: calc(100% - 120px);
  max-height: calc(100% - 2rem);
  padding: 0;
  text-align: center;
}
.singleimage .photo__image img {
  flex-grow: 1;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.singleimage .photo-nav {
  min-width: 60px;
}
.singleimage .photo-nav svg {
  height: min(max(10vh, 32px), 48px);
  width: calc(min(max(10vh, 32px), 48px) / 2);
}

.nav .menu {
  overflow: hidden;
}
.nav .menu__dropdown {
  position: relative;
  z-index: -1;
  width: 250px;
  transform: translateY(-100%);
  transition: all 0.3s ease-in-out;
}
.nav .menu__opencheck:checked + .menu__dropdown {
  transform: translateY(0);
  transition: all 0.3s ease-in-out;
}
.nav .menu-item {
  padding: 3px 0;
}
.nav .menu-item.current {
  display: none;
}
.nav .menu-item__link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav .menu img {
  width: 40px;
  height: 40px;
  margin-right: 20px;
}

.homepage .main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 792px;
  min-width: 350px;
  margin: 0 auto;
}
.homepage .main__title {
  margin-top: 4rem;
  margin-bottom: 2rem;
  font-weight: normal;
  text-align: center;
}
.homepage .main__albums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2rem;
  justify-items: center;
  grid-row-gap: min(3rem, 10vw);
}
.homepage .main .album {
  display: block;
  margin: 0;
}
.homepage .main .album__link {
  display: inline-block;
  position: relative;
  text-decoration: none;
}
.homepage .main .album__link > img {
  width: calc(150px + 50 * ((100vw - 350px) / 350));
  height: calc(150px + 50 * ((100vw - 350px) / 350));
  object-fit: cover;
  max-width: 200px;
  min-width: 150px;
  max-height: 200px;
  min-height: 150px;
}
.homepage .main .album__title {
  position: absolute;
  bottom: 0.25rem;
  right: 0;
  padding: 0.25rem;
  background-color: rgba(0, 0, 0, 0.1);
  color: white;
}

@media (min-width: 660px) {
  .homepage .main {
    max-width: 1080px;
  }
  .homepage .main__albums {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 4rem;
    justify-items: center;
  }
  .homepage .main .album {
    display: block;
    margin: 0;
  }
  .homepage .main .album__link {
    display: inline-block;
    position: relative;
    text-decoration: none;
  }
  .homepage .main .album__link > img {
    width: calc(200px + 100 * ((100vw - 660px) / 660));
    height: calc(200px + 100 * ((100vw - 660px) / 660));
    object-fit: cover;
    max-width: 300px;
    min-width: 200px;
    max-height: 300px;
    min-height: 200px;
  }
}

/*# sourceMappingURL=style.css.map */
