@charset "UTF-8";

/* CSS Document */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

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

/* HTML5 display-role reset for older browsers */
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:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box; /* Firefox, other Gecko */
  box-sizing: border-box; /* Opera/IE 8+ */
}

.clear {
  clear: both;
}

/* END RESET ---------------------------------------------------------------------------------------------------------*/

body {
  overflow-x: hidden;
}

/* FONTS ---------------------------------------------------------------------------------------------------------*/

body, p {
  font-family: 'Delius', cursive;
  font-size: 24px;
  line-height: 1.6;
  color: #333333;
}

h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  -webkit-transition: color 0.5s ease-in 0.1s, letter-spacing 0.3s ease-out 0.1s;
  transition: color 0.5s ease-in 0.1s, letter-spacing 0.3s ease-out 0.1s;
  max-width: 700px;
  padding-left: 20px;
  left: -20px;
  position: relative;
  color: #009AD9;
  font-size: 1.4em;
  line-height: 1.4;
  letter-spacing: 0px;
  margin:200px 0;
}

h1 span {
  background-color: #009AD9;
  color: #FFF;
  padding: 0 5px;
}

h1::after {
  -webkit-transition: width 0.2s ease-in 0s;
  transition: width 0.2s ease-in 0s;
  height: 100%;
  position: absolute;
  top: 0;
  margin-right: 0px;
  right: 100%;
  float: right;
  -webkit-transform-origin: right top;
  transform-origin: right top;
  width: 3px;
  background-color: #D7D7D7;
  content: "";
  z-index: 250;
}

h1 .icon {
  -webkit-transition: -webkit-transform 0.2s cubic-bezier(0.05, 0.04, 0.79, 1.43) 0.5s, opacity 0.1s linear 0.1s;
  transition: transform 0.2s cubic-bezier(0.05, 0.04, 0.79, 1.43) 0.1s, opacity 0.2s linear 0.1s;
  width: 40px;
  height: 40px;
  position: absolute;
  left: -50px;
  top: 0;
  -webkit-transform: translate(0px, 0);
  transform: translate(0px, 0);
  opacity: 1;
  z-index: 200;
  cursor: pointer;
}

h1 .icon img {
  height: 80%;
  margin: 0 auto;
}

h1 .icon.stick {
  position: fixed;
  z-index: 200;
  left: 150px;
}

h1 .icon span {
  font-family: 'asswipemedium';
  font-size: 12px;
  color: #D7D7D7;
  background-color: #FFF;
  top: 0;
  width: 100px;
  position: absolute;
  right: 100%;
  margin: 6px 10px 0 0;
  text-align: right;
  -webkit-transition: all 0.05s ease-in;
  transition: all 0.05s ease-in;
  opacity: 0;
  -webkit-transform: translate(10px, 0);
  transform: translate(10px, 0);
}

h1 .icon:hover span {
  opacity: 1;
  -webkit-transform: translate(0px, 0);
  transform: translate(0px, 0);
}

h1.hidden {
  padding-left: 0;
  color: #FFF;
  border-left: 0px solid #D7D7D7;
}

h1.hidden::after {
  width: 0;
}

h1.hidden .icon {
  -webkit-transform: translate(20px, 0);
  transform: translate(20px, 0);
  opacity: 0;
}



h2 {
  font-family: 'dk_lemon_yellow_sunregular';
  font-size: 2em;
  text-align: center;
}

h3 {
  font-family: 'dk_lemon_yellow_sunregular';
  font-size: 1.8em;
  line-height: 1.2;
  margin: 0 0 20px 0;
}

h4 {
  width: 100%;
  margin: 80px auto;
  display: block;
  text-align: center;
  font-family: 'dk_lemon_yellow_sunregular';
  font-size: 1.8em;
}

h4::after {
  position: relative;
  display: block;
  margin: 20px auto 0 auto;
  width: 80px;
  height: 3px;
  background-color: #009ADA;
  border-radius: 3px;
  content: "";
}

