:root {
  --bg-color: #263238;
  --bg-color: #424242;
  --bg-color: #223738;

  --font-color: white;
}

.resize-animation-stopper * {
  animation: none !important;
  transition: none !important;
}

html {
  color: var(--font-color);
  background-color: var(--bg-color);
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

textarea {
  resize: vertical;
  width: 100%;
  font-size: 1.2rem;
  height: 200px;
  color: var(--font-color);
  background-color: #0000;
  border: none;
}

#d-home {
  font-family: "Work Sans", sans-serif;
  display: flex;
  flex-flow: column;
  min-width: 100vw;
  height: 100%;
  justify-content: center;
  align-items: center;

  & #home-name {
    display: flex;
    font-size: 14vw;
  }

  & #home-email {
    font-size: 1.2rem;
    font-weight: 600;
  }
}

#d-about,
#d-mail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-weight: bold;
  font-size: 1.2rem;
  min-width: 100vw;
}

.icons {
  gap: 20px;
  display: flex;
}

.icon {
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  justify-content: center;
  opacity: 50%;
  margin-top: 10px;
}

.ion-icon {
  filter: invert(100%);
}

.text-wrapper {
  width: 90%;
  max-width: 700px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 20%);
  padding: 0px 20px;
  border-radius: 20px;
}

#nodeWindow {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1%;
  overflow: hidden;
  pointer-events: none;
  animation: fade-in 0.7s linear 0.3s 1 forwards;
}

#model {
  float: right;
}

.node {
  position: absolute;
  background-color: black;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 50%;
}

#display-wrapper {
  position: relative;
  transition: left 0.5s ease-in-out;

  font-family: "Work Sans", sans-serif;
  display: flex;
  height: 100%;
}

.nav {
  display: flex;
  gap: 10px;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 20%);
  position: absolute;
  left: 50%;
  bottom: 1%;

  padding: 10px;
  transform: translateX(-50%);
}

.nav-item {
  user-select: none;
  width: 45px;
  height: 45px;
  opacity: 50%;

  transition: opacity 0.3s linear;

  &.active {
    opacity: 100%;
  }
}

@keyframes fade-in {
  from {
    opacity: 0.1%;
  }
  to {
    opacity: 20%;
  }
}
