/*! 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;
}


/* MAIN CSS */

body 
    {
    background: var(--color-body-bg);
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 15px;
    margin: 25px;   
    overflow-x: hidden; /* Hide horizontal scrollbar */
    }


.wrapper {
    overflow: hidden;
    background-color:var(--color-wrapper-bg);
    border-radius: 10px; 
    padding-bottom: 20px;
    width: min(96%,960px);
    margin: 0 auto;
}

/* start - controls image placement around the paragraph */
img {    
    float: right;    /* float the image to the right */
    padding:8px;
    background-color:var(--color-img-bg);
    margin: 0 10px 10px 5px;
    width:200px;
    height: 100px;
    border: 5px solid var(--color-img-border);
    }

header,nav, main, footer {  /* margin for header,nav,main,footer */
    margin-left:10px;
    margin-right:10px;
} 
p h2 images{  /*margin for p, h2 and images */
    margin-top:15px;
    margin-bottom:15px;
    padding-left:30px;
    padding-right: 30px;
    }
p
    {  
    clear: right;   /* clears the float */
    }

p.float-parent 
    {
    float: left;    /* floats the paragraph to the left of the image */
    }
/* ends - control image placement around the paragraph */
/* sets variables for envylabs */


:root{
    --color-black:hsla(0,0%,0%,1.00); 
    --color-white:hsla(0,0%,100%,1.00);
    --color-star:hsla(58,53%,57%,1.00);
    }


.envy {
    --hsla-hue:155;
    --color-body-bg:hsla(141,59%,89%,1.00);
    --color-wrapper-bg:hsla(240,100%,100%,1.00);
    --color-img-bg:hsla(197,30%,84%,1.00);
    --color-img-border:hsla(var(--hsla-hue),33%,67%,1.00);
    --color-link:hsla(var(--hsla-hue),52%,85%,1.00);
    --color-button:hsla(53,20%,84%,1.00);
    --color-link-button:hsla(154,75%,45%,1.00);  /* colors home and back button */
}
/* sets variablesfor veerle */
.veerle {
    --hsla-hue:240;
    --color-body-bg:hsla(var(--hsla-hue),45%,81%,1.00);
    --color-header-bg:hsla(184,38%,83%,1.00);
    --color-wrapper-bg:hsla(var(--hsla-hue),100%,98%,1.00);
    --color-img-bg:hsla(var(--hsla-hue),69%,69%,1.00);
    --color-img-border:hsla(58,64%,80%,1.00);
    --color-link:hsla(231,86%,64%,1.00); 
    --color-button:hsla(53,20%,84%,1.00);
    --color-link-button:hsla(154,75%,45%,1.00);  /* colors home and back button */
}

.ct {
    --color-body-bg:hsla(202,32%,56%,1.00) ;
    --color-wrapper-bg:hsla(0,0%,100%,1.00);
    --color-img-bg:hsla(281,23%,35%,1.00);
    --color-img-border:hsla(73,35%,69%,1.00);
    --color-link:hsla(111,21%,69%,1.00); 
    --color-button:hsla(53,20%,84%,1.00);
    --color-link-button:hsla(77,44%,51%,1.00);  /* colors home and back button */
}

/* envylabs header and logo - small screen */
.envy-header{
    /* background image placed at 5% from the left(x) and 35% from the top(y) */
    /* with the size of the image being 70px */
    background: 
       url("../images/logo1.png") 5% 35%/70px no-repeat,
       url("../images/header-envy.png");
    text-align: center;
    position:relative;
    padding-top:20px;
    padding-left:15px;
    height:200px;
    font-size:25px;
    color: var(--color-white);
    text-shadow: 1px 1px 2px #6fd2bb, 0 0 25px #429686, 0 0 5px #5FE9FF;
    }

/* envylabs.com - small screen */
.envy-header-a{
    position:absolute;
    left:0;
    bottom:0;
    right:0;
    text-align:right;
    border-top: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    padding:5px;
    background-color:var(--color-body-bg);
    font-size:20px; 
    color:var(--color-black);
    text-shadow: 1px 1px 2px #6fd2bb, 0 0 25px #429686, 0 0 5px #5FE9FF;
}

