* {
    box-sizing: border-box;
  }
  i {
	font-size: 3em;
    padding: 5%;
    color: white;
}
  body {
    margin: 0;
    font-family: Arial;
  }
  
  .header {
    text-align: center;
    padding: 32px;
  }
  
  .row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
  }
#container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0%;
    max-width: 930px;
    background-color: aliceblue;
    -webkit-filter: drop-shadow(8px 8px 10px gray); /* Safari 6.0 - 9.0 */
    filter: drop-shadow(8px 8px 10px gray);
}
#PhotoWrapper {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    justify-content: center;
    height: 500px;
}
.slideshow {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-around;
}
.roll-in-left {
	-webkit-animation: roll-in-left 0.6s ease-out both;
	        animation: roll-in-left 0.6s ease-out both;
}
.Simon, .Konkee{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position:  absolute;
   /* clip-path: circle(160px at 215px 215px); */
    backface-visibility: hidden;
    transition: 0.6s linear;
    transform-origin: 215px 215px;
}
h5 {
    margin: 0;
    padding: 5%;
    font-family: 'Montserrat', sans-serif;
}
h1, h3, footer {
    text-align: center; 
    font-family: 'Montserrat', sans-serif;
    /*font-family: 'Oswald', sans-serif;*/
}
.Konkee img{
    height: auto;
}
.Konkee {
    transform: perspective(600px) rotateY(0deg);
    transform-style: preserve-3d;
}
.Simon {
    transform: perspective(600px) rotateY(180deg);
    transform-style: preserve-3d;
}
.middle {
    position: absolute;
   /*  top: 50%;*/
   /*  left: 50%;*/
   /*  transform: translate(-50%,-50%);*/
}
.card {
    width: 430px;
    height: 430px;
    cursor: pointer;
    flex: 1;
}
.card:hover .Konkee {
    transform: perspective(600px) rotateY(-180deg);
}
.card:hover .Simon {
    transform: perspective(600px) rotateY(0deg);
}
.myimage {
    max-width:300px;
    flex: 1;
}
#SimonBarr {
    background-color: #395162;
    color: white;
    padding: 15px;
}
#Body {
    display: flex;
    background-color: #87aab4;
    padding: 15px;
    justify-content: center;
}
body {width: 100vw;
    overflow-x: hidden;
    margin: 0;
}
#GWrapper {
    display: flex;
    flex-direction: row;
}
#Illu {
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
}
#Anim {
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
}

#Deve {
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
}
h1 {margin-bottom: 15px;}

/* ----------------------------------------------
 * Generated by Animista on 2019-1-6 12:49:40
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation roll-in-left
 * ----------------------------------------
 */
 @-webkit-keyframes roll-in-left {
    0% {
      -webkit-transform: translateX(-800px) rotate(-540deg);
              transform: translateX(-800px) rotate(-540deg);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0) rotate(0deg);
              transform: translateX(0) rotate(0deg);
      opacity: 1;
    }
  }
  @keyframes roll-in-left {
    0% {
      -webkit-transform: translateX(-800px) rotate(-540deg);
              transform: translateX(-800px) rotate(-540deg);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateX(0) rotate(0deg);
              transform: translateX(0) rotate(0deg);
      opacity: 1;
    }
  }
  
@media screen and (max-width: 500px) {
    #GWrapper {
        flex-direction: column;
   } 
   .slideshow {
    flex-direction: column;
    justify-content: center;
}
}
