/* SKELETON OVERRIDE
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body {
  font-family: 'rem', Helvetica, sans-serif;
  color: #000000;
  font-size: 1.8em; /* currently ems cause chrome bug misinterpreting rems on body element */
  font-weight: 400;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.container {
  width: 100%;
  max-width: 100% !important;
}

h1 { font-size: 4.2rem; font-weight: 700; line-height: 1.2;  letter-spacing: normal; }
h2 { font-size: 3.4rem; font-weight: 700; line-height: 1.2; letter-spacing: normal; }
h3 { font-size: 2.9rem; font-weight: 700; line-height: 1.2;  letter-spacing: normal; }
h4 { font-size: 2.4rem; font-weight: 700; line-height: 1.2; letter-spacing: normal; }
h5 { font-size: 1.8rem; font-weight: 700; line-height: 1.2;  letter-spacing: normal; }
h6 { font-size: 1.5rem; font-weight: 700; line-height: 1.2;  letter-spacing: normal; }

@media (min-width: 550px) {
  h1 { font-size: 4.9rem; }
  h2 { font-size: 4.2rem; }
  h3 { font-size: 3.4rem; }
  h4 { font-size: 2.9rem; }
  h5 { font-size: 2.4rem; }
  h6 { font-size: 1.5rem; }
}

a {
  color: #000000;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

a:hover {
  color: #0000A0;
}

button,
.button {
  margin-bottom: 1.1rem; 
}
input,
textarea,
select,
fieldset {
  margin-bottom: 1.3rem; 
}
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.1rem; 
}

hr {
  margin-top: 2.9rem;
  margin-bottom: 3.4rem;
}

p, ul {
  line-height: 1.2;
}

/* COMMON
–––––––––––––––––––––––––––––––––––––––––––––––––– */

body.loading {
  opacity: 0;
}

body.show-project {
  overflow: hidden;
}

