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

html,
body,
section,
header,
footer,
h1,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
}

html {
  background: #27231d;
}

body {
  overflow-x: hidden;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 18pt;
  font-weight: 300;
  line-height: 1.75em;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.92);
  background: #27231d;
  -webkit-text-size-adjust: 100%;
}

h1,
strong {
  font-weight: 900;
}

p {
  margin-bottom: 1em;
}

.intro-text {
  margin: 0 auto 1em;
}

.intro-text span {
  display: block;
}

.intro-text span + span {
  margin-top: 0.15em;
}

@media screen and (min-width: 1281px) {
  .intro-text {
    width: max-content;
    max-width: 100%;
  }

  .intro-text span {
    white-space: nowrap;
  }
}

header {
  margin-bottom: 1em;
}

footer {
  margin-top: 2em;
}

ul {
  list-style: none;
}

.content {
  width: min(1080px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.main {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
}

.main.fullscreen {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.main.style1 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3em 0;
  text-align: center;
}

.main.style1 h1,
.main.style1 strong {
  color: #fff;
}

.main.style1 h1 {
  font-size: clamp(3.5rem, 6vw, 6.4rem);
  line-height: 0.95em;
  letter-spacing: -0.055em;
}

.main.style1 .content {
  flex: 0 1 auto;
}

.dark,
.dark a {
  color: #fff;
}

#intro {
  background-color: #27231d;
  background-image: url("/images/overlay.png"), url("/images/photo.webp");
  background-size: 256px 256px, cover;
  background-position: top left, bottom center;
  background-repeat: repeat, no-repeat;
  background-attachment: scroll, scroll;
}

#footer {
  position: relative;
  width: 100%;
  margin-top: 1.5em;
  text-align: center;
}

#footer .social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.1em;
  margin: 0;
}

#footer .social li {
  margin: 0;
  font-size: 1.25em;
}

#footer .social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

#footer .social li a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

#footer .social li a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

@media screen and (max-width: 1920px) {
  body {
    font-size: 17pt;
  }

  .content {
    width: 1020px;
  }
}

@media screen and (max-width: 1680px) {
  body {
    font-size: 15pt;
  }

  .content {
    width: 900px;
  }
}

@media screen and (max-width: 1280px) {
  body {
    font-size: 13pt;
  }

  .content {
    width: 720px;
  }
}

@media screen and (max-width: 1000px) {
  .content {
    width: min(90%, 54rem);
  }
}

@media screen and (max-width: 736px) {
  body {
    font-size: 12pt;
    line-height: 1.5em;
  }

  .main.style1 {
    padding-top: max(2.5em, env(safe-area-inset-top));
    padding-right: max(1.15rem, env(safe-area-inset-right));
    padding-bottom: max(2.5em, env(safe-area-inset-bottom));
    padding-left: max(1.15rem, env(safe-area-inset-left));
  }

  .main.style1 h1 {
    font-size: clamp(2.9rem, 13vw, 4.1rem);
    line-height: 0.95em;
    letter-spacing: -0.05em;
  }

  .content {
    width: 100%;
    max-width: 36rem;
  }

  #intro {
    background-position: top left, 50% center;
  }

  #intro .intro-text > span {
    display: inline !important;
    white-space: normal;
  }

  #intro .intro-text > span + span {
    margin-top: 0;
  }

  #intro .intro-text > span + span::before {
    content: " ";
  }

  #footer {
    margin-top: 1.35em;
  }

  #footer .social {
    gap: 0.05em;
  }

  #footer .social li a {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media screen and (max-width: 380px) {
  .main.style1 h1 {
    font-size: 2.75rem;
  }

  #footer .social li a {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #footer .social li a {
    transition: none;
  }
}
