/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/* == Font face == */

@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-Regular.otf);
  font-weight: normal;
}
@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-Bold.otf);
  font-weight: 700;
}
@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-ExtraBold.otf);
  font-weight: 900;
}
@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-DemiBold.otf);
  font-weight: 600;
}
@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-Medium.otf);
  font-weight: 500;
}
@font-face {
  font-family: Planer;
  src:url(../fonts/Planer-Light.otf);
  font-weight: 200;
}

/* == hamburger ==*/


.c-hamburger {
  display: block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 25px;
  height: 27px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  background-color: transparent;
}

.c-hamburger:focus {
  outline: none;
}

.c-hamburger span {
  display: block;
  position: absolute;
  top: 11px;
  left: 0px;
  right: 6px;
  height: 5px;
  background: white;
}

.c-hamburger span::before,
.c-hamburger span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 25px;
  height: 5px;
  background-color: #fff;
  content: "";
}

.c-hamburger span::before {
  top: -11px;
}

.c-hamburger span::after {
  bottom: -11px;
}

.c-hamburger--htx span {
  transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
  transition-duration: 0.3s, 0.3s;
  transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
  transition-property: top, transform;
}

.c-hamburger--htx span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */

.c-hamburger--htx.is-active span {
  background: none;
}

.c-hamburger--htx.is-active span::before {
  top: 0;
  transform: rotate(45deg);
}

.c-hamburger--htx.is-active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.c-hamburger--htx.is-active span::before,
.c-hamburger--htx.is-active span::after {
  transition-delay: 0s, 0.3s;
}

/* == General styles ==*/
html, body{
  min-width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: #000000;
  color:white;
  font-family: Planer;
  font-size: 2vh;
}

a{
  color:white;
  text-decoration: none;
}

a:hover{
  color:#16797f;
}
div, section{
  background-repeat: no-repeat;
}

.logo{
  display:block;
  width:280px;
  height:38px;
  position:fixed;
  left:8.35%;
  top:8.33%;
  background-image: url(../img/logos/logo_penrose_white.svg);
  background-repeat: no-repeat;
  z-index: 9999;
}
.logo.logo-menu{
  position:static;
  margin-top: 16px;
}
.logo.logo-header.is-active{
  display:none;
}

section{
  min-width: 100%;
  min-height: 100vh;
  display:flex;
  position:relative;
  background-size: cover;
  margin-bottom: 25vh;
}

section.case-study{
  background-color: #203570;
}


.menu-button-wrapper{
  border:1px solid #93d7d2;
  box-sizing: border-box;
  width:111px;
  height: 48px;
  position:fixed;
  right:8.34%;
  top:7.68%;
  color:white;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}
.menu-wrapper.is-scrolled{
  background-color: #93d7d2;
  -webkit-box-shadow: 0px 3px 21px 0px rgba(0, 0, 0, 0.23);
  box-shadow: 0px 3px 21px 0px rgba(0, 0, 0, 0.23);
}
.menu-button-wrapper{
  transition: ease-in-out all 0.2s;
}
.menu-button-wrapper:hover{
  background-color: #93d7d2;
}
.menu-wrapper.is-scrolled .menu-button-wrapper:hover{
  background-color: #16797f;
}

.menu-text-wrapper{
  display: block;
  font-size: 16px;
  margin-right: 14px;
}

.menu-wrapper{
  width:111px;
  height: 48px;
  position:fixed;
  right:8.34%;
  top:7.68%;
  z-index: 9998;
  cursor:pointer;
  overflow: hidden;
}

.menu-wrapper.is-active{
  width:calc(100% - 44px);
  height: calc(100vh - 32px);
  right:22px;
  top:16px;
  background-color:#69c3bc;
  animation-name:open-menu;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
}
.menu-container{
  width:111px;
  height: 48px;
  position:fixed;
  right:8.34%;
  top:7.68%;
}
.menu-wrapper.is-active .menu-container{
  width:calc(100% - 44px);
  height: calc(100vh - 32px);
  position:fixed;
  right:22px;
  top:16px;
}

