body, html {
  margin: 0;
  width:100vw;
  height: 100%;
  min-height: 100%;
  /* height: 600px; */
  overflow-x: hidden;
  box-sizing: border-box;
  }
main {
  position: relative;
  font-family: Helvetica;
  font-weight: 200;
  font-size: 13em;
  margin: 15% 15% 20%;
}
h1 {
  font-size: 23px;
}
h2 {
  font-family: sans-serif;
}
p {
  margin: 0;
}
#mains .dxlms {
  box-sizing: border-box;
  border: solid 1px black;
  margin: 2px auto;
  text-align: center;
}
#main .dxlm {
  position: relative;
  box-sizing: border-box;
  border: solid 0.3rem black;
  margin: 2px auto;
  color: black;
  text-align: center;
  padding: 0 10%;
  text-indent: -10px; /* Fix for mobile left letter alignment */
}
#main .dx, #main .lm {
  margin: 0;
  margin-right: 20px;
  margin-left: 20px;
  display: inline-block;
}
#line {
  position: absolute;
  background-color: white;
  width: 95%;
  top: 45.7%;
  left: 2%;
  height: 2%;
  z-index: 9;
  border: solid 0.3rem white;
}
main #line {
    animation: scanline 5s infinite 3.5s;
    animation-direction: alternate;
}
@keyframes scanline {
    /* 0%	{ top: 1.8%; height: 0.1%} */
    50%	{ top: 2%; height: 0.1%}
    100% { top: 93%; height: 0.1% }
}
.mini {
  font-size: 4em;
  margin: 15px 10px;
  text-align: center;
}
#main .micro {
  text-align: left;
  display: inline-block;
  border: solid 1px black;
}
#line.tiny {
  border: solid 1.5px white;
}
@media all and (max-width: 667px) {
    main {
        font-size: 8em;
    }
    #line1 {
        position: absolute;
        background-color: white;
        width: 105%;
        top: 75%;
        left: -2px;
        height: 2%;
        z-index: 9;
        border: solid 0.3rem white;
    }
    main #line1 {
      animation: scanline-1 7s infinite 2s;
      animation-direction: alternate;
    }
    @keyframes scanline-1 {
      0%	{ top: 1.8%; height: 0.1%}
      100% { top: 92.2%; height: 2% }
    }
}
.menu {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  overflow: hidden;
  text-transform: uppercase;
  /* display: none; */
}
.show {
  /* display: flex; */
}
.about {
  width: 50%;
  text-align: center;
  background-color: rgba(128,128,128,0.9);
  z-index: 10;
  transform: translateX(2000px);
  transition: transform 0.5s;
}
.about h1 {
  border: white solid 2px;
  padding: 9px;
  margin: 45vh auto;
  max-width: 200px;
  background-color: white;
}
@media all and (min-width: 597px){
}
.show .about {
  transform: translateX(0px);
}
.portfolio {
  width: 50%;
  text-align: center;
  background-color: rgba(128,128,128,0.8);
  /* padding-top: 45vh; */
  z-index: 10;
  transform: translateX(-2000px);
  transition: transform 0.5s;
}
.port-title {
  transition: all 0.5s;
}
.portfolio h1 {
  border: black solid 2px;
  padding: 9px;
  margin: 45vh auto;
  max-width: 200px;
  color: white;
  background-color: black;
  text-decoration: none;
}
a:link {
  text-decoration: none;
}
.show .portfolio {
  transform: translateX(0px);
}
.portfolio-slide {
  text-align: center;
}
.portfolio-slide h1 {
  border: black solid 2px;
  padding: 9px;
  margin: 30px 30%;
  color: white;
  background-color: rgba(0,0,0,0.8);
}
.portfolio-demo-descendants {
  padding-top: 0;
}
.portfolio-title-move-top-left {
  /* margin-top: 20px; */
}

.port-title.portfolio-title-move-top-left {
  margin: 0;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: calc(50% - 20px);
  background-color: transparent;
  color: black;
  transition: all 0.75s;
  border-color: white;
}

.portfolio-title-move-top-left + .link-previews {
  display: block;
  width: 100%;
  height: 100%;
}
.link-previews a {
  display: block;
  height: 30%;
}
.link-previews {
  display: none;
}
.pic1 img, .pic2 img, .pic3 img {
  box-sizing: border-box;
  margin-top: 0.8em;
  padding: 0 10px;
  width: 90%;
  filter: grayscale(0.5);
}

