

* {
  margin: 0;
  padding: 0;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Lato", sans-serif;
  background-color: #021d30;
  webkit-tap-highlight-color: #021d30;
}

a {
  color: var(--accent);
  transition: all 0.35s;
}

a:hover,
a:focus {
  color: #efa420;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,

.tagline {

  font-family: "Josefin Sans", sans-serif;
  color: #021d30;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: center;
}

h1 {
  letter-spacing: 0.2em;
}

h2,
.tagline {
  font-size: 2em;
  letter-spacing: 0.3em;
}

h3 {
  font-family: "oswald", sans-serif;
  font-size: 1.8em;
  letter-spacing: 0.1em;
  color: #aae0ff;
}

p {
  font-size: 120%;
  font-weight: 300;
  text-align: left;
  line-height: 1.5;
  color: #aae0ff;
}

::-moz-selection {
  text-shadow: none;
  color: #021d30;
  background: #aae0ff;
}

::selection {
  text-shadow: none;
  color: #021d30;
  background: #aae0ff;
}

img::selection {
  color: #aae0ff;
  background: 0 0;
}

img::-moz-selection {
  color: #aae0ff;
  background: 0 0;
}

button:focus:not(:focus-visible) {
  outline: 0;
}

* {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

.cl {
  clear: both;
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

#preloader {
  position: fixed;
}

.page-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #021d30;
  z-index: 8060;
}

.page-cover.no-bg {
  background: none;
}

.sk-rotating-plane {
  position: relative;
  top: 50%;
  margin: -40px auto 0;
  width: 80px;
  height: 80px;
  background-color: #efa420;
  -webkit-animation: sk-rotatePlane 1.2s infinite ease-in-out;
  animation: sk-rotatePlane 1.2s infinite ease-in-out;
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

@-webkit-keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@keyframes sk-rotatePlane {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    -moz-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    -moz-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    -moz-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

.overlay {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
  transition: opacity 0.5s, visibility 0s 0.5s;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

#mainnav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

#mainnav > .button-menu,
#mainnav #menu-container {
  pointer-events: auto;
}

#menu-container {

  font-family: inherit;
  top: 0;
  left: 0;
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: rgba(4, 20, 32, 0.85);
  z-index: 998;
  backface-visibility: hidden;
}

#menu-container nav {
  text-align: center;
  position: relative;
  top: 50%;

  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}

#menu-container ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  height: 100%;
  position: relative;
}

#menu-container ul li {
  display: block;
  height: 10%;
  height: calc(100% / 10);
  overflow: hidden;
}

#menu-container ul li a {
  font-family: "Josefin Sans", sans-serif;
  text-transform: uppercase;
  font-size: 2.05em;
  line-height: 2.5em;
  letter-spacing: 0.3em;
  color: #efa420;
  background-color: transparent !important;
}

#menu-container ul li a:hover,
#menu-container ul li a:focus {
  color: #aae0ff;
  text-decoration: none;
}

.button-menu {
  z-index: 8011 !important;
}

.button-wrapper {
  overflow: hidden;
  display: inline-block;
  position: absolute;
  right: 0;
  height: 80px;
  width: 80px;
  border: 0 none;
  background: transparent;
  z-index: 999;
  overflow: hidden;
}

.button-wrapper:hover .curtain {
  right: 80px;
}

.button-wrapper .curtain {
  display: block;
  position: absolute;
  height: 80px;
  width: 100%;
  top: 0;
  right: -100%;
  transition: 0.4s ease-out;
  -webkit-transition: 0.4s ease-out;
}

.button-wrapper .curtain .cover {
  position: absolute;
  top: 0;
  display: block;
  margin-left: 80px;
  width: 100%;
  height: 100%;
  background: rgba(2, 29, 48, 0.9);
}

.button-wrapper.yellow .curtain .cover {
  background: rgba(239, 164, 32, 0.9);
}

.button-wrapper.white .curtain .cover {
  background: #aae0ff;
}

.button-wrapper.white div[class^="arrow"] {
  border-color: rgba(170, 224, 255, 0.9);
}

.button-wrapper:hover.white div[class^="arrow"] {
  border-color: #021d30;
}

.button-wrapper .curtain .fold-left {
  position: relative;
  left: 0;
  width: 0;
  height: 0;
  top: 0;
  bottom: 0;
  border-bottom: 80px solid transparent;
  border-right: 80px solid rgba(2, 29, 48, 0.9);
}

