@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "CabinSketch-Regular";
  font-weight: 500;
  src: url("/fonts/CabinSketch-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "CabinSketch-Bold";
  font-weight: bold;
  src: url("/fonts/CabinSketch-Bold.ttf") format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-size: clamp(12px, 1rem, 32px);
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  letter-spacing: 1px;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  position: relative;
}

section {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 100px 0px;
  justify-content: center;
  align-items: center;
}

img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding-inline: 0;
}

a {
  text-decoration: none;
}

.h1 {
  font-size: 3rem;
  text-align: center;
  text-transform: uppercase;
  margin-block-end: 1em;
  letter-spacing: 1px;
  z-index: 2;
}

.h2 {
  font-size: 2em;
  font-family: "CabinSketch-Regular";
  letter-spacing: 1px;
  margin-block-end: 1rem;
  text-align: center;
  text-transform: uppercase;
  z-index: 2;
}

.h3 {
  font-size: 1.5em;
  margin-bottom: 1em;
  letter-spacing: 2px;
  text-align: center;
}

.h4 {
  margin-bottom: 1em;
  font-size: 1.2em;
}

span {
  display: inline-block;
}

.t-center {
  text-align: center;
}

.t-block {
  text-align: justify;
}

p {
  text-justify: inter-word;
}

.nowrap {
  white-space: nowrap;
}

.display-none {
  display: none;
}

.button {
  padding: 0.7rem 1.5rem;
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
}
button:hover,
button:focus {
  filter: brightness(1.2);
}

@media screen and (min-width: 950px) {
  section {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 150px 0px;
    justify-content: center;
    align-items: center;
  }
  .h2 {
    font-size: 3em;
    letter-spacing: 1px;
    margin-block-end: 60px;
    text-align: center;
    text-transform: uppercase;
    z-index: 2;
  }

  .h3 {
    font-size: 1.8em;
  }
}
