/* CSS Document */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}
/** 
 *Start of my CSS.
 */

@keyframes fadein {
    from{
        opacity: 0;
        transform: translateX(-3000px)
    }
    25% {
        opacity: .4;
        transform: translatex(-250px)
    }
    50% {
        opacity: .6;
        transform: translatex(-150px)
    }
    to {
        opacity: 1;
        transform: translatex(0px)
    }
}

@keyframes glide {
    from{
        opacity: 1;
        transform: translateX(-500px);
    }
    to{
        opacity: 0;
        transform: translateX(600px)
    }
}

@keyframes wobble{
    from {transform: translateX(0%); 
    } 
    15% { transform: translateX(-2%) rotate(-2deg);
    } 
    30% { transform: translateX(1%) rotate(2deg);
    } 
    45% { transform: translateX(-1%) rotate(-1deg); 
    } 
    60% { transform: translateX(0.5%) rotate(1deg); 
    } 
    75% { transform: translateX(-0.5%) rotate(-0.5deg); 
    } 
    to { transform: translateX(0%);
    }    
}

html {
    box-sizing: border-box;
    font-family: "Helvetica Neue", arial, sans-serif;
    min-height: 100%;
    scroll-behavior: smooth;
}

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

:root {
	--color-body-bg: hsla(206,90%,15%,1.00);
	--color-wrapper-bg: hsla(206,34%,32%,1.00);
	--color-image-bg: hsla(206,52%,24%,1.00);
	--color-image-border: hsla(206,92%,10%,1.00);
    --color-nav-border: hsla(206,92%,10%,1.00);
    --color-nav-bg: hsla(206,34%,32%,1.00);
    --header-content-emoji: "⚪";
}

.envy {
	--color-body-bg: hsla(185,6%,22%,1.00);
	--color-wrapper-bg: hsla(154,75%,45%,1.00);
	--color-image-bg: hsla(154,76%,23%,1.00);
	--color-image-border: hsla(154,76%,13%,1.00);
    --color-nav-border: hsla(154,76%,13%,1.00);
    --color-nav-bg: hsla(154,75%,45%,1.00);
    --header-content-emoji: "🟢";
}

.veerle {
	--color-body-bg: hsla(185,6%,42%,1.00);
	--color-wrapper-bg: hsla(4,100%,66%,1.00);
	--color-image-bg: hsla(4,100%,76%,1.00);
	--color-image-border: hsla(4,100%,69%,1.00);
    --color-nav-border: hsla(185,6%,42%,1.00);
    --color-nav-bg: hsla(4,100%,76%,1.00);
    --header-content-emoji: "⚫";
}

.singula {
	--color-body-bg: hsla(266,61%,43%,1.00);
	--color-wrapper-bg: hsla(266,61%,34%,1.00);
	--color-image-bg: hsla(266,46%,60%,1.00);
	--color-image-border: hsla(266,61%,30%,1.00);
    --color-nav-border: black;
    --color-nav-bg: hsla(266,46%,60%,1.00);
    --header-content-emoji: "🟣";
}


body {
    min-height: 100%;
    margin: 0;
    background-color: var(--color-body-bg);
}
    
.container{
    margin: 0 .625rem;
    overflow: hidden;
}

.wrapper {
    background-color: var(--color-wrapper-bg);
    box-shadow: inset 0px 0px 10px  #e2dcc9;
    margin: 0 auto;
}

.nav-main{
    position: relative;
}

 .nav-main-menu {
        position: relative;
        z-index: 0;
        top: auto;
        left: auto;
        width: auto;
        height: auto;
        transition: none;
        background-color: transparent;
        box-shadow: none;
        overflow: hidden;
        margin-top: 80px;
        padding: 0 20px;
}

  .nav-main-menu a {
        position: static;
        display:block;
        text-indent: 0;
        padding: 20px;
        color: #f7f7f7;
        text-decoration: none;
        font-size: 1.2em;
        margin: 10px 0px 10px 0px;
        border: 2px solid transparent;
}

.nav-main-menu a:hover {
        text-indent: 0;
        border: 2px solid var(--color-nav-border);
        background: var(--color-nav-bg);
}

ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.header-main {
    top: 0;
    right: 0;
    left: 0;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 100;
    border: 2px solid black;
    background: #f7f7f7;
}

h1:target {
    animation: wobble;
    animation-duration: 2s;
    animation-iteration-count: 1;
}

.header-main h1 {
    position: relative;
    line-height: 2;
    text-align: center;
    margin: 0;
    color: black;
    font-family: "Myriad Pro Regular", sans-serif;
    background: transparent;
}

.header-review {
    position: relative;
    height: 200px;
    border: 2px solid black;
    background: #f7f7f7;
}

.envy .header-review {
    background: #000 url("../images/el-header.jpg") no-repeat;
    background-size: cover;   
}

.veerle .header-review {
    background: #000 url("../images/v-header.jpg") no-repeat;
    background-size: cover;   
}

.singula .header-review {
    background: #000 url("../images/s-header.jpg") no-repeat;
    background-size: cover;   
}

.header-review h1 {
    position: relative;
    line-height: 2;
    text-align: center;
    margin: 0;
    color: var(--color-wrapper-bg);
    font-family: "Myriad Pro Regular", sans-serif;
    background: transparent;
}

.header-review a {
    position: absolute;
    text-align: right;
    width: 100%;
    padding-right: 10px;
    top: 80%;
    text-decoration: none;
    line-height: 2em;
    color: var(--color-wrapper-bg);
}

