
body
{
    background-color: rgba(22, 255, 88, 0.1); 
    border: 3px dashed red;
}
nav{
  background-image: linear-gradient(to left, #4dff4d, #ffff4d, #ff6666);
  border: 5px;
  border-radius: 50px;
  margin-top: 4px;
  margin-left: 4px; 
  margin-right: 4px;

  overflow: hidden;
  text-align: center;
  box-shadow: 4px 9px 15px rgba(255, 33, 3, 0.8);   
  /* position: fixed; */
}
nav ul{
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0;
}
nav ul li{
	vertical-align: center;
	float: left;
}
nav ul li a{
	font-family: Berlin Sans FB;
	color: black;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    border-color: rgba(128, 100, 0, 0.8);
	margin: 5px 10px 5px 10px;
	padding: 2px 2px 2px 2px;
	background-color: rgba(102, 255, 102, 0.8);
	text-decoration: none;
	display: inline-block;
}
nav a:hover{
	color: white;
}
nav a:visited{
	background-color: linear-gradient(to left, blue, white 60%, red);
}
#spanb
{ 
  display: inline-block;     
	
	background-color: rgba(0,255,0,0.9);
	text-align : center;
	font-family: Georgia Pro Black; 
	box-shadow: 6px 10px 12px #4da6ff;
	font-size: 120%;
	height: 88px;
	width: 555px;
	text-shadow: 2px 4px 5px #FFF5EE;
	border: 3px;
	border-radius: 50px 29%;
}
p{
    color:#1F1231;
	background-color: rgba (230, 92, 0, 0.6);
	font-family:"Arial Black", Times, serief;
	display: inline-block;
	margin-top: 25px;
    padding: 2px;
	border-radius: 8px;
	box-shadow: 7px 10px 15px;
}	
img{
    border-radius: 25px;
}
 /*kubus--------------------------------------------------------------------------*/
 
 @keyframes spinning {
  from {
    transform: rotateX(0deg) rotateY(0deg);
  }
  to {
    transform: rotateX(360deg) rotateY(360deg);
  }
}
.container {
  display: block;
  border: 0px solid #fff;
  margin: 15% auto;
  perspective: 1000px;
  transform-origin: 50% 50%;
  perspective-origin: 50% 50%;
}
.kubus {
  position: relative;
  margin: 0 auto;
  height: 200px;
  width: 200px;
  transition: transform 2s linear;
  transform-style: preserve-3d;
  animation: spinning 10s infinite linear;
  animation-play-state: running;
  cursor: pointer
}
.kubus div {
  position: absolute;
  height: 200px;
  width: 200px;
  box-shadow: 0 0 50px rgba(0, 0, 0, .5);
}
.kubus div:nth-child(1) {
  transform: translateZ(100px);
  background: url(./../images/psg.png) no-repeat;
  background-size: cover;
}
.kubus div:nth-child(2) {
  transform: rotateY(90deg) translateZ(100px);
  background-color: #008800;
  background: url(./../images/mbappe.png) no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .6;
}
.kubus div:nth-child(3) {
  transform: rotateY(180deg) translateZ(100px);
  background: url(./../images/juist.png) no-repeat;
  background-size: cover;
  opacity: .6;
}
.kubus div:nth-child(4) {
  transform: rotateY(-90deg) translateZ(100px);
  background: url(./../images/Marcello.png) no-repeat;
  background-size: contain;
}
.kubus div:nth-child(5) p {
  color: #fff;
  font-family: sans-serif;
  text-shadow: 1px 1px 2px #000;
  padding: 30px;
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}
.kubus div:nth-child(5) {
  transform: rotateX(-90deg) translateZ(100px) rotate(180deg);
  background: rgb(136,128, 0);
  background-color: rgba(136, 128, 0, .9);
  background-image: radial-gradient(closest-side, transparent 98%, rgba(255, 255, 255, .1) 99%), radial-gradient(closest-side, transparent 98%, rgba(0, 0, 0, .1) 99%);
  background-size: 100px 100px;
  background-position: 0 0, 50px 50px;
  text-align: center;
}
.kubus div:nth-child(6) {
  transform: rotateX(90deg) translateZ(100px);
  background: url(./../images/mbappe3.png) rgba(255, 50, 200, .5) no-repeat center center;
  background-size: contain;
}
.kubus:hover {
  /*animation-play-state: paused;*/
  /*animation: spinning 1.1s pauze;*/
  animation-delay: 34s;
}

/*kubus einde -----------------------------------------------------------------*/