@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Mono:ital,wght@0,300..700;1,300..700&display=swap");

:root {
  --primary: #c9c3fd;
  --secondary: #524f71;
  --tertiary: #826fff;
  --quaternary: #2f2e38;
}

* {
  border: 0;
  padding: 0;
  outline: 0;
  margin: 0;
  appearance: none;
  box-sizing: border-box;
  text-decoration: none;
  cursor: default;
  font-family: "Red Hat Mono", monospace;
  color: var(--primary);
  font-weight: 400;
  line-height: 195%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--quaternary);
}

main {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  min-height: 960px;
  gap: 1.8rem;
  position: relative;
  padding: 80px 100px;
}

h1 {
  font-size: 4.25rem;
}

div {
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

p,
span {
  max-width: 720px;
  font-size: 1.125rem;
}

p {
  margin-left: 50px;
}

span {
  color: var(--secondary);
  text-align: center;
  position: absolute;
  bottom: 2rem;
  align-self: center;
}

strong {
  font-weight: 700;
  text-decoration: underline;
}

a {
  color: var(--tertiary);
  text-decoration: underline;
  cursor: pointer;
}

a.muted {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 965px) {
  span {
    text-align: unset;
    position: unset;
    bottom: 2rem;
    align-self: unset;
    margin-left: 50px;
  }
}

@media (max-width: 765px) {
  h1 {
    font-size: 3.77rem;
  }

  p,
  span {
    font-size: 1rem;
    margin-left: 30px;
  }

  main {
    padding: 40px 50px;
  }
}

@media (max-width: 575px) {
  h1 {
    font-size: 3.29rem;
  }

  p,
  span {
    font-size: 0.875rem;
    margin-left: 20px;
  }

  main {
    padding: 30px 40px;
  }
}
