@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Google Sans Code", Arial, Helvetica, sans-serif;
  transition: 0.2s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

#content {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  justify-self: center;
  min-height: 100vh;
}

section {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 5rem) 2.5rem 5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

:root {
  --font-sm: clamp(0.8rem, 0.6rem + 0.625vw, 1rem);
  --font-base: clamp(1rem, 0.75rem + 0.781vw, 1.25rem);
  --font-lg: clamp(2.5rem, 1rem + 4.688vw, 3rem);
  --background: white;
  --background-header: white;
  --card: #f2f2f2;
  --text: black;
  --text-hover: rgba(25, 158, 230, 0.337254902);
  --box-shadow: hsla(30, 82%, 45%, 0.7);
}

:root[data-theme=dark] {
  --card: #202020;
  --background: rgb(1, 1, 1);
  --background-header: black;
  --text: white;
  --text-hover: rgba(214, 108, 21, 0.5607843137);
  --box-shadow: hsla(30, 82%, 45%, 0.7);
}
:root[data-theme=dark] header {
  background-color: var(--background-header);
  box-shadow: 0px 0px 18px 0px rgba(80, 80, 80, 0.75);
  -webkit-box-shadow: 0px 0px 18px 0px rgba(80, 80, 80, 0.75);
  -moz-box-shadow: 0px 0px 18px 0px rgba(80, 80, 80, 0.75);
  border-bottom: 1px solid rgb(41, 41, 41);
  z-index: 5;
}
:root[data-theme=dark] .button {
  background-color: black;
  border: 1px solid white;
  color: white;
}
:root[data-theme=dark] .button:hover {
  background-color: white;
  color: black;
}
:root[data-theme=dark] .background {
  background: var(--background);
}
:root[data-theme=dark] .background > span:nth-child(5),
:root[data-theme=dark] .background :nth-child(8),
:root[data-theme=dark] .background :nth-child(12),
:root[data-theme=dark] .background :nth-child(n+16):nth-child(-n+19) {
  color: aqua;
}
:root[data-theme=dark] .background > span:nth-child(6),
:root[data-theme=dark] .background :nth-child(7),
:root[data-theme=dark] .background :nth-child(9),
:root[data-theme=dark] .background :nth-child(15) {
  color: rgba(0, 249, 249, 0.662);
}
:root[data-theme=dark] .background > span:nth-child(n+0):nth-child(-n+4),
:root[data-theme=dark] .background :nth-child(10),
:root[data-theme=dark] .background :nth-child(11),
:root[data-theme=dark] .background :nth-child(13),
:root[data-theme=dark] .background :nth-child(14) {
  color: rgba(109, 255, 255, 0.755);
}
:root[data-theme=dark] * {
  color: white;
}
:root[data-theme=dark] .projects__list__item__title:hover {
  color: var(--text-hover);
}
:root[data-theme=dark] .invert-on-dark {
  filter: invert(1);
}

.hide {
  opacity: 0;
  pointer-events: none;
}

.button {
  width: 7rem;
  height: 3.5rem;
  cursor: pointer;
  background-color: white;
  border: 1px solid black;
  margin-left: auto;
  margin-right: auto;
  color: black;
  font-weight: 600;
  font-size: var(--font-base);
}
.button:hover {
  background-color: black;
  background-clip: content-box;
  padding: 0.3rem;
  color: white;
}

a {
  color: var(--text);
  font-size: var(--font-base);
  text-decoration: none;
}

p, li {
  max-width: 70ch;
  font-size: var(--font-base);
}

h1, h2, h3 {
  font-size: var(--font-lg);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid grey;
  background-color: var(--background-header);
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.75);
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}
.header__nav__list {
  display: flex;
  list-style-type: none;
}
.header__nav__list__item {
  cursor: pointer;
  padding: 1rem;
  display: flex;
  align-items: center;
}
.header__nav__list__item:hover .header__nav__list__item__checkbox {
  background-color: var(--text);
  background-clip: content-box;
}
.header__nav__list__item__checkbox {
  border: 1px solid var(--text);
  height: 10px;
  width: 10px;
  margin: 0.5rem;
  padding: 1px;
  margin-left: 0;
}
.header__nav--projectPage {
  display: flex;
  align-items: center;
  padding: 1rem;
}
.header__nav--projectPage:hover .header__nav__list__item__checkbox {
  background-color: var(--text);
  background-clip: content-box;
}
.header__toggler {
  padding: 1rem;
}

.about {
  display: flex;
  flex-direction: column;
  align-self: center;
}
.about__header {
  text-shadow: 3px 3px var(--text-hover);
}
.about__header__sub {
  margin-bottom: 1rem;
}

