/* =====================
FONTS
=====================*/
@font-face {
  font-family: "gara";
  src: url("fonts/StempelGaramondLTRoman.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "obl";
  src: url("fonts/StempelGaramondLTStd_Italic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

/*! minireset.css v0.0.6 | MIT License | github.com/jgthms/minireset.css */html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,hr,h1,h2,h3,h4,h5,h6{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}ul{list-style:none}button,input,select,textarea{margin:0}html{box-sizing:border-box}*,*::before,*::after{box-sizing:inherit}img,video{height:auto;max-width:100%}iframe{border:0}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}td:not([align]),th:not([align]){text-align:left}

:root {
  --px: 14.8px;
  --base: var(--px);
  --lineheight: calc(var(--base) * 1.36);
  --bg: white;
  --color: black;
  --link: #999;
  --padd: 15px;
  --serif: 'gara', serif;

  --padd: 1em;

  --grid-col: 12;
  --grid-column-gap: calc((var(--lineheight)) * 1.125);
  --grid-row-gap: var(--lineheight);
}

@media screen and (min-width: 420px) {
  :root {
    --base: calc(var(--px) * 0.96);
  }
}

@media (min-width: 768px) {
  :root {
    --padd: 1.5rem;
  }
}

@media screen and (min-width: 992px) {
  :root {
    --px: 1.3vw;
    --base: calc(var(--px) * 1);
  }
}
@media screen and (min-width: 1200px) {
  :root {
    --px: 1.2vw;
  }
}

@media screen and (min-width: 1400px) {
  :root {
    --px: 1.08vw;
  }
}

@media screen and (min-width: 1600px) {
  :root {
    --px: .96vw;
  }
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  overflow-x: hidden;
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


body {
  color: var(--color);
  background: var(--bg);
  line-height: var(--lineheight);
  font-size: var(--base);
  font-family: var(--serif);
  -webkit-text-size-adjust: none;
  display: flex;
  overflow-x: hidden;
  min-width: 1vw;
  height: 100%;
  min-height: 100dvh;
}

p {
  margin-bottom: var(--lineheight);
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--link);
}

ul,ol,li {
  margin: 0;
  padding: 0;
}

h1 a,h2 a,h3 a,h4 a,h5 a,h6 a {
  text-decoration: none;
}

em, strong, i, strong {
  font-family: 'obl', var(--serif), serif;
  font-style: normal;
  font-weight: 400;
}


/* =====================
  MAIN
=====================*/
main {
  padding: var(--padd);
  width: 100%;
  height: 100dvh;
  display: flex;
  overflow: hidden;
}

.cnt {
  position: absolute;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  padding: var(--padd);
  display: flex;
  align-content: center;
  align-items: center;
}

.cntInner {
  height: 100%;
  max-width: 100%;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
}

.a4 {
  max-width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  content: "";
  color: black;
  background: black;
  position: relative;
  overflow: hidden;
}
.a4 img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.ngH {
  width: 100%;
  margin-top: 1vh;
}
.ngW {
  object-fit: contain;
  height: auto;
  max-width: 30%;
  display: block;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0);
  }
  
  40% {
    -webkit-transform: rotate(180deg);
  }
  50% {
    -webkit-transform: rotate(180deg);
  }
  
  90% {
    -webkit-transform: rotate(360deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}  

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  
  40% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(180deg);
  }
  
  90% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*=== MEDIA QUERIES ===*/
@media (min-width: 576px) {
  .cnt {
    padding-left: 15%;
  }
  .a4 {
    max-height: calc(70dvh - calc(var(--padd) * 2));
  }
  .ngW {
    max-width: 20%;}
}

@media (min-width: 768px) {

}

@media (min-width: 995px) {

}

@media (min-width: 1200px) {

}

@media (min-width: 1400px) {

}