.button-wrapper.yellow .curtain .fold-left {
  border-right: 80px solid rgba(239, 164, 32, 0.9);
}

.showcase .button-next,
.showcase .button-prev {
  position: absolute;
  top: 50%;
  margin-top: -40px;
  z-index: 101;
}

.showcase .button-next {
  right: 50%;
  margin-right: -231px;
}

.showcase .button-next .curtain {
  right: auto;
  left: -200%;
  transition: 0.3s ease-out;
  -webkit-transition: 0.3s ease-out;
}

.showcase .button-next:hover .curtain {
  left: -100%;
}

.showcase .button-prev {
  left: 50%;
  margin-left: -231px;
}

.header-circle {
  position: relative;
  margin-bottom: 10px;
  width: 50px;
  height: 50px;
  background: #02111b;
  border: 2px solid #aae0ff;
  -moz-border-radius: 25px !important;
  -webkit-border-radius: 25px !important;
  border-radius: 25px !important;
}

.header-circle span {
  position: absolute;
}

#info .header-circle span {
  top: 6px;
  left: 11px;
  width: 24px;
  height: 32px;
  background: url(../img/icon-profile.png) no-repeat;
  background-size: 100% 100%;
}

#contactme .header-circle span {
  top: 7px;
  left: 8px;
  width: 30px;
  height: 31px;
  background: url(../img/icon-at.png) no-repeat;
  background-size: 100% 100%;
}

#home {
  position: relative;
  width: 100%;
  min-height: auto;
  text-align: center;
  color: #fff;
  background-image: url(../img/header.jpg);
  background-position: center top;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

#title {
  position: absolute;
  top: 8%;
  text-align: center;
  width: 100%;
  z-index: 999;
}

#title h1 {
  margin-bottom: 0;
}

#title .tagline {
  margin-top: 0.5em;
  font-size: 16px;
}

#title .tagline a {
  overflow: hidden;
  color: #021d30;
  position: relative;
  vertical-align: middle;
  display: inline-block;
}

#title .tagline span {
  position: relative;
  display: inline-block;
  padding: 0.5em 0 0.3em 0;
  vertical-align: middle;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

#title .tagline a span {
  padding: 0.5em 0.3em 0.3em 0.5em;
}

#title .tagline a span::before {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0.5em 0.3em 0.3em 0.5em;
  width: 100%;
  content: attr(data-hover);
  background-color: #021d30;
  color: #efa420;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

#title .tagline a:hover span,
#title .tagline a:focus span {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

#portrait {
  position: absolute;
  width: 239px;
  height: 677px;
  left: 51%;
  bottom: 5%;
}

@media (max-height: 1000px) {
  #portrait {
    width: 210px;
    height: 590px;
  }
}

@media (max-height: 800px) {
  #portrait {
    width: 178px;
    height: 500px;
  }
  #title {
    top: 5px !important;
  }
  #title h1 {
    font-size: 2em;
  }
}

@media (max-height: 600px) {
  #portrait {
    width: 151px;
    height: 425px;
  }
}

@media (max-height: 500px) {
  #portrait {
    width: 125px;
    height: 350px;
  }
}

#me {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  z-index: 97;
  visibility: hidden;
}

#flash-me {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  z-index: 98;
  visibility: hidden;
}

#info h2 {
  position: absolute;
  left: 80px;
  margin-top: 10px;
  font-family: "Oswald", sans-serif;
  color: #aae0ff;
  text-align: left;
  letter-spacing: 0.1em;
}

.call-to-action {
  margin-top: 15px;
  cursor: pointer;
  line-height: 2;
}

.call-to-action a {
  float: right;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2em;
  color: #efa420;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-align: right;
}