.card {
  background-color: var(--card);
  display: flex;
  flex-direction: column;
  width: -moz-fit-content;
  width: fit-content;
}
.card--projectPage {
  background: transparent;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 10rem;
  margin-bottom: 3rem;
}
.card--projectPage > img {
  border: 3px solid var(--text);
  width: 806px;
  height: 453px;
  height: auto;
  flex-shrink: 0;
  align-self: center;
  box-shadow: 20px 15px 0px 0px var(--box-shadow);
}
.card--projectPage__info {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.card--projectPage__link {
  font-weight: 900;
  margin-top: 1rem;
  width: -moz-fit-content;
  width: fit-content;
}
.card--projectPage__link:hover {
  text-decoration: underline;
}

.projects {
  z-index: 2;
}
.projects__header {
  justify-self: center;
}
.projects__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.projects__list__item {
  border: 1px solid var(--text);
  background-color: var(--card);
  padding: 1em;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 1rem;
}
.projects__list__item:hover {
  box-shadow: 0 0 0 0px hsla(30, 82%, 45%, 0.7);
  animation: pulse 3s ease infinite;
  cursor: pointer;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0px hsla(30, 82%, 45%, 0.7), 0 0 0 0px hsla(30, 82%, 45%, 0.4);
  }
  23% {
    box-shadow: 0 0 0 14px hsla(30, 82%, 45%, 0), 0 0 0 28px hsla(30, 82%, 45%, 0);
  }
  33% {
    box-shadow: 0 0 0 0px hsla(30, 82%, 45%, 0), 0 0 0 0px hsla(30, 82%, 45%, 0);
  }
  100% {
    box-shadow: 0 0 0 0px hsla(30, 82%, 45%, 0), 0 0 0 0px hsla(30, 82%, 45%, 0);
  }
}
.projects__list__item__name {
  font-size: var(--font-base);
  font-weight: 900;
  margin-top: 0.4rem;
  display: block;
}
.projects__list__item__banner {
  width: 30rem;
  opacity: 1;
}
.projects__list__item__title {
  display: flex;
  flex-direction: column;
}
.projects__list__item__title:hover > span {
  text-decoration: underline;
}
.projects__list__item__tech {
  list-style-type: none;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.projects__list__item__tech__icon {
  width: 2rem;
}
.projects__list__item__tech--projectPage {
  margin-bottom: 1rem;
}

.sectionThree {
  justify-self: center;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.sectionThree__header {
  text-align: center;
}
.sectionThree__email:hover {
  text-decoration: underline;
}
.sectionThree__nav {
  display: flex;
}
.sectionThree__nav__link {
  margin: 1rem;
  display: flex;
}
.sectionThree__nav__link > img {
  max-width: 3rem;
}

.active {
  background-color: var(--text);
  background-clip: border-box !important;
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}
.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -3;
  background: var(--background);
  overflow: hidden;
  transition: background-color 0.2s ease-in-out;
}

/* light gradient */
.background::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, hsl(0, 49%, 78%), hsl(63, 49%, 92%), hsl(201, 100%, 89%), hsl(168, 100%, 91%));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

/* dark gradient */
.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, rgba(0, 38, 255, 0.062), rgba(22, 23, 24, 0.11), rgba(168, 250, 234, 0.048));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  pointer-events: none;
}

.background.gradient::before {
  opacity: 1;
}

:root[data-theme=dark] .background.gradient::after {
  opacity: 1;
}