.header-review a::after {
        content: var(--header-content-emoji);
        opacity:0;
        position:absolute;
}

.header-review a:hover::after{
        opacity:1;
        animation: glide;
        animation-duration: 3s;
}

.header-review a:hover{
    color:var(--color-wrapper-bg);
    font-size: 1.2em;
}

main{
    margin-left:10px;
    margin-right: 10px;
}

section {
    border: 2px solid black;
    padding: 10px;
    margin: 15px;
    background:  #F7F7F7;
}
.header-cards{
    border-radius: 10px;
    border: 2px solid black;
    background: #f7f7f7;
    margin: 15px;
    text-align: center;
    font-size: 1.5em;
}

.cards{
    border: 2px solid black;
    border-radius: 10px;
    padding: 20px;
    margin: 15px;
    background:  #F7F7F7;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
}

.cards .card {
    flex: 0 0 calc(100% - 20px);
    display: flex;
    margin: 10px;
    min-width: 0;
    background: var(--color-wrapper-bg);
}

a.card-link {
    text-decoration: none;
    color: #f7f7f7;
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
}

figure.card-figure {
    position: relative;
    margin: 1rem;
    padding: 0;
    margin-bottom: 0;
    line-height: 0;
    overflow: hidden;
}

.card-figure-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transform-origin: 80% 12%;
    transform: scale(2);
    transition: all 2s;
    overflow: hidden;
    padding-top: 15px;
    background-color: var(--color-image-bg);
    border:1px var(--color-image-border);
}

.cards .card-link:hover .card-figure-image {
    transform: scale(1);
}

.cards .card-link:hover .card-section-button{
    border: 2px solid var(--color-image-border);
}

.cards .card-figure-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    color: hsla(0, 0%, 100%, 1);
    line-height: 2;
    font-style: italic;
    padding: 0 10px;
    background: hsl(0deg 0% 0% / 40%)
}

.cards .card-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: var(--color-body-bg);
    border-radius: 0px;
}

.cards .card-section-title {
    margin-bottom: 0;
    border-bottom: 1px solid;
}

.cards .card-section-meta {
    display: flex;
    flex-wrap: wrap;
}

.cards .card-section-meta * {
    flex: 0 0 50%;
    font-size: .8em;
    line-height: 2;
}

.cards .card-section-meta :nth-child(even) {
    text-align: right;
}


.cards .card-section-button {
    margin: 10px;
    padding: 0 1em;
    border-radius: .5em;
    border: 2px solid white;
    line-height: 2;
    display: flex;
    align-content: flex-end;
}

.cards .card-section-excerpt{
    flex-grow: 1;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

[class*=stars]:before {
    position: relative;
    z-index: 1;
    display: block;
    float: left;
    animation-name: fadein;
    animation-duration: 2s;
}

[class*=stars]:after {
    content: '❋❋❋❋❋';
    color: rgba(167, 167, 167, 0.45);
    position: absolute;
    left: 4px;
    top: 4px;
}

.stars-5:before {
    content: '❋❋❋❋❋';
}

.stars-4:before {
    content: '❋❋❋❋';
}

.stars-3:before {
    content: '❋❋❋';
}

.stars-2:before {
    content: '❋❋';
}

.stars-1:before {
    content: '❋';
}

img.review-img{
    float: right;
    padding: 10px;
    border: 2px solid var(--color-image-border);
    margin-left: 15px;
    margin-bottom: 15px;
    background: var(--color-image-bg);
    display: block;
    max-width: 70%;
}

div.review-div{
    border: 15px solid var(--color-wrapper-bg);
    background-color: var(--color-body-bg);
    color: #f7f7f7;
    text-align: center;
    
}

.clearfix:before, .clearfix:after {
    content:"";
    display: table;
}

.clearfix {
    margin-top: 15px;
    margin-bottom: 15px;
}

.clearfix:before {
    clear:both;
}

.clearfix:after {
    clear: both;
}

p {
    margin: 10px 5px 10px;
    line-height: 1.4;
}

footer {
    color: antiquewhite;
    margin-left: 10px;
    margin-right: 10px;
    height: 40px;
}

footer a[href^=index] {
    float: left;
}

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

footer a{
    text-decoration: none;
    color: antiquewhite;
    padding: 5px;
}

footer a:hover{
    text-decoration: underline;
}

h6{
    margin-left: 15px;
    font-size: .3em;
    color: antiquewhite;
}

@media (min-width: 48rem) {
    
    .wrapper {
        width: 96%;
        max-width: 900px;
        margin: 20px auto;
}
    
    .header-main {
        position: static;
        height: 100px;
}

    .header-main h1 {
        line-height: 2;
        font-size: 2.75em;
        align-self: flex-end;
        
 }
  
    .header-review h1 {
        line-height: 2;
        font-size: 2.75em;
        align-self: flex-end;
        
}
    
    ul.nav-main-menu{
        display: flex; 
        margin-top: 0px;
        margin-left: 10px;
        margin-right: 10px;
}
    
    nav ul li:first-child{
        margin-right: auto;
    }
    
    .cards .card {
        flex-direction: column;
} 
    .card-figure-image {
        width: 100%;
        padding: 0;
        Margin: 0;
}
    
    .clearfix:before {
        clear:none;
}
    
    img {
        width: auto;
        margin: 10px 10px 10px 10px;
    }
    
    
}