video {
    width: 100%;
}

body {
    margin: 0px;
    background: black;
}

.bg-promo {
    filter: blur(2px) contrast(1.1);
    -webkit-filter: blur(2px) contrast(1.1);
    background-image: url(background.png);
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

a {
    color: white;
}

@-webkit-keyframes hidepopup {
  0%   { opacity: 1; }
  100% { opacity: 0; z-index: 0; }
}
@-moz-keyframes hidepopup {
  0%   { opacity: 1; }
  100% { opacity: 0; z-index: 0; }
}
@-o-keyframes hidepopup {
  0%   { opacity: 1; }
  100% { opacity: 0; z-index: 0; }
}
@keyframes hidepopup {
  0%   { opacity: 1; }
  100% { opacity: 0; z-index: 0; }
}

#fullscreen {
	width: 100%;
	margin: 0px;
	background-color: black;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(4, min-content) 1fr;
	grid-gap: 0px;
}

.cell {
  position: relative;
}
.cell:nth-child(2n){
  grid-column: 2;
}
.cell:nth-child(3n){
  grid-column: 3;
}
.cell:nth-child(4n){
  grid-column: 4;
}
.cell:nth-child(4n) ~ .cell {
  grid-row: 2;
}
.cell:nth-child(8n) ~ .cell {
  grid-row: 3;
}
.cell:nth-child(12n) ~ .cell {
  grid-row: 4;
}

.hidepopup {
  -webkit-animation: hidepopup 5s forwards; /* Safari 4+ */
  -moz-animation:    hidepopup 5s forwards; /* Fx 5+ */
  -o-animation:      hidepopup 5s forwards; /* Opera 12+ */
  animation:         hidepopup 5s forwards; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes zoomie {
  0% { 
    z-index: 90;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
  }
  100% { 
    z-index: 90;
    width: 75%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@-moz-keyframes zoomie {
  0% { 
    z-index: 90;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
  }
  100% { 
    z-index: 90;
    width: 75%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@-o-keyframes zoomie {
  0%  {
    z-index: 90;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
  }
  100% { 
    z-index: 90;
    width: 75%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
@keyframes zoomie {
  0%   {
    z-index: 90;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25%;
  }
  100% { 
    z-index: 90;
    width: 75%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.zoom {
  -webkit-animation: zoomie 1s forwards; /* Safari 4+ */
  -moz-animation:    zoomie 1s forwards; /* Fx 5+ */
  -o-animation:      zoomie 1s forwards; /* Opera 12+ */
  animation:         zoomie 1s forwards; /* IE 10+, Fx 29+ */
}


.popup {
    z-index: 50;
    position: fixed;
    left: 50%;
    top: 50%;
    width: 50%;
    color: white;
    text-align: center;
    background: black;
    padding: 50px 75px 50px;
    transform: translate(-50%, -50%);
    font-family: 'Open Sans', sans-serif; 
    font-size: 30px; 
    font-weight: 300; 
    line-height: 32px; 
    cursor: default;
}

#tech {
	display: none;
}

#x {
    border-radius: 25px;
    border: 2px solid White;
    position: absolute;
    background: black;
    color: white;
    top: -10px;
    right: -10px;
}

#small {
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 14px;
    line-height: normal;
    margin: 24px 0 24px;
}

#small > div {
	margin: 10px;
}

#small > a {
	cursor: pointer;
}

#title {
    font-family: 'Helvetica Neue', sans-serif; 
    font-size: 40px; 
    font-weight: bold; 
    letter-spacing: -1px; 
    line-height: 1;
    padding-bottom: 5px;
}
