/* 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(12) {
  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 */


.achtergrond:hover{
  background-color: red;
}

.gedraaid{
  transition: all 1s;
  transform: rotate(360deg);
  
}

.schudden{
  animation-name: schud;
  animation-timing-function: cubic-bezier(.36, .07, .19, .97);
  animation-duration: .2s;
  animation-iteration-count: 1;
}

.stretch{
  animation-name: stretch;
  animation-duration: 1s;
  animation-iteration-count: 1;
}

a:nth-of-type(10){
  position: relative;
  display:inline-block;
}

.up{
  animation-name: up;
  animation-duration: 3s;
  animation-iteration-count: 1;
}

.tilt{
  animation: tilt;
  animation-duration: 3s;
  animation-iteration-count: 1;
}

.skinny{
  animation: skinny;
  animation-duration: 5s;
  animation-iteration-count: 1;

}

.color{
  animation: color;
  animation-duration: 2s;
  animation-iteration-count: 1;

}

.shadow{

  box-shadow: 0px 0px 34px hotpink;
}

.box{
  border-radius: 0;
}

/* keyframes */

@keyframes schud {
  10%, 90% {
    transform: translate3d(-10px, 0, 1);
  }
  20%, 80% {
    transform: translate3d(10px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);}}

    
 @keyframes stretch{
      30% {
       padding-right:100px;
       padding-left: 100px;
      }
     }

@keyframes up{
      0% {
        transform: translateY(0);
      }
    
      10% {
        transform: translateY(1rem);
      }
    
      20%{
        transform: translateY(-10rem);
      }
    
      100%{
        transform: translateY(0);
      }
    
    }

    @keyframes tilt{
      10%{
        transform: rotate(-90deg);
      }

    
    }

    @keyframes skinny{

      10%{
       transform:  rotateY(89deg);
      }
      
    }

    @keyframes color{

      
      0%{
        background: linear-gradient(to left, transparent 0%,transparent 32%,transparent 33%,transparent 66%,transparent 67%,transparent 67%,transparent 100%);
      }
      25%{
        background: linear-gradient(to left, transparent 0%,transparent 32%,transparent 33%,transparent 66%,transparent 67%,#990881 67%,#990881 100%);
      }
      50%{
        background: linear-gradient(to left, transparent 0%,transparent 32%,transparent 33%,#990881 66%,#990881 67%,#990881 67%,#990881 100%);
      }
      75%{
        background: linear-gradient(to left, transparent 0%,#990881 32%,#990881 33%,#990881 66%,#990881 67%,#990881 67%,#990881 100%);
      }
      100%{
        background: linear-gradient(to left, #990881 0%,#990881 32%,#990881 33%,#990881 66%,#990881 67%,#990881 67%,#990881 100%);
      
    }
  }

    