.menu-list-wrapper{
  width:calc(100% - 44px);
  height: calc(100vh - 32px);
  position:fixed;
  right:22px;
  top:16px;
}

@keyframes open-menu{
0%{ background-color: transparent; width:111px; height: 48px; right:8.34%; top:7.68%;}
25% {background-color: transparent;}
100% { background-color:#69c3bc; width:calc(100% - 44px); right:22px; top:16px; }
}

/*.button{
  display:flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 19px 50px;
  border:1px solid #93d7d2;
  float:left;
  clear:both;
  text-transform: uppercase;
  transition: ease-in-out 0.2s;
  font-family: Planer;
  font-weight: 500;
  font-size: 24px;
}
.button:hover{
  background-color: #93d7d2;
  color:white;
  padding:30px 70px;
  border-radius: 10px;
}*/

.content-wrapper{
  width:83.32%;
  margin:0 auto;
  min-height:100vh;
  display:flex;
}
.menu-wrapper .content-wrapper{
  min-height: calc(100vh - 32px);
  display:none;
}
.menu-wrapper.is-active .content-wrapper{
  display: flex;
}
.menu{
  list-style: none;
  padding-left: 0px;
  font-size: 2em;
  display:flex;
  flex-direction: column;
}
.menu li{
  margin-bottom: 0.5em;
}
.menu li a{
  position: relative;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.menu li a:after, .menu li.current a:after{
  content:"";
  display:block;
  position: absolute;
  left:0px;
  bottom:-15px;
  width:0px;
  height: 5px;
  background-color: #16797f;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.menu li:hover a, .menu li.current a{
  color:#16797f;
}
.menu li:hover a:after, .menu li.current a:after{
  width:100%;
}
.socialism{
  align-self:flex-end;
  width:100%;
}
.menu-wrapper .line{
  width:100%;height:1px;
  background-color: white;
  margin:25px 0px;
}
.socialism .stay{
  text-transform: uppercase;
  font-size:13px;
}
.social-wrapper{
  margin-top:15px;
  display:flex;
  flex-direction:row;
}
.social{
  display:flex;
  width:50px;
  height:50px;
  align-items: center;
  justify-content: center;
  border-radius: 48.5%;
  background-color: black;
  font-size:20px;
  margin-right: 17px;
}
.social.facebook{
  background-color: #39579a;
}
.social.twitter{
  background-color: #50abf1;
}
h2.section-head{
  font-size: 36px;
  font-weight: 900;
  position: relative;
  margin-bottom: 61px;
}
h2.section-head:after{
  position:absolute;
  left:0px;
  bottom:-28px;
  display:block;
  height: 5px;
  width: 109px;
  background-color: white;
  content:"";
}
.white{
  background-color: #FFF;
}
.white .section-title{
  color: #676767;
}
.white .section-paragraph{
  color: #676767;
}
.white .section-head{
  color: #676767;
}
.white .section-head:after{
  background-color: #676767;
}
/*== Page specific ==*/

/* Home */

.home #hero .content-wrapper{
  flex-direction:column;
  justify-content: center;
  align-items: flex-start;
}
#hero .hero-overlay{
  width:100%;
  height:100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
}
 .menu-fixed-wrapper .content-wrapper{
  flex-direction:column;
  justify-content: space-around;;
  align-items: flex-start;
}

.home #hero .hero-heading{
  font-size: 5em;
  font-weight: 900;
}

.home #hero .button{
  margin-left: 0px;
}

.home .case-study .content-wrapper{
  align-items: flex-end;
  justify-content: center;
}
/*.home .case-study .button{
  margin-bottom: 8.20vh;
  color:#58595b;
  text-transform: capitalize;
  font-size: 24px;
}
.home .case-study .button:hover{
  color:white;
}
.home #case-epw.case-study .button{
  color:white;
}*/

