/* Setup - setup.scss / variables.scss / mixins.scss */
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: .67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: .35em .75em .625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: '';
  clear: both;
  height: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

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

.skip-link {
  position: absolute;
  left: -1000px;
  top: 5px;
  z-index: 999;
  background: white;
  color: black;
}

.skip-link:focus {
  left: 0;
}

/* 
975px - header
900px - about me / projects / contact
470px - skills
*/
/*
accent: #EF414C
primary: #F3F7F0
secondary: #19323C
tertiary: #3F7FA9
yellow: #F8EC70
red: #F0575A
*/
/* Animations */
@-webkit-keyframes rotate-in {
  0% {
    opacity: 0;
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}
@keyframes rotate-in {
  0% {
    opacity: 0;
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
  }
}

@-webkit-keyframes slide-in {
  0% {
    -webkit-transform: translateX(25px);
            transform: translateX(25px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes slide-in {
  0% {
    -webkit-transform: translateX(25px);
            transform: translateX(25px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@-webkit-keyframes ebb-and-flow {
  0% {
    width: calc(100% - 15px);
    height: calc(100% + 15px);
    top: -7.5px;
    left: 7.5px;
  }
  100% {
    width: calc(100% - -15px);
    height: calc(100% + -15px);
    top: 7.5px;
    left: -7.5px;
  }
}

@keyframes ebb-and-flow {
  0% {
    width: calc(100% - 15px);
    height: calc(100% + 15px);
    top: -7.5px;
    left: 7.5px;
  }
  100% {
    width: calc(100% - -15px);
    height: calc(100% + -15px);
    top: 7.5px;
    left: -7.5px;
  }
}

@-webkit-keyframes spanner-anim {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
  100% {
    -webkit-transform: scaleY(1.1);
            transform: scaleY(1.1);
  }
}

@keyframes spanner-anim {
  0% {
    -webkit-transform: scaleY(1);
            transform: scaleY(1);
  }
  100% {
    -webkit-transform: scaleY(1.1);
            transform: scaleY(1.1);
  }
}

/* Type Styles - type.scss */
* {
  font-family: sans-serif;
}

html {
  font-size: 62.5%;
}

/* Global Styles - global.scss */
body {
  color: #19323C;
  overflow-x: hidden;
}

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

img {
  width: 100%;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h2, h3 {
  font-family: "Abril Fatface", cursive;
  letter-spacing: 3px;
  margin: 0;
}

p {
  font-family: "Work Sans", sans-serif;
}

.wrapper {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.button,
button {
  padding: 15px 20px;
  background-color: #486d87;
  border-radius: 100px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.35s, outline 0s;
  transition: all 0.35s, outline 0s;
  position: relative;
}

.button:hover span, .button:focus span,
button:hover span,
button:focus span {
  width: 110%;
  height: 90%;
  top: 5%;
  left: -5%;
}

.button:focus,
button:focus {
  outline: 1px dotted #EF414C;
}

.button span,
button span {
  display: block;
  position: absolute;
  height: 120%;
  width: 90%;
  top: -10%;
  left: 5%;
  border-radius: 100px;
  border: 1px solid #EF414C;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

button {
  border: none;
}

.hidden-button,
.hidden-button-small {
  position: absolute;
  top: 0;
  left: calc(20%);
  -webkit-transform: translateX(-30px) translateY(45px);
          transform: translateX(-30px) translateY(45px);
  z-index: 3;
}

.hidden-button path {
  fill: #EF414C;
  stroke: #EF414C;
}

.hidden-button-small {
  width: 20px;
  height: 20px;
  -webkit-transform: translateX(-10px) translateY(500px);
          transform: translateX(-10px) translateY(500px);
  border-radius: 50px;
  background-color: #EF414C;
  border: 1px solid #EF414C;
}

.active {
  background-color: #0000;
}

.active path {
  fill: none;
}

.hidden-button.active {
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.hidden-button-small.active {
  -webkit-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* Header Styles - header.scss */
header {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(20%, #7BB6DE), color-stop(20%, #F3F3F3));
  background-image: linear-gradient(to right, #7BB6DE 20%, #F3F3F3 20%);
  min-height: 95vh;
  position: relative;
}

nav {
  position: fixed;
  top: 27%;
  right: 40px;
  z-index: 20;
}

@media only screen and (max-width: 760px) {
  nav {
    top: 10%;
  }
}

@media only screen and (max-width: 680px) {
  nav {
    top: 5%;
  }
}

nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: 2rem;
}

nav li {
  text-align: right;
  margin: 10px 0;
}

nav a {
  color: #19323C;
  position: relative;
  z-index: 2;
}

nav .activeNav span,
nav a:hover span,
nav a:focus span {
  border-color: #7BB6DE;
}

nav .activeNav span::after, nav .activeNav span::before,
nav a:hover span::after,
nav a:hover span::before,
nav a:focus span::after,
nav a:focus span::before {
  border-color: #7BB6DE;
}

nav .activeNav span::before,
nav a:hover span::before,
nav a:focus span::before {
  width: 5px;
  left: -5px;
}

nav span {
  position: absolute;
  display: block;
  border-bottom: 1px solid #EF414C;
  width: calc(110% - 2px);
  height: 20px;
  right: -1.5px;
  top: 30%;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

nav span::after, nav span::before {
  content: '';
  position: absolute;
  display: block;
  height: 100%;
  width: 5px;
  bottom: -1px;
  border: 1px solid #EF414C;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

nav span::before {
  width: 10px;
  left: -10px;
  border-right: none;
}

nav span::after {
  right: -5px;
  border-left: none;
}

h1 {
  margin: 10px 0;
  font-family: "Abril Fatface", cursive;
  font-size: 5rem;
  text-align: left;
}

@media only screen and (max-width: 680px) {
  h1 {
    font-size: 4rem;
  }
}

@media only screen and (max-width: 470px) {
  h1 {
    text-align: center;
  }
}

.header-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 220px 0 50px;
}

@media only screen and (max-width: 680px) {
  .header-content {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.header-image {
  position: relative;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 150px;
}

@media only screen and (max-width: 680px) {
  .header-image {
    display: none;
  }
}

.header-image span {
  background-color: #ef414c;
  width: 15px;
  height: 60px;
  margin: 10px 5px;
  -webkit-animation: spanner-anim 1s infinite alternate ease-in-out;
          animation: spanner-anim 1s infinite alternate ease-in-out;
}

.header-image span:nth-child(1) {
  height: 50px;
  -webkit-animation-delay: 0.07143s;
          animation-delay: 0.07143s;
}

.header-image span:nth-child(2) {
  height: 100px;
  -webkit-animation-delay: 0.14286s;
          animation-delay: 0.14286s;
}

.header-image span:nth-child(3) {
  height: 150px;
  -webkit-animation-delay: 0.21429s;
          animation-delay: 0.21429s;
}

.header-image span:nth-child(4) {
  height: 128.57143px;
  -webkit-animation-delay: 0.28571s;
          animation-delay: 0.28571s;
}

.header-image span:nth-child(5) {
  height: 107.14286px;
  -webkit-animation-delay: 0.35714s;
          animation-delay: 0.35714s;
}

.header-image span:nth-child(6) {
  height: 85.71429px;
  -webkit-animation-delay: 0.42857s;
          animation-delay: 0.42857s;
}

.header-image span:nth-child(7) {
  height: 64.28571px;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

.header-image.animate {
  -webkit-animation: intro-squash 1.5s forwards;
          animation: intro-squash 1.5s forwards;
}

@-webkit-keyframes intro-squash {
  0% {
    -webkit-transform: none;
            transform: none;
    left: 0;
  }
  100% {
    -webkit-transform: scaleY(0.05);
            transform: scaleY(0.05);
    left: 47.5%;
  }
}

@keyframes intro-squash {
  0% {
    -webkit-transform: none;
            transform: none;
    left: 0;
  }
  100% {
    -webkit-transform: scaleY(0.05);
            transform: scaleY(0.05);
    left: 47.5%;
  }
}

.header-text {
  padding-right: 30%;
  position: relative;
}

@media only screen and (max-width: 975px) {
  .header-text {
    padding-right: 15%;
  }
}

@media only screen and (max-width: 760px) {
  .header-text {
    padding-right: 5%;
  }
}

@media only screen and (max-width: 680px) {
  .header-text {
    padding: 0;
  }
}

.header-text p {
  margin: 0;
  text-align: center;
  font-size: 1.6rem;
}

.header-text h2 {
  margin: 0;
  font-size: 2.8rem;
}

@media only screen and (max-width: 470px) {
  .header-text h2 {
    text-align: center;
  }
}

.header-resume {
  margin: 100px auto 0;
  display: block;
  width: 150px;
  text-align: center;
}

.egg {
  cursor: pointer;
}

@media only screen and (max-width: 470px) {
  .egg {
    display: block;
  }
}

@media only screen and (max-width: 400px) {
  .egg {
    margin: 10px 0;
  }
}

/* Main Styles - header.scss */
main h2 {
  font-size: 3rem;
  text-align: center;
}

main h3 {
  font-size: 2.6rem;
}

.about-me {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}

@media only screen and (max-width: 680px) {
  .about-me {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.about-me h3, .about-me p {
  font-size: 2.4rem;
  line-height: 1.5;
}

.about-me .text-highlight {
  color: #EF414C;
}

.profile-text {
  width: calc(60% - 10px);
  margin-right: 10px;
  padding-right: 65px;
  padding-top: 120px;
}

@media only screen and (max-width: 900px) {
  .profile-text {
    padding-right: 20px;
  }
}

@media only screen and (max-width: 680px) {
  .profile-text {
    padding-top: 20px;
    width: 100%;
    text-align: center;
  }
}

.profile-photo {
  width: calc(40% - 10px);
  margin-left: 10px;
  position: relative;
  top: -50px;
}

@media only screen and (max-width: 1150px) {
  .profile-photo img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center 25%;
       object-position: center 25%;
    height: 100%;
  }
}

@media only screen and (max-width: 680px) {
  .profile-photo {
    top: -10px;
    margin-left: 0;
    width: 100%;
    height: 250px;
  }
}

.profile-photo::after {
  content: '';
  display: block;
  width: calc(100% - 15px);
  height: calc(100% + 15px);
  position: absolute;
  top: -7.5px;
  left: 7.5px;
  border: 1px solid #EF414C;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.profile-photo:hover::after {
  width: calc(100% - -15px);
  height: calc(100% + -15px);
  top: 7.5px;
  left: -7.5px;
}

.profile-photo .profile-photo-tag {
  display: none;
}

.profile-photo:active .profile-photo-tag {
  display: block;
  position: absolute;
}

.my-skills {
  margin: 50px 0 140px;
}

.my-skills .skill-highlight {
  position: absolute;
  height: 160px;
  width: 100%;
  background-color: #7BB6DE;
}

.my-skills h2 {
  padding: 20px;
  position: relative;
  top: 50px;
}

.my-skills ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  position: relative;
  top: 50px;
  width: 100%;
}

.my-skills li {
  width: 190px;
  margin: 10px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  font-size: 2rem;
  -webkit-transform-origin: top;
          transform-origin: top;
}

@media only screen and (max-width: 470px) {
  .my-skills li {
    width: calc(50% - 20px);
  }
}

.my-skills li .skill-icon {
  width: 100%;
  height: 100px;
  padding: 20px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  background-color: #F3F3F3;
  border-left: 2px solid #EF414C;
  font-size: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-transition: -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
  transition: -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
  transition: transform 0.35s, box-shadow 0.35s;
  transition: transform 0.35s, box-shadow 0.35s, -webkit-transform 0.35s, -webkit-box-shadow 0.35s;
}

.my-skills li p {
  margin: 0;
  position: absolute;
  bottom: 10px;
  left: -4%;
  width: 100%;
  text-align: center;
  opacity: 0;
  color: #19323C;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

@media only screen and (max-width: 470px) {
  .my-skills li p {
    opacity: 1;
    left: 0;
  }
}

.my-skills li:hover .skill-icon {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-box-shadow: 0 0 15px rgba(25, 50, 60, 0.5);
          box-shadow: 0 0 15px rgba(25, 50, 60, 0.5);
}

.my-skills li:hover p {
  opacity: 1;
  left: 0;
}

.project {
  width: 95%;
  margin: 180px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media only screen and (max-width: 900px) {
  .project {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    margin: 140px auto;
  }
}

.project:first-of-type {
  margin-top: 120px;
}

.project:last-of-type {
  margin-bottom: 90px;
}

.project h3 {
  margin-bottom: 30px;
}

@media only screen and (max-width: 400px) {
  .project h3 {
    text-align: center;
  }
}

.project:nth-of-type(2n) {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
}

@media only screen and (max-width: 900px) {
  .project:nth-of-type(2n) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

.project:nth-of-type(2n) .project-image {
  margin: 0;
  margin-right: 20px;
}

@media only screen and (max-width: 900px) {
  .project:nth-of-type(2n) .project-image {
    margin-right: 0;
  }
}

.project:nth-of-type(2n) .project-image ul {
  left: -30px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

@media only screen and (max-width: 470px) {
  .project:nth-of-type(2n) .project-image ul {
    left: 0;
  }
}

.project:nth-of-type(2n) .project-image .project-image-border {
  left: -10px;
}

@media only screen and (max-width: 900px) {
  .project:nth-of-type(2n) .project-image .project-image-border {
    left: calc(40% - 20px);
  }
}

@media only screen and (max-width: 680px) {
  .project:nth-of-type(2n) .project-image .project-image-border {
    left: 15%;
  }
}

@media only screen and (max-width: 470px) {
  .project:nth-of-type(2n) .project-image .project-image-border {
    left: 0%;
  }
}

.project:nth-of-type(2n) .project-image .project-image-border::before {
  left: -10px;
}

.project:nth-of-type(2n) .project-image .project-image-border:hover::before {
  left: 10px;
}

.project:nth-of-type(2n) .project-text {
  padding-right: 0;
  padding-left: 20px;
  margin: 0;
  margin-left: 20px;
}

@media only screen and (max-width: 900px) {
  .project:nth-of-type(2n) .project-text {
    margin: 0;
    padding: 0;
    margin-top: 50px;
  }
}

.project a {
  display: block;
  width: calc(50% - 40px);
  margin: 20px 10px;
  text-align: center;
  font-size: 1.8rem;
}

@media only screen and (max-width: 470px) {
  .project a {
    width: 100%;
  }
}

.project p {
  font-size: 2rem;
  line-height: 1.5;
}

.project p:last-of-type {
  margin-bottom: 35px;
}

.project .sub-title {
  color: rgba(25, 50, 60, 0.6);
  font-size: 2rem;
  font-family: "Abril Fatface", cursive;
  padding-left: 10px;
}

.project .project-text,
.project .project-image {
  position: relative;
  width: calc(50% - 20px);
}

@media only screen and (max-width: 900px) {
  .project .project-text,
  .project .project-image {
    width: 100%;
  }
}

.project .project-text {
  padding-right: 20px;
  margin-right: 20px;
}

@media only screen and (max-width: 900px) {
  .project .project-text {
    margin: 0;
    padding: 0;
    margin-top: 50px;
  }
}

.project .project-image {
  background-color: #F3F3F3;
  padding: 0px 0;
  margin-left: 10px;
}

@media only screen and (max-width: 900px) {
  .project .project-image {
    margin-left: 0;
  }
}

.project .project-image ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  left: 30px;
  top: -50px;
}

@media only screen and (max-width: 470px) {
  .project .project-image ul {
    left: 0;
  }
}

.project .project-image li {
  color: #414141;
  margin: 5px;
  padding: 5px;
  font-size: 1.6rem;
}

.project .project-image-border {
  position: relative;
  left: 20px;
  top: -70px;
}

@media only screen and (max-width: 900px) {
  .project .project-image-border {
    width: 60%;
  }
}

@media only screen and (max-width: 680px) {
  .project .project-image-border {
    width: 80%;
    left: 5%;
  }
  .project .project-image-border img {
    -o-object-fit: cover;
       object-fit: cover;
  }
}

@media only screen and (max-width: 470px) {
  .project .project-image-border {
    width: 100%;
    left: 0;
  }
}

.project .project-image-border::before {
  content: '';
  display: block;
  height: calc(100% + 20px);
  width: 100%;
  border: 1px solid #EF414C;
  position: absolute;
  top: -10px;
  right: -10px;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.project .project-image-border:hover::before {
  right: 10px;
}

.contact-flex {
  width: 95%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 20px;
}

@media only screen and (max-width: 680px) {
  .contact-flex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .contact-flex {
    width: 100%;
  }
}

.contact-flex ul {
  width: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  position: relative;
  padding-top: 90px;
  padding-right: 80px;
}

@media only screen and (max-width: 900px) {
  .contact-flex ul {
    padding-right: 70px;
  }
}

@media only screen and (max-width: 680px) {
  .contact-flex ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    width: 80%;
    padding-right: 0;
  }
}

@media only screen and (max-width: 400px) {
  .contact-flex ul {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-top: 20px;
  }
}

.contact-flex li {
  margin: 10px 0;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: -webkit-transform 0.35s;
  transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  transition: transform 0.35s, -webkit-transform 0.35s;
}

.contact-flex li:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

@media only screen and (max-width: 400px) {
  .contact-flex li {
    width: calc(100% / 3);
    text-align: center;
  }
}

.contact-flex a {
  color: #19323C;
  font-size: 2.5rem;
  position: relative;
}

.contact-flex a i {
  position: relative;
  z-index: 2;
  background-color: #fff;
  text-align: center;
}

.contact-flex a::after {
  content: '';
  display: block;
  width: 125%;
  height: 100%;
  position: absolute;
  top: 30%;
  right: 0px;
  z-index: 1;
  border: 1px solid #EF414C;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

@media only screen and (max-width: 680px) {
  .contact-flex a::after {
    width: 100%;
    right: 12.5%;
  }
}

.contact-flex a:hover::after, .contact-flex a:focus::after {
  width: 100%;
  right: 12.5%;
}

@media only screen and (max-width: 680px) {
  .contact-flex a:hover::after, .contact-flex a:focus::after {
    top: -25%;
    height: 150%;
  }
}

form {
  width: 50%;
  padding: 20px 40px 70px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
  top: 30px;
  background-color: #F3F3F3;
  color: #19323C;
  font-size: 2rem;
}

@media only screen and (max-width: 900px) {
  form {
    width: 80%;
  }
}

@media only screen and (max-width: 680px) {
  form {
    width: 80%;
  }
}

form h3 {
  margin: 10px 0;
}

form p {
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
}

form input,
form textarea {
  margin-top: 5px;
  margin-bottom: 20px;
  background-color: #fff0;
  color: #19323C;
  border: none;
  padding: 10px;
}

form input:required, form input:invalid,
form textarea:required,
form textarea:invalid {
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}

form input {
  height: 50px;
  position: relative;
  z-index: 2;
}

form input,
form textarea {
  border: 2px solid #fff0;
}

form input:focus,
form textarea:focus {
  outline: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  border: 2px solid #EF414C;
}

form input:focus::-webkit-input-placeholder,
form textarea:focus::-webkit-input-placeholder {
  opacity: 0.9;
}

form input:focus:-ms-input-placeholder,
form textarea:focus:-ms-input-placeholder {
  opacity: 0.9;
}

form input:focus::-ms-input-placeholder,
form textarea:focus::-ms-input-placeholder {
  opacity: 0.9;
}

form input:focus::placeholder,
form textarea:focus::placeholder {
  opacity: 0.9;
}

form textarea {
  resize: none;
  height: 250px;
  position: relative;
  z-index: 2;
}

form span {
  position: relative;
}

form button span {
  position: absolute;
}

form textarea + span::after,
form input + span::after {
  content: '';
  display: block;
  width: 150%;
  position: absolute;
  left: -25%;
  z-index: 1;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  border: 1px solid #EF414C;
}

form input + span::after {
  height: 45px;
  top: -67.5px;
}

form textarea + span::after {
  height: 245px;
  top: -265px;
}

form input:focus + span::after,
form input:invalid + span::after,
form textarea:focus-within + span::after,
form textarea:invalid + span::after {
  width: 100%;
  height: 50px;
  left: 0;
  top: -70px;
}

form input:focus + span::after,
form input:invalid + span::after {
  height: 50px;
  top: -70px;
}

form textarea:focus-within + span::after,
form textarea:invalid + span::after {
  height: 250px;
  top: -270px;
}

/* Footer Styles - footer.scss */
footer {
  background-color: #7BB6DE;
  text-align: center;
}

footer p {
  padding: 75px 0 25px;
  margin: 0;
  color: #19323C;
  font-size: 1.9rem;
}
