@import url("./normalize.min.css");

@font-face {
  font-family: "Arad";
  src: url("./arad.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

*,
*::before,
*::after {
  font-family:
    "Arad",
    "Dubai",
    tahoma,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
  font-variation-settings: "DSTY" 2;
  margin: 0;
  padding: 0;
  user-select: none;
}

html {
  background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
  background-repeat: no-repeat;
  min-height: 100dvh;
  color: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

body {
  padding-top: 24px;
}

section {
  padding: 30px;
  padding-top: 20px;
  padding-bottom: 40px;
  width: 320px;
  margin: 0 auto;
}

header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
  border: 1px solid #a0a0a0;
  border-radius: 10px;
  padding: 24px 4px;
}

header > h1 {
  font-size: 36px;
  font-weight: 800;
  margin: 0;
}

h1 {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
}

header > h2 {
  font-size: 26px;
  font-weight: 600;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

p {
  text-wrap: balance;
  text-align: center;
  margin: 0 auto;
  line-height: 1.4;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 30px;
}

p > span {
  font-weight: 300;
}

a:link,
a:visited,
a:focus {
  color: inherit;
  outline: 0;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s,
    font 0.2s;
}

a:hover,
a:active,
a:focus {
  background-color: #0f0f0f10;
  font-weight: 700;
  font-size: 24px;
}

li > a {
  display: flex;
  flex-direction: row;
  gap: 8px;
  padding: 20px 0;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 20px;
  border: 1px solid #a0a0a0;
  border-radius: 10px;
}

svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition:
    width 0.2s,
    height 0.2s;
}

:is(a:hover, a:active, a:focus) svg {
  width: 32px;
  height: 32px;
}

@media (prefers-color-scheme: dark) {
  html {
    background: linear-gradient(to right, #434343 0%, black 100%);
    color: #f0f0f0;
  }
  a:hover,
  a:active,
  a:focus {
    background-color: #f0f0f010;
  }
}