/* veerle header and logo - small screen */
.veerle-header{
    /* background image placed at 1% from the left(x) and 10% from the top(y) */
    /* with the size of the image being 20% */
    background: 
       url("../images/veerle-logo1.png") 1% 10%/20% no-repeat,
       url("../images/header-veerle.png")  no-repeat;
    position:relative;
    padding-top:20px;
    padding-left:25px;
    height:200px;
    text-align: center;
    font-size:25px;
    color:var(--color-black);
    /* text-shadow: horizontal offset, vertical offset, blur, color */
    text-shadow: -3px -3px 0 var(--color-white);
    
    
  }
/* veerle.com - small screen */
.veerle-header-a{  
    position:absolute;
    left:0;
    bottom:0;
    right:0;
    background-color:var(--color-body-bg);
    text-align:right;
    border-top: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    padding:5px;
    font-size:20px;
    color:var(--color-black);
    /* text-shadow: horizontal offset, vertical offset, blur, color */
    text-shadow: -2px -2px 0 var(--color-white);
    
}
/* add design to VEERLE text/title */
.veerle-header h1{
        float: left;
        position: relative;  
        background-color:var(--color-header-bg);
        letter-spacing:4px;
        padding: 10px 45px 10px 45px;
        top: 1%;
        left: 10%;
        border-radius: 40%; 
        border: 1px solid var(--color-white);
        }

/* cool-tools header and logo - small screen */
.ct-header{
    /* background image placed at 50% from the left(x) and 65% from the top(y) */
    /* with the size of the image being 20% */
    background: 
       url("../images/ct-logo.png") 50% 65%/20% no-repeat,
       url("../images/header-ct.png")no-repeat;
    position:relative;
    padding-top:20px;
    padding-left:25px;
    height:200px;
    text-align: center;
    text-transform:uppercase;
    letter-spacing:4px;
    font-size:25px;
    color:var(--color-black);
    /* text-shadow: horizontal offset, vertical offset, blur, color */
    text-shadow: -3px -3px 0 var(--color-white);
  }

/* cool-tools.com - small screen */
.ct-header-a{  
    position:absolute;
    left:0;
    bottom:0;
    right:0;
    background-color:var(--color-img-border);
    text-align:right;
    border-top: 1px solid var(--color-black);
    border-bottom: 1px solid var(--color-black);
    padding:5px;
    font-size:20px;
    color:var(--color-black);
    /* text-shadow: horizontal offset, vertical offset, blur, color */
    text-shadow: -2px -2px 0 var(--color-white);
 }

.nav {
  font-family: Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', 'serif';
  text-transform: uppercase;
  text-align: center;
  display:flex;
  justify-content: center;
  list-style: none;
  font-size: 8px;
   
  }

.nav a {
   display:flex;
   line-height: 3em;
   padding:0 2em;
   margin: 0 5px;
   background-color: var(--color-img-border); 
   background-clip: padding-box;
   border-radius: 50%;
   border:1px solid transparent;
   color:var(--color-black);  /* nav button font */
   text-decoration: none;
 }

.nav a:hover {
   background-color: var(--color-img-bg);
   border-color: var(--color-img-border);
   color:var(--color-white);
   
}

/* end of navigation */

/*  start of star rating system */
main h2 {
    clear: both;
    margin: 24px 0 6px;
    position: relative;
    overflow: hidden;
}

.stars-5:before {
    content: '✭✭✭✭✭';
    padding-right: 10px;
    color: var(--color-star);
}


.stars-4:before {
    content: '✭✭✭✭';
    padding-right: 32px;
    color: var(--color-star);
}

.stars-3:before {
    content: '✭✭✭';
    padding-right: 54px;
    color: var(--color-star);
}

.stars-2:before {
    content: '✭✭';
    padding-right: 76px;
   color: var(--color-star); 
}

.stars-1:before {
    content: '✭';
    padding-right: 98px;
    color: var(--color-star);
}

.stars-1:after {
    content: '✭';
    color: rgba(167, 167, 167, 0.1);
}
/* end of star rating system */

/* begin - floating footers */
/* floats all the footer elements to the left, then floats */
/*/all of the anchors to the right */

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

footer a[href^=javascript] {
    float: right;  /* floats the links to the right */
    
    /* start of designing the buttons */;
    display: block;  /* defines the button */
    font-size:12px; /* button font size */
    width: 45px; /* button width */
    text-align: center;   /* center button content */
    background-color:var(--color-button);
    border-radius: 3px;
    margin-right:30px;  /* spaces out the buttons - from the right */
    padding: 0 10px;   /* padding top-right-bottom-left */
    text-decoration: none;
    box-shadow: 3px 3px 4px var(--color-black);   /* box shadow for button */
    /* end of button design */
}
    
