@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
  --font: 'Inter', sans-serif;
}

.light-theme {
  --background-primary: #111111;
  --background-secondary: #262e57;
  --foreground-primary: #ffffff;
  --foreground-secondary: #8f8f8f;
  --accent-primary: #97A8FF;
  --accent-primary-shadow: rgba(151, 168, 255, 0.5);
}

.dark-theme {
  --background-primary: #111111;
  --background-secondary: #262e57;
  --foreground-primary: #ffffff;
  --foreground-secondary: #8f8f8f;
  --accent-primary: #97A8FF;
  --accent-primary-shadow: rgba(151, 168, 255, 0.5);
}

.spooky-theme {
  --background-primary: #18181A;
  --background-secondary: #5A2910;
  --foreground-primary: #FFF2EC;
  --foreground-secondary: #BBAFA9;
  --accent-primary: #F5834F;
  --accent-primary-shadow: rgba(151, 168, 255, 0.5);
}

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

*:focus-visible {
/* 		outline: 1.5px solid var(--accent-primary); */
  outline: none;
  background: var(--background-secondary);
/* 		outline-offset: 2px; */
}

html, body {
  width: 100%;
  font-family: var(--font);
  background: var(--background-primary);
  font-size: 18px;
  transition: ease-out 0.2s;
}

button {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}

h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--foreground-primary);
  line-height: 34px;
  text-shadow: 0 0 20px var(--accent-primary-shadow);
}

p {
  color: var(--foreground-secondary);
  font-weight: 400;
  line-height: 150%;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1.5px solid var(--accent-primary);
  transition: ease-out 0.2s;
  padding-bottom: 1px;
}

a:hover {
  color: var(--foreground-primary);
  text-shadow: 0 0 20px var(--accent-primary-shadow);
border-color: var(--foreground-primary);
}

a:active {
  font-style: italic;
}

hr {
  border: 1px solid var(--background-secondary);
  background: none;
}

svg {
  stroke: var(--accent-primary);
  width: 20px;
  height: 20px;		
  transition: 0.2s ease-out;
}

button.theme {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  transition: ease-out 0.2s;
  cursor: pointer;
}

button.theme:hover {
  background: var(--background-secondary);
}

button.theme svg {
  stroke: var(--foreground-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: 64px auto;
  max-width: 1200px;
}

.animate-in {
animation-name: animate-in;
animation-duration: 1.5s;
animation-delay: calc(var(--animation-order) * 0.1s);
animation-fill-mode: both;
animation-timing-function: ease-in-out;
}

@keyframes animate-in {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  70% {
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion) {
  .animate-in {
    animation: none;
  }
}

.pfp {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  box-shadow: 0 4px 20px #0000008a;
}

/* .pfp {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  box-shadow: 0 4px 20px #0000008a;
}
*/

main .header {
  display: flex;
  align-items: center;
  gap: 16px;
}

main .container {
  display: flex;
  justify-content: space-between;
  gap: 128px;
}

main .container .column {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

main .section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

main .section .questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

main .section .questions .question {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

main .section .questions .question p:first-child {
  font-style: italic;
  color: var(--foreground-primary);
}

main footer {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

main footer hr {
  width: 100%;
  height: 2px;
  background: var(--background-secondary);
}

main footer .bottom {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

main footer .bottom .social-medias {
  display: flex;
  gap: 32px;
}

main footer .bottom .social-medias .social-media {
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid var(--accent-primary);
  transition: ease-out 0.2s;
  height: fit-content;
  padding-bottom: 1px;
}
main footer .bottom .social-medias .social-media:hover {
  color: var(--foreground-primary);
  text-shadow: 0 0 20px var(--accent-primary-shadow);
  border-color: var(--foreground-primary);
}


main footer .bottom .social-medias .social-media:active {
  font-style: italic;
}

main footer .bottom .social-medias .social-media:hover svg {
  transform: translate(4px, -4px);
  stroke: var(--foreground-primary);
}

main footer .buttons {
  display: flex;
  gap: 16px;
}

main footer .buttons .spooky {
  fill: var(--foreground-primary);
}

main footer .buttons .spooky svg {
  width: 24px;
  height: 24px;
}

@media only screen and (max-width: 1000px) {
  main footer {
    margin-bottom: 64px;
  }
}

@media only screen and (max-width: 1200px) {
  main {
    max-width: 90%;
  }
}

@media only screen and (max-width: 800px) {
  main .container {
    flex-direction: column;
    justify-content: center;
    gap: 64px;
  }

  main footer .bottom .social-medias {
    flex-direction: column;
    gap: 16px;
  }
}

::selection {
  background: var(--foreground-primary);
  color: var(--background-primary);
}