.call-to-action:hover .action-circle span,
.call-to-action:focus .action-circle span {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.action-circle {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  border: 2px solid #efa420;
  border-radius: 15px !important;
  -moz-border-radius: 15px !important;
  -webkit-border-radius: 15px !important;
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  transform: translateY(-4px);
}

.action-circle span {
  display: block;
  width: 100%;
  height: 60px;
  background: url(../img/icon-arrow-d.png) repeat-y;
  background-size: 11px 30px;
  background-position: center top;
  -webkit-transform: translateY(-30px);
  -moz-transform: translateY(-30px);
  transform: translateY(-30px);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.down-button {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.down-button:hover .action-circle span,
.down-button:focus .action-circle span {
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

#skill-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skill {
  margin-bottom: 1em;
  position: relative;
  clear: both;
  overflow: hidden;
}

.skill h3 {
  margin: 0 0 5px;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  text-align: left;
  letter-spacing: 0;
}

.paral {
  margin: 0 0.5%;
  width: 4%;
  height: 15px;
  float: left;
  background: #aae0ff;
  -webkit-transform: skew(-40deg);
  -moz-transform: skew(-40deg);
  transform: skew(-40deg);
}

.paral.nullBox {
  background: #02111b;
}

.prog {
  width: 98%;
  height: 15px;
  padding: 0 1%;
  background: none;
  border: none;
  overflow: hidden;
}

.slider-nav {
  position: absolute;
  top: 50%;
  right: 0;
  width: 80px;
  height: 160px;
  margin-top: -80px;
  z-index: 101;
}

.slider-nav .button-wrapper {
  position: relative;
  float: left;
}

.arrow-next,
.arrow-prev {
  position: absolute;
  z-index: 999;
  transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  -ms-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -webkit-transition: 0.5s ease-in-out;
}

.arrow-next {
  top: 27px;
  left: 22px;
  height: 25px;
  width: 25px;
  border-right: 2px solid #efa420;
  border-bottom: 2px solid #efa420;
  transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.button-next:hover .arrow-next {
  border-right: 2px solid #021d30;
  border-bottom: 2px solid #021d30;
}

.arrow-prev {
  top: 27px;
  left: 33px;
  height: 25px;
  width: 25px;
  border-left: 2px solid #efa420;
  border-bottom: 2px solid #efa420;
  transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.button-prev:hover .arrow-prev {
  border-left: 2px solid #021d30;
  border-bottom: 2px solid #021d30;
}

#work .slide .container-fluid {
  max-width: 1500px;
}

.showcase .port-imac {
  position: relative;
  z-index: 99;
}

.showcase .port-iphone {
  position: absolute;
  bottom: 0;
  right: 2%;
}

.showcase .port-imac .device,
.showcase .port-iphone .device{
  width: 100%;
  height: auto;
  z-index: 97;
}

.showcase .port-imac .screen {
  position: absolute;
  top: 6%;
  left: 4%;
  width: 92%;
  z-index: 100;
}

.showcase .port-iphone .screen {
  position: absolute;
  top: 11%;
  left: 6%;
  width: 88%;

  z-index: 96;
}

.content-area .ptv-wordmark {
  width: min(100%, 420px);
  margin-bottom: 20px;
}

.ptv-wordmark svg {
  display: block;
  width: 100%;
  height: auto;
}

.setlas-logo {
  --setlas-pin-w: 80px;
  --setlas-word-w: 176px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  line-height: 0;
}

.setlas-logo__pin  { width: var(--setlas-pin-w);  height: auto; display: block; }
.setlas-logo__word { width: var(--setlas-word-w); height: auto; display: block; }

.setlas-logo .setlas-eq-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.setlas-logo .setlas-eq-bar--1 { animation-name: setlas-bar1; animation-duration: 1.8s; }
.setlas-logo .setlas-eq-bar--2 { animation-name: setlas-bar2; animation-duration: 2.1s; }
.setlas-logo .setlas-eq-bar--3 { animation-name: setlas-bar3; animation-duration: 1.9s; }
.setlas-logo .setlas-eq-bar--4 { animation-name: setlas-bar4; animation-duration: 2.3s; }
.setlas-logo .setlas-eq-bar--5 { animation-name: setlas-bar5; animation-duration: 2.0s; }
.setlas-logo .setlas-eq-bar--6 { animation-name: setlas-bar6; animation-duration: 1.7s; }
.setlas-logo .setlas-eq-bar--7 { animation-name: setlas-bar7; animation-duration: 2.2s; }

@keyframes setlas-bar1 { 0%,100% { transform: scaleY(1);   } 25% { transform: scaleY(0.4); } 50% { transform: scaleY(0.8); } 75% { transform: scaleY(0.3); } }
@keyframes setlas-bar2 { 0%,100% { transform: scaleY(0.6); } 30% { transform: scaleY(1);   } 60% { transform: scaleY(0.3); } 80% { transform: scaleY(0.7); } }
@keyframes setlas-bar3 { 0%,100% { transform: scaleY(0.8); } 20% { transform: scaleY(0.3); } 45% { transform: scaleY(1);   } 70% { transform: scaleY(0.5); } }
@keyframes setlas-bar4 { 0%,100% { transform: scaleY(0.5); } 35% { transform: scaleY(0.9); } 55% { transform: scaleY(0.3); } 85% { transform: scaleY(1);   } }
@keyframes setlas-bar5 { 0%,100% { transform: scaleY(0.7); } 15% { transform: scaleY(0.4); } 40% { transform: scaleY(1);   } 65% { transform: scaleY(0.3); } }
@keyframes setlas-bar6 { 0%,100% { transform: scaleY(0.4); } 25% { transform: scaleY(1);   } 50% { transform: scaleY(0.6); } 75% { transform: scaleY(0.2); } }
@keyframes setlas-bar7 { 0%,100% { transform: scaleY(0.9); } 20% { transform: scaleY(0.3); } 55% { transform: scaleY(0.7); } 80% { transform: scaleY(1);   } }

@media (prefers-reduced-motion: reduce) {
  .setlas-logo .setlas-eq-bar { animation: none; transform: scaleY(0.55); }
}

@media (max-width: 767.98px) {
  #work .slide {
    transform: translateY(-50px);
    -o-transform: translateY(-50px);
    -ms-transform: translateY(-50px);
    -moz-transform: translateY(-50px);
    -webkit-transform: translateY(-50px);
  }
  #work .slide .showcase {
    margin-top: 65px;
    margin-bottom: 20px;
  }
}

#photo {
  background-color: #000;

  --photo-nav-h: 50px;

  --photo-img-w: 1600;
  --photo-img-h: 1066;
}

#photo .slide img {
  display: block;
  margin: auto;
  width: auto;
  height: 100%;
}

