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

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html,
body {
  font-family: 'Roboto', sans-serif;
}

html,
body,
main {
  min-height: 100%;
  background-color: #000;
}

iframe {
  width: 100%;
  max-width: 300px;
  display: block;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 12px auto 0;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.grid-item {
  width: calc(33.33334% - 20px);
  margin: 10px;
  transition: box-shadow, opacity, 0.6s ease;
}

.grid-item:hover {
  box-shadow: 0 0 214px -20px rgba(255,255,255,0.5);
  opacity: 0.7;
}

footer {
  margin: 12px 0;
}

footer ul {
	padding: 0;
	margin: 0;
	display: flex;
	list-style: none;
	width: 100%;
	justify-content: center;
	align-items: center;
}

footer li {
	margin: 0 4px;
}

footer a {
	color: #000;
	text-decoration: none;
	font-size: 10px;
}

footer .is--white {
	color: #fff !important;
}

@media only screen and (max-width: 920px) {
  .grid {
    max-width: 640px;
  }

  .grid-item {
    width: 300px;
  }
}

@media only screen and (max-width: 660px) {
  .grid {
    max-width: 320px;
    top: 0;
    transform: translateY(0);
  }

  .grid-item {
    width: 300px;
    margin: auto;
  }
}

@media (orientation: landscape) {
  .grid {
    top: 0;
    transform: translateY(0);
  }
}