:root[data-theme=dark] .background.gradient::before {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.background span {
  width: 1vmin;
  height: 1vmin;
  border-radius: 1vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 44;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  transition: opacity 1s ease-in;
}

.background span:nth-child(0) {
  color: #645e5e;
  top: 53%;
  left: 79%;
  animation-duration: 52s;
  animation-delay: -6s;
  transform-origin: -24vw -18vh;
  box-shadow: -2vmin 0 0.475963128vmin currentColor;
}

.background span:nth-child(1) {
  color: #645e5e;
  top: 79%;
  left: 36%;
  animation-duration: 38s;
  animation-delay: -30s;
  transform-origin: 0vw 22vh;
  box-shadow: 2vmin 0 0.8995316275vmin currentColor;
}

.background span:nth-child(2) {
  color: #645e5e;
  top: 98%;
  left: 30%;
  animation-duration: 22s;
  animation-delay: -56s;
  transform-origin: 21vw -11vh;
  box-shadow: -2vmin 0 0.5320097104vmin currentColor;
}

.background span:nth-child(3) {
  color: #645e5e;
  top: 75%;
  left: 79%;
  animation-duration: 41s;
  animation-delay: -57s;
  transform-origin: -20vw 0vh;
  box-shadow: 2vmin 0 1.2313223572vmin currentColor;
}

.background span:nth-child(4) {
  color: #645e5e;
  top: 49%;
  left: 96%;
  animation-duration: 19s;
  animation-delay: -20s;
  transform-origin: 10vw 20vh;
  box-shadow: 2vmin 0 0.9297057382vmin currentColor;
}

.background span:nth-child(5) {
  color: #0d0d0d;
  top: 86%;
  left: 99%;
  animation-duration: 42s;
  animation-delay: -37s;
  transform-origin: -23vw 0vh;
  box-shadow: -2vmin 0 0.9499740357vmin currentColor;
}

.background span:nth-child(6) {
  color: #292929;
  top: 6%;
  left: 54%;
  animation-duration: 41s;
  animation-delay: -38s;
  transform-origin: 20vw -15vh;
  box-shadow: 2vmin 0 0.7726276714vmin currentColor;
}

.background span:nth-child(7) {
  color: #292929;
  top: 93%;
  left: 68%;
  animation-duration: 31s;
  animation-delay: -22s;
  transform-origin: -16vw -9vh;
  box-shadow: 2vmin 0 0.4639082363vmin currentColor;
}

.background span:nth-child(8) {
  color: #0d0d0d;
  top: 8%;
  left: 18%;
  animation-duration: 37s;
  animation-delay: -40s;
  transform-origin: -8vw -5vh;
  box-shadow: 2vmin 0 0.7623780619vmin currentColor;
}

.background span:nth-child(9) {
  color: #292929;
  top: 69%;
  left: 34%;
  animation-duration: 57s;
  animation-delay: -11s;
  transform-origin: -3vw -19vh;
  box-shadow: 2vmin 0 1.2216190744vmin currentColor;
}

.background span:nth-child(10) {
  color: #645e5e;
  top: 15%;
  left: 27%;
  animation-duration: 23s;
  animation-delay: -28s;
  transform-origin: 0vw 2vh;
  box-shadow: 2vmin 0 0.8836657205vmin currentColor;
}

.background span:nth-child(11) {
  color: #645e5e;
  top: 89%;
  left: 39%;
  animation-duration: 24s;
  animation-delay: -60s;
  transform-origin: 17vw 23vh;
  box-shadow: 2vmin 0 0.9008604915vmin currentColor;
}

.background span:nth-child(12) {
  color: #0d0d0d;
  top: 66%;
  left: 19%;
  animation-duration: 61s;
  animation-delay: -3s;
  transform-origin: 16vw -3vh;
  box-shadow: -2vmin 0 1.2148487968vmin currentColor;
}

.background span:nth-child(13) {
  color: #645e5e;
  top: 81%;
  left: 48%;
  animation-duration: 44s;
  animation-delay: -12s;
  transform-origin: -23vw -8vh;
  box-shadow: 2vmin 0 0.2781921982vmin currentColor;
}

.background span:nth-child(14) {
  color: #645e5e;
  top: 89%;
  left: 70%;
  animation-duration: 13s;
  animation-delay: -49s;
  transform-origin: 23vw -17vh;
  box-shadow: 2vmin 0 0.7024269897vmin currentColor;
}

.background span:nth-child(15) {
  color: #292929;
  top: 50%;
  left: 62%;
  animation-duration: 61s;
  animation-delay: -15s;
  transform-origin: -24vw -11vh;
  box-shadow: 2vmin 0 0.8453520359vmin currentColor;
}

.background span:nth-child(16) {
  color: #0d0d0d;
  top: 29%;
  left: 97%;
  animation-duration: 11s;
  animation-delay: -19s;
  transform-origin: -2vw -17vh;
  box-shadow: -2vmin 0 0.271628062vmin currentColor;
}

.background span:nth-child(17) {
  color: #0d0d0d;
  top: 58%;
  left: 93%;
  animation-duration: 18s;
  animation-delay: -24s;
  transform-origin: 25vw 17vh;
  box-shadow: -2vmin 0 0.2988147898vmin currentColor;
}

.background span:nth-child(18) {
  color: #0d0d0d;
  top: 81%;
  left: 100%;
  animation-duration: 24s;
  animation-delay: -41s;
  transform-origin: -23vw -19vh;
  box-shadow: -2vmin 0 0.557348409vmin currentColor;
}

.background span:nth-child(19) {
  color: #0d0d0d;
  top: 91%;
  left: 5%;
  animation-duration: 31s;
  animation-delay: -7s;
  transform-origin: 1vw -7vh;
  box-shadow: -2vmin 0 0.5496673106vmin currentColor;
}/*# sourceMappingURL=global.css.map */