body {
  margin: 0;
  text-decoration: none;
  color: white;
  background-color: black;
  overflow-x: hidden;
  position: relative;
  cursor: none;
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  filter: blur(1px);
}

header,
section {
  position: relative;
  z-index: 1;
}

.header__container {
  position: relative;
  width: 100vw;
  height: 100dvh;
  background-image: url("media/header.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: calc(50% + 30px) center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 100px;
}

.glassmorphism-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100dvh;
  background: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(19.2px);
  z-index: 1;
}

h1 {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 125%;
}

@media (max-width: 850px) {
  .header__container__two-lines:first-child,
  .header__container__subtitle:last-child,
  .header__container__two-lines:last-child,
  .header__container__subtitle:first-child {
    color: transparent;
    background-image: linear-gradient(
        to right,
        transparent 50%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 1)
      ),
      url("media/blaadjes.webp");
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
  }
}

.header__container__two-lines {
  width: 300px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.header__container__subtitle {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  position: relative;
  z-index: 2;
  font-size: 16px;
}

.header__container__subtitle:first-child {
  margin-top: 50px;
}

.header__container__subtitle:last-child {
  margin-bottom: 50px;
}

.about__section,
.skills__section,
.portfolio__section,
.contact__section {
  padding: 0px 24px 0px 24px;
}

h2 {
  color: rgba(255, 255, 255, 0.7);
  font-family: "azo-sans-web", sans-serif;
  font-weight: 700;
  font-size: 44px;
  margin-bottom: 25px;
  margin-top: 0;
}

.portfolio__section__title {
  text-align: center;
  margin-bottom: 50px;
}

#projects_title {
  padding-top: 75px;
}

p {
  color: #fff;
  font-family: "azo-sans-web", sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 120%;
  margin-bottom: 25px;
}

.about__section__portrait {
  width: 100%;
  border-radius: 15px;
  display: block;
  margin: auto;
  margin-bottom: 125px;
}

.photographer {
  color: white;
  text-decoration: underline dotted;
  font-weight: 400;
}

.photographer:hover {
  font-weight: 600;
}

.skills__section__icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-bottom: 125px;
}

.skills__section__icons img {
  width: 100%;
  max-width: 40px;
  display: block;
  margin: auto;
}

.icon:hover {
  transform: scale(1.3);
  z-index: 1;
  transition: transform 0.3s ease;
}

.portfolio__section__projects {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 125px;
  flex-wrap: wrap;
}

.portfolio__section__projects__item-img {
  border-radius: 15px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: auto;
}

.portfolio__section__projects__item-link {
  position: relative;
}

.portfolio__section__projects__item-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  background: transparent;
  backdrop-filter: blur(0);
  border-radius: 15px;
  z-index: 1;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.portfolio__section__projects:hover
  .portfolio__section__projects__item-link::before,
.portfolio__section__projects__item-link:hover::before {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
}

.portfolio__section__projects__item-link:hover:not(:has(:hover))::before {
  background: transparent;
  backdrop-filter: blur(0);
  cursor: none;
}

.contact__section__blurry-box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background-image: url("media/blaadjes_donker.webp");
  background-size: cover;
  padding: 45px 0;
  margin-bottom: 50px;
}

.contact__section__blurry-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  z-index: 1;
}

.contact__section__blurry-box__title {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  color: white;
}

.contact__section__blurry-box__subtitle {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 300;
  font-size: 12px;
  text-align: center;
  padding: 0px 25px 0px 25px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.contact__section__blurry-box__link {
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.23);
  backdrop-filter: blur(19.200000762939453px);
  text-decoration: none;
  color: #fff;
  font-family: "azo-sans-web", sans-serif;
  font-weight: 500;
  font-size: 12px;
  padding: 12px 17px 12px 17px;
  width: 30%;
  text-align: center;
  display: block;
  margin: auto;
  position: relative;
  z-index: 2;
}

.contact__section__blurry-box__link:hover {
  transform: scale(1.1);
  z-index: 1;
  transition: transform 0.3s ease;
  cursor: none;
}

.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.8);
}

.firefly-cursor {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: white;
  opacity: 80%;
  border-radius: 50%;
  pointer-events: none;
  animation: flicker 2s infinite alternate;
  z-index: 9999;
}

@keyframes flicker {
  0% {
    box-shadow: 0 0 8px 3px #fddba3;
  }
  100% {
    box-shadow: 0 0 12px 7px #fddba3;
  }
}

@media (min-width: 700px) {
  h2 {
    font-size: 52px;
  }

  p {
    font-size: 14px;
    margin-bottom: 0;
  }

  .about__section {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 175px;
  }

  .about__content {
    flex: 1;
  }

  .about__portrait__container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .about__section__portrait {
    height: 300px;
    border-radius: 15px;
    max-width: 500px;
    display: block;
    margin: auto;
    width: auto;
  }

  .skills__section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 175px;
  }

  .skills__content {
    flex: 1;
  }

  .skills__section__icons {
    margin-bottom: 0;
    width: 50%;
  }

  .contact__section {
    max-width: 700px;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 175px;
  }

  .portfolio__section {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 175px;
  }

  .portfolio__section__title {
    text-align: center;
    margin-bottom: 50px;
  }

  .portfolio__section__projects {
    display: flex;
  }

  .portfolio__section__projects__item-img {
    max-width: 340px;
    width: 340px;
  }

  .contact__section__blurry-box__link {
    width: 15%;
  }
}

@media (min-width: 850px) {
  h1 {
    font-size: 64px;
  }

  .header__container__two-lines {
    width: auto;
  }

  .header__container__two-lines:first-child {
    text-align: left;
    padding-left: calc(50% + 50px);
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }

  .header__container__two-lines:last-child {
    text-align: right;
    padding-right: calc(50% + 50px);
    color: transparent;
    background-image: url("media/blaadjes.webp");
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
  }

  .header__container__subtitle:first-child {
    width: auto;
    margin-top: 175px;
    margin-bottom: 10px;
    text-align: right;
    padding-right: calc(50% + 50px);
    color: transparent;
    background-image: url("media/blaadjes.webp");
    background-size: cover;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800;
  }

  .header__container__subtitle:last-child {
    margin-bottom: 150px;
    width: auto;
    text-align: left;
    padding-left: calc(50% + 50px);
    margin-top: 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: 800;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: 88px;
  }

  h2 {
    font-size: 80px;
  }

  p {
    font-size: 16px;
  }

  .header__container {
    margin-bottom: 250px;
  }

  .about__section,
  .skills__section,
  .portfolio__section,
  .contact__section {
    max-width: 1000px;
    margin-bottom: 250px;
  }

  .about__section__portrait {
    height: auto;
  }

  .skills__section__icons {
    width: 50%;
    margin-bottom: 0;
  }

  .portfolio__section__projects__item-img {
    max-width: 485px;
    width: 485px;
  }

  .contact__section__blurry-box__title {
    font-size: 36px;
  }

  .contact__section__blurry-box__subtitle {
    font-size: 16px;
    width: 50%;
    margin: auto;
    margin-bottom: 28px;
  }

  .contact__section__blurry-box__link {
    width: 15%;
    font-size: 20px;
  }
}
