@font-face {
  font-family: "PowerGrotesk";
  src: url("../assets/fonts/PowerGrotesk-Regular.woff2") format("woff2"),
    url("../assets/fonts/PowerGrotesk-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PowerGrotesk";
  src: url("../assets/fonts/PowerGrotesk-Bold.woff2") format("woff2"),
    url("../assets/fonts/PowerGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-obsidian-gray: hsl(0, 0%, 16%);
  --obsidian-gray-deep: hsl(0, 0%, 30%);
  --obsidian-gray-medium: hsl(0, 0%, 45%);
  --warm-alabaster-soft: hsl(45, 15%, 70%);
  --brand-warm-alabaster: hsl(45, 26%, 91%);
  --brand-vivid-magenta-pink: hsl(323, 89%, 43%);
}

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

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PowerGrotesk", sans-serif;
  background-color: var(--brand-warm-alabaster);
  color: var(--brand-obsidian-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 2rem;
  text-align: center;
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus-visible {
  color: var(--obsidian-gray-deep);
}

.container {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-alt {
  width: clamp(3.5rem, 5vw + 1rem, 6rem);
  height: auto;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 4rem);
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
  opacity: 0.85;
  max-width: 500px;
  line-height: 1.5;
}

.contact {
  border-top: 1px solid var(--warm-alabaster-soft);
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 2rem;
  opacity: 0.7;

  font-size: 1.125rem;
  opacity: 0.85;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .contact {
    justify-content: space-between;
  }
}

.contact ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0.625rem;
  flex-wrap: wrap;
}

.contact a {
  display: flex;
}

.contact a svg {
  color: var(--brand-vivid-magenta-pink);
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  margin-top: 0.4rem;
  flex-shrink: 0;
}
