@charset "UTF-8";
/* INIT */
@font-face {
  font-family: "Inter";
  font-display: swap;
  font-weight: normal;
  font-style: normal;
  src: url("/assets/fonts/Inter-Regular.ttf");
}
@font-face {
  font-family: "Inconsolata";
  font-display: swap;
  src: url("/assets/fonts/Inconsolata-Light.ttf");
}
@font-face {
  font-family: "doodle";
  font-display: swap;
  src: url("/assets/fonts/Schoolbell-Regular.ttf");
}
@keyframes fadeIn {
  from {
    opacity: 0%;
  }
  to {
    opacity: 100%;
  }
}
@keyframes flip {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(180deg);
  }
}
@keyframes bounceBottom {
  from {
    translate: 0rem 1rem;
  }
  to {
    translate: 0rem -1rem;
  }
}
* {
  box-sizing: border-box;
  scrollbar-color: var(--normal-primary) rgba(0, 0, 0, 0);
}

:root {
  --main-bg-color: #000000;
  --main-fg-color: #ffffff;
  --bright-primary: #cc0000;
  --bright-secondary: #cc000056;
  --normal-primary: #b90000;
  --dark-primary: #8b0000;
  --faded-primary: #3e0000;
}

html {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background-color: var(--main-bg-color);
  color: var(--main-fg-color);
  font-size: 20px;
  overflow-x: hidden;
}

body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-snap-stop: always;
  width: 100vw;
  height: 100vh;
}

#stop-scroll {
  color: var(--main-bg-color);
  background-color: var(--main-bg-color);
  border: 1px solid var(--main-bg-color);
}

/* MAIN */
article,
.name {
  scroll-snap-align: start;
  width: 100vw;
  height: 100vh;
}

.name {
  user-select: none;
}
.name section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.name button {
  appearance: unset;
  background: none;
  border: none;
  color: var(--main-fg-color);
  font-size: 6vw;
  margin: auto;
  box-sizing: border-box;
  position: absolute;
  bottom: 4rem;
  opacity: 0%;
  font-family: "Inter";
  animation: bounceBottom 2s ease-in infinite alternate, fadeIn 1s ease-in 2s 1 normal forwards;
}
.name button:hover, .name button:focus {
  color: var(--bright-primary);
  cursor: pointer;
}

.name h1 {
  font-size: 12vw;
  text-align: center;
  text-shadow: 0.5vw 0.5vw var(--bright-primary);
  margin: 0;
  font-weight: 600;
}

.name ul {
  text-align: center;
  list-style-type: none;
  padding: 0;
}

.name li {
  display: inline-block;
  font-size: 2.5vw;
  font-weight: bold;
}

.name li:not(:last-child)::after {
  content: " •";
  font-size: 3vw;
  text-shadow: 3px 3px var(--bright-primary);
}

/* ABOUT PAGE */
.katey-profile header {
  display: flex;
  flex-direction: column;
  text-align: right;
  margin: 1rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  gap: 0.25rem;
  user-select: none;
}

.katey-profile h2 {
  margin: 0px;
}

.katey-profile span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.squares {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem;
}

.redsquare {
  width: calc(3vw + 8rem);
  height: calc(3vw + 8rem);
  background-color: transparent;
  perspective: 1000px;
}

.innersquare {
  position: relative;
  transition: transform 1s;
  transform-style: preserve-3d;
  width: 100%;
  height: 100%;
  text-align: center;
}

.redsquare:hover .innersquare {
  transform: rotateY(180deg);
  transition: transform 1s;
}

.redsquare:nth-of-type(2):hover .innersquare {
  transform: rotateX(-180deg);
}

.redsquare:nth-of-type(3):hover .innersquare {
  transform: rotateZ(-90deg) rotateX(180deg);
}

.redsquare:nth-of-type(4):hover .innersquare {
  transform: rotateY(-180deg);
}

.redsquare:nth-of-type(5):hover .innersquare {
  transform: rotateX(540deg);
}

