:root {
  --bg-color: #f5f5f5;
  --heading-text-color: #0b131c;
  --text-color: #292928;
  --accent-color: #664375;
  --link-color: #7300ff;
  --border-color: #eaeaea;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --heading-text-color: #ebf0f0;
    --text-color: #d3d3d3;
    --accent-color: #9488be;
    --link-color: #6b03da;
    --border-color: #2e2e2e;
  }
}

@font-face {
  font-family: "Urbanist";
  src: url("/fonts/Urbanist-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Urbanist-bold";
  src: url("/fonts/Urbanist-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Urbanist", Verdana, Tahoma, Arial, sans-serif;
  line-height: 1.6;
  min-width: 300px;
}

main {
  width: 100%;
  overflow: hidden;
}

.centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.centered,
.image-block {
  height: 1200px;
}

.accent-block {
  background-color: var(--accent-color);
  color: var(--bg-color);
  height: 400px;
}

.image-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
}

.logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  height: auto;
}

h1,
strong,
i,
em,
.text-overlay,
.sign-off {
  font-family: "Urbanist-bold", Verdana, Tahoma, Arial, sans-serif;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

strong,
h1,
.sign-off {
  color: var(--heading-text-color);
}

p {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-size: 2em;
}

i {
  color: var(--accent-color);
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  width: 100%;
  font-style: italic;
  text-align: center;
}

.sign-off {
  font-size: 2rem;
  margin-top: 100px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social-links img {
  width: 40px;
  height: 40px;
  transition: filter 0.3s ease;
  filter: grayscale(0.1);
}

.social-links img:hover {
  filter: grayscale(0.2) brightness(0.7);
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

/* Responsive breakpoints */
@media (max-width: 900px) {
  .logo {
    width: 300px;
  }

  p {
    max-width: 800px;
  }

  .centered,
  .image-block {
    height: 1000px;
  }
}

@media (max-width: 600px) {
  .centered,
  .image-block {
    height: 700px;
  }
}

@media (max-width: 400px) {
  .logo {
    width: 80%;
  }

  .centered,
  .image-block {
    min-width: 90%;
    height: 800px;
  }
}

@media (max-width: 400px), (max-width: 600px), (max-width: 900px) {
  h1 {
    font-size: 2rem;
    padding-inline: 20px;
  }

  p {
    font-size: 1.4em;
    padding-inline: 30px;
  }

  .sign-off {
    font-size: 1.75rem;
  }

  .accent-block {
    height: 300px;
  }
}