.wrap {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.show-project .wrap {
  opacity: 0;
  transform: translateX(-10vw);
  transform-origin: center;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

strong {
  font-weight: 700;
}

img {
  width: 100%;
  height: auto;
}

a.read-more {
  color: #0000A0;
  position: relative;
  text-decoration: none;
  font-weight: 700;
  padding-left: 5.7rem;
  font-size: 1.8rem;
  cursor: pointer;
}

a.read-more:hover {
  color: #000000;
  padding-left: 6.8rem;
}

a.read-more::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.7rem;
  height: 1.5rem;
  width: 4.9rem;
  background-image: url(images/arrow-blu.svg);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

a.read-more::after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -0.7rem;
  height: 1.5rem;
  width: 4.9rem;
  background-image: url(images/arrow.svg);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  opacity: 0;
}

a.read-more:hover::before {
  left: 0.5rem;
  opacity: 0;
}

a.read-more:hover::after {
  left: 0.5rem;
  opacity: 1;
}

.translate {
  margin-top: 50%;
}

section {
  padding: 2.1rem;
  padding: 2.1rem;
}

.cta {
  width: 24.4rem;
  height: 24.4rem;
  border-radius: 50%;
  color: #0000A0;
  text-align: center;
  cursor: pointer;
  -webkit-animation-name: floatMe;
  animation-name: floatMe;
  -webkit-animation-duration: 8s;
  animation-duration: 8s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

@media (min-width: 1200px) {
  .cta {
    width: 18vw;
    height: 18vw;
  }
}

.cta.cta__s {
  width: 21rem;
  height: 21rem;
}

@media (min-width: 1200px) {
  .cta.cta__s {
    width: 15vw;
    height: 15vw;
  }
}

.cta a {
  position: relative;
  color: #0000A0;
  font-size: 2.1rem;
  line-height: 1.1;
  width: 100%;
  display: block;
  height: 24.4rem;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.1s cubic-bezier(0,.63,.72,1.3);
  transition: all 0.1s cubic-bezier(0,.63,.72,1.3);
}

@media (min-width: 1200px) {
  .cta a {
    height: 18vw;
  }
}


.cta:hover a {
  color: #ffffff;
  font-weight: 400;
}

.cta.cta__s a {
  height: 21rem;
  font-size: 1.8rem;
}

@media (min-width: 1200px) {
  .cta.cta__s a {
    height: 15vw;
  }
}

.cta .gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  height: 24.4rem;
  border-radius: 50%;
  /*background: rgba(80,203,32,1);
  background: -moz-linear-gradient(-45deg, rgba(80,203,32,1) 0%, rgba(0,0,158,1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(80,203,32,1)), color-stop(100%, rgba(0,0,158,1)));
  background: -webkit-linear-gradient(-45deg, rgba(80,203,32,1) 0%, rgba(0,0,158,1) 100%);
  background: -o-linear-gradient(-45deg, rgba(80,203,32,1) 0%, rgba(0,0,158,1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(80,203,32,1) 0%, rgba(0,0,158,1) 100%);
  background: linear-gradient(135deg, rgba(80,203,32,1) 0%, rgba(0,0,158,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#50cb20', endColorstr='#0000a0', GradientType=1 );*/
  -webkit-transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
  transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
}

.cta .gradient-bg svg {
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .cta .gradient-bg {
    height: 18vw;
  }
}

.cta.cta__s .gradient-bg {
  height: 21rem;
}

@media (min-width: 1200px) {
  .cta.cta__s .gradient-bg {
    height: 15vw;
  }
}

.cta:hover .gradient-bg {
  -webkit-transform: scale(0.9) rotate(8deg);
  transform: scale(0.9) rotate(8deg);
  /*border-top-right-radius: 65%;
  border-top-left-radius: 60%;
  border-bottom-left-radius: 65%;
  border-bottom-right-radius: 62%;*/
}

.cta .illustration-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  height: 18vw;
  border-radius: 50%;
  background-image: url(images/circle-bg.png);
  background-position: center center;
  background-repeat: repeat;
  background-size: 600px 600px;
  opacity: 0;
  -webkit-transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
  transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
}

.cta.cta__s .illustration-bg {
  height: 15vw;
}

.cta:hover .illustration-bg {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  opacity: 1;
}

.cta .label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  height: 24.4rem;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

@media (min-width: 1200px) {
  .cta .label {
    height: 18vw;
  }
}

.cta.cta__s .label {
  height: 21rem;
}

@media (min-width: 1200px) {
  .cta.cta__s .label {
    height: 15vw;
  }
}

.content__item-imgwrap {
  overflow: hidden;
  text-align: center;
  position: relative;
}

.swiper-container {
  width: 100%;
  height: auto;
}

p.desc.oversize {
  font-size: 2.9rem;
}

@-webkit-keyframes floatMe {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-1.3rem);
    transform: translateY(-1.3rem);
  }
  50% {
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
  }
  75% {
    -webkit-transform: translateY(1.3rem);
    transform: translateY(1.3rem);
  }
  100% {
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
  }
}

@keyframes floatMe {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  25% {
    -webkit-transform: translateY(-1.3rem);
    transform: translateY(-1.3rem);
  }
  50% {
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
  }
  75% {
    -webkit-transform: translateY(1.3rem);
    transform: translateY(1.3rem);
  }
  100% {
    -webkit-transform: translateY(0rem);
    transform: translateY(0rem);
  }
}

/* HEADER
–––––––––––––––––––––––––––––––––––––––––––––––––– */

header {
  position: relative;
  display: block;
  width: 100vw;
}

.logo {
  position: fixed;
  z-index: 9999;
  top: 2.1rem;
  left: 2.1rem;
}

@media (min-width: 750px) {
  .logo {
    top: 4.2rem;
    left: 4.2rem;
  }
}