.home .clients .content-wrapper{
  flex-direction: column;
  justify-content: center;
}
.clients .client-box{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width:100%;
}
.clients .client-box .client-wrapper{
  box-sizing: border-box;
  position: relative;
  width:calc(25% - 6px);
  height:calc(20vh - 8px);
  margin:4px 3px;
}
.client-wrapper .client-holder{
  display:block;
  width:100%;
  height:100%;
  position: absolute;
  left:0px;
  top:0px;
  box-sizing: border-box;
  padding: 11%;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-box-shadow: 0px 24px 40.67px 8.33px rgba(0, 0, 0, 0.07);
  box-shadow: 0px 24px 40.67px 8.33px rgba(0, 0, 0, 0.07);
}
.client-wrapper .client-holder:hover{
  -webkit-box-shadow: 0px 18px 37.62px 0.38px rgba(101, 198, 191, 0.44);
  box-shadow: 0px 18px 37.62px 0.38px rgba(101, 198, 191, 0.44);
  z-index: 2;
}
.client-wrapper .client-holder .client-logo{
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width:100%;
  height:100%;
  max-width: 300px;
  max-height: 130px;
  filter: grayscale(100%);
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.client-wrapper .client-holder:hover .client-logo{
  filter: grayscale(0%);
  /*max-width: 350px;
  max-height: 180px;*/
  transform: scale(1.15);
}
/* == Entry animations ==*/

.entry-animate{
  transition-duration: 0.4;
}
.entry-animate.from-left{
  transition-property: margin-left;
}
.entry-animate.from-right{
  transition-property: margin-right;
}
.entry-animate.from-bottom{
  transition-property: margin-bottom;
}
.entry-animate.first{
  transition-delay: 0.1s;
}
.entry-animate.second{
  transition-delay: 0.35s;
}
.entry-animate.third{
  transition-delay: 0.6s;
}
.entry-animate.fourth{
  transition-delay: 0.85s;
}
.entry-animate.fifth{
  transition-delay: 1.1s;
}
.entry-animate.sixth{
  transition-delay: 1.35s;
}

/*== Background css ==*/

.home #hero{
  background-image:url(../img/hero-home.jpg);
}

.home #case-epw{
  background-image: url(../img/epw_case_study.jpg);
}

.home #case-euc{
  background-image: url(../img/euc_case_study.jpg);
}

.home #case-i24c{
  background-image: url(../img/i24c_case_study.jpg);
}

/* EUC */
#hero .content-wrapper{
  flex-direction:column;
  justify-content: center;
  align-items: flex-start;
}

#hero .hero-heading{
  font-size: 72px;
}
#hero .hero-subheading {
  font-size: 30px;
  max-width: 75%;
}

.euc #hero .button{
  margin-left: 0px;
}

.euc #hero{
  background-image:url(../img/EUC/euc_hero.jpg);
}

.euc #bg-euc{
  background-image:url(../img/EUC/background.png);
  background-position: center;
  background-size: contain;
}
.euc #challange-euc{
  background-color: white;
  background-position: center;
  background-size: cover;
}
.euc #challange2-euc{
  background-image:url(../img/EUC/magazine.png);
  background-position: right;
  background-color: white;
  background-repeat: no-repeat;
  background-size: contain;
}
.euc #strategy-euc{
  background-image:url(../img/EUC/strategy.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-color: white;
}

.euc #design-euc{
  background-image:url(../img/EUC/design_direction.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-color: white;
}
.euc #conclusion-euc{
  background-image:url(../img/EUC/conclusion.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-color: white;
}
.euc .content-wrapper {
  flex-direction:column;
  justify-content: center;
  align-items: flex-start;
}
.section-title {
  font-size: 30px;
  display: block;
  width: 100%;
  font-family: Planer;
  font-weight: bold;
}

.section-paragraph {
  font-size: 18px;
  max-width: 50%;
  font-family: Planer;
}

.owlarge{
  width:100%;
  height:100vh;
  overflow-x: hidden;
}

