
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}
button,
input { /* 1 */
  overflow: visible;
}
button,
select { /* 1 */
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
/****************** END normalize.css ******************/


@keyframes bounceInDown {

    from,
    65%,
    75%,
    80%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        transform: translate3d(-50%, -3000px, 0) scale(0);
    }

    65% {
        opacity: .4;
        transform: translate3d(-50%, 20px, 0) scale(1.2);
    }

    75% {
        opacity: .6;
        transform: translate3d(-50%, -30px, 0) scale(.8);
    }

    80% {
        opacity: .8;
        transform: translate3d(-50%, 0, 0) scale(1.2);
    }

    to {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
}


@keyframes launch {
    0% {
        transform: rotate(-48deg) translateX(60%) translateY(0) scale(1);
        opacity: 1;

    }

    50% {
        transform: rotate(-48deg) translateX(60%) translateY(0) scale(2);
        opacity: 1;
    }
    100% {
        transform: rotate(40deg) translateX(6000%) translateY(-6000%) scale(4);
        opacity: 0;
    }
}

@keyframes rubberBand {
    0% {
        -webkit-transform: scaleX(1);
        transform: scaleX(1) translate3d(-50%, -50%, 0);
        transform-origin: center;
    }

    30% {
        -webkit-transform: scale3d(1.25, .75, 1);
        transform: scale3d(1.25, .75, 1) translate3d(-50%, -50%, 0)
    }

    40% {
        -webkit-transform: scale3d(.75, 1.25, 1);
        transform: scale3d(.75, 1.25, 1) translate3d(-50%, -50%, 0)
    }

    50% {
        -webkit-transform: scale3d(1.15, .85, 1);
        transform: scale3d(1.15, .85, 1) translate3d(-50%, -50%, 0)
    }

    65% {
        -webkit-transform: scale3d(.95, 1.05, 1);
        transform: scale3d(.95, 1.05, 1) translate3d(-50%, -50%, 0)
    }

    75% {
        -webkit-transform: scale3d(1.05, .95, 1);
        transform: scale3d(1.05, .95, 1) translate3d(-50%, -50%, 0)
    }

    to {
        -webkit-transform: scaleX(1);
        transform: scaleX(1) translate3d(-50%, -50%, 0)
    }
}

@keyframes fade-in-move-down {
    from {
        opacity: 0;
        -webkit-transform: translateY(-3rem);
        transform: translateY(-3rem)
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0)
    }
}