@media (min-width: 1200px) {
  .logo {
    top: 3vw;
    left: 3vw;
  }
}

.logo h1 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0;
}

.logo a {
  color: #000;
  text-decoration: none;
}

.logo img {
  display: inline-block;
  width: 3.9rem;
  height: auto;
  margin-right: 0.3rem;
  -webkit-transform: translateY(-1.1rem);
  transform: translateY(-1.1rem);
}

@media (min-width: 1200px) {
  .logo img {
    -webkit-transform: translateY(-2.1rem);
    transform: translateY(-2.1rem);
  }
}

nav {
  position: fixed;
  z-index: 999;
  top: 2.1rem;
  right: 2.1rem;
}

@media (min-width: 750px) {
  nav {
    top: 4.2rem;
    right: 4.2rem;
  }
}

@media (min-width: 1200px) {
  nav {
    top: 3vw;
    right: 3vw;
  }
}

nav ul {
  font-size: 1.6rem;
  font-weight: 400;
  list-style: none;
  display: inline-block;
  margin-bottom: 0;
}

nav ul.main-menu {
  margin-right: 1vw;
}

nav ul.main-menu li {
  display: inline-block;
  margin-right: 1vw;
}

nav ul.main-menu li a {
  text-decoration: none;
}

nav ul.lang {
  height: 1.8rem;
  overflow: hidden;
  margin-bottom: 0;
}

/* CONTENT
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.intro {
  padding-top: 21vh;
  padding-bottom: 21vh;
}

.about .intro {
  padding-bottom: 0;
}

.intro .container {
  position: relative;
}

.page-title {
  position: relative;
}

.page-title h1 {
  font-size: 6.8vw;
  line-height: 1;
  font-weight: 400;
  margin-left: -0.1rem;
}

.about .page-title h1 {
  font-size: 2.9rem;
  line-height: 1;
  font-weight: 400;
  margin-left: -0.1rem;
}

@media (min-width: 1000px) {
  .about .page-title h1 {
    font-size: 4.2rem;
  }
}

@media (min-width: 1300px) {
  .about .page-title h1 {
    font-size: 6.8rem;
  }
}

.page-title h1 span {
  display: inline;
  color: #0000a0;
}

.about .page-title h1 span::after {
  display: none;
}

.projects {
  position: relative;
}

.grid {
  position: relative;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap:wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-start;
  -ms-align-items: flex-start;
  align-items: flex-start;
  -webkit-align-content: center;
  -ms-align-content: center;
  align-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.grid-item {
  /*float: left;
  height: auto;*/
  margin-bottom: 8vh;
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.grid-item {
  width: 100%;
}

@media (min-width: 400px) {
  .grid-item {
    width: 48%;
  }
}

@media (min-width: 750px) {
  .grid-item {
    width: 30%;
  }
}

@media (min-width: 1200px) {
  .grid-item {
    width: 22%;
  }
}

@media (min-width: 1400px) {
  .grid-item {
    width: 18.4%;
  }
}

.type {
  margin-bottom: 1.3rem;
}

.type::before {
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background-color: #0000a0;
  display: inline-block;
  margin-right: 0.3rem;
}

.thumbnail {
  cursor: pointer;
  width: 100%;
  padding-top: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 50%;
  -webkit-transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
  transition: all 0.3s cubic-bezier(0,.63,.72,1.3);
}

.project:hover .thumbnail {
  -webkit-transform: scale(0.94,0.92);
  transform: scaleX(0.84,0.82);
  border-top-right-radius: 65%;
  border-top-left-radius: 60%;
  border-bottom-left-radius: 65%;
  border-bottom-right-radius: 62%;
}

.project h3 {
  margin-top: 2.1rem;
  font-size: 2.4rem;
  margin-bottom: 1.3rem;
  font-weight: 400;
}

@media (min-width: 550px) {
  .project h3 {
    font-size: 2.1rem;
  }
}

