/* ==========================================================================
#RESET
========================================================================== */

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
  #STYLES
  ========================================================================== */

body {
  --font-color: #3e3a37;
  --bg-color: #fef2e3;

  font-family: "Inter", sans-serif;
  color: var(--font-color);
  background-color: var(--bg-color);
  -webkit-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

body.dark-theme {
  --font-color: #ff9272;
  --bg-color: #3e3a37;
}

@media (prefers-color-scheme: dark) {
  body {
    --font-color: #ff9272;
    --bg-color: #3e3a37;
  }

  body.light-theme {
    --font-color: #3e3a37;
    --bg-color: #fef2e3;
  }
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
}

.info {
  padding: 18vh 8vw;
}

.info__job {
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(3.5rem, 11vw, 160px);
  font-weight: 900;
  line-height: 0.9;
}

.info__name {
  font-family: "IBM Plex Mono", monospace;
  font-size: 4vh;
  font-weight: 500;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: auto;
  padding: 1.5rem;
  width: 100%;
}

.wip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.wip__text {
  margin-right: 0.8rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.5rem, 2vw, 40px);
  font-weight: 600;
  white-space: nowrap;
}

.wip__icon {
  width: clamp(1.6rem, 3vw, 40px);
  height: clamp(1.6rem, 3vw, 40px);
  -webkit-animation: spin-icon 3s infinite linear;
  animation: spin-icon 3s infinite linear;
}

.wip__icon path {
  fill: var(--font-color);
}

.toggle {
  padding: 0;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

.toggle__icon {
  width: clamp(1.8rem, 3vw, 40px);
  height: clamp(1.8rem, 3vw, 40px);
  fill: var(--font-color);
}

.toggle__icon path {
  fill: var(--font-color);
}

/* Animation */

@-webkit-keyframes spin-icon {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin-icon {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wip__icon {
    -webkit-animation: none;
    animation: none;
  }
}
