
*::selection {
  background: black; /* WebKit/Blink Browsers */
  color: white;
}
*::-moz-selection {
  background: black; /* Gecko Browsers */
  color: white;
}

/* TYPE */

@font-face {
  font-family: 'Millionaire-Roman';
    src: url('res/fonts/Millionaire-Roman.eot') format('embedded-opentype'); /* IE9 + later */
    src: url('res/fonts/Millionaire-Roman?#iefix') format('embedded-opentype'), /* IE6 to IE8  */
         url('res/fonts/Millionaire-Roman.woff') format('woff'),  /* Newer browsers */
         url('res/fonts/Millionaire-Roman.ttf') format('truetype'); /* Safari og iOS, Chrome, Android, Firefox and Opera except Opera Mini  */
}

@font-face {
  font-family: 'Millionaire-Italic';
    src: url('res/fonts/Millionaire-Italic.eot') format('embedded-opentype'); /* IE9 + later */
    src: url('res/fonts/Millionaire-Italic?#iefix') format('embedded-opentype'), /* IE6 to IE8  */
         url('res/fonts/Millionaire-Italic.woff') format('woff'),  /* Newer browsers */
         url('res/fonts/Millionaire-Italic.ttf') format('truetype'); /* Safari og iOS, Chrome, Android, Firefox and Opera except Opera Mini  */
    font-style: italic;
}

h1 {
  margin:0;
}

h2 {
  font-size: 3.5em;
  font-weight: 400;
  margin: 0 0 2em 0;
}

h3 {
  font-size: 2em;
  font-weight: 400;
  margin:0;
}

h4 {
  font-size: 1.1em;
  font-weight: 400;
  margin: 0;
}

p {
  font-size: 1.2em;
}

i {
  font-family: Millionaire-Italic;
  font-style: italic;
}

a:link, a:visited {
  font-family: Millionaire-Italic;
  font-style: italic;
  color:black;
}

a:hover, a:active {
  font-family: Millionaire-Italic;
  font-style: italic;
  color:black;
  font-style: italic;
  text-decoration: none;
}



/* STRUCTURE */

html {
  background: black;
  padding-top: 30px;
}

body {
  font-family: Millionaire-Roman, serif;
  margin: 0;
}

.content-container {
  margin: 0 auto;
  padding: 20px;
  max-width: 1100px;
  background: white;
}

header {
  width:100%;
  position: relative;
}

.info {
  position:fixed;
  width:100px;
  height:100px;
  z-index: 9999;
  right: 30px;
  bottom: 30px;
}

.ok {
  position: absolute;
  width: 100px;
  height: 100px;
  z-index:9999;
  right: 50px;
  bottom: 50px;
}

.info.open {
  display:none;
}

.header-descrip {
  position: fixed;
  display:block;
  left: 100px;
  overflow: hidden;
  top:100px;
  width:calc(100% - 200px);
  height:calc(80vh);
  background: #ffff00;
  z-index:9999;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

.header-descrip.closed {
  display:none;
}

.header-descrip h3 {
  padding-bottom: 1em;
}

.header-descrip-content {
    padding: 40px;
    position: absolute;
    overflow: auto;
    height:100%;
}

.header-descrip-bg {
  display:block;
  position:fixed;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
}

.header-descrip-bg.closed {
  display:none;
}

section {
  margin:20px 0;
  /* border: 1px red solid; */
}

footer {
  margin-top: 100px;
}

/* PROJECT INFO */

.default-container {
  margin-bottom: 25px;
}

.proj-container {
  overflow: hidden;
  width:100%;
  margin-bottom:30px;
  /* border: 1px red solid; */
}

.proj-info {
  overflow: visible;
  float:left;
  width: 50%;
  /* border: 1px red solid; */
}

.title {
  float: left;
  width: 60%;
  overflow: visible;
  /* border: 1px red solid; */
}

.descrip {
  float: left;
  min-width: 180px;
  overflow: visible;
  width:30%;
  margin-top: 10px;
  /* border: 1px red solid; */
}

.controls {
  float: left;
  width:50%;
  overflow: visible;
  /* border: 1px red solid; */
}



/* FLICKITY */

* { box-sizing: border-box; }

.carousel-container {
  margin-bottom: 15px;
}

.carousel-cell {
  width: 100%; /* full width */
  counter-increment: carousel-cell;
  touch-action: manipulation;
}

.carousel-status {
  color: black;
  float: right;
  font-size: 4.5em;
  text-align: right;
  margin-right: 30px;
  min-width:200px;
  /* border: 1px red solid; */
  overflow: visible;
}

.carousel-cell img {
  width: 100%;
}

.carousel-cell video {
  width: 100%;
}

.button {
  display: inline-block;
  width:125px;
  height:100px;
  float:right;
  border: none;
  background-color: transparent;
  background-size: 80%;
  background-position: top right;
  touch-action: manipulation;
  /* border: 1px red solid; */
}

.button-row {
  width: 255px;
  float:right;
  /* border: 1px red solid; */
}

.button--previous {
  background-image: url('res/svg/arrow_left.svg');
  background-repeat: no-repeat;
}

.button--next {
  background-image: url('res/svg/arrow_right.svg');
  background-size: 80%;
  background-repeat: no-repeat;
}



/* RESPONSIVENESSSSSSS */

@media only screen and (max-width: 1250px) {
  html {
    padding-top:0px;
  }
  .content-container {
    font-size: .8em;
  }
  .header-descrip {
    font-size: .9em;
  }
  h2 {
    font-size: 3em;
    margin-bottom: 1em;
  }
}

@media only screen and (max-width: 750px) {
  html {
  }
  .info {
    width:60px;
    height:60px;
    z-index: 9999;
    right: 15px;
    bottom: 15px;
  }
  .ok {
    width: 60px;
    height: 60px;
    right: 15px;
    bottom: 15px;
  }
  .header-descrip {
    left: 20px;
    top:20px;
    width:calc(100% - 40px);
    height:calc(80vh);
    font-size: .7em;
  }
  .header-descrip-content {
    padding: 25px;
  }
  .content-container {
    padding: 10px;
  }
  .button {
    width:80px;
    height:75px;
  }
  .button-row {
    width: 190px;
  }
  .title {
    width: 100%;
  }
}
