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

* {
    font-family: "Kode Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-weight: 100;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: black;
}

body {
    padding: 4vw 2vw;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background-color: black;
    color: beige;
    min-height: 100vh;
    box-sizing: border-box;
    border: 1px solid lime;
}

details {
    font-size: clamp(2rem, 5vw, 3.5rem);
    height: 50vh;
    margin-left: 2px;
}
details > summary {
    list-style-type: '→ ';
}
details[open] > summary {
    list-style-type: '↓ ';
}

blockquote {
    font-size: clamp(1rem, 2vw, 1.2rem);
    height: 50vh;
    padding: 15px;
}

p {
    padding-bottom: 2vw;
    padding-top: 2vw;
    padding-left: 1vw;
    padding-right: 1vw;
    line-height: 1.5;
    text-indent: 2vw;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

a {
    color: lime;
    word-break: break-word;
    background-color: transparent;
}
a:hover {
    text-decoration: line-through;
}

label {
  margin: 0 auto 5px auto;
  text-align: center;
  color: lime;
  display: flex;
  align-items: center;
}

figure {
  border: 1px solid lime;
  background-color: lime;
  display: flex;
  flex-flow: column;
  padding: 5px;
  margin-bottom: 50px;
}
figure a {
  color: black;
  font-size: 0.8rem;
}

figcaption {
  background-color: lime;
  color: black;
  padding-top: 5px;
  text-align: center;
  font-size: 0.8rem;
}

header {
 display: none;
}

footer {
  display: flex; 
  flex-direction: column;
}
footer a {
  width: fit-content;
}

#concentration-root {
  padding-top: 4vh;
  text-align: center;
  font-style: italic;;
}
.concentration-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1vw;
  justify-content: center;
  margin: 0 auto;
  padding-top: 4vh;
  padding-bottom: 10vh;
  max-width: 100vw;
  width: 100%;
}
.concentration-card {
  width: 100%;
  aspect-ratio: 5/7;
  max-width: 200px;
  max-height: 300px;
  min-width: 100px;
  min-height: 150px;
  perspective: 900px;
  cursor: pointer;
}
.card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.4,2,.6,1);
  transform-style: preserve-3d;
  position: relative;
}
.concentration-card.flipped .card-inner {
    transform: rotateY(180deg);
}
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border: 2px solid lime;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-family: sans-serif;
}
.card-back {
    background: #4f8cff;
    color: #fff;
    transform: rotateY(180deg);
}
.card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#brutalism-toggle-root {
  padding-top: 20vh;
  padding-bottom: 20vh;
}
.brutalism-toggle-btn {
    border: 2px solid lime;
    border-radius: 20px;
    cursor: pointer;
    background-color: lime;
    transition: all 0.3s ease;
}
.brutalism-toggle-btn:hover {
    border-radius: 100%;
    transition: all 0.5s ease;
}

.figure-container {
  padding-bottom: 25px;
}

@media (max-width: 900px) {
  body {
    max-width: 100vw;
    padding: 4vw 1vw;
  }
  .concentration-board {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5vw;
    max-width: 98vw;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }
  blockquote {
    font-size: 1rem;
    margin-bottom: 6vw;
  }
  p {
    font-size: 0.95rem;
    padding-top: 15px;
    text-indent: 1vw;
  }
  .concentration-board {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 6vw;
    margin: 4vw auto;
  }
  .concentration-card {
    max-width: 98vw;
    min-width: 80px;
    min-height: 110px;
  }
}
@media (min-width: 900px) {
  * {
    position: sticky;
    top: 0;
  }
}

#remix-art-canvas-container {
    display: block;
    margin: 0 auto 2rem auto;
    pointer-events: none;
}
#remix-art-controls {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 50px;
}

#quote {
  margin-bottom: 10vw;
  margin-top: 10vw;
  width: 50%;
}

#reset-button-container {
  width: 100%; 
  height: 80vh;
  padding-top: 50px;
  display: flex; 
  flex-direction: column; 
  justify-content: space-between;
}
#reset-button {
  display: block;
  margin: 0 auto;
  margin-top: 30vh;
  font-size: 4rem;
  cursor: pointer;
  border: none;
  color: white;
  padding: 10px;
}
#reset-button:hover {
  background-color: lime;
  color: black;
  cursor: pointer;
}