/* GLOBAL ---------------------------------------------------------------------------------------------------------*/

#wrapper {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  margin: 0 200px 0 200px;
  height: auto;
}

#wrapper #margin {
  width: 1px;
  height: 0;
  display: block;
  background-color: #D7D7D7;
  position: absolute;
  left: -1px;
  top: 0;
  -webkit-transition: height 1s ease-in-out;
  transition: height 1s ease-in-out;
  z-index: -1;
}


#header {
  display: block;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  padding: 0 200px 0 200px;
  z-index: 3000;
}

#header .marginCompensation {
  padding: 10px 20px;
  background-color: #FFF;
  width: 100%;
  position: relative;
}

#header .marginCompensation::before {
  width: 200px;
  left: 100%;
  height: 100%;
  top: 0;
  position: absolute;
  background-color: #FFF;
  content: "";
}

#header .marginCompensation #logo {
  position: absolute;
  top: 10px;
  left: 20px;
  bottom: 10px;
  width: 240px;
  background-size: contain;
  background-position: left center;
  background-repeat: no-repeat;
  background-image: url("../images/ubacity.svg");
  margin: 0;
  display: block;
}

#header .marginCompensation .nav {
  float: right;
  position: relative;
  right: 0;
  top: 0;
}

#header .marginCompensation .nav a:link {
  font-size: 18px;
  height: 100%;
  line-height: 40px;
  margin: 0 20px;
  position: relative;
  float: right;
  text-decoration: none !important;
  color: #009AD9 !important;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
}

#header .marginCompensation .nav a:visited {
  color: #009AD9 !important;
}

#header .marginCompensation .nav a:link::after {
  width: 100%;
  height: 3px;
  bottom: 0px;
  left: 0;
  right: 0;
  content: "";
  position: absolute;
  background-color: #D7D7D7;
  display: block;
  -webkit-transform: translate(0, -5px);
  transform: translate(0, -5px);
  opacity: 0;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#header .marginCompensation .nav a:link:hover::after, #header .marginCompensation .nav a:link.navigated::after {
  -webkit-transform: translate(0, 0px);
  transform: translate(0, 0px);
  opacity: 1;
}

#header .marginCompensation .nav a:link:first-of-type {
  border: 3px solid #D7D7D7;
  padding: 0 20px;
  border-radius: 7px;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
}

#header .marginCompensation .nav a:link:first-of-type::after {
  display: none;
}

#header .marginCompensation .nav a:link:first-of-type:hover {
  background-color: #D7D7D7;
  color: #333333 !important;
}

/* Cover ----------------------------------------------------------------------------------------------------*/

.background {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
  opacity: 0.2;
}

.background.imageHide {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  opacity: 0;
}

.cover {
  width: 100%;
  position: relative;
  display: block;
  text-align: center;
}

.cover .intro {
  max-width: 700px;
  padding: 40px;
  margin: 0 auto 0 auto;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  position: relative;
}

.cover .intro h2, .cover .intro p {
  opacity: 1;
  -webkit-transition: 1s ease-out;
  transition: 1s ease-out;
}

.cover .intro.hidden h2 {
  opacity: 0;
  -webkit-transform: translate(0, 40px);
  transform: translate(0, 40px);
}

.cover .intro.hidden p {
  opacity: 0;
  -webkit-transform: translate(0, -40px);
  transform: translate(0, -40px);
}

#play {
  width: 150px;
  height: 150px;
  position: relative;
  margin: 40px auto;
}

/* Scroll down ----------------------------------------------------------------------------------------------*/
#scrollDown {
  -webkit-transition: all 0.3s cubic-bezier(0.715, 0, 0.265, 2);
  transition: all 0.3s cubic-bezier(0.715, 0, 0.265, 2);
  width: 100%;
  z-index: 200;
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: block;
  opacity: 1;
}

#scrollDown.hidden {
  opacity: 0;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
}