@media (min-width: 1200px) {
  .project h3 {
    font-size: 2.4rem;
  }
}

.project-pu-overlay {
  position: fixed;
  z-index: 9998;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  overflow-y: hidden;
  background: rgba(0,0,158,1);
  background: -moz-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,0,158,1)), color-stop(100%, rgba(0,255,0,1)));
  background: -webkit-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -o-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: linear-gradient(135deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00009e', endColorstr='#00ff00', GradientType=1 );
  opacity: 0;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}

.show-project .project-pu-overlay {
  opacity: 0.1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.project-pu {
  position: fixed;
  z-index: 9999;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80vw;
  overflow-y: scroll;
  background-color: #fff;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.show-project .project-pu {
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.close-btn {
  position: fixed;
  top: 1.3rem;
  right: 2.1rem;
  height: 3.4rem;
  width: 3.4rem;
  z-index: 9999;
  cursor: pointer;
  -webkit-transform: scale(0);
  transform: scale(0);
}

@media (min-width: 750px) {
  .close-btn {
    right: 4.2rem;
    height: 4.2rem;
    width: 4.2rem;
  }
}

.show-project .close-btn {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: all 0.5s ease-out 0.3s;
  transition: all 0.5s ease-out 0.3s;
}

.show-project .close-btn::hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.show-project .close-btn::active {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.project-content {
  padding-top: 8vh;
  padding-bottom: 5vh;
  opacity: 0;
  -webkit-transition: all 0.3s ease-out 0.5s;
  transition: all 0.3s ease-out 0.5s;
}

@media (min-width: 750px) {
  .project-content {
    padding-top: 5vh;
  }
}

.show-project .project-content {
  opacity: 1;
}

.page-images .row .columns {
  margin-bottom: 8vh;
}

.page-images .row .columns:last-child {
  margin-bottom: 0;
}

@media (min-width: 550px) {
  .page-images .row .columns {
    margin-bottom: 0;
  }
}

.project-content img {
  width: 90%;
  display: block;
  margin: 0 auto;
}

.page-intro {
  margin-bottom: 5vh;
}

.page-intro h2 {
  font-size: 7vw;
  line-height: 1;
  margin-bottom: 3vh;
}

.page-intro p {
  font-size: 2.1rem;
  padding: 0.8vw;
}

.page-images {
  text-align: center;
}

.page-images .row {
  margin-bottom: 8vh;
}

.page-images .row:last-child {
  margin-bottom: 0;
}

.page-exit {
  margin-top: 8vh;
}

.page-exit p {
  position: relative;
  font-size: 2.4rem;
}

@media (min-width: 750px) {
  .page-exit p {
    font-size: 3.4rem;
  }
}

.page-exit p:last-child {
  margin-bottom: 0;
}

.page-exit p.you {
  font-weight: 700;
}

footer {
  padding: 2.1rem;
  margin-top: 34vh;
  padding-bottom: 13vh;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  background: rgba(0,0,158,1);
  background: -moz-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(0,0,158,1)), color-stop(100%, rgba(0,255,0,1)));
  background: -webkit-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -o-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: -ms-linear-gradient(-45deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  background: linear-gradient(135deg, rgba(0,0,158,1) 0%, rgba(0,255,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00009e', endColorstr='#00ff00', GradientType=1 );
  opacity: 0.1;
  top: -21vh;
  left: 0;
  bottom: 0;
  width: 66vw;
  display: block;
}

footer .cta {
  position: absolute;
  right: 2.1rem;
  top: -34vh;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

footer .container {
  position: relative;
}

footer .mail,
footer .social,
footer .copy {
  margin-top: 5vh;
}

footer h3 {
  margin-bottom: 0.3rem;
  line-height: 1;
  text-align: left;
}

footer a {
  font-size: 3.4rem;
  display: block;
}

footer .copy p {
  font-size: 1.4rem;
}

/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}
