:root {
  --aliceBlue: rgb(213, 225, 239);
  --white: rgb(255, 255, 255);
  --slateGray: rgb(104, 119, 141);
  --delftBlue: rgb(31, 49, 79);
}

.altMode {
  --aliceBlue: rgb(104, 119, 141);
  --white: rgb(31, 49, 79);
  --slateGray: rgb(213, 225, 239);
  --delftBlue: rgb(255, 255, 255);
}

body {
  font-family: "Outfit", serif;
  font-size: 0.9375rem; /*15px*/
  background-color: var(--aliceBlue);
  color: var(--delftBlue);
}

.container {
  max-width: min(100%, 22rem); /*352px*/
  min-height: 100vh; /*Fallback for svh*/
  min-height: 100svh;
  align-items: center;
}

#toggle {
  background-color: var(--slateGray);
}

svg {
  fill: var(--white);
}

main {
  text-align: center;
  padding: 1rem;
  opacity: 0;
  animation-name: fadeDown;
}

section {
  background-color: var(--white);
  padding: 1rem 1rem 2.5rem; /*40px*/
  border-radius: 1.25rem; /*20px*/
  display: flex;
  flex-direction: column;
  box-shadow: 0 1.5625rem 1.5625rem rgba(0, 0, 0, 0.05); /*25px*/
}

img {
  width: 100%;
  height: auto;
  border-radius: 0.625rem; /*10px*/
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.025);
}

article {
  margin: 1.5rem 1rem 0; /*24px*/
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h1 {
  font-size: 1.375rem;
  line-height: 120%;
}

article p {
  color: var(--slateGray);
  line-height: 140%;
}

a {
  color: var(--slateGray);
}