html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
  vertical-align: baseline;
}

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

[hidden], template {
  display: none;
}

a {
  background: 0 0;
}

a:active, a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
}

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

small {
  font-size: 80%;
}

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

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

a, h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

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

figure {
  margin: 1em 40px;
}

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

pre {
  overflow: auto;
}

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

button, input, optgroup, select, textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

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

button[disabled], html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

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

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

input[type=search] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

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

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td, th {
  padding: 0;
}

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

html {
  font-size: 125%;
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.15;
}

p {
  font-size: 1rem;
  line-height: 1.4rem;
  letter-spacing: 0.1rem;
  margin: 1.25rem 0;
}

a {
  text-decoration: none;
}

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

.wrapper {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
}

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

section {
  padding: 100px 0;
}

header {
  background-image: url("./assets/01-homepage-graphic-style.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 850px;
  padding-top: 2%;
  color: white;
}
header h1 {
  font-size: 7rem;
}
header p {
  margin: 0;
  font-size: 1.3rem;
  color: white;
  text-align: center;
}
header span {
  color: #16cdb5;
}

nav {
  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;
}
nav label,
nav input[type=checkbox] {
  display: none;
}
nav ul {
  width: 25%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}
nav ul li {
  padding: 2%;
}
nav ul li:hover, nav ul li:focus {
  background-color: white;
  border-radius: 10px;
}
nav ul a {
  font-size: 1.5rem;
  color: #16cdb5;
}

.closebtn {
  display: none;
}

.flexTitle {
  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 {
  background-image: url("./assets/skills.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 0;
}

.aboutFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

p {
  margin: 0;
  width: 60%;
  font-size: 1rem;
}

h2 {
  padding-left: 1.4%;
  font-size: 2.1rem;
  position: relative;
}
h2:after {
  content: "";
  background: #16cdb5;
  position: absolute;
  top: 5px;
  left: 0;
  height: 2.1rem;
  width: 5px;
}

.skillsFlex {
  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-top: 30%;
  font-weight: lighter;
}

.about h3 {
  font-size: 2.1rem;
  color: white;
  margin-bottom: 3%;
  border-bottom: 3px solid white;
}

.about ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: space-around;
      -ms-flex-align: space-around;
          align-items: space-around;
  width: 100%;
}
.about ul li {
  width: 25%;
  margin-bottom: 5%;
  text-align: center;
  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;
  color: white;
  font-size: 1.1rem;
  font-weight: 400;
}
.about ul li ion-icon {
  margin-bottom: 3%;
  font-size: 2rem;
}
.about ul li:hover, .about ul li:focus {
  color: #3b4759;
}

.projects {
  background-color: #3b4759;
  color: white;
  height: 75vh;
}

.projectsFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.projectsFlex h2 {
  margin-bottom: 7%;
}
.projectsFlex p {
  margin-top: 1%;
}
.projectsFlex span {
  color: #16cdb5;
}

.slideshowContainer {
  position: relative;
  margin: 0 auto;
}

.buttons {
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 10%;
}

.navBtn {
  background-color: #16cdb5;
  cursor: pointer;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  font-weight: 700;
  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;
  -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
          box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.navBtn:hover {
  background-color: #fbfbfb;
  color: #16cdb5;
}

.slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.slides img {
  width: 50%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border: 5px solid #16cdb5;
}

.slide {
  display: none;
}

.mainSlide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.caption {
  width: 40%;
}
.caption p {
  width: 100%;
  color: white;
  margin-bottom: 3%;
}
.caption p a {
  color: white;
  font-weight: 700;
}
.caption p a:visited, .caption p a:active {
  color: white;
}
.caption p a:hover, .caption p a:focus {
  color: #16cdb5;
}

.links a {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}
.links a:visited, .links a:active {
  color: white;
}
.links a:hover, .links a:focus {
  color: #16cdb5;
}

.contactFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.contactFlex h2 {
  margin-bottom: 5%;
}
.contactFlex span {
  color: #16cdb5;
}

.contactFormFlex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 1%;
}

.contactForm {
  width: 60%;
}

.contact form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.contact form input,
.contact form textarea {
  margin-top: 2%;
  margin-bottom: 1%;
  border: 3px solid white;
  resize: none;
  padding: 1%;
  background-color: #fbfbfb;
}
.contact form input:hover, .contact form input:focus,
.contact form textarea:hover,
.contact form textarea:focus {
  border: 3px solid #16cdb5;
  outline: none;
}
.contact form button {
  margin-top: 3%;
  padding: 2%;
  background-color: #16cdb5;
  color: white;
  border: none;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
}
.contact form button:hover, .contact form button:focus {
  background-color: #3b4759;
  color: #16cdb5;
}
.contact form p {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  width: 100%;
  margin-top: 10%;
}

.contact 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;
  margin-right: 15%;
}
.contact ul ion-icon {
  margin-bottom: 40%;
  font-size: 3rem;
  color: #3b4759;
}
.contact ul ion-icon:hover, .contact ul ion-icon:focus {
  color: #16cdb5;
}

footer {
  background-color: #3b4759;
  padding: 1%;
}
footer p {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  width: 100%;
}
footer a:visited, footer a:active {
  color: white;
}
footer a:hover, footer a:focus {
  color: #16cdb5;
}

@media (max-width: 1300px) {
  nav ul {
    width: 40%;
  }
  nav ul a {
    font-size: 1.3rem;
  }

  header h1 {
    font-size: 6rem;
  }
  header p {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.8rem;
  }
  h2:after {
    height: 1.8rem;
  }

  .projectsFlex p {
    margin-top: 0;
  }

  .contact form input,
.contact form textarea {
    padding: 2%;
  }

  footer p {
    font-size: 0.9rem;
  }
}
@media (max-width: 1100px) {
  .wrapper {
    max-width: 900px;
  }

  section {
    padding: 50px;
  }

  .buttons {
    width: 15%;
  }
}
@media (max-width: 1000px) {
  nav ul {
    width: 40%;
  }
  nav ul a {
    font-size: 1.1rem;
  }

  header h1 {
    margin-top: 5%;
    font-size: 5rem;
  }
  header p {
    font-size: 0.9rem;
  }

  h2 {
    font-size: 1.5rem;
  }
  h2:after {
    height: 1.5rem;
  }

  p {
    font-size: 0.8rem;
  }

  .projects {
    height: 100vh;
  }

  .navBtn {
    width: 40px;
    height: 40px;
  }

  .mainSlide {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .slides img {
    width: 100%;
  }

  .caption {
    width: 100%;
    margin-top: 3%;
  }

  footer p {
    font-size: 0.8rem;
  }
}
@media (max-width: 860px) {
  body {
    overflow: hidden;
  }

  nav ul {
    display: none;
    background: #3b4759;
    position: absolute;
    z-index: 10;
    width: 25%;
    top: 0;
    right: -25%;
    border-left: 5px solid #16cdb5;
    border-bottom: 5px solid #16cdb5;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
  nav ul li {
    padding: 7% 5%;
  }
  nav ul li:hover, nav ul li:focus {
    background-color: white;
    border: none;
    border-radius: 0;
  }
  nav ul a {
    display: block;
    font-size: 1.5rem;
    border: none;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
  }

  nav input[type=checkbox]:checked + ul {
    display: block;
    right: 0;
  }

  nav {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  nav label {
    display: block;
    color: #16cdb5;
    z-index: 10;
    font-size: 2rem;
  }

  .aboutFlex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  p {
    margin: 3% 0;
    width: 100%;
  }

  .navBtn {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }

  .caption {
    font-size: 0.7rem;
  }
  .caption span {
    margin: 0;
  }

  .contactFlex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .contactFlex h2 {
    margin: 0;
  }

  .contactFormFlex {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .contactForm {
    width: 100%;
  }

  .contact ul {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin-top: 3%;
    margin-right: 0;
  }
}
@media (max-width: 750px) {
  header h1 {
    font-size: 4rem;
  }
  header p {
    font-size: 0.8rem;
  }

  .about {
    background-image: url("./assets/skillsMedia1.jpg");
  }
  .about h3 {
    margin-bottom: 4%;
  }

  h2 {
    padding-left: 2%;
    font-size: 1.5rem;
  }
  h2:after {
    height: 1.5rem;
  }

  .skillsFlex {
    margin-top: 5%;
  }
}
@media (max-width: 560px) {
  nav ul {
    width: 30%;
  }

  .about {
    background-image: url("./assets/skillsMedia.jpg");
  }

  .skillsFlex {
    margin-top: 10%;
  }
  .skillsFlex h3 {
    font-size: 1.5rem;
  }
  .skillsFlex ul li {
    font-size: 0.8rem;
  }

  .caption {
    font-size: 0.5rem;
  }

  .contact ion-icon {
    font-size: 1.7rem;
  }

  footer p {
    font-size: 0.6rem;
  }
}
@media (max-width: 450px) {
  .caption {
    font-size: 0.4rem;
  }
}