@font-face {
  font-family: "GT EEsti Pro Text";
  src: url("../fonts/GTEP Text/GTEestiProText-Regular.otf");
}
@font-face {
  font-family: "GT Sectra";
  src: url("../fonts/GTS Standard/GTSectra-Bold.otf");
}
a[data-fancybox] img {
  cursor: zoom-in;
}

.fancybox__container {
  font-family: "GT EEsti Pro Text";
  --fancybox-color: rgb(255, 255, 255);
  --fancybox-bg: rgb(0, 0, 0);
  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  --carousel-button-svg-stroke-width: 1.2;
  --carousel-button-svg-filter: none;
}

.fancybox__nav {
  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  --carousel-button-svg-stroke-width: 2;
}

.is-nav-selected .fancybox__thumb {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #ffffff;
}

.is-nav-selected .fancybox__thumb::after {
  display: none;
}

.fancybox__slide {
  padding: 0 !important;
}

*, body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: white;
  text-decoration: none;
}

body {
  background-color: black;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem 2rem 2rem;
}
header .logo {
  display: flex;
  align-items: center;
}
header .logo img {
  margin-right: 1rem;
  aspect-ratio: 1/1;
  width: 4rem;
}
header .logo div {
  font-family: "GT Sectra";
  font-size: 2.7rem;
  margin-top: 0.4rem;
}
header nav {
  justify-self: end;
  margin-top: 0.6rem;
  display: flex;
  gap: 3rem;
  font-family: "GT Eesti Pro Text";
  font-size: 2rem;
}
header nav a {
  text-decoration: none;
  display: inline-block;
  position: relative;
}
header nav a:after {
  content: "";
  position: absolute;
  width: 130%;
  transform: scaleX(0);
  height: 4px;
  bottom: -10px;
  left: 0;
  margin-left: -13%;
  background-color: #ffffff;
  transform-origin: bottom right;
  transition: transform 1s ease-out;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}
header nav a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}
@media only screen and (max-width: 750px) {
  header {
    flex-direction: column;
    padding: 2rem;
  }
  header .logo img {
    width: 3.5rem;
  }
  header .logo div {
    font-size: 2rem;
  }
  header nav {
    margin-top: 2rem;
    font-size: 1.5rem;
  }
}

.title {
  display: grid;
  padding: 0rem 0rem 1rem 3rem;
  width: 100%;
  justify-content: space-between;
  font-family: "GT Eesti Pro Text";
}
.title .titleheader {
  font-size: 4rem;
}
@media only screen and (max-width: 1250px) {
  .title .titleheader {
    font-size: 6vw;
  }
}

.grid-sizer,
.grid-item {
  width: 25%;
}

@media only screen and (max-width: 1920px) {
  .grid-sizer,
.grid-item {
    width: 33.333%;
  }
}
@media only screen and (max-width: 1000px) {
  .grid-sizer,
.grid-item {
    width: 50%;
  }
}
@media only screen and (max-width: 600px) {
  .grid-sizer,
.grid-item {
    width: 100%;
  }
}
.grid-item {
  float: left;
  padding: 0.6rem 0.6rem !important;
}

.grid-item img {
  display: block;
  width: 100%;
}

@-webkit-keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

@keyframes placeHolderShimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
@-webkit-keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}
img.lozad:not(.loaded) {
  opacity: 0;
}

img.lozad.loaded {
  background: none;
  -webkit-animation: none;
          animation: none;
  -webkit-animation: fade 1s;
          animation: fade 1s;
}

.gallery-footer {
  opacity: 0;
  -webkit-animation: fade 2s ease-in-out 3s forwards;
          animation: fade 2s ease-in-out 3s forwards;
  margin-top: 3rem;
  height: 1rem;
  background-color: #A44000;
}