html {
  --background-color-light: pink;
  --background-color-dark: purple;
  --accent-color-light: black;
  --acent-color-dark: white;
  --yellow-accent: yellow;
  --golden-accent: gold;
  --pink-accent: #ff78d2;
  --plum-accent: plum;
  --magenta-accent: magenta;
  --lila-accent: #cb8aeb;
  --hot-pink-accent: hotpink;
  --beige-accent: beige;
  --lila-accent: #cb8aeb;
  --pink-world-accent: #f5b5e0;
  --gray-accent: gray;
}

@font-face {
  font-family: Rounded;
  src: url(assets/style/Rounded\ Elegance\ Regular.otf);
}

@font-face {
  font-family: Bubblegum;
  src: url(assets/style/Bubblegum.ttf);
}

body {
  background-color: var(--pink-world-accent);
  margin: 0;
  padding: 30px;
  text-align: left;
}

h1 {
  font-family: Bubblegum;
  font-size: 40px;
  text-align: center;
}

h2 {
  margin-top: 10px;
  font-family: Rounded;
  font-size: 30px;
  text-align: center;
}

h3 {
  margin-top: 10px;
  font-family: Rounded;
  font-size: 30px;
  text-align: center;
}

p {
  font-family: Rounded;
  font-size: 20px;
  max-width: 75ch;
  text-align: center;
  margin-inline: auto;
}

.homenav a {
  background-color: var(--accent-color-light);
  color: var(--acent-color-dark);
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
}

.homenav a:hover {
  background-color: var(--gray-accent);
}

.active {
  font-family: Rounded;
  border-radius: 20px;
}

.imgBadBunny img {
  border-radius: 10px;
}

.imgBadBunny img:hover {
  transform: scale(1.1);
  box-shadow: 10px 10px 20px var(--background-color-dark);
  rotate: 5deg;
}

@keyframes draaien {
  from {
    rotate: 0deg;
  }

  to {
    rotate: 360deg;
  }
}

.vinyl img {
  animation: draaien 3s linear infinite;
}

.vinyl img:hover {
  transform: scale(1.1);
  filter: drop-shadow(5px 5px 10px purple);
  animation: draaien 1s linear infinite;
}

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

@keyframes --ritme-animation {
  0% {

  }
  50% {

    height:var(--h);

  }
	100% {

  }
}

/* Inspiratie uit deep dive van Sanne */

li[aria-label="ritme"] div {
	width:1em;
	height:1em;
	border-radius:.5em;
	background-color: var(--background-color-dark);
}

li[aria-label="ritme"]:hover div {
  animation-name: --ritme-animation;
	animation-duration:var(--dur);
	animation-iteration-count:infinite;
	animation-timing-function:ease-in-out;

	&:nth-of-type(1) {
		--h:2em;
		animation-duration:.7s;
	}
	&:nth-of-type(2) {
		--h:2.5em;
		--dur:.8s;
	}
	&:nth-of-type(3) {
		--h:3em;
		--dur:.9s;
	}
	&:nth-of-type(4) {
		--h:2.25em;
		--dur:.7s;
	}
	&:nth-of-type(5) {
		--h:1.75em;
		--dur:.9s;
	}
	&:nth-of-type(6) {
		--h:2.5em;
		--dur:.8s;
	}
	&:nth-of-type(7) {
		--h:2em;
		--dur:.9s;
	}
	&:nth-of-type(8) {
		--h:3em;
		--dur:.7s;
	}
	&:nth-of-type(9) {
		--h:1.5em;
		--dur:.9s;
	}
	&:nth-of-type(10) {
		--h:2em;
		--dur:.8s;
	}
}

.muziekbalk ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  justify-self: end;
}

.muziekbalk {
  position: fixed;
  right: 0;
  top: 0;

  animation: scroll-balk linear;
  animation-timeline: scroll(root);
}

@keyframes scroll-balk {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(80vh);
  }
}


.afbeeldingen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  justify-items: center;
}

@media (max-width: 600px) {
  .afbeeldingen {
    grid-template-columns: 1fr;
  }
}

  .konijnopeenfiets {
  width: 200px;
  animation: fietsen 6s linear infinite;
}

.konijnopeenfiets img:hover {
  transform: scale(1.35);
  rotate: 30deg;
}

/* Inpiratie uit en kennis toegepast uit: CSS animations. (n.d.). W3Schools. https://www.w3schools.com/css/css3_animations.asp */

@keyframes fietsen {

  0% {
    margin-left: 0;
    transform: scaleX(1);
  }

  49% {
    margin-left: 75%;
    transform: scaleX(1);
  }

  50% {
    margin-left: 75%;
    transform: scaleX(-1);
  }

  99% {
    margin-left: 0;
    transform: scaleX(-1);
  }

  100% {
    margin-left: 0;
    transform: scaleX(1);
  }

}

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

@keyframes --dblclick-animation {
  0% {
    translate:0 0;
  }
	50% {
		translate:0 -1em;
	}
	100% {
    translate:0 0;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 5px solid var(--yellow-accent);
}

/*
li[aria-label="springen"] div.excited {
  animation-name:--dblclick-animation;
	animation-duration:.2s;
  animation-iteration-count:infinite;
	animation-timing-function:ease-out;
	animation-direction:alternate;
}
*/




