* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* RESET */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video {
   margin: 0;
   padding: 0;
   border: 0;
   font-size: 100%;
   font: inherit;
   vertical-align: baseline;
}


/* TYPOGRAPHY */

html {
   font-size: 1px;/*for using REM units*/
}

body {
   background-color: black;
   color: white;
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100vh;
}

a:link, a:visited, a:hover, a:active {
  color: var(--primary-color);
  text-decoration: none;
}

.info {
  animation-name: fadeOut;
  animation-delay: 10s;
  animation-duration: 5s;
  animation-fill-mode: forwards;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  background-color:rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  max-width: 80vw;
  min-height: 20vh;
  padding: 40px 40px 60px 40px;
}

@keyframes fadeOut {
            0% {opacity: 1;}
            100% {opacity: 0;}
         }

.logo {
  z-index: 1;
  background-image: url('img/Polychrome-Icon-White.png');
  width: 60px;
  height: 60px;
  background-size: cover;
  background-position: center center;
  opacity: 1;
  margin-bottom: 30px;
}

.about p {
  font-size: 20px;
  line-height: 30px;
  font-style: normal;
  font-family: sans-serif;
  max-width: 450px;
  text-align: center;
}

.crossfade > figure {
  animation: imageAnimation 30s linear infinite 0s;
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: -10;
}

.crossfade > figure:nth-child(1) {
  background-image: url('img/0.jpg'); }

.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('img/5.jpg');
}

.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('img/10.jpg');
}

.crossfade > figure:nth-child(4) {
  animation-delay: 18s;
  background-image: url('img/15.jpg');
}

.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('img/20.jpg');
}

@keyframes
imageAnimation {  0% {
 animation-timing-function: ease-in;
 opacity: 0;
}
 8% {
 animation-timing-function: ease-out;
 opacity: 1;
}
 17% {
 opacity: 1
}
 25% {
 opacity: 0
}
 100% {
 opacity: 0
}
}
