@font-face {
  font-family: 'Inter';
  /* src: url('Inter-Medium.ttf'); */
  src: url('Inter-Regular.ttf');
  font-weight: normal;
  font-style: normal;
}
:root {
  --margin-lr: max(23px , 2.3vw);
  --margin-tb: 23px;
}
* {
  margin: 0;
  padding: 0;
  font-size: 22.5px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
  color: black;
  background: none;
}
h1, h2, h3 {
  font-weight: normal;
}
body {
  margin: var(--margin-tb) var(--margin-lr);
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  /* background: linear-gradient(90deg, rgba(194,194,194,1) 50%, rgba(236,236,236,1) 50%); */
}
nav {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
nav .col:first-child {
  flex-grow: 1;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.main {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--margin-tb) * 2);
}
.picture {
  --gap: 8px;
  --r: 0.6823411706;
  --h: 880px;
  flex-grow: 1;
  position: relative;
  margin: 18px 0 72px 0;
}
.picture .img-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.relative {
  position: relative;
  width: 100%;
  height: 100%;
}
.absolute {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.img-flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: var(--gap);
  /* max-width: calc(var(--h) * var(--r) * 3 + var(--gap) * 2); */
}
.picture img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: 50% 0%;
  /* max-width: min(28vw, 570px); */
  max-width: min(calc(33.333vw - 3 * var(--gap)), 570px);
  /* max-width: 100%;
  max-height: var(--h); */
}
/* 
.picture img:first-child {
  object-position: 100% 0%;
}
.picture img:last-child {
  object-position: 0% 0%;
} 
*/

.phrase {
  text-align: center
}
.phrase p {
  max-width: 900px;
  margin: auto;
}

@media screen and (max-width: 1040px) {
  * {
    font-size: 20.5px;
  }
  .picture .img {
    width: 100%;
  }
  /* .picture img {
    object-position: 50% 0px;
  } */
}

@media screen and (max-width: 768px) {
  .hide-md {
    display: none;
  }
  .picture img {
    max-width: min(calc(50vw - 3 * var(--gap)), 570px);
  }

}

@media screen and (max-width: 580px) {
  :root {
    --margin-lr: 14px;
    --margin-tb: 13px;
  }
  * {
    font-size: 18px;
  }
  nav {
    flex-direction: column;
    gap: calc(18px * 1.2);
  }
  .picture {
    margin: 8px 0 32px 0;
  }
  .hide-sm {
    display: none;
  }
  .picture img {
    max-width: calc(100% - 2 * var(--margin-lr));
  }
}
@media screen and (max-width: 330px) {
  :root {
    --margin-lr: 9px;
    --margin-tb: 7px;
  }
  * {
    font-size: 15px;
  }
  nav {
    gap: 18px;
  }
  .picture {
    margin: 6px 0 32px 0;
  }
}
