@charset "UTF-8";

@font-face {
  font-family: "Regular";
  src: url(TR-Ascona-v1-Regular.woff2);
}

@font-face {
  font-family: "Italic";
  src: url(TR-Ascona-v1-Regular-Italic.woff2);
}

body {
  font-family: "Regular";
  font-size: 20px;
  line-height: 1.3em;
  -webkit-font-smoothing: antialiased;
  color: 333;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: normal;
  font-size: 1em;
  margin: 0;
  line-height: 1.2em;
  text-align: center;
  width: 100%;
}

.caps {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

i {
  font-family: "Italic";
  font-style: normal;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid black;
  padding-bottom: 0.1em;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  height: 100vh;
}

header {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.image-panel {
  grid-column: 2;
  grid-row: 1 / 3;
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

footer {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
  padding-bottom: 20px;
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .layout {
    height: 100vh;
  }

  header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    grid-column: unset;
    grid-row: unset;
    background-color: white;
  }

  .image-panel {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .image-panel img {
    max-width: 66vw;
    height: auto;
    object-fit: cover;
  }

  footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    grid-column: unset;
    grid-row: unset;
    text-align: center;
    padding-bottom: 0;
    background-color: white;
  }
}
