html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
  font-size: 16px;
}

*,
*::before,
*::after,
input[type=search] {
  box-sizing: inherit;
}

body {
  font-size: 1rem;
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.5;
  margin: 0;
}

body,
html {
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
p,
pre {
  margin: 0;
}

button {
  background: transparent;
  border: 0;
  padding: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

iframe {
  border: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul {
  list-style: none;
}

img {
  max-width: 100%;
}

[tabindex="-1"]:focus {
  outline: none !important;
}

a,
area,
button,
input,
label,
select,
textarea,
[tabindex] {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

body {
  --sb-track-color: #232e33;
  --sb-thumb-color: #fdec00;
  --sb-size: 5px;
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 15px;
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 15px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}
main .headding {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100vw;
  padding: 4rem 2rem;
}
main .headding h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  font-family: "Poetirey";
  text-align: center;
}
main .headding p {
  margin-top: 2rem;
  max-width: 60%;
  color: #424242;
  text-align: center;
  font-family: Nunito;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 1.5rem */
  letter-spacing: 0.025rem;
}
main .gallery {
  width: 70%;
  margin: auto;
  height: auto;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 4fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
}
main .gallery div {
  display: flex;
  justify-content: center;
  align-items: center;
}
main .gallery div img {
  width: 100%;
  height: 100%;
  vertical-align: middle;
  display: inline-block;
  object-fit: cover;
  border-radius: 5px;
}
main .gallery .tall {
  grid-row: span 2;
}

@media only screen and (max-width: 900px) {
  main .headding {
    background-position: center;
    padding: 2rem 0%;
  }
  main .headding p {
    margin-top: 2rem;
    max-width: 90%;
  }
  main .list {
    display: none !important;
  }
  main .gallery {
    width: 90% !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr)) !important;
    grid-auto-rows: 150px !important;
  }
}
