@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap");

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track-piece {
  background-color: #393939;
}

::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}

html {
  scrollbar-color: #ffffff #393939;
  scrollbar-width: thin;
}

body {
  position: relative;
  margin: 0;
  font-family: "Source Sans Pro";
  color: white;
  background: white;
  font-weight: 200;
  width: 100vw;
  height: 100vh;
  text-shadow: 0px 0px 5px black;
}

#container {
  width: 100%;
  height: 100%;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  background: black;
}

.card {
  position: relative;
  scroll-snap-align: start;
  height: 100vh;
}

#introduction-group {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#introduction-card {
  background: url("assets/images/bg-lowexposure.webp");
  background-size: cover;
}

#introduction {
  font-size: 64px;
  text-align: center;
}

#introduction-sub {
  font-size: 32px;
  text-align: center;
}

#project-card-1 {
  background: linear-gradient(
    90deg,
    #180f24 0%,
    #180f24 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

#project-card-2 {
  background: linear-gradient(
    90deg,
    #180f24 0%,
    #180f24 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

#project-card-4 {
  background: linear-gradient(
    90deg,
    rgba(146, 145, 143, 1) 0%,
    rgba(146, 145, 143, 1) 50%,
    rgba(0, 0, 0, 1) 100%
  );
}

#project-card-5 {
  background: black;
}

#hireme-card {
  position: relative;
  background: url("assets/images/HireMe/image-lowexp.webp");
  background-size: cover;
  background-position: center;
}

#hireme-content {
  position: absolute;
  background: url("assets/images/HireMe/image-blur-lowexp.webp");
  background-size: cover;
  background-position: center;
  top: 12.5vh;
  left: 12.5vw;
  width: 75vw;
  height: 75vh;
}

#hireme-text {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  text-align: center;
  padding: 36px;
}

#hireme-text-1 {
  font-size: 64px;
}

#credits-card {
  background: url("assets/images/bg4-lowexposure.webp");
  background-size: cover;
  background-position-y: center;
}

#credits-title {
  font-size: 64px;
  padding: 50px 25px 0px 25px;
  text-align: center;
}

#credits-text {
  text-align: center;
}

.credits-part {
  width: 100%;
  text-align: center;
}

.credits-part-title {
  font-size: 64px;
  padding-top: 48px;
}

.credits-names {
  font-size: 48px;
}

#copyright {
  font-size: 16px;
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
}

.bold-text {
  font-weight: 400;
}

.project-title {
  font-size: 64px;
  text-align: center;
}

.project-link {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.project-link-icon {
  width: 32px;
  height: 32px;
}

.project-flex {
  display: flex;
}

.project-right {
  margin-left: 15px;
  padding: 10px;
}

.project-properties {
  position: absolute;
  bottom: 0;
  padding: 15px;
  font-size: 24px;
}

.project-image {
  height: 100vh;
  width: calc(90vw - 300px);
  object-fit: cover;
}

.project-description {
  padding: 15px;
  font-size: 48px;
  margin-bottom: 4px;
}

#side-navbar {
  position: absolute;
  top: 0;
  left: -190px;
  height: 100vh;
  width: 200px;
  background: transparent;
  cursor: default;
  transition: left 1s ease, background 1s ease;
}

#side-navbar:hover {
  left: 0;
  background: #000000aa;
}

#side-navbar:hover > #side-navbar-icon {
  opacity: 0;
  right: -80px;
}

#side-navbar-icon {
  width: 32px;
  height: 32px;
  position: absolute;
  right: -30px;
  top: calc(50vh - 32px);
  opacity: 1;
  transition: opacity 0.5s ease, right 1s ease;
}

.side-navbar-button {
  width: 100%;
  height: 12px;
  font-size: 12px;
  text-align: center;
  padding: 12px 0px 12px 0px;
  line-height: 10px;
  transition: background 0.5s ease, color 0.5s ease;
}

.side-navbar-button:hover {
  background: #ffffffaa;
  color: black;
}

.sidebar-header {
  margin-left: 10px;
}

.sidebar-separator {
  width: calc(100% - 10px);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 20%,
    rgba(255, 255, 255, 0) 100%
  );
}

.sidebar-link {
  color: #ffffff;
  text-decoration: none;
}

#side-navbar-bottom {
  position: absolute;
  bottom: 10px;
  width: inherit;
  display: flex;
  flex-direction: row;
}

.side-navbar-contact-div {
  flex-grow: 1;
  text-align: center;
}

.side-navbar-contact-icon {
  width: 24px;
}

#loading-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: black;
  font-family: "Source Code Pro";
  opacity: 1;
  transition: opacity 0.5s ease;
}

#svg6 {
  position: absolute;
  top: 64px;
  right: 128px;
}

#svg5 {
  position: absolute;
  top: -400px;
  left: 70px;
}

#loading-icon {
  fill: transparent;
  stroke-width: 0.2px;
  stroke-dasharray: 0% 100% 100%;
  transition: stroke-dasharray 1s cubic-bezier(0, 0, 1, 0),
    fill 0.5s cubic-bezier(0, 0, 1, 0);
  stroke: white;
}

#loading-icon-yuki {
  fill: transparent;
  stroke-width: 0.2px;
  stroke-dasharray: 0% 100% 100%;
  transition: stroke-dasharray 1s cubic-bezier(0, 0, 1, 0),
    fill 0.5s cubic-bezier(0, 0, 1, 0);
  stroke: white;
}

#loading-progress {
  position: absolute;
  top: 200px;
  left: 100px;
  font-size: 128px;
}

#loading-progressbar {
  position: absolute;
  top: 400px;
  left: 100px;
  width: calc(100vw - 200px);
  height: 64px;
  background-color: #0000004a;
  border: white 1px solid;
}

#loading-progressbar-inner {
  height: 64px;
  width: 0%;
  background: white;
  transition: width 0.02s linear;
}

#connection-status {
  position: absolute;
  top: 600px;
  left: 100px;
  font-size: 24px;
  color: white;
  opacity: 1;
  transition: opacity 0.2s ease;
}
#loading-console {
  position: absolute;
  top: 50px;
  left: 50px;
  width: calc(100vw - 100px);
  height: calc(100vh - 100px);
  color: #2b2b2b;
  overflow: hidden;
  scroll-behavior: smooth;
}
#Yuki-I-text {
  position: absolute;
  right: 50px;
  text-align: right;
  top: 100px;
  font-size: 24px;
}
.Yuki-I-text-character {
  position: relative;
}
.Yuki-I-text-character-load-left {
  animation: yukiloadleft 0.5s ease;
}
.Yuki-I-text-character-load-right {
  animation: yukiloadright 0.5s ease;
}

.Yuki-I-text-character-furigana {
  position: absolute;
  left: 24px;
  font-size: 12px;
  top: 0px;
}

@keyframes yukiloadleft {
  0% {
    transform: translateX(-32px) translateY(32px);
  }
  50% {
    transform: translateX(-32px) translateY(0px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
@keyframes yukiloadright {
  0% {
    transform: translateX(32px) translateY(-32px);
  }
  50% {
    transform: translateX(32px) translateY(0px);
  }
  100% {
    transform: translateX(0px) translateY(0px);
  }
}
