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;
}

.sr-only {
  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 0);
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: #FBF0F1;
  color: #172F55;
  font-family: 'Source Sans Pro', Sans-Serif;
  overflow-x: hidden;
}

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

/* Wrapper styles */
.wrapper {
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #172F55;
}

h1 {
  font-size: 6.5rem;
}

h2 {
  font-size: 3.0rem;
}

h3 {
  font-size: 2.5rem;
}

a {
  font-size: 1.8rem;
  color: #172F55;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

li {
  list-style: none;
}

p {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

button {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

.visuallyHidden: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;
}

nav {
  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-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.nav-container {
  padding: 10px 10%;
  background-color: #172F55;
  position: fixed;
  width: 100%;
  z-index: 2;
}

.nav-container.scrolled {
  background-color: #172F55 !important;
  -webkit-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

.nav-styles {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-transform: lowercase;
}

.nav-styles li {
  margin-right: 80px;
}

.nav-styles li:last-child {
  margin-right: 0;
}

.nav-styles a {
  color: #FBF0F1;
}

.nav-styles a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 50%;
  z-index: -1;
}

.nav-styles a:hover::after {
  background: rgba(236, 203, 201, 0.5);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.nav-toggle span {
  display: none;
}

.nav-toggle #toggle {
  display: none;
}

.nav-logo {
  font-size: 3.0rem;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-transform: lowercase;
  color: #FBF0F1;
}

#container {
  position: absolute;
  left: 50%;
  top: 43.5%;
  overflow: hidden;
}

#container canvas {
  -webkit-transform: scale(1.5, 1.5);
          transform: scale(1.5, 1.5);
}

/* Header styles */
header {
  background-color: #172F55;
}

.intro {
  height: 99.5vh;
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
}

.logo h2 {
  font-size: 9.0rem;
  color: #FBF0F1;
  margin: 0;
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
  text-align: center;
  line-height: 1.05;
}

.rotate {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.mouse-arrow {
  color: #FBF0F1;
  display: block;
  margin-top: 10%;
}

.mouse-arrow a {
  border: 2px solid #FBF0F1;
  width: 26px;
  height: 40px;
  display: block;
  border-radius: 20px;
}

.mouse-arrow a:hover {
  border: 2px solid #ECCBC9;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.mouse-arrow span {
  background: #FBF0F1;
  display: block;
  width: 2px;
  height: 5px;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
  -webkit-animation-name: mouse-effect;
          animation-name: mouse-effect;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
}

.svg-divide {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

svg {
  height: 100%;
  width: 100%;
}

path {
  stroke: none;
  fill: #FBF0F1;
}

@-webkit-keyframes mouse-effect {
  0% {
    margin-top: 0;
    opacity: 0;
  }
  100% {
    margin-top: 15px;
  }
}

@keyframes mouse-effect {
  0% {
    margin-top: 0;
    opacity: 0;
  }
  100% {
    margin-top: 15px;
  }
}

/* About styles */
.about {
  margin-top: 80px;
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.about h2 {
  text-align: center;
  text-transform: lowercase;
}

.about a {
  margin-top: 20px;
}

.about a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 90%;
  height: 50%;
  z-index: -1;
}

.about a:hover::after {
  background: rgba(236, 203, 201, 0.5);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.about-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: -100px;
}

.resume-link {
  background-color: #ECCCCA;
  display: inline-block;
  padding: 5px 10px;
  border-radius: 5px;
  margin-top: 20px;
  margin-left: 20px;
}

.resume-link:hover {
  background-color: #E4E7EC;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.about-me {
  margin-bottom: 100px;
  overflow: hidden;
}

.about-me h1 {
  margin-top: 100px;
}

.about-me p {
  padding: 5px 0;
  padding-left: 10px;
  border-left: 10px solid #ECCCCA;
  width: 80%;
}

.about-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.about-img img {
  width: 500px;
  -webkit-box-shadow: 20px 20px 0px #ECCCCA;
          box-shadow: 20px 20px 0px #ECCCCA;
}

.social-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-top: 15px;
  padding-left: 10px;
}

.social-info i {
  color: #172F55;
  font-size: 3.5rem;
  margin-left: 10px;
  padding-top: 15px;
  padding-right: 20px;
}

.social-info i:hover {
  color: #ECCCCA;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

/* Projects styles */
.projects {
  overflow: hidden;
  margin-top: 80px;
}

.projects h2 {
  text-align: center;
}

.projects-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 350px;
  margin: 80px 0;
  -webkit-box-shadow: 20px 20px 0 #FFF;
          box-shadow: 20px 20px 0 #FFF;
  position: relative;
}

.img-container {
  width: 50%;
  height: auto;
}

.img-container img {
  -o-object-fit: cover;
     object-fit: cover;
}

.text-container {
  width: 50%;
  text-align: left;
  padding: 40px;
  background-color: #FFF;
  margin-top: 20px;
}

.text-container p {
  margin: 15px 0;
}

.text-container a {
  background-color: #ECCCCA;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 10px;
}

.text-container a:hover {
  background-color: #E4E7EC;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.right-dots {
  z-index: -10;
  position: absolute;
  top: -55px;
  right: -300px;
}

.right-dots img {
  opacity: 0.5;
  width: 60%;
}

.left-dots {
  z-index: -10;
  position: absolute;
  top: -150px;
  left: -80px;
}

.left-dots img {
  opacity: 0.5;
  width: 60%;
}

.url-button {
  margin-top: 20px;
}

/* Skills styles */
.skills {
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 0px 0 80px 0;
}

.skills h2 {
  margin-top: 80px;
}

.skills-list {
  margin: 20px 20px 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.skills-list li {
  margin-top: 50px;
  width: 130px;
  text-align: center;
}

.skills-list i {
  font-size: 5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 50px 10px 50px;
  color: #172F55;
  text-shadow: 3px 3px #EECFCE;
}

.skills-list span {
  font-size: 1.8rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.skills-list img {
  width: 62px;
  height: auto;
  position: relative;
  left: 50%;
  -webkit-transform: translate(-50%, 0%);
          transform: translate(-50%, 0%);
  -webkit-filter: drop-shadow(3px 3px 0px #EECFCE);
          filter: drop-shadow(3px 3px 0px #EECFCE);
}

/* Contact styles */
#contact {
  margin-top: 100px;
}

.contact {
  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: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 80px 0;
}

.contact p {
  margin-top: 20px;
}

.contact .social-info {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.contact .social-info i {
  font-size: 2.5rem;
  margin: 10px;
}

fieldset {
  border: none;
  padding: 0 0 15px 0;
  width: 100%;
}

form {
  padding-top: 20px;
  width: 50%;
  font-size: 1.8rem;
}

input[type='text'],
input[type='email'],
input[type='tel'], textarea {
  font-family: 'Source Sans Pro', Sans-Serif;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background-color: #E4E7EC;
  color: #172F55;
  padding: 10px;
  display: block;
  width: 100%;
  resize: none;
}

textarea {
  min-height: 150px;
}

input::-webkit-input-placeholder {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

input:-ms-input-placeholder {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

input::-ms-input-placeholder {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

input::placeholder {
  font-size: 1.8rem;
  font-family: 'Source Sans Pro', Sans-Serif;
}

.form {
  padding-top: 10px;
}

.form-button {
  padding-top: 15px;
}

.form-button button {
  font-family: 'Source Sans Pro', Sans-Serif;
  color: #172F55;
  background-color: #ECCCCA;
  padding: 10px 30px;
  border: none;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.form-button button:hover {
  color: #606161;
}

.button-block {
  display: block;
  width: 100%;
}

.back-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 100px;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.back-top:hover {
  color: #c6887b;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 15px 0;
  background-color: #172F55;
}

footer p {
  color: #FBF0F1;
  font-size: 1.8rem;
}

@media (max-width: 900px) {
  .about-img img {
    width: 380px;
  }
  form {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .about-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: 0;
  }
  .about-me p {
    width: 100%;
  }
  .about-img {
    margin-top: 50px;
  }
  .projects-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    height: 100%;
  }
  .text-container {
    width: 100%;
    margin-top: 0;
  }
  .img-container {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 20px;
  }
  .nav-toggle {
    display: block;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
     -ms-user-select: none;
         user-select: none;
  }
  .nav-toggle input {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }
  .nav-toggle span {
    display: block;
  }
  .nav-toggle #toggle {
    display: block;
  }
  .nav-toggle:focus-within {
    color: #c6887b;
  }
  .nav-toggle span i {
    -webkit-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out;
    color: #FBF0F1;
    position: relative;
    top: 0px;
    left: 0px;
    z-index: 1;
    display: inline-block;
    font-size: 3.0rem;
  }
  .nav-toggle input:checked ~ span i {
    color: #172F55;
  }
  .nav-toggle input:checked ~ ul {
    -webkit-transform: none;
            transform: none;
    right: 0;
  }
  .nav-styles {
    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: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #FBF0F1;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
  }
  .nav-styles li {
    padding: 10px 0;
    font-size: 22px;
    margin: 0;
  }
  .nav-styles a {
    display: block;
    color: #172F55;
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  .about-img img {
    width: 300px;
  }
  form {
    width: 85%;
  }
}

@media (max-width: 360px) {
  .about-img img {
    width: 250px;
  }
}
