/*Colors from Blue Hippopotamus by LJK http://www.colourlovers.com/palette/149132/Blue_Hippopotamus */
@keyframes moveInHero {
  0% {
    opacity: 0;
    transform: translateY(2rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInHeroCue {
  0% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}
@keyframes fadeOutHeroCue {
  0% {
    opacity: 1;
  }
  99% {
    opacity: 0;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html,
body {
  overflow-x: hidden;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
html ::-webkit-scrollbar {
  width: 1.2rem;
}
html ::-webkit-scrollbar-track:vertical {
  background-color: #757575;
  padding: 1px;
}
html ::-webkit-scrollbar-thumb:vertical {
  border-radius: 0.6rem;
  background-color: #bbdefb;
}
html ::-webkit-scrollbar-thumb:vertical:active {
  background-color: #cde7fc;
}
@media only screen and (max-width: 35em) {
  html {
    font-size: 57.5%;
  }
}
@media only screen and (max-width: 23.75em) {
  html {
    font-size: 52.5%;
  }
}

body {
  box-sizing: border-box;
}

body {
  font-family: "PT Sans", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #212121;
}

h1,
h2,
h3 {
  font-weight: 500;
}

.hero__name {
  font-size: 7rem;
  text-align: center;
  line-height: 1.3;
}
.hero__tagline li {
  font-size: 3.2rem;
}
@media only screen and (max-width: 35.75em) {
  .hero__name {
    font-size: 6.4rem;
  }
  .hero__tagline li {
    font-size: 2.8rem;
  }
}
@media only screen and (max-width: 30.5em) {
  .hero__name {
    margin-bottom: 2rem;
  }
}
@media only screen and (max-width: 23.75em) {
  .hero__name {
    font-size: 7rem;
  }
  .hero__tagline li {
    font-size: 2.8rem;
  }
}

.about__description {
  font-size: 2.2rem;
}
.about__description--emphasis {
  font-size: 4rem;
  line-height: 0rem;
}

.flipcard__name {
  color: #fff;
  font-size: 5rem;
  text-align: center;
}
.flipcard__description {
  font-size: 2rem;
  color: #212121;
}
.flipcard__link {
  color: #212121;
  font-size: 2.5rem;
  transition: transform 0.2s;
  text-decoration: none;
}
.flipcard__link:hover {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(1.1) translateZ(0);
  text-decoration: none;
}
@media only screen and (hover: none) {
  .flipcard__link:hover {
    transform: scale(1);
    color: #212121;
  }
}

.flipcard {
  perspective: 200rem;
  -moz-perspective: 200rem;
  position: relative;
  width: 45%;
  height: 40rem;
  margin-bottom: 5rem;
}
.flipcard__side {
  height: 40rem;
  transition: all 0.8s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 1rem;
  overflow: hidden;
  padding: 2rem;
  box-shadow: 0 1.5rem 4rem rgba(33, 33, 33, 0.25);
}
.flipcard__side--front {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flipcard__side--back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}
.flipcard__side--back--1, .flipcard__side--back--4 {
  background-color: #bbdefb;
}
.flipcard__side--back--2, .flipcard__side--back--3 {
  background-color: #b2dfdb;
}
.flipcard:hover .flipcard__side--front {
  transform: rotateY(-180deg);
}
.flipcard:hover .flipcard__side--back {
  transform: rotateY(0);
}
.flipcard__links-container {
  display: flex;
  flex-direction: column;
}
.flipcard__link {
  display: flex;
  align-items: center;
}
.flipcard__link i {
  margin-right: 1rem;
  font-size: 3.5rem;
}
.flipcard__link:not(:last-child) {
  margin-bottom: 1rem;
}
.flipcard .project-image {
  background-size: cover;
  background-position: center;
}
.flipcard .project-image--1 {
  background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/geckrello.png");
}
.flipcard .project-image--2 {
  background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/calculator.png");
}
.flipcard .project-image--3 {
  background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/mapbox.png");
}
.flipcard .project-image--4 {
  background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/blender.png");
}
@media only screen and (hover: none), (pointer: coarse) {
  .flipcard {
    height: 60rem;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(33, 33, 33, 0.25);
  }
  .flipcard__side {
    height: auto;
    position: relative;
    box-shadow: none;
    border-radius: 0;
  }
  .flipcard__side--front {
    height: 40%;
    border-radius: 10px 10px 0 0;
  }
  .flipcard__side--back {
    height: 60%;
    transform: rotateY(0);
    border-radius: 0 0 1rem 1rem;
  }
  .flipcard:hover .flipcard__side--front {
    transform: rotateY(0);
  }
}
@media only screen and (max-width: 62.5em) {
  .flipcard .project-image {
    background-size: cover;
    background-position: center;
  }
  .flipcard .project-image--1 {
    background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/geckrello.med.png");
  }
  .flipcard .project-image--2 {
    background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/calculator.med.png");
  }
  .flipcard .project-image--3 {
    background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/mapbox.med.png");
  }
  .flipcard .project-image--4 {
    background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/blender.med.png");
  }
}
@media only screen and (max-width: 40em) {
  .flipcard {
    width: 80%;
  }
  .flipcard--1 {
    order: 1;
  }
  .flipcard--2 {
    order: 2;
  }
  .flipcard--3 {
    order: 4;
  }
  .flipcard--4 {
    order: 3;
  }
}
@media only screen and (max-width: 23.75em) {
  .flipcard {
    width: 90%;
  }
  .flipcard .project-image {
    background-size: cover;
    background-position: center;
  }
  .flipcard .project-image--1 {
    background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/geckrello.small.png");
  }
  .flipcard .project-image--2 {
    background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/calculator.small.png");
  }
  .flipcard .project-image--3 {
    background-image: linear-gradient(to right bottom, rgba(0, 121, 107, 0.8), rgba(178, 223, 219, 0.6)), url("../../img/mapbox.small.png");
  }
  .flipcard .project-image--4 {
    background-image: linear-gradient(to right bottom, rgba(25, 118, 210, 0.8), rgba(187, 222, 251, 0.6)), url("../../img/blender.small.png");
  }
}

.navbar {
  background-color: transparent;
  width: 100%;
  opacity: 1;
  position: fixed;
  z-index: 4;
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.navbar .navbar-nav {
  width: 30%;
  margin: 0 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.navbar .nav-item {
  font-size: 2.2rem;
  list-style: none;
}
.navbar .nav-item .nav-link {
  color: #fff;
  text-decoration: none;
}
.navbar .nav-item .nav-link:hover {
  color: #bbdefb;
}

@media only screen and (max-width: 56.875em) {
  .navbar .navbar-nav {
    width: 40%;
  }
}
@media only screen and (max-width: 46.25em) {
  .navbar .navbar-nav {
    width: 50%;
  }
}
@media only screen and (max-width: 32.5em) {
  .navbar .navbar-nav {
    width: 100%;
  }
}
.about {
  position: relative;
  background-color: #dddddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20rem 10rem;
}
.about .background-fill-up {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2000px;
  transform: translateY(-100%);
  background-color: #dddddd;
}
.about__content {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.about__headshot {
  width: 25rem;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 1.5rem 4rem rgba(33, 33, 33, 0.4);
}
.about__description {
  width: 60%;
  margin-left: 2rem;
}
@media only screen and (max-width: 46.25em) {
  .about {
    flex-direction: column;
    justify-content: center;
  }
  .about__content {
    flex-direction: column;
    justify-content: center;
  }
  .about__headshot {
    margin-bottom: 4rem;
  }
  .about__description {
    width: 90%;
    margin-left: 0;
  }
}
@media only screen and (max-width: 36.875em) {
  .about {
    padding: 0 5rem 10rem 5rem;
  }
}
@media only screen and (max-width: 26.875em) {
  .about {
    padding: 5rem 2rem 10rem 2rem;
  }
}
@media only screen and (max-width: 23.45em) {
  .about {
    padding: 6rem 1.5rem 10rem 1.5rem;
  }
}

#contact {
  background-color: #454857;
  padding: 15rem 1rem 15rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}
#contact .row {
  margin-top: 10rem;
}
#contact h2 {
  font-size: 5rem;
  margin-bottom: 3rem;
}
#contact p {
  text-align: center;
  margin-bottom: 1rem;
}
#contact p,
#contact .btn {
  font-size: 2.4rem;
}
#contact #email-me {
  color: white;
  text-decoration: underline;
}
#contact ul,
#contact li {
  padding: 0;
  vertical-align: baseline;
}
#contact ul {
  list-style-type: none;
}
#contact ul li:not(:last-child) {
  margin-right: 2rem;
}
#contact ul li {
  display: inline-block;
}
#contact ul li i {
  color: white;
  font-size: 4.8rem;
  transition: transform 0.2s;
}
#contact ul li i:hover {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(1.1) translateZ(0);
  text-decoration: none;
}
@media only screen and (hover: none) {
  #contact ul li i:hover {
    transform: scale(1);
  }
}