.preview-box {
  width: 70%;
  margin: 0 auto;
  /* background-image: url('portfolio/img/trefle-ss1bw.png'); */
  background-size: cover;
  overflow: hidden;
}
.preview-box img {
  position: relative;
  max-width: 980px;
  height: auto;
  display: inline;
  margin: 0 0 -7px 0;
  filter: grayscale(100%);
  transition: transform 1s cubic-bezier(.165,.84,.44,1) .2s,filter .3s cubic-bezier(.6,.01,.49,1);
}
.preview-box img:hover {
  filter: grayscale(0);
  transform: scale(0.9);
}
.pg-1 { /* Portfolio Grid no. 1 */
  position: relative;
}
.logo-overlay {
  position: absolute;
  width: 100%;
  margin-top: 10%;
  display: flex;
  z-index:9;
}
.logo-overlay img {
  height: 100%
}
.contain-box {
  overflow-y: scroll;
  height: 100vh;
  position: absolute;
  width: 100vw;
  top: -1px;
  left: 100%;
  padding: 0 14vw;
  z-index: 10;
  background-color: white;
  transition: left 0.8s;
}
.closer {
  position: absolute;
  top: 10px;
  left: 8%;
  z-index: 10;
}
.left-toggle {
  left: 0%;
}
.contained-80 {
  width: 72%;
}
.folio-scrollio {
  width: 2880px;
}
.folio-scrollio img:first-child {
  float: left;
}
img {
  display: inline;
}
.page-div {
  display: block;
  background-color: white;
  /* border-left: solid 2px black; */
  position: relative;
  top: 0px;
  left: 0%;
  height: 100%;
  width: 100%;
  z-index: 9;
  transition: all 2s;
  transition-timing-function: ease-in-out;
}
.trefle-overlay {
  display: none;
  position: relative;
  position: absolute;
  background-color: rgba(255, 255, 255, 1);
  padding: 5% 11% 5%;
  opacity: 1;
  top: 0;
  left: 0;
  height: 400px;
  width: 100%;
  z-index: 10;
}
.trefle-overlay {
  animation-name: fadey;
  animation-duration: 0.8s;
  animation-delay: 3s;
}
@keyframes fadey {
  from {opacity: 1;}
  to {opacity: 0}
}
.trefle-main p {
  font-size: 30px;
  font-family: sans-serif;
}
.button-r {
  position: absolute;
  height: 50px;
  width: 50px;
  top: 50%;
  right: 10%;
  background-color: grey;
  border: solid 2px black;
}
.button-l {
  position: absolute;
  height: 50px;
  width: 50px;
  top: 50%;
  left: 10%;
  background-color: grey;
  border: solid 2px black;
}

@media all and (min-width: 667px) {
  .desk-grid {
    display:grid;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }
  .desk-grid img {
    grid-column: auto;
    width: 100%;
  }
  .h-line {
    display: block;
    height: 1.5px;
    margin-top: 1px;
    background-color: black;
    width: 300%;
  }
  .mobile-grid {
    display: none;
  }
}
.screen-wipe {
  display: none;
  background-color: white;
  border-left: solid 2px black;
  border-top:  solid 2px black;
  position: absolute;
  top: -1000px;
  left: 110%;
  height: 3000px;
  width: 3000px;
  z-index: 9;
  transition: all 2s;
  transition-timing-function: ease-in-out;
}
.gdpr-notice {
  display: none;
  min-height: 150px;
  width: 100%;
  font-family: Arial;
  position: fixed;
  padding: 12px;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: black;
  color: white;
  z-index: 999;
}

/* +"; path=/"; */
.notice-box {
  width: 60%;
  margin:0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.notice-box h1 {
  margin: 0 auto 20px auto;
  align-self: center;
}
.notice-box p {
  padding: 40px;
}
.showing {
  display: block;
}
.notice-button {
	-moz-box-shadow:inset 0px -3px 7px 0px #29bbff;
	-webkit-box-shadow:inset 0px -3px 7px 0px #29bbff;
	box-shadow:inset 0px -3px 7px 0px #29bbff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #2dabf9), color-stop(1, #0688fa));
	background:-moz-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
	background:-webkit-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
	background:-o-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
	background:-ms-linear-gradient(top, #2dabf9 5%, #0688fa 100%);
	background:linear-gradient(to bottom, #2dabf9 5%, #0688fa 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#2dabf9', endColorstr='#0688fa',GradientType=0);
	background-color:#2dabf9;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #0b0e07;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-size:1.5em;
	padding:9px 23px;
	text-decoration:none;
	text-shadow:0px 1px 0px #263666;
}
.notice-button:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0688fa), color-stop(1, #2dabf9));
	background:-moz-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
	background:-webkit-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
	background:-o-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
	background:-ms-linear-gradient(top, #0688fa 5%, #2dabf9 100%);
	background:linear-gradient(to bottom, #0688fa 5%, #2dabf9 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0688fa', endColorstr='#2dabf9',GradientType=0);
	background-color:#0688fa;
}
.notice-button:active {
	position:relative;
	top:1px;
}
/* -------------------------------- */
/* Services Styles */
/* -------------------------------- */

.thin-box {
  border: solid black 1.5px;
  margin: 0 auto 1em;
  padding: 1em 2em;
  max-width: 90%;
}
.thin-box h2 {
  text-align: center;
}
ul li {
  padding-left: 1em;
}
.how-to {
  margin-top: 5em;
  border-top: solid black 2px;
}
.info-box {
  width: 600px;
  height: 600px;
  border: solid grey 2px;
  margin: 20px auto;
}
.info-box h2 {
  text-align: center;
}
.buy-button {
  width: 300px;
  height: 90px;
  border: solid black 1.5px;
  background-color: #FFF;
  text-align: center;
  font-size: 62px;
  margin: 0 auto;
}
