#background-wrap {
  bottom: 0;
  left: 0;
  padding-top: -10px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: -1;
}

/* KEYFRAMES */

@-webkit-keyframes animateCloud {
  0% {
    margin-left: -600px;
  }
  100% {
    margin-left: 100%;
  }
}

@-moz-keyframes animateCloud {
  0% {
    margin-left: -600px;
  }
  100% {
    margin-left: 100%;
  }
}

@keyframes animateCloud {
  0% {
    margin-left: -600px;
  }
  100% {
    margin-left: 100%;
  }
}

/* ANIMATIONS */

.x1 {
  -webkit-animation: animateCloud 35s linear infinite;
  -moz-animation: animateCloud 35s linear infinite;
  animation: animateCloud 35s linear infinite;

  -webkit-transform: scale(0.65);
  -moz-transform: scale(0.65);
  transform: scale(0.65);
}

.x2 {
  -webkit-animation: animateCloud 20s linear infinite;
  -moz-animation: animateCloud 20s linear infinite;
  animation: animateCloud 20s linear infinite;

  -webkit-transform: scale(0.3);
  -moz-transform: scale(0.3);
  transform: scale(0.3);
}

.x3 {
  -webkit-animation: animateCloud 30s linear infinite;
  -moz-animation: animateCloud 30s linear infinite;
  animation: animateCloud 30s linear infinite;

  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  transform: scale(0.5);
}

.x4 {
  -webkit-animation: animateCloud 18s linear infinite;
  -moz-animation: animateCloud 18s linear infinite;
  animation: animateCloud 18s linear infinite;

  -webkit-transform: scale(0.4);
  -moz-transform: scale(0.4);
  transform: scale(0.4);
}

.x5 {
  -webkit-animation: animateCloud 25s linear infinite;
  -moz-animation: animateCloud 25s linear infinite;
  animation: animateCloud 25s linear infinite;

  -webkit-transform: scale(0.55);
  -moz-transform: scale(0.55);
  transform: scale(0.55);
}

/* OBJECTS */