#photo .slide {
  -webkit-background-size: contain !important;
  -moz-background-size: contain !important;
  -o-background-size: contain !important;
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  height: 100%;
  position: relative;
}

#photo-preloader {
  z-index: 99;
}

#separator {
  position: absolute;
  left: 0;
  top: 50%;

  width: 0;
  height: 1px;
  line-height: 0;
  z-index: 8061;
  background-color: #efa420;
}

.blind-top,
.blind-bottom {
  left: 0;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 50%;
  z-index: 998;
  background: #021d30;
}

.blind-top {
  top: 0;
}

.blind-bottom {
  bottom: 0;
}

.blind-top.open {
  -webkit-transition: all 0.4s 0.4s ease-out;
  transition: all 0.4s 0.4s ease-out;
  -webkit-transform: translateY(-100%);

  -ms-transform: translateY(-100%);

  transform: translateY(-100%);

}

.blind-bottom.open {
  -webkit-transition: all 0.4s 0.4s ease-out;
  transition: all 0.4s 0.4s ease-out;
  -webkit-transform: translateY(100%);

  -ms-transform: translateY(100%);

  transform: translateY(100%);

}

.photo-menu .thumb-container .hover {
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
  font-size: 1.6em;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: #efa420;
  font-family: "Josefin Sans", sans-serif;
}

.photo-menu .thumb-container .hover span {
  position: relative;
  padding: 0 0.1em;
  top: 50%;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  display: block;
  visibility: hidden;
}

.photo-menu .thumb-container:hover .hover span {
  visibility: visible;
}

@media (max-width: 991.98px) {
  .photo-menu .thumb-container .hover {
    font-size: 1em;
    line-height: 1.2;
  }
}