.owlteam.owl-carousel{
  width:100%;
  overflow-x: hidden;
}
  .owl-slide{
    width:100%;
    height:100vh;
  background-size: cover;
  background-position: center;
}

.owlabout .owl, .owlteam-container .owl{
  position:absolute;
  display: block;
  top:calc(50vh - 20px);
  opacity: 0.5;
  transition: ease-in-out all 0.25s;
}
.owlabout .owl:hover, .owlteam-container .owl:hover{
  opacity: 1;
}
.owlarge.owl-carousel{
  width:100%;
}
.owlteam-container{
  position: relative;
}
.owlabout .owl.prev{
  left:30px;
}
.owlabout .owl.next{
  right: 30px;
}

.owlteam-container .owl.prev{
  left:-50px;
}

.owlteam-container .owl.next{
  right:-50px;
}

#conclusion-euc .section-paragraph,
#challange2-euc .section-paragraph,
#strategy-euc .section-paragraph,
#design-euc .section-paragraph {
  max-width: 35%;
}

/* Footer */
  #footer {
    background-color: #565656;
  }
  #footer h1, b {
    color: #65c6bf;
    font-weight: bold;
  }
  #footer h1 {
    font-family: Planer;
    font-size: 40px;
  }
  #footer a {
    transtion: all 2s ease 0s;
  }
  #footer a b:hover {
    color: #16797f;
  }
  #footer p, b {
    font-family: Planer;
    font-size: 29px;
  }
  #footer .separator {
    margin-top: 30px;
    margin-bottom: 30px;
    height: 5px;
    border-radius: 3px;
    width: 100px;
    background-color: #65c6bf;
  }
  #footer .content-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  #footer .pen {
    left: -5%;
    position: relative;
  }
  #footer .footer-text {
    margin-left: 50px;
    width: 50%;
  }
  #footer .long-separator {
      margin-top: 15px;
      margin-bottom: 30px;
      height: 2px;
      border-radius: 3px;
      width: 100%;
      background-color: #65c6bf;
  }
  #footer .address-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;;
  }
  #footer .address-box h2{
    font-size: 1.3em;
    margin-top: 0;
  }
  #footer .address-box p {
    font-size: 1em;
  }

  /* Services */

  .services #hero {
    background-image: url(../img/hero/cover_services.svg);
  }
  #creative .content-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding-top: 150px;
  }
  .creative-service {
    width: 33%;
    height: 33%;
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .creative-service .icon {
    /*width: 40%;*/
    flex-grow: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*display: flex;
    flex-direction: row;*/
  }
  .creative-service .icon img {
    width: 100%;
  }
  .creative-service .text  {
    /*width: 60%;*/
    box-sizing: border-box;
    padding-left: 20px;
  }
  .creative-service h2 {
    color: #676767;
    font: Planer bold 2em;
    margin: 5px 0px 0px 0px;
  }
  .creative-service p {
    color: #676767;
    font-size: 1.1em;
  }

  /* About */

  .about #hero{
    background-image:url(../img/hero/cover_about_us.svg);
  }
  .about #bg .content-wrapper {
    display: flex;
    align-items: center;
  }
  #bg .content-wrapper .office {
    background-image:url(../img/about/background.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: left;
    width: 50%;
    height: 100%;
  }
  #bg .text {
    color: #676767;
  }
  #bg .text h1, #bg .text p {
    font-family: Planer;
    font-size: 28px;
  }
  #bg .text p {
    text-a
  }
  #bg .text h2 {
    font-size: 2.3em;
  }
  #team1 .content-wrapper{
    color: #676767;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
  .team h1, #creative h1, #bg h2 {
    position: absolute;
    font-size: 2.3em;
    color: #676767;
    top: 25px;
    left: 8.35%;
  }
  .team .content-wrapper p {
    font-size: 28px;
    text-align: center;
    margin: 50px;
  }
  #team2 .content-wrapper{
    color: #676767;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    box-sizing: border-box;
    padding-top: 17vh;
  }
  .team .grid-item {
    width: 100%;
    margin: 5px;
    position: relative;
    box-sizing: border-box;
    /*padding: 5px;*/
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
  }
  .team h2, .team h3 {
    margin: 0px;
  }
  .team .grid-item img {
    width: 100%;
  }
  .overlay {
    position: absolute;
    box-sizing: border-box;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    background-color: rgba(101, 198, 191, 1);
    padding: 5px;
    opacity: 0;
    transition: all 0.2s ease 0s;
    color: white;
    /* margin: 5px; */
  }
  .overlay-wrap{
    width:100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .overlay:hover {
    opacity: 1;
  }
  .overlay h2{
    margin-right: 50vw;
    transition: all 0.5s ease 0.05s;
    width:100%;
    text-align: center;
  }
  .overlay h3{
    text-align: center;
    width:100%;
    margin-left: 50vw;
    transition: all 0.5s ease 0.2s;
  }
  .overlay:hover h2{
    margin-right: 0px;
  }
  .overlay:hover h3{
    margin-left: 0px;
  }
  .separator {
    margin-top: 15px;
    margin-bottom: 30px;
    height: 0.1em;
    border-radius: 3px;
    width: 3em;
    background-color: #636363;
  }
  .contact h1{
    text-transform: uppercase;
  }

  .contact h3{
    text-transform: capitalize;
    width:100%;
    border-bottom:1px solid #65c6bf;
    padding-bottom:20px;
    font-weight: 400;
  }
  .contact p{
    font-weight: 700;
  }
  .workwithus #hero {
    background-image:url(../img/hero/cover_contact.svg);
  }