.cloud {
  background: #fff;
  background: -moz-linear-gradient(top, #fff 5%, #f1f1f1 100%);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(5%, #fff),
    color-stop(100%, #f1f1f1)
  );
  background: -webkit-linear-gradient(top, #fff 5%, #f1f1f1 100%);
  background: -o-linear-gradient(top, #fff 5%, #f1f1f1 100%);
  background: -ms-linear-gradient(top, #fff 5%, #f1f1f1 100%);
  background: linear-gradient(top, #fff 5%, #f1f1f1 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#f1f1f1',GradientType=0 );

  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;

  -webkit-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 5px rgba(0, 0, 0, 0.1);

  height: 120px;
  position: relative;
  width: 350px;
}

.cloud:after,
.cloud:before {
  background: #fff;
  content: "";
  position: absolute;
  z-index: -1;
}

.cloud:after {
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;

  height: 100px;
  left: 50px;
  top: -50px;
  width: 100px;
}

.cloud:before {
  -webkit-border-radius: 200px;
  -moz-border-radius: 200px;
  border-radius: 200px;

  width: 180px;
  height: 180px;
  right: 50px;
  top: -90px;
}

body {
  min-height: 100px;
  height: 100vh;
  margin: 0;
  background: radial-gradient(circle, #05b3f5, #05b3f5, #05b3f5, #ffffff);
}

.stage {
  height: 300px;
  width: 500px;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  perspective: 9999px;
  transform-style: preserve-3d;
}

.layer {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  animation: ಠ_ಠ 5s infinite alternate ease-in-out -3.5s;
  animation-fill-mode: forwards;
  transform: rotateY(20deg) rotateX(23deg) translateZ(0);
}

.layer:after {
  font: 60px/0.65 "Pacifico", "Kaushan Script", Futura, "Roboto",
    "Trebuchet MS", Helvetica, sans-serif;
  content: "Împreună pentru Andrei !";
  white-space: pre;
  text-align: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: -250px;
  color: whitesmoke;
  letter-spacing: 4px;
  text-shadow: 4px 0 10px rgba(0, 0, 0, 0.13);
}

.layer:nth-child(1):after {
  transform: translateZ(0px);
}

.layer:nth-child(2):after {
  transform: translateZ(-1.5px);
}

.layer:nth-child(3):after {
  transform: translateZ(-3px);
}

.layer:nth-child(4):after {
  transform: translateZ(-4.5px);
}

.layer:nth-child(5):after {
  transform: translateZ(-6px);
}

.layer:nth-child(6):after {
  transform: translateZ(-7.5px);
}

.layer:nth-child(7):after {
  transform: translateZ(-9px);
}

.layer:nth-child(8):after {
  transform: translateZ(-10.5px);
}

.layer:nth-child(9):after {
  transform: translateZ(-12px);
}

.layer:nth-child(10):after {
  transform: translateZ(-13.5px);
}

.layer:nth-child(11):after {
  transform: translateZ(-15px);
}

.layer:nth-child(12):after {
  transform: translateZ(-16.5px);
}

.layer:nth-child(13):after {
  transform: translateZ(-18px);
}

.layer:nth-child(14):after {
  transform: translateZ(-19.5px);
}

.layer:nth-child(15):after {
  transform: translateZ(-21px);
}

.layer:nth-child(16):after {
  transform: translateZ(-22.5px);
}

.layer:nth-child(17):after {
  transform: translateZ(-24px);
}

.layer:nth-child(18):after {
  transform: translateZ(-25.5px);
}

.layer:nth-child(19):after {
  transform: translateZ(-27px);
}

.layer:nth-child(20):after {
  transform: translateZ(-28.5px);
}

.layer:nth-child(n + 10):after {
  -webkit-text-stroke: 3px rgba(0, 0, 0, 0.25);
}

.layer:nth-child(n + 11):after {
  -webkit-text-stroke: 15px dodgerblue;
  text-shadow: 3px 0 6px #05b3f5, 2px 2px 2px #05b3f5, 0 3px 3px #05b3f5;
}

.layer:nth-child(n + 12):after {
  -webkit-text-stroke: 15px #0077ea;
}

.layer:last-child:after {
  -webkit-text-stroke: 17px rgba(0, 0, 0, 0.1);
}

.layer:first-child:after {
  color: #fff;
  text-shadow: none;
}

@keyframes ಠ_ಠ {
  100% {
    transform: rotateY(-0deg) rotateX(-0deg);
  }
}

.overlay {
  background-color: #FFF300;
  width: 100px;
  height: 200px;
  border-radius: 100% / 50%;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
    
  -webkit-box-shadow: 10px 10px 41px -10px rgba(255, 218, 50, 0.7);
  -moz-box-shadow: 10px 10px 41px -10px 
rgba(255, 218, 50, 0.7);
  box-shadow: 10px 10px 41px -10px 
 rgba(255, 218, 50, 0.7);
}

#continut {
	  min-height: 100px;
      height: 200vh;
      max-width: 900px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      height: 1320px;

    }

.font-properties {
      font-family: times new roman, serif;
	  color: whitesmoke;
      font-size: 0.9rem;
      
    }
	
####################################


main{
  position: absolute;
 /* left: 200px;*/
}

a.imgbox{
  text-decoration: none;
}

#photogrid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px;
}

.imgbox {
  display: flex;
  width: 250px;
  height: 250px;
  flex-grow: 1;
  border: 0px;
  margin: 10px;
  box-shadow: 0px 0px 0px 5000px rgba(0,0,0,.5) inset;
  transition: transform 200ms;
  -moz-transition: -moz-transform 200ms; 
  -webkit-transition: -webkit-transform 200ms; 
  -o-transition: -o-transform 200ms;
  justify-content: center;
  align-items: flex-end;
}

.boxtitle {
  position: relative;
  display: flex;
  font-family: 'Muli', sans-serif;
  font-size: 800;
  width: 92%;
  background: rgba(0,0,0,.7);
  justify-content: center;
  text-align: center;
  font-size: 20px;
  margin: 0px;
  color: white;
  visibility: hidden;
  margin-bottom: 10px;
}

.boxtitle p {
  margin: 10px;
}

.box0 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment.jpeg");
  background-position: center center;
  background-size: cover;  
}

.box1 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (1).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box2 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (2).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box3 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (3).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box4 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (4).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box5 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (5).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box6 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (6).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box7 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (7).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box8 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (8).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box9 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (9).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box10 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (10).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box11 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (11).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box12 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (12).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box13 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (13).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box14 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (14).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box15 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (15).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box16 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (16).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box17 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (17).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box18 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (18).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box19 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (19).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box20 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (20).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box21 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (21).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box22 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (22).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box23 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (23).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box24 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (24).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box25 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (25).jpeg");
  background-position: center center;
  background-size: cover;  
}

.box26 {
  background: url("https://impreunapentruandrei.tranzistor.ro/eventmedia/Eveniment (26).jpeg");
  background-position: center center;
  background-size: cover;  
}

.imgbox:hover {  
  transform: scale(1.03);
  -moz-transform: scale(1.03);
  -webkit-transform:  scale(1.03);
  -o-transform: scale(1.03);
  box-shadow: 0px 0px 0px 9000px rgba(0,0,0,0) inset;
  box-shadow: 0px 0px 0px 1px grey inset;
}

.imgbox:hover .boxtitle {
  visibility: visible;
}


.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.5);
}

.lightbox:target {
	outline: none;
	display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border: solid 2px grey;
}

#########################

iframe {
	display: block;
	margin-bottom: 10px;
	border: 2px solid black;
	
	&.isPlaying {
		border-color: lighten(darkgreen, 10%);
	}
}