.hero {
  background-image: linear-gradient(to right, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 0.8)), url(../img/hong-kong-1990268_1920.jpg);
  background-size: cover;
  padding: 10rem 5rem;
  height: calc(100vh / (80 / 100));
  height: calc(var(--vh, 1vh) * 100 / (80 / 100));
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0% 100%);
  z-index: 2;
  position: relative;
  color: #fff;
}
.hero__container {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero__row {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: moveInHero 1s ease-out;
}
.hero__tagline {
  width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  justify-content: space-evenly;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.hero__tagline li {
  width: 16rem;
  text-align: center;
}
.hero__links {
  display: flex;
  justify-content: center;
  list-style: none;
}
.hero__link {
  font-size: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__link:not(:last-child) {
  margin-right: 3rem;
}
.hero__link a {
  color: #fff;
}
.hero__link--label {
  font-size: 1.6rem;
  visibility: hidden;
}
.hero__link:hover .hero__link--label {
  visibility: visible;
}
.hero__cue {
  color: #fff;
  text-decoration: none;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  display: none;
}
.hero__cue:hover, .hero__cue:focus, .hero__cue:visited, .hero__cue:link, .hero__cue:active {
  color: inherit;
  text-decoration: none;
}
.hero__cue .hero-cue-fade-in {
  color: blue;
  animation: fadeInHeroCue 0.4s;
}
.hero__cue .hero-cue-fade-out {
  animation: fadeOutHeroCue 0.4s;
}
@media only screen and (max-width: 65em) {
  .hero {
    background-image: linear-gradient(to right, rgba(25, 118, 210, 0.8), rgba(25, 118, 210, 0.8)), url(../img/hong-kong-1990268_1280.jpg);
  }
}
@media only screen and (hover: none) {
  .hero__link:hover .hero__link--label {
    visibility: hidden;
  }
}
@media only screen and (max-width: 39.75em) {
  .hero__tagline {
    display: none;
  }
}
@media only screen and (max-width: 36.875em) {
  .hero {
    height: calc(100vh / (87 / 100));
    height: calc(var(--vh, 1vh) * 100 / (87 / 100));
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 87%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 87%, 0% 100%);
  }
}
@media only screen and (max-width: 23.45em) {
  .hero {
    height: calc(100vh / (92 / 100));
    height: calc(var(--vh, 1vh) * 100 / (92 / 100));
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0% 100%);
  }
}
@media screen and (min-device-aspect-ratio: 1/1) and (orientation: landscape) and (hover: none) and (max-height: 40em) {
  .hero__tagline {
    display: none;
  }
}

#portfolio {
  padding: 10rem 0;
}
#portfolio .row {
  margin-bottom: 70px;
}
#portfolio h2 {
  color: #212121;
  margin-bottom: 5rem;
  font-size: 5rem;
  text-align: center;
}
#portfolio .flipcard-container {
  display: flex;
  justify-content: space-around;
  align-content: space-around;
  flex-wrap: wrap;
}
@media only screen and (min-width: 100em) {
  #portfolio .flipcard-container {
    width: 1500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/*# sourceMappingURL=style.css.map */
