/* Basic style */
:root {
  --primary: #fff;
  --secondary: #050840;
  --highlight-primary: #7ce7c9;
  --highlight-secondary: #9d7beb;
  --radius: 0.5rem;
  --pill: 2rem;
  --line: 0.1rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 2rem;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 2rem;
  background: var(--secondary);
}
section {
  max-width: 90vw;
}
a {
  display: inline-block;
  margin: 0.2em;
  padding: 0.4em 0.8em;
  background: var(--secondary);
  color: var(--highlight-primary);
  border: var(--line) solid var(--highlight-primary);
  border-radius: var(--pill);
  font-weight: normal;
  text-decoration: none;
}
a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* UI Event Classes */

/* Jump animation on the interaction link */
a:nth-of-type(9) {
  position: relative;
  background: var(--highlight-secondary);
  color: var(--secondary);
  border-color: var(--secondary);
}

.jump {
  animation-name: jump;
  animation-timing-function: cubic-bezier(0.28, 0.84, 0.42, 1);
  animation-duration: 1.2s;
  animation-iteration-count: 1;
}

@keyframes jump {
  0% {
    transform: scale(1, 1) translateY(0);
  }
  10% {
    transform: scale(1.1, 0.9) translateY(0);
  }
  30% {
    transform: scale(0.9, 1.1) translateY(-5rem) rotate(10deg);
  }
  50% {
    transform: scale(1.05, 0.95) translateY(0);
  }
  57% {
    transform: scale(1, 1) translateY(-0.5rem) rotate(-2deg);
  }
  64% {
    transform: scale(1, 1) translateY(0);
  }
  100% {
    transform: scale(1, 1) translateY(0);
  }
}

/* Jouw animaties */


a:nth-of-type(12) {
   position: relative;
   background: hotpink;
   color: var(--secondary);
   border: hotpink; 
   transition: 1s ease-in-out;
}

.large {
  transform: scale(1.3);
}

a:nth-of-type(2) {
  position: relative;
  background: purple;
  color: var(--secondary);
  border: purple;  
}

a.background {
  background-color:hotpink; 
}

a:nth-of-type(3) {
  position: relative;
  background: blue;
  color: var(--secondary);
  border: rebeccapurple;  
  transition-duration: 1s;
}

.rotate {
  transform: rotate(180deg); 
}

a:nth-of-type(5) {
  position: relative;
  background: darkgreen;
  color: var(--secondary);
  border: darkgreen;  
}

#test a {
  border: 2px solid white;
  background-color: transparent;
}

#output a {
  color: MediumVioletRed;
  background-color: blue;
  border: none;
}

a:nth-of-type(1) {
  position: relative;
  color: black;
  background-color: lightblue;
  border: none;
}

.side{
  transform: rotateZ(25deg);
  transition-duration:2s ease-in;
}

a:nth-of-type(4) {
  position: relative;
  color: white;
  background-color: lightseagreen;
  border: white;
}

.focus{
  animation: focus 1s ease-in-out infinite;
}

@keyframes focus{
  0%{transform: scale(1);}
  100%{transform: scale(1.2);}
}