/* Cases */

  .cases #hero{
    background-image:url(../img/hero/cover_case_studies.svg);
  }
  #twinpane {
    display: flex;
    flex-direction: row;
  }
  .pane {
    width: 50%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /*border: solid 1px black;*/
  }
  .close-case {
    position: absolute;
    top: 5%;
    right: 3%;
    font-size: 2em;
  }
  #case1 {
    background-image:url(../img/euc_case_study.jpg);
    background-size: initial;
    background-position: center;
    background-color: #c5f0f5;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
  }
  #case2 {
    background-image:url(../img/epw_case_study.jpg);
    background-size: initial;
    background-position: center;
    background-color: #203570;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
  }
  #case-ssb {
    background-image:url(../img/ssb_case_study.jpg);
    background-size: cover;
    background-position: center;
    background-color: #203570;
    /* background-attachment: fixed; */
    background-repeat: no-repeat;
  }
  .left-pane {
    border-right: solid 5px #65c6bf;
  }
  .right-pane {
    border-left: solid 5px #65c6bf;
  }
  .quadpane {
    display: flex;
    flex-direction: row;
    width: 100%;
  }
  .qpane {
    width: 50%;
    height: 50vh;
    border: solid 1px black;
  }
  .quad {
    display:block;
  }

  .cases #featured {
    background-image:url(../img/i24c_case_study.jpg);
    position: relative;
    overflow: hidden;
  }
  .top-overlay {
    top: -100vh;
  }
  .left-overlay {
    left: -100vh;
  }
  .right-overlay {
    left: 100vh;
  }
  .case-overlay {
    position: relative;
    z-index: 2;
    background-color: rgba(101,198,191,0.95);
    box-sizing: border-box;
    margin: 1.5%;
    padding-left: 20%;
    padding-right: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.75s cubic-bezier(0.25,0.1,0.25,1) 0s;
    max-height: 97vh;
    overflow-y: scroll;
  }
  .overlay-down {
    top: 0vh;
    left: 0vh;
  }
  .pane .case-overlay {
    height: 100%;
  }
  .pane:hover .case-overlay {
    top: 0vh;
    left: 0vh;
  }
  .case-overlay p {
    font-family: Planer;
    font-size: 1.5em;
  }
  .featured .featured-button {
    position: absolute;
    bottom: 5%;
    left: calc(50% - 150px);
  }