.indicator {
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.indicator .icon {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
  width: 40px;
  height: 60px;
  margin: 0 auto 10px auto;
  border-radius: 20px;
  border: 2px solid #652B7E;
  display: block;
  position: relative;
}

#scrollDown .indicator p {
  margin-bottom: 15px;
  font-size: 14px;
  opacity: 1;
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

#scrollDown .indicator .icon span {
  -webkit-transition: all 0.2s ease-out 0.2s;
  -moz-transition: all 0.2s ease-out 0.2s;
  transition: all 0.2s ease-out 0.2s;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin: 6px auto;
  background-color: #009AD9;
  position: relative;
  display: block;
}

#scrollDown .indicator .icon span:nth-of-type(1) {
  -webkit-animation: scroll 1s linear 0s infinite; /* Chrome, Safari, Opera */
  -moz-animation: scroll 1s linear 0s infinite; /* Chrome, Safari, Opera */
  animation: scroll 1s linear 0s infinite; /* Standard syntax */
}

#scrollDown .indicator .icon span:nth-of-type(2) {
  -webkit-animation: scroll 1s linear 0.33s infinite; /* Chrome, Safari, Opera */
  -moz-animation: scroll 1s linear 0.33s infinite; /* Chrome, Safari, Opera */
  animation: scroll 1s linear 0.33s infinite; /* Standard syntax */
}

#scrollDown .indicator .icon span:nth-of-type(3) {
  -webkit-animation: scroll 1s linear 0.66s infinite; /* Chrome, Safari, Opera */
  -moz-animation: scroll 1s linear 0.33s infinite; /* Chrome, Safari, Opera */
  animation: scroll 1s linear 0.66s infinite; /* Standard syntax */
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: scale(0.5);
  }

  33% {
    -webkit-transform: scale(0.8);
  }

  66% {
    -webkit-transform: scale(1);
  }
}


@keyframes scroll {
  0% {
    transform: scale(0.5);
  }

  33% {
    transform: scale(0.8);
  }

  66% {
    background-color: #009AD9;
    transform: scale(1);
  }
}


/* content types ------------------------------------------------------------------------------------------------*/
section {
  width: 100%;
  position: relative;
  margin: 100px auto;
}

.columns {
  width: 100%;
  padding: 0 60px;
  margin: 0 0 150px 0;
  position: relative;
  text-align: center;
}

.columns::after {
  clear: both;
  content: "";
}

.columns .column {
  padding: 0 20px;
  margin: 0 0 40px 0;
  float: left;
  position: relative;
}

.columns .column.double {
  width: 33.33333%;
  margin: 0 8.333% 40px 8.333%;
}

.columns .column.tripple {
  width: 33.3333333%;
}

