
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:before, *:after { box-sizing: border-box; }

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}
 [hidden], template {
 display: none;
}

a { background: transparent; }

a:active, a:hover { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

dfn { font-style: italic; }

mark {
  color: #000;
  background: #ff0;
}

small { font-size: 80%; }

sub, sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup { top: -.5em; }

sub { bottom: -.25em; }

img { border: 0; }

svg:not(:root) { overflow: hidden; }

hr {
  height: 0;
  box-sizing: content-box;
}

pre { overflow: auto; }

code, kbd, pre, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button, input, optgroup, select, textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button { overflow: visible; }

button, select { text-transform: none; }

button, html input[type="button"], input[type="reset"], input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled], html input[disabled] { cursor: default; }
 button::-moz-focus-inner, input::-moz-focus-inner {
 padding: 0;
 border: 0;
}

input { line-height: normal; }

input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
 input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
 height: auto;
}

input[type="search"] {
  box-sizing: content-box;
  -webkit-appearance: textfield;
}
 input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
 -webkit-appearance: none;
}

fieldset {
  padding: 0.35em 0.625em 0.75em;
  margin: 0 2px;
  border: 1px solid #c0c0c0;
}

legend {
  padding: 0;
  border: 0;
}

textarea { overflow: auto; }

optgroup { font-weight: bold; }

table {
  border-spacing: 0;
  border-collapse: collapse;
}

td, th { padding: 0; }

html, body {
  background: #000;
  font: 100% Helvetica, sans-serif;
}

h1 { font-size: 2em; }

.s3d__side {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

.s3d__side.active h1 { left: -1%; }

.s3d__side:nth-child(1) { background-image: url("https://picsum.photos/1920/1080/?random"); }

.s3d__side:nth-child(2) { background-image: url("https://picsum.photos/1920/1280/?random"); }

.s3d__side:nth-child(3) { background-image: url("https://picsum.photos/1920/1180/?random"); }

.s3d__side:nth-child(4) { background-image: url("https://picsum.photos/1920/1380/?random"); }

.s3d__side h1 {
  display: inline-block;
  position: absolute;
  left: -100%;
  bottom: 10%;
  padding: .2% 1.5% .2% 2.5%;
  background: -webkit-linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
  background: linear-gradient(-90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6));
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
  border-radius: 1px;
  -webkit-transition: left 1s cubic-bezier(0.175, 0.885, 0.32, 1.05);
  transition: left 1s cubic-bezier(0.175, 0.885, 0.32, 1.05);
}