/* button */

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 19px 50px;
    border: 1px solid #93d7d2;
    float: left;
    clear: both;
    text-transform: uppercase;
    transition: ease-in-out 0.2s;
    font-family: Planer;
    font-weight: 500;
    font-size: 1.5em;
    margin-bottom: 4em;
}
.case-study{
    margin-bottom:9vh;
    overflow: hidden;
}
.hvr-shutter-out-horizontal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  /*background: #e1e1e1;*/
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-shutter-out-horizontal:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #93d7d2;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-shutter-out-horizontal:hover, .hvr-shutter-out-horizontal:focus, .hvr-shutter-out-horizontal:active {
  color: white;
}
.hvr-shutter-out-horizontal:hover:before, .hvr-shutter-out-horizontal:focus:before, .hvr-shutter-out-horizontal:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

/* Sweep To Right */
.button {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.button:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #93d7d2;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.button:hover, .button:focus, .button:active {
  color: white;
}
.button:hover:before, .button:focus:before, .button:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.call-to-action{
  display: flex;
}
.call-to-action .button{
  margin-right: 20px;
}

/* EPW case study  */

  .epw #hero {
    background-color: #203570;
  }
  .epw #hero #smart-epw-logo{
    width:18.15%;
    height:22.53%;
    background-image: url(../img/epw/logo.svg);
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    position:absolute;
    left: 19.53%;
    top: 38.15%;
    z-index: 1;
  }
  .epw #hero #smart-epw-sheet{
    width:61.30%;
    height:80.86%;
    background-image: url(../img/epw/sheet.png);
    background-size: contain;
    background-position: center;
    background-repeat:no-repeat;
    position:absolute;
    right: 9.95%;
    top: 13%;
    z-index: 1;
  }
    .i24c #hero {
      background-image: url(../img/i24c/hero.jpg);
    }
    .ssb #hero {
      background-image: url(../img/ssb/hero.jpg);
    }

  .epw section, .i24c section, .ssb section {
    background-color: white;
  }

  .bg-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 40%;
  }
  .bg-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    width: 60%;
    box-sizing: border-box;
    padding: 5%;
  }
  .bg-logos img {
    width: 100%;
  }
  .bg-text h1 {
    color: #676767;
    font-size: 2em;
    margin: 0;
  }
  .bg-text p {
    color: #676767;
    font-size: 1.2em;
  }
  /*.epw .bg-video {
    position: relative;
  }*/
  .epw .playbutton {
    position: absolute;
    right: calc(50% - 54px);
    width:108px;
    top: calc(50% - 54px);
  }
  .bg-video {
    position: relative;
  }
  .owl {
    color: black;
    font-size: 4em;
    z-index: 2;
  }
  #next {
    right: 0px;
  }
  .slide-more {
    position: absolute;
    opacity: 0;
    background-color: #6bc8c1;
    top: calc( 50% - 125px);
    left: calc(50% - 125px);
    border-radius: 50%;
    transition: all 0.25s ease-in-out 0s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 250px;
  }
  .owl-carousel div:hover .slide-more {
    opacity: 0.8;
    color: white;
  }
  .owl-carousel .owl-stage{
    display: flex;
    align-items: center;
  }
  .owl-carousel{
    width: calc(100% - 76px);
  }

  .bideogamedunkey{
    position:relative;
  }
  .video-overlay{
    position:fixed;
    width:100%;
    height:100vh;
    left:0px;
    top:0px;
    background-color: rgba(0, 0, 0, 0.4)!important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media screen and (max-width:1365px){
    .pen{
      display:none;
    }
    #footer .footer-text{
      width:100%;
      margin-left: 0px;
    }
    section{
      background-size: contain;
      background-position: center;
    }
     #hero{
      background-size: cover;
    }
    .logo{
      width:150px;
    }
    section#case-euc.case-study{
      background-color: #c5f0f5;
    }
    section#case-i24c.case-study{
      background-color: #49ccc9;
    }
  }

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