.photo-menu .thumb-container:hover .hover {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

.nav-side-bar {
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.button-photo-menu {
  bottom: 0;
  z-index: 101;
}

.button-photo-menu .window {
  position: absolute;
  top: 30px;
  left: 25px;
  width: 30px;
  height: 22px;
}

.button-photo-menu .window span {
  width: 14px;
  height: 10px;
  background: #efa420;
  position: absolute;
  transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  -ms-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -webkit-transition: 0.5s ease-in-out;
}

.button-photo-menu:hover .window span {
  background: #000;
}

.button-photo-menu .window span.top-left {
  top: 0;
  left: 0;
}

.button-photo-menu .window span.top-right {
  top: 0;
  right: 0;
}

.button-photo-menu .window span.bottom-left {
  bottom: 0;
  left: 0;
}

.button-photo-menu .window span.bottom-right {
  bottom: 0;
  right: 0;
}

.form-legend {
  font-family: "Oswald", sans-serif;
  position: absolute;

  text-align: left;
  padding-left: 60px;
  margin: 0;
  font-size: 2em;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aae0ff;
  border: 0;
  border-bottom: none;
  width: calc(100% - 30px);
}

.form-control {
  background-color: #041420;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
  border: 1px solid #aae0ff;
  font-family: "Lato", sans-serif;
  font-size: 120%;
  font-weight: 300;
  text-align: left;
  line-height: 1.5;
  color: #aae0ff;
}

.form-control:focus {
  border-color: #efa420;
}

.form-control::-webkit-input-placeholder {
  color: #628fad;
}

.form-control:-moz-placeholder {
  color: #628fad;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #628fad;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #628fad;
}

.help-block {
  color: #628fad;
  text-align: left;
  font-size: 1em;
  font-weight: normal;
}

.help-block ul {
  list-style-type: none;
}

#success {
  font-size: 1.1em;
}

.alert-danger {
  background: none;
  border-color: #628fad;
  color: #ff0000;
}

.alert-success {
  background: none;
  border-color: #628fad;
  color: #00ff00;
}

.close {
  color: #aae0ff;
  text-shadow: none;
  opacity: 1;
}

.close:hover {
  color: #efa420;
  opacity: 1;
}

ul.contact-select {
  margin: 0;
  padding: 0;
  list-style-type: none;
  position: absolute;
  right: 15px;
  top: 10px;
}

.contact-select li {
  display: inline-block;
  position: relative;
  height: 32px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4em;
  line-height: 1.6;
  overflow: hidden;
  color: #aae0ff;

  transition: width 300ms ease;
}

.contact-select li a {
  color: #aae0ff;
}

.contact-select li a:hover {
  text-decoration: underline;
}

.contact-select li.phone {
  background: url(../img/icon-phone.png) no-repeat;
  background-position: left 3px;
  background-size: 25px 24px;
  width: 25px;
  padding-left: 30px;
  margin-right: 10px;
}

.contact-select li.mail {
  background: url(../img/icon-mail.png) no-repeat;
  background-position: left center;
  background-size: 30px 20px;
  width: 30px;
  padding-left: 35px;
}

.contact-select li.phone .contact-toggle,
.contact-select li.mail .contact-toggle {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  cursor: pointer;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
}

.contact-select li.phone .contact-toggle {
  width: 25px;
}

.contact-select li.mail .contact-toggle {
  width: 30px;
}

@media (max-width: 767.98px) {
  ul.contact-select {
    position: relative;
    right: 0;
    top: 0;
  }
  .contact-select li {
    width: auto !important;
  }

  .contact-select li.phone .contact-toggle,
  .contact-select li.mail .contact-toggle {
    cursor: default;
  }
}

.over {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#fog-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 100%;
}

#anim-me {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  z-index: 99;
}

#imac-flash,
#iphone-flash {
  z-index: 98;
}

#anim-imac,
#anim-iphone {
  z-index: 99;
}

.port-service {
  width: 100%;
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  text-align: center;
  color: #fff;
}

.port-build {
  text-align: center;
  color: #b3bbc0;
}

.btn {
  overflow: hidden;
  margin-bottom: 10px;
  padding: 0;
  width: 100%;
  font-size: 1.2em;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #efa420;
  border: 1px solid #efa420;
  background: none;
}

#work .btn {
  margin-top: 10px;
}

.btn.btn--secondary {
  font-size: 1em;
  letter-spacing: 0.2em;
  color: rgba(239, 164, 32, 0.7);
  border-color: rgba(239, 164, 32, 0.35);
}

.btn.btn--secondary .btn__label,
.btn.btn--secondary .btn__sub {
  position: static;
  display: block;
  width: auto;
  padding: 0;
  transition: none;
  transform: none;
}

.btn.btn--secondary:hover .btn__label,
.btn.btn--secondary:focus .btn__label,
.btn.btn--secondary:hover .btn__sub,
.btn.btn--secondary:focus .btn__sub {
  transform: none;
}

