/* nerd font */
@import "https://www.nerdfonts.com/assets/css/webfont.css";


/* themes */
:root { /* epic video https://www.youtube.com/watch?v=_gKEUYarehE  */
  --text-color: #000;
  --primary-color: #d2f5ff;
  --primary-secondary: #c7c6ff;
  --accent-color: #ff6200;
  --accent-secondary: #ff2701;
  --banner: rgba(235, 235, 235, 0.5);
}
.darkmode {
  --text-color: #ffffff;
  --primary-color: #182834;
  --primary-secondary: #24124e;
  --accent-color: #ff6200;
  --accent-secondary: #ff2701;
  --banner: rgba(8, 8, 8, 0.5);
}

/* main */
* {
  margin: 0;
  padding: 0;
}
html {
  font-family: Inter, NerdFontsSymbols Nerd Font, Arial, sans-serif;
  font-style: normal;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(30deg, var(--primary-color), var(--primary-secondary));
  color: var(--text-color);
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  display: none;
}
hr {
    border: none;
    height: 20px;
}

/* button/link styling */
button {
  background: none;
  color: var(--text-color);
  cursor: pointer;
  border: none;
}
.buttonreg {
  background: var(--accent-color);
  color: var(--text-color);
  padding: 10px;
  border-radius: 10px;
  font-size: 20px;
}
.buttonreg:hover {
  background: var(--accent-secondary);
  color: var(--text-color);
}
a {
  color: var(--text-color);
  text-decoration: none;
}

/* header */
header {
  display: flex;
  justify-content: space-around;
  background-color: var(--banner);
  padding: 10px;
}
.headleft {
  display: flex;
  align-items: center;
  gap: 16px;
}
.headleft img {
  height: 50px;
  border-radius: 100%;
}
nav {
  display: flex;
  background-color: inherit;
  gap: 5px;
}
.headright {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
#themeswitch{
  font-family: Inter, NerdFontsSymbols Nerd Font, Arial, sans-serif;
  font-size: 18px;
  width: 50px;
}
#themeswitch p:last-child{
  display:none;
}
.darkmode #themeswitch p:first-child{
  display:none;
}
.darkmode #themeswitch p:last-child{
  display:block;
}

/* temp */
.something {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  z-index: 1;
}
.something img {
  margin: 20px;
  border-radius: 100%;
  border: 5px solid var(--text-color);
}
#bg {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  max-width: 1200px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}
.special {
  background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fourohfour {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 40px;
}
.fourohfour-dirs {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px;
}

/* stroop */
.stroop {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}
.stroop-initial {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}
.stroop-initial h1 {
  font-size: 50px;
  margin: 20px;
}
.stroop-initial h2 {
  margin: 20px;
}
.stroop-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 500px;
  padding: 20px;
  padding-bottom: 25px;
  border-radius: 10px;
  background-color: var(--base-secondary);
}
.stroop-info p {
  font-size: 18px;
  margin: 10px;
}
.stroop-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.stroop-container {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 20px;
  border-radius: 10px;
}
.stroop-top {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}
.stroop-main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
}
.stroop-text {
  font-size: 50px;
  color: #fff;
  z-index: 1;
}
.stroop-img {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.stroop-bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 100px;
  gap: 20px;
}
.stroop-next {
  padding: 20px;
  border-radius: 10px;
  background-color: var(--accent-color);
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
}

/* footer */
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--banner);
  padding: 30px;
  margin: 10px;
  border-radius: 10px;
  gap: 20px;
  z-index: 1;
}
.socials a {
  font-size: 28px;
  margin: 8px;
}

/* media queries */
@media screen and (max-width: 800px) {
  header {
    justify-content: space-between !important;
  }
  nav  {
    flex-direction: column !important;
  }
  #bg {
    width: 1200px;
    height: auto;
  }
  .stroop-info {
    width: 80% !important;
  }
  .stroop-initial h1 {
    font-size: 40px !important;
  }
}