/****************
	TYPOGRAPHIE
----------------*/
/****************
	COLORS
----------------*/
/****************
	LAYOUT
----------------*/
/****************
	MISC
----------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@-ms-viewport {
  width: device-width;
}

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.5em;
  color: #111;
  text-align: left;
  background-color: #fdddcf;
  background-image: url(../img/background.png);
}

[tabindex="-1"]:focus {
  outline: none !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5em;
}

p {
  margin-top: 0;
  margin-bottom: 0.9em;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: normal;
}

dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

dfn {
  font-style: italic;
}

b,
strong {
  font-weight: bold;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

a {
  color: #cb9191;
  text-decoration: underline;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:hover {
  color: #0088a5;
  text-decoration: none;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

a,
area,
button,
[role="button"],
input:not([type="range"]),
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
      touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  color: #555;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: .5rem;
}

button {
  border-radius: 0;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

.main {
  overflow: hidden;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  min-height: 400vh;
  background-color: rgba(0, 0, 0, 0.1);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
}

.row {
  width: 100%;
  position: relative;
}

.text-block {
  padding: 10% 20% 20% 20%;
}

.test-0 {
  height: 100%;
  height: 400px;
  margin-bottom: 400px;
}

.test-0 .test-box-0 {
  margin: 100px auto;
  width: 200px;
  height: 200px;
  background-color: #0088a5;
}

.test-1 {
  height: 100%;
  height: 400px;
  margin-bottom: 400px;
}

.test-1 .test-box-1 {
  position: absolute;
  right: 0;
  top: 100px;
  width: 300px;
  height: 150px;
  background-color: #0088a5;
}

.test-2 {
  height: 400px;
  width: 100%;
  margin-bottom: 400px;
}

.test-2 .test-box-2 {
  width: 250px;
  heigth: 250px;
  display: block;
  margin: 0 auto;
  position: relative;
}

.test-2 .test-half {
  width: 125px;
  height: 250px;
  display: block;
  background-size: cover;
  position: absolute;
  top: 0;
}

.test-2 .test-half-1 {
  background-image: url(../img/test-half-1.jpg);
}

.test-2 .test-half-2 {
  left: 125px;
  background-image: url(../img/test-half-2.jpg);
}

.test-3, .test-4, .test-5 {
  margin-bottom: 200px;
}

.test-3 .test-box-3, .test-3 .test-box-4, .test-3 .test-box-5, .test-4 .test-box-3, .test-4 .test-box-4, .test-4 .test-box-5, .test-5 .test-box-3, .test-5 .test-box-4, .test-5 .test-box-5 {
  height: 400px;
  width: 100%;
  position: relative;
}

.test-3 .overflow-container, .test-4 .overflow-container, .test-5 .overflow-container {
  display: block;
  height: 100%;
  width: 0;
  overflow: hidden;
  position: relative;
}

.test-3 .image, .test-4 .image, .test-5 .image {
  position: absolute;
  left: 0;
  top: 0;
  max-width: 1200px;
  width: 100vw;
  height: 100%;
  background-image: url(../img/lines.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.test-4 .overflow-container {
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.test-4 .image {
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  left: 50%;
}

.test-5 .test-box-5 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.test-5 .overflow-container {
  margin-right: 0;
  margin-left: auto;
}

.test-5 .image {
  -webkit-transform: translateX(-100%);
      -ms-transform: translateX(-100%);
          transform: translateX(-100%);
  left: 100%;
}