@keyframes fadeInSlideInLeft {
    from {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    40% {
        transform: translate3d(0, 0, 0);
    }

    60% {
        transform: translate3d(-20%, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

* {
    margin: 0;
}

/**
 * Change Box Model
 * Width is now based on border-box not content-box
 * The content box will subtract values from border and padding
 * Turn on automatic smooth scrolling for fragment identifier links
 * 
 */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/**
 * RWD - Set Wrapper Width 
 * Using min() function
 * Select the smallest value from the list
 * 
 */
.wrapper {
    /* width: 96%; */
    /* max-width: 960px; */
    width: min(960px, 96%);
    margin: 0 auto;
    background: var(--color-wrapper-bg);
}

/**
 * Set Images/Media to 100% Width
 * On small screens images will be width of parent container
 * 
 * 
 */
main img,
main video {
    width: 100%;
    padding: 12px;
    margin: 0 0 4px 12px;
    float: right;
    background: var(--color-img-bg);
    border: 1px solid var(--color-img-border);
}
:root {
    --wrapper-background: #fff;
    --hsla-hue: 94;
    --color-body-bg: hsla(var(--hsla-hue),12%,52%,1.00);
    --color-wrapper-bg: #fff;
    --color-link: hsla(var(--hsla-hue),70%,30%,1.00); /* #C78E7E */
    --color-header: hsla(var(--hsla-hue),70%,20%,1.00); /* #5F6C55 */
    --color-link-visited: hsla(var(--hsla-hue),30%,50%,1.00);
    --color-img-bg:  hsla(var(--hsla-hue),53%,91%,1.00);
    --color-img-border:  hsla(var(--hsla-hue),70%,20%,1.00);
    --star-size: 40px;
    --star-color: #fff;
    --star-background: #fc0;
    --header-h1-top: 50%;
    --header-h1-left: 50%;
}
.envy {
    --hsla-hue: 156;
    --color-body-bg: hsla(var(--hsla-hue),53%,88%,1.00);
  /*  --color-wrapper-bg: hsla(var(--hsla-hue),80%,96%,1.00);*/
    --color-link: hsla(var(--hsla-hue),80%,20%,1.00);
    --color-header: hsla(var(--hsla-hue),70%,20%,1.00);
    --color-link-visited: hsla(var(--hsla-hue),60%,60%,1.00);
    --color-img-bg:  hsla(var(--hsla-hue),53%,88%,1.00);
    --color-img-border:  hsla(var(--hsla-hue),70%,20%,1.00);
    --header-hero: url("images/header-envy.png");
    --header-h1-top: 50%;
    --header-h1-left: 80%;
    --header-a-content-emoji: "💻"
}

.veerle {
    --hsla-hue: 239; /* 239 27 47 1 */
    --color-body-bg: hsla(var(--hsla-hue),53%,91%,1.00);
  /*  --color-wrapper-bg: hsla(var(--hsla-hue),80%,96%,1.00);*/
    --color-link: hsla(var(--hsla-hue),80%,20%,1.00);
    --color-header: hsla(var(--hsla-hue),70%,20%,1.00);
    --color-link-visited: hsla(var(--hsla-hue),60%,60%,1.00);
    --color-img-bg:  hsla(var(--hsla-hue),53%,91%,1.00);
    --color-img-border:  hsla(var(--hsla-hue),70%,20%,1.00);  
    --header-hero: url("images/header-veerle.png");
    --header-h1-top: 50%;
    --header-h1-left: 80%;
    --header-a-content-emoji: "🦄"
}

.moderncss {
    --hsla-hue: 310; /* 310 55 62 1 */
    --color-body-bg: hsla(var(--hsla-hue),53%,70%,1.00);
   /* --color-wrapper-bg: hsla(var(--hsla-hue),80%,96%,1.00); */
    --color-link: hsla(var(--hsla-hue),80%,40%,1.00);
    --color-header: hsla(var(--hsla-hue),70%,70%,1.00);
    --color-link-visited: hsla(var(--hsla-hue),80%,50%,1.00);
    --color-img-bg:  hsla(var(--hsla-hue),53%,91%,1.00);
    --color-img-border:  hsla(var(--hsla-hue),70%,30%,1.00);
    --header-hero: url("images/header-moderncss.png");
    --header-h1-top: 50%;
    --header-h1-left: 80%;
    --header-a-content-emoji: "✨"
  
}
.Stars {
  --percent: calc(var(--rating) / 5 * 100%);
  
  line-height: 1;
}
 .Stars::before {
    content: '★★★★★';
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), #c8c8c8 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

body {
    font-size: 17px;
    font-family: arial, sans-serif;
    background-color: var(--color-body-bg);
}

li { line-height: 1.5em; }
ul { list-style-type:square; }

h1, h2 {
    color: var(--color-header);
    line-height: 2em; 
    font-family:  Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}

h1 { font-size: 2em; }
h2 { font-size: 1.8em; clear:both; margin: 5px auto;}
h2.Stars {
    padding-top: 40px;
}
img {
    padding: 12px;
    background: var(--color-img-bg);
    border: 1px solid var(--color-img-border);
    float: right;
    margin-left: 15px;
    margin-bottom: 15px;
}

main p {
    margin: 15px auto;
}

header, footer, nav, main {
    padding-left: 10px;
    padding-right: 10px;
}

header {
    position: relative;
    height: 200px;
}

header a {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 50px;
    text-align: right;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px;
    display: flex;
    /* justify-content: space-around; */
}

nav ul li:first-child {
    margin-right: auto;
}
nav ul a {
    display: flex;
    text-decoration: none;
    font-weight: bold;
    line-height: 3;
    padding: 0 1.5em;
    border: 1px solid transparent;
    background: var(--color-wrapper-bg);
    transition: all .5s ease-in;
}

nav ul a:hover {
    border: 1px solid;
    background: var(--color-img-bg);
}
a {
    text-decoration: none;
    font-weight: 600;
}
a:link {
    color: var(--color-link);
}
a:visited { color: var(--color-link-visited);}


header {
    /* padding: 30px; */
    margin-bottom: 30px;
     position: relative;
    height: 200px;
    background-color: var(--color-img-bg);
    background-image: var(--header-hero);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header h1 {
    text-align: center;
    margin: 0;
    padding-top:50px;
     float: left;
    position: relative;
    background: var(--color-wrapper-bg);
    line-height: 48px;
    padding: 0 28px;
    border: 1px solid #fff;
    box-shadow: 1px 1px 4px #444;
    top: var(--header-h1-top);
    left: var(--header-h1-left);
    transform: translateX(-50%) translateY(-50%);
    transform-origin: center;
    perspective: 500px;
    border-radius: 12px;
    opacity: 0;
    animation-name: bounceInDown;
    animation-fill-mode: forwards;
    animation-duration: 1.2s;
    animation-delay: .25s;
  
}

header a {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding-right: 10px;
    text-align: right;
    font-size: 1.25em;
    line-height: 48px;
    background-color: var(--color-img-border);
    color: #000;
    text-decoration: none;
    letter-spacing: .3em;
    transition: all .5s;
}

header a::after {
    content: var(--header-a-content-emoji);
    opacity: 0;
    margin-left: 5px;
    /* background: pink; */
    overflow: hidden;
    transform-origin: 20% 80%;
    transition: all .5s;
}
@keyframes slidein {
    from {
        margin-left: 70%;
    }
    to {
        margin-left: 5px;
    }
    
}
header a:hover::after {
    opacity: 1;
    animation: slidein 2s  ;
    transition: all .5s;
     overflow: hidden;
}

header a:hover,
header a:focus {
    letter-spacing: .1em;
}

header a:active {
    letter-spacing: 10em;
    opacity: 0;
}

header h1:target {
    opacity: 1;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-name: rubberBand;
    animation-iteration-count: 4;
    transform-origin: 0 center;
    transform: translate3d(-50%, -50%, 0);
}

.reviews header h1 {
    text-indent: 0em;
}

.rule {
    width: 100%;
    margin: 30px auto;
}

footer {
    height: 80px;
    background: #E8E8E8;
    
    margin-top: 50px;
    margin-bottom: 50px;
}

footer a {
    float: left;
    padding-right: 10px;
    padding-left: 10px;
    line-height: 80px;
}

.top {
    padding-left:10px;
    padding-right: 10px;
    padding-top: 13px;
    padding-bottom: 0px;
    box-shadow: 3px 3px 8px 3px #c8c8c8;
    line-height: .7em;
    background-color: #fff;
    text-align: center;
    font-size: 2em;
    margin-top: 20px;
    margin-right: 20px;
}

footer a[href^=javascript] {
    float: right;
}

/**
 * Media Query
 * Based on Mobile First
 * min-width value
 * CSS before this rule applied to small screens
 * Rules/Properties/Values in @media override previous rules
 * Add More @media Rules with larger min-width: Values
 * 
 */
@media screen and (min-width: 768px) {

    main img,
    main video {
        width: auto;
    }
    
    
}














