/* funnel-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Funnel Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/funnel-sans-v3-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* funnel-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Funnel Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/funnel-sans-v3-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  box-sizing: border-box;
  font-size: 17px;
  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
}

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

html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

main {
  flex: 1;
  overflow: auto;
  margin: 15px;
}

footer {
  font-size: 13px;
  padding: 5px 15px;
}

h1 {
  font-size: 28px;
  margin-top: 0;
}

#photos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 222px);
  gap: 20px;
  list-style: none;
  padding: 10px 0 0 0;
}

#photos-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}

#photos-list img {
  border-radius: 8px;
  display: block;
}

#photos-list h2 {
  font-size: 15px;
  margin: 10px 0 0 0;
}

#photos-list span {
  font-size: 13px;
  opacity: 0.7;
}

#videos {
  margin-top: 30px;
}

#videos-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding-top: 10px;
}

#videos-list iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  margin-bottom: 20px;
}