.redsquare:nth-of-type(6):hover .innersquare {
  transform: rotateX(180deg) rotateZ(270deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.back {
  transform: rotateY(180deg);
}

.profile,
.writing,
aside {
  font-family: "Inconsolata", Courier, "Times New Roman", serif;
  color: var(--main-bg-color);
  background-color: var(--main-fg-color);
  padding: 1rem;
  width: 100%;
  max-width: 20rem;
  min-width: 300px;
  box-shadow: 10px 10px 0px var(--dark-primary);
}

.proficiency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.proficiency aside {
  overflow-y: auto;
  max-height: 100%;
}

.profile {
  display: grid;
  grid-template-columns: 128px 128px;
  gap: 0.5rem;
}

.strips {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1rem;
  height: 80%;
}

.strips div {
  width: calc(80px + 3vw);
  background-size: cover;
  background-color: var(--bright-primary);
  background-image: url("/assets/img/profile/face13.webp");
}

.strips div:nth-of-type(2) {
  background-color: var(--dark-primary);
  background-size: contain;
  background-image: url("/assets/img/profile/static.webp");
  background-position: center;
}

.strips div:nth-of-type(3) {
  background-image: url("/assets/img/profile/face14.webp");
  background-color: var(--faded-primary);
  background-position: center;
}

p {
  line-height: 1.2rem;
}

time {
  display: inline-block;
}

section a {
  color: var(--dark-primary);
}

section button {
  all: unset;
  color: var(--bright-primary);
  text-decoration: underline;
}

.pointerButton:hover {
  cursor: pointer;
}

section a[id=kate] {
  color: var(--main-bg-color);
}

section h2,
aside h2 {
  text-align: center;
}

.project a,
aside a {
  color: var(--bright-primary);
}

.project a:focus,
.project a:hover,
aside a:focus,
aside a:hover {
  color: var(--dark-primary);
}

.project a:active,
aside a:active {
  color: var(--main-bg-color);
}

time {
  font-style: italic;
  display: inline-block;
}

aside ol {
  list-style-type: "+ ";
}

.project img[src*=baetyl] {
  margin-bottom: 4rem;
}

/* SCROLLER */
.scroller {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.scroller a,
.scroller img {
  max-height: 40vh;
  max-width: 30vw;
}

.scroller ul {
  margin: 0;
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
}

.scroller ul li {
  position: relative;
}

.scroller a {
  background-color: var(--dark-primary);
  display: block;
  width: 16rem;
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2rem;
  user-select: none;
  color: var(--main-fg-color);
  text-decoration: none;
  transition: background-color 1s, box-shadow 1s;
}

.scroller a:focus,
.scroller a:hover {
  background-color: var(--bright-secondary);
  box-shadow: 0.5rem 0.5rem var(--bright-primary);
  transition: background-color 1s, box-shadow 1s;
}

.scroller img {
  width: 16rem;
  height: 16rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -100;
  object-fit: cover;
}

/* PROJECTS PAGE */
#sites {
  height: auto;
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 18rem auto;
  scroll-margin-bottom: 22rem;
}

#sites h2 {
  font-size: 1.75rem;
  text-align: left;
  position: sticky;
  top: 0px;
  background-color: var(--main-bg-color);
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px dashed var(--bright-primary);
}

.mini-scroll {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.mini-scroll ul {
  margin: 0;
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: 6rem 6rem;
  gap: 0.2rem;
}

.sticky {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: sticky;
  top: 1rem;
  gap: 1rem;
}

.sticky hr {
  width: 100%;
  color: var(--main-fg-color);
}

.mini-scroll ul a {
  background-color: var(--dark-primary);
  display: block;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  user-select: none;
  color: var(--main-fg-color);
  text-decoration: none;
  transition: background-color 0.5s, box-shadow 1s;
}

.mini-scroll ul a:focus,
.mini-scroll ul a:hover {
  background-color: var(--bright-primary);
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact h3 {
  text-align: center;
  margin: 0.5rem;
  font-size: 1.5rem;
}

.contact a {
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: var(--main-bg-color);
  background-color: var(--main-fg-color);
  padding: 0.5rem;
  font-family: "Inconsolata", "monospace";
  box-shadow: 6px 6px var(--normal-primary);
  transition: background-color 0.5s, box-shadow 1s;
}

.contact a:focus,
.contact a:hover {
  background-color: var(--faded-primary);
  color: var(--main-fg-color);
  box-shadow: 0px 0px var(--normal-primary);
  transition: background-color 0.5s, box-shadow 0.5s;
}

.main_projects section {
  padding-bottom: 2rem;
}

.main_projects details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

summary {
  font-size: 2.4rem;
  cursor: pointer;
}

summary::marker {
  content: "";
}

details summary::before {
  content: " ▶ ";
  font-size: 1rem;
  text-shadow: 3px 3px var(--bright-primary);
}

details[open] summary::before {
  content: " ▼ ";
}

.main_projects details summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.main_projects ul {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
  width: 100%;
}

.project {
  font-family: "Inconsolata", Courier, serif;
  padding: 1rem;
  color: var(--main-bg-color);
  background-color: var(--main-fg-color);
  max-width: 45rem;
  box-shadow: 10px 10px 0px var(--bright-primary);
  margin-right: 1.5rem;
}

.project h3 {
  font-family: "Inter";
  text-align: center;
  overflow-wrap: break-word;
}

.project img {
  float: left;
  margin: 1rem;
  margin-right: 2rem;
  box-shadow: 10px 10px 0px var(--dark-primary);
  border: 2px solid var(--dark-primary);
  width: 150px;
  height: 150px;
}

.project p {
  padding: 0;
}

.project_header {
  font-size: 1.4rem;
}

.footer {
  height: 5rem;
}

@media (max-width: 900px) {
  .name ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .name li:not(:last-child)::after {
    content: none;
  }
  .name li {
    font-size: 1.5rem;
  }
  .name li:nth-of-type(1) {
    color: var(--bright-primary);
  }
  .name li:nth-of-type(2) {
    color: var(--normal-primary);
  }
  .name li:nth-of-type(3) {
    color: var(--dark-primary);
  }
  .katey-profile {
    height: auto;
    padding-bottom: 2rem;
    scroll-snap-align: none;
  }
  .katey-profile header {
    scroll-snap-align: start;
    text-align: center;
  }
  .katey-profile h2 {
    font-size: 1.5rem;
  }
  .katey-profile span {
    flex-direction: column;
  }
  .katey-profile .squares {
    justify-content: center;
    margin-bottom: 50vh;
  }
  .katey-profile .writing {
    scroll-snap-align: start;
    scroll-margin-top: 5rem;
  }
  .proficiency {
    margin-top: 50vh;
    position: relative;
  }
  .proficiency .strips {
    display: none;
  }
  .proficiency::before {
    content: "";
    background-image: url("/assets/img/profile/face13.webp");
    position: absolute;
    top: 10%;
    left: 0px;
    width: 25%;
    height: 80%;
    z-index: -100;
  }
  .proficiency::after {
    content: "";
    background-image: url("/assets/img/profile/face14.webp");
    position: absolute;
    top: 10%;
    right: 0px;
    width: 25%;
    height: 80%;
    z-index: -100;
  }
  .proficiency::before, .proficiency::after {
    background-repeat: no-repeat;
    background-size: cover;
  }
  .scroller a,
  .scroller img {
    max-width: 45vw;
    max-height: 20vh;
    text-align: center;
  }
  .scroller h2 {
    font-size: 1.5rem;
    text-align: center;
  }
  #sites {
    display: flex;
    flex-direction: column;
  }
  #sites .main_projects {
    scroll-margin-top: 11rem;
  }
  #sites .project {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  #sites .mini-scroll {
    position: sticky;
    top: 0px;
    padding-top: 5px;
    background-color: var(--main-bg-color);
    padding-bottom: 1rem;
    border-bottom: 3px dashed var(--normal-primary);
    z-index: 100;
  }
  #sites .mini-scroll h3,
  #sites .mini-scroll hr,
  #sites .mini-scroll ul {
    display: none;
  }
  #sites .mini-scroll .contact {
    flex-direction: row;
  }
  h3:has(+ img[src="/assets/img/lifeletter.png"]) {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 500px) {
  .project {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  .project p,
  .project h3 {
    margin: 0;
  }
  .project img {
    float: none;
    text-align: center;
  }
}
@media (max-height: 800px) and (min-width: 900px) {
  .squares {
    display: none;
  }
}
@media (max-width: 450px) {
  .proficiency::before,
  .proficiency::after {
    display: none;
  }
}