.btn.btn--secondary .btn__label {
  line-height: 1.3;
}

.btn.btn--secondary .btn__sub {
  margin-top: 2px;
  font-size: 0.72em;
  letter-spacing: 0.12em;
  line-height: 1.3;
  color: rgba(239, 164, 32, 0.45);
}

.btn.btn--secondary span {
  padding: 10px 0;
}

.btn.btn--secondary span::before {
  content: none;
}

.btn.btn--secondary:hover span,
.btn.btn--secondary:focus-within span {
  transform: none;
}

.btn.btn--secondary:hover,
.btn.btn--secondary:focus-within {
  background: none;
  border-color: #efa420;
}

.btn.btn--secondary:hover .btn__sub,
.btn.btn--secondary:focus-within .btn__sub {
  color: #efa420;
}

#contact .btn span {
  padding: 8px 0;
}

#contact .btn span::before {
  padding: 8px 0;
}

.btn:hover,
.btn:focus {
  color: #efa420;
  border-color: rgba(239, 164, 32, 0.9);
  background: none;
}

.btn a {
  display: block;
}

.btn span {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 12px 0;
  vertical-align: middle;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}

.btn span::before {
  position: absolute;
  top: 100%;
  left: 0;
  padding: 12px 0;
  width: 100%;
  content: attr(data-hover);
  font-weight: 700;
  color: #021d30;
  background: rgba(239, 164, 32, 0.9);
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.btn:hover span,
.btn:focus span,
.btn:focus-within span {
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  transform: translateY(-100%);
}

.btn.left {
  float: left;
  width: 49%;
  margin-right: 1%;
}

.btn.right {
  float: right;
  width: 49%;
  margin-left: 1%;
}

.port-desc {
  margin: 10px 0 15px;
}

.port-desc p {
  text-align: justify;
}

.call-to-action h2 {
  margin: 0 auto 20px;
}

@media (max-width: 767.98px) {
  #info .content-area {
    padding-top: 20px;
  }
  #info h2 {
    left: 75px;
    font-size: 1.8em;
  }
  #hitmeup .form-legend {
    font-size: 1.8em;
  }
  .call-to-action a {
    font-size: 1.1em;
    letter-spacing: 0.1em;
  }
  #skill-list {
    margin: 25px 0;
  }
}

#info p {
  text-align: justify;
}

#hitmeup .form-container {
  margin-top: 20px;
  margin-bottom: 5px;
}

#photo-menu-container {
  height: 100%;
}

.photo-menu {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;

  left: 0;
  right: 0;

}

.photo-menu {
  width: 100vw;
  height: 56.25vw;

  max-height: 100vh;
  max-width: 177.78vh;

}

.photo-menu .row {
  height: 25%;
}

.cardContainer {
  padding: 0;
  height: 100%;
  position: relative;
  min-height: 1px;
  width: 20%;
  float: left;
}

.cardWrapper {
  width: 100%;
  height: 100%;
  position: relative;

  cursor: pointer;
  -webkit-font-smoothing: antialiased;
}

.card {
  width: 100%;
  height: 100%;

  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.cardFace {
  position: absolute;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

@media (orientation: portrait) {
  .photo-menu {
    width: 100vw;
    height: 93.75vw;

    max-height: 100vh;
    max-width: 106.666666666667vh;

  }
  .cardWrapper,
  .cardFace {
    width: 100%;
    height: 0;
    padding-bottom: 75%;
  }
  .cardContainer {
    height: auto !important;
    width: 25%;
  }
}

.cardFace .bg-flipped {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -moz-filter: grayscale(1);
  -ms-filter: grayscale(1);
  -o-filter: grayscale(1);
  filter: grayscale(1);
}

.cardFace .cover {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.cardFace .cover .label {
  position: absolute;
  padding: 0 0.1em;
  top: 50%;
  width: 100%;
  display: block;
  color: #efa420;

  transform: translateY(-50%);
  font-size: 1.8em;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  font-family: "Josefin Sans", sans-serif;
}

.cardFace .cover .label span {
  display: block;
  font-size: 0.6em;
  line-height: 1.5;
  color: #ccc;
}

@media (max-width: 1199.98px) {
  .cardFace .cover .label {
    font-size: 1.4em;
    line-height: 1.2;
  }
}

.page-cover.black {
  background: rgba(0, 0, 0, 0.85);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