footer a[href^="javascript"]:active {
  /* when hovering over (active) the button box shadow changes to none */
    top: 2px;
    box-shadow: none;
}
/* end floating footers */

/* start flip-horizonal animation */
 .flip-horizontal-bottom {
	-webkit-animation: flip-horizontal-bottom 0.4s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: flip-horizontal-bottom 0.4s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}
@-webkit-keyframes flip-horizontal-bottom {
  0% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
  }
  100% {
    -webkit-transform: rotateX(-180deg);
            transform: rotateX(-180deg);
  }
}
@keyframes flip-horizontal-bottom {
  0% {
    -webkit-transform: rotateX(0);
            transform: rotateX(0);
  }
  100% {
    -webkit-transform: rotateX(-180deg);
            transform: rotateX(-180deg);
  }
}
/* end flip-horizontal animation */

/* start wooble animation */

.wobble-hor-bottom {
	-webkit-animation: wobble-hor-bottom 5.8s forwards;
	        animation: wobble-hor-bottom 5.8s forwards;
}

@keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-30px) rotate(-6deg);
            transform: translateX(-30px) rotate(-6deg);
  }
  30% {
    -webkit-transform: translateX(15px) rotate(6deg);
            transform: translateX(15px) rotate(6deg);
  }
  45% {
    -webkit-transform: translateX(-15px) rotate(-3.6deg);
            transform: translateX(-15px) rotate(-3.6deg);
  }
  60% {
    -webkit-transform: translateX(9px) rotate(2.4deg);
            transform: translateX(9px) rotate(2.4deg);
  }
  75% {
    -webkit-transform: translateX(-6px) rotate(-1.2deg);
            transform: translateX(-6px) rotate(-1.2deg);
  }
}
/*end of wobble animation*/


/* start of tilt animation*/
.tilt-in-top-2 {
	-webkit-animation: tilt-in-top-2 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: tilt-in-top-2 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes tilt-in-top-2 {
  0% {
    -webkit-transform: rotateY(-30deg) translateY(-300px) skewY(30deg);
            transform: rotateY(-30deg) translateY(-300px) skewY(30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}
@keyframes tilt-in-top-2 {
  0% {
    -webkit-transform: rotateY(-30deg) translateY(-300px) skewY(30deg);
            transform: rotateY(-30deg) translateY(-300px) skewY(30deg);
    opacity: 0;
  }
  100% {
    -webkit-transform: rotateY(0deg) translateY(0) skewY(0deg);
            transform: rotateY(0deg) translateY(0) skewY(0deg);
    opacity: 1;
  }
}
/* end of tilt adimation*/



@media(min-width: 48rem) 
    {
        body{
           margin: 45px;  
           font-size:20px;
        }
    
    main
        {			
        font-size:17px;
		}
    .wrapper
        {
        font-size:17px;
        }
       
    .nav a {
        font-size:20px;
        }
        
    /* envylabs header and logo - large screen */
        
        .envy-header{
      /* background image placed at 5% from the left(x) and 40% from the top(y) */
      /* with the size of the image being 122px */      
        background: 
           url("../images/logo1.png") 5% 40%/122px no-repeat ,
           url("../images/header-envy.png");     
        font-size:30px;
  }
    /* envylabs.com - large screen */
        
       .envy-header-a{
        padding:10px;
        }
        
    /* veerle - large screen - header only not .com part*/
    .veerle-header{
      /* background image placed at 1% from the left(x) and 25% from the top(y) */
      /* 8% sets the size of the image; a second image is added to the wider screen*/  
        background: 
           url("../images/veerle-logo1.png") 1% 25%/8% no-repeat,
           url("../images/header-veerle.png");
        font-size:30px;
     }
        
       .veerle-header-a{
        padding:10px;
        font-size:20px; 
        } 
        
    /* design the VEERLE title/text - h1 */
        .veerle-header h1{
        letter-spacing:4px;
        padding: 10px 45px 10px 45px;
        top: -5%;
        left: 40%;
        border-radius: 40%; 
        border: 1px solid var(--color-white);
            }
    /* cool-tools header and logo - large screen */

    .ct-header{
    /* background image placed at 50% from the left(x) and 70% from the top(y) */
    /* with the size of the image being 7% */
    background: 
       url("../images/ct-logo.png") 50% 70%/7% no-repeat,
       url("../images/header-ct.png") center/110% no-repeat;
      }

}