.columns .column .doodle {
  width: 60%;
  height: 250px;
  margin: 0 auto 40px auto;
  position: relative;
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.columns .column .doodle.hidden {
  opacity: 0;
}

.columns .column h3, .columns .column p {
  -webkit-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}

.columns .column h3.hidden {
  -webkit-transform: translate(0, 40px);
  transform: translate(0, 40px);
  opacity: 0;
}

.columns .column p.hidden {
  opacity: 0;
  line-height: 2;
}

.columns .column.tripple:nth-of-type(3n+1) h3 {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.columns .column.tripple:nth-of-type(3n+1) p {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.columns .column.tripple:nth-of-type(3n+2) h3 {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.columns .column.tripple:nth-of-type(3n+2) p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.columns .column.tripple:nth-of-type(3n) h3 {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.columns .column.tripple:nth-of-type(3n) p {
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.columns .column.double:nth-of-type(2n+1) h3 {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.columns .column.double:nth-of-type(2n+1) p {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.columns .column.double:nth-of-type(2n+2) h3 {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.columns .column.double:nth-of-type(2n+2) p {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

/* Demos ====================================================================*/

.titleNscreen {
  left:0;
  position: relative;
  margin: 60px -222px 100px 0;
}

.titleNscreen::after {
  content: "";
  clear: both;
}

.titleNscreen .title {
  width: 50%;
  float: left;
  position: relative;
}

.titleNscreen .title h1 {
  margin-top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.titleNscreen .screen {
  width: 50%;
  float: left;
  position: relative;
  display: block;
}

.screen .browser {
  max-width: 1000px;
  position:relative;
  border:2px solid #D7D7D7;
  overflow: hidden;
  -webkit-transition:0.5s ease-in 0s;
  transition:0.5s ease-in 0s;
  background-repeat: no-repeat;
}

.screen .browser.hidden {
  opacity:0;
}

.screen .browser.desktop {
  -webkit-border-top-left-radius: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomleft: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  float:right;
  background-image: url("../images/desktop-browser-header.png");
  background-position: left top;
  width:100%;
  height:80vh;
}

.screen .browser .url {
  font-size: 12px; 
  color: #D7D7D7;
  font-family: arial, sans-serif;
  line-height: 50px;
  top:0;
  position: absolute;
  padding:0 10px;
}

.screen .browser.desktop .url {
  left:100px;
}

.screen .browser.mobile .url {
  left:50%;
  -webkit-transform:translate(-50%, 0);
  transform:translate(-50%, 0);
}

.screen .browser.mobile {
  -webkit-border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border-radius: 10px;
  margin:0 auto;
  width:320px;
  height:80vh;
  background-image: url("../images/mobile-browser-header.png");
  background-position: center top;
}


.screen .browser .viewport {
  width:100%;
  display:block;
  position:absolute;
  top:50px;
  bottom:0;
  left:0;
  right:0;
  border-top:2px solid #D7D7D7;
  background-size: 100% auto;
  background-position: center 0;
  background-repeat: no-repeat;
  -webkit-transition: 1s ease-out 1s;
  transition: 1s ease-out 1s;
  opacity: 1;
  -webkit-animation: screenScroll 10s infinite 3s;
  animation: screenScroll 10s infinite 3s;
}

.screen .browser .viewport.hidden {
  opacity:0;
  -webkit-animation: 0;
  animation: 0;
  
}

.screen .browser:hover .viewport {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}


@-webkit-keyframes screenScroll {
  0% {
    background-position: 0% 0%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}


@keyframes screenScroll {
  0% {
    background-position: 0% 0%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: 0% 0%;
  }
}


.closingStatement {
  width: 100%;
  margin: 80px 0;
  position: relative;
}

.closingStatement .statement {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

a:link.button {
  font-size: 18px;
  height: 100%;
  line-height: 40px;
  margin: 10px 20px;
  display: inline-block;
  position: relative;
  text-decoration: none !important;
  color: #009AD9 !important;
  font-family: 'Roboto Slab', serif;
  font-weight: 300;
  border: 3px solid #D7D7D7;
  padding: 0 20px;
  border-radius: 7px;
  -webkit-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  background-color: #FFF;
}

a:link.button:hover {
  background-color: #D7D7D7;
  color: #333333 !important;
}

a:link.button:visited {
  color: #009AD9 !important;
}



/* FOOTER =========================================================*/
.finalAction {
  text-align: center;
  position:relative;
  display: block;
  margin:80px auto;
  opacity: 1;
  -webkit-transition:0.2s;
  transition:0.2s;
}


.finalAction::after {
  position:absolute;
  display: block;
  background-color: #FFF;
  width: 1px;
  height:200px;
  top:25px;
  left:-21px;
  content: "";

}

.finalAction.hidden {
  opacity: 0;
}

.finalAction a:link.button {
  display: block;
  margin:0 auto;
  max-width: 280px;
}

.finalAction::before {
  width:50%;
  left:-20px;
  top:25px;
  position: absolute;
  display: block;
  background-color: #D7D7D7;
  height:1px;
  content: "";
}


/* MEDIA QUIERIES */

@media only screen and (max-width: 1920px), only screen and (max-device-width: 1920px) {
  body, p {
    font-size: 18px;
  }

}

@media only screen and (max-width: 1580px), only screen and (max-device-width: 1580px) {
  #header .marginCompensation .nav a:link {
    font-size: 16px;
    margin: 0 10px;
  }

  #header .marginCompensation #logo {
    width: 150px;
  }

  #wrapper {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    margin: 0 100px 0 100px;
  }

  #header {
    padding: 0 100px 0 100px;
  }

  .titleNscreen {
      margin: 60px -122px 100px 0;
  }

  .screen .browser.desktop {
    height:70vh;
  }

}

@media only screen and (max-width: 1404px), only screen and (max-device-width: 1404px) {
  .columns {
    padding: 0 0 0 20px;
  }

  .columns .column::after {
    display: block;
    position: relative;
    clear: both;
    content: "";
  }

  .columns .column.tripple, .columns .column.double {
    width: 100%;
    margin: 40px 0;
  }

  .columns .column .doodle {
    float: left;
    display: block;
    height: 200px;
    width: 25%;
    background-position: right center;
  }

  .columns .column .info {
    float: left;
    padding-left: 40px;
    padding-right:150px;
    width: 75%;
    text-align: left;
  }

  h4 {
    text-align: left;
  }

  h4::after {
    margin: 20px 0;
  }

  h3 {
    font-size: 1.4em;
  }

  #wrapper {
    margin: 0 0px 0 60px;
  }

  #header {
    padding: 0 0px 0 60px;
  }

  h1 {
    font-size: 1.2em;
  }

  .closingStatement .statement h4 {
    text-align: center;
  }

  .closingStatement .statement h4::after {
    margin: 20px auto;
  }

  .titleNscreen {
      margin: 60px -22px 100px 0;
  }


}

@media only screen and (max-width: 1140px), only screen and (max-device-width: 1140px) {
  h1 {
    font-size: 1em;
  }

  .columns .column .info {
    padding-right:0px;
  }

  .screen .browser.desktop {
    height:500px;
  }


}

@media only screen and (max-width: 758px), only screen and (max-device-width: 758px) {
  #header .marginCompensation .nav a:link {
    font-size: 14px;
  }

  #header .marginCompensation #logo {
    width: 120px;
  }


}

@media only screen and (max-width: 640px), only screen and (max-device-width: 640px) {
  #header .marginCompensation .nav a:link span {
    display: none;
  }

  .columns .column {
    padding: 0;
  }

}

@media only screen and (max-width: 490px), only screen and (max-device-width: 490px) {
  #header .marginCompensation .nav a:link:not(:nth-of-type(1)) {
  font-size: 12px;
  }

  #wrapper {
    margin: 0 0px 0 10px;
    padding: 0 10px;
  }

  #header {
    padding: 0 0px 0 10px;
  }

  #header .marginCompensation #logo {
    left: 10px;
    width:100px;
  }

  #header .marginCompensation {
    padding: 10px 10px;
  }

  .finalAction::after {
  left:-11px;
}

.finalAction::before {
  left:-10px;
}

  h2 {
    font-size: 1.4em;
  }


  .titleNscreen .title h1 {
    margin-top: 0;
    font-size: 1.2em;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }

  .titleNscreen .title {
    width: 100%;
    padding-right: 40px;
    display: block;
    float: none;
    margin: 0 0 40px 0;
  }

  .titleNscreen .screen {
    width: 100%;
    display: block;
    float: none;
  }

  .columns .column .doodle {
    background-position: center bottom;
    float: none;
    height: 200px;
    width: 100%;
  }

  .columns .column .info {
    padding-left: 0;
    width: 100%;
    float: none;
    text-align: center;
  }

  .columns {
    padding: 0;
  }

  .screen .browser.desktop {
    height:400px;
  }

  .screen .browser.mobile {
    height:60vh;
  }

}


/* TEMP FIXES */


