* {
  box-sizing: border-box;
}

body {
  font-size: 18px;
  line-height: 22px;
  font-family: "Times";
  animation: color-animation 3s infinite linear alternate;
}

@keyframes color-animation {
  0% {
    background: #fff;
  }
  100% {
    background: #dcdcdc;
  }
}

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

.default {
  margin: 20px 30px;
}

.default__nav {
  display: flex;
  padding: 0;
  margin: 0 0 4em 0;
}

.default__nav-list {
  list-style: none;
  margin-right: 1.5em;
}

.home {
}

@media screen and (min-width: 800px) {
  .home {
    display: flex;
    flex-grow: 1;
    justify-content: space-around;
    flex-wrap: wrap;
  }
}

.home__thumb {
  display: block;
  width: 67vw;
  margin: 0 auto 4em;
  padding-top: 93vw;
  height: 0;
  position: relative;
}

@media screen and (min-width: 800px) {
  .home__thumb {
    width: 18%;
    max-width: unset;
    padding-top: 25%;
    margin: 0 3% 8%;
    cursor: pointer;
  }
}

.home__thumb-img {
  transition: box-shadow 200ms ease;
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.project__images {
  display: flex;
  flex-wrap: wrap;
}

.project__img {
  height: 25vw;
  max-height: 260px;
  cursor: pointer;
}

.project__img-wrapper {
  margin-right: 20px;
  margin-bottom: 20px;
  background-color: #dcdcdc;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 200ms ease;
}

.project__img-wrapper--active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
}

.project__img-wrapper--active .project__img {
  max-height: unset;
  height: 80%;
  width: 80%;
  object-fit: contain;
}

.project__title,
.project__sub {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
}

.project__sub {
  font-style: italic;
}

.project__descripton {
  margin-bottom: 4em;
}

.project__descripton p {
  margin: 0;
}

.hover-shadow:hover,
.hover-shadow:active {
  box-shadow: 0 0 20px blue;
}

.galleryButtons {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 100;
  transform: translateX(110%);
}

.galleryButtons--active {
  transform: translateX(0%);
}

.galleryButton__left {
  width: 50%;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  z-index: 101;
}

.galleryButton__right {
  width: 50%;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  z-index: 101;
}

.galleryButton__close {
  width: 50%;
  position: absolute;
  right: 20px;
  top: 20px;
  height: 100px;
  width: 100px;
  z-index: 102;
  transform: rotate(45deg);
  cursor: pointer;
}

.galleryButton__close::after {
  content: "";
  position: absolute;
  width: 100%;
  top: 50%;
  height: 1px;
  background-color: black;
}

.galleryButton__close::before {
  content: "";
  position: absolute;
  height: 100%;
  left: 50%;
  width: 1px;
  background-color: black;
}

.project__arrow-link {
  width: 50%;
  max-width: 190px;
  display: block;
  margin: 6em 0;
}

video {
  opacity: 0;
  transition: opacity 0.4s ease;
  position: fixed;
  width: auto;
  max-width: 90%;
  height: 90vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

video.ready {
  z-index: 10;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: inherit;
}

video.stop {
  display: none;
}

.cookie-note {
  font-size: 0.8em;
  color: lightgrey;
}
