/* --------------------------
  Base Styles
--------------------------- */
* {
  box-sizing: border-box;
}

body {
  background-color: #d6d9e0;
  color: #102d4d;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

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

a {
  font-family: "Oswald", sans-serif;
  color: #ec5658;
  text-decoration: none;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
}

.section {
  padding: 0 20px;
}

/* --------------------------
  Main Styles
--------------------------- */
.main-header,
.nav {
  display: flex;
  flex-direction: column;
}

.main-header {
  padding-top: 20px;
}

.site-logo {
  align-self: center;
  text-align: center;
  width: 200px;
}
.site-logo img {
  margin-right: 15px;
  width: 80px;
}
.site-logo span {
  display: block;
  color: #102d4d;
  font-family: "Oswald", sans-serif;
  font-size: 1.563em; /*25px*/
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.site-logo span:hover {
  color: #ec5658;
  letter-spacing: -0.5px;
}

/* Navigation */

.nav {
  margin-top: 1.5em;
}

.nav li {
  margin-top: 8px;
}
.nav li:first-child {
  margin-top: 0;
}

.nav a {
  display: block;
  color: #ec5658;
  font-size: 1.125em;
  letter-spacing: 3px;
  text-align: center;
  text-transform: uppercase;
  padding: 0.4em;
}
.nav a:hover {
  color: #102d4d;
}

/* Main Sections */

.intro,
.skills,
.portfolio{
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-top: 30px;
}


.skills{
  background-color: #102D4D;
  border-radius: 30px;
  margin-top: 45px;
  margin-bottom: 45px;
  padding: 60px 0px;
}



.portfolio {
  background-color: #ffffff;
  padding-top: 20px;
  padding-bottom: 45px;
}

.footer {
  background-color: #fafafa;
  text-align: center;
  padding-top: 60px;
  width: 100%;
}

.skills h2,
.portfolio h2,
footer h2 {
  color: #ec5658;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 45px;
}

.intro-column_left {
  margin: 20px auto;
}
.intro-column_left p {
  color: #102d4d;
  font-size: 0.938em; /*15px*/
}

.intro-column_right {
  order: -1;
  align-self: center;
}
.intro-column_right img {
  height: auto;
  width: 200px;
}

.footer h2 {
  margin-top: 55px;
}
.footer p {
  color: #102d4d;
  font-size: 0.938em; /*15px*/
  margin-bottom: 20px;
}
.footer a {
  color: #ec5658;
  display: inline-block;
  margin: 12px 0;
}
.footer a span {
  color: #7f7f7f;
  font-weight: 200;
}

.footer-nav {
  border-top: 1px solid #e7e7e7;
  display: flex;
  margin-top: 55px;
  padding-top: 25px;
}
.footer-nav ul {
  display: none;
}

a.site-logo_footer span {
  color: #102d4d;
  font-family: "Oswald", sans-serif;
  font-size: 1.563em;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
a.site-logo_footer span:hover {
  color: #ec5658;
  letter-spacing: -0.5px;
}

a.back-top_button {
  color: #3b3b3b;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-left: auto;
}

.sample a {
  font-size: 12px;
  transition: all 0.5s ease-in-out;
}
.sample a:hover {
  color: #102d4d;
}

.skills .portfolio-pieces .sample {
  background-color: #e7e7e7;
}
.skills .portfolio-pieces .sample h3 {
  font-size: 22px;
}
.skills .portfolio-pieces .sample p {
  font-size: 16px;
  line-height: 1.4;
}


/* --------------------------
  Media Queries
--------------------------- */

@media (min-width: 768px) {
  .site-logo span {
    display: inline-block;
  }
  .container {
    min-height: calc(100vh - 354px);
  }

  .main-content {
    margin-top: 4em;
  }

  .main-header {
    justify-content: flex-end;
    height: 200px;
  }
  .site-logo {
    text-align: center;
    width: 250px;
  }

  .nav {
    flex-direction: row;
    margin-top: 0;
    justify-content: center;
  }
  .nav li {
    margin-top: 20px;
    margin-right: 40px;
  }
  .nav li:first-child {
    margin-top: 20px;
  }
  .nav li:last-child {
    margin-right: 0;
  }

  .nav a {
    border-top: none;
    border-bottom: none;
    border-bottom-color: transparent;
  }

  /* Navigation Hover Styles */
  .nav li a {
    position: relative;
    padding: 10px;
    text-shadow: none;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
  }

  .nav li a::before,
  .nav li a::after {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ec5658;
    content: "";
    opacity: 0;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    -moz-transition: opacity 0.3s, -moz-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
  }

  .nav li a::before {
    top: 0;
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    transform: translateY(-10px);
  }

  .nav li a::after {
    bottom: 0;
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
    transform: translateY(10px);
  }

  .nav li a:hover,
  .nav li a:focus {
    border-top: none;
    border-bottom: none;
    color: #102d4d;
  }

  .nav li a:hover::before,
  .nav li a:focus::before,
  .nav li a:hover::after,
  .nav li a:focus::after {
    opacity: 0;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    transform: translateY(0px);
  }

  .intro {
    flex-direction: row;
    text-align: left;
    margin-top: 30px;
  }
  .intro-column_left,
  .intro-column_right {
    width: 50%;
  }

  .intro-column_right {
    text-align: right;
    order: 1;
  }
  .intro-column_right img {
    margin-left: auto;
    height: auto;
    width: 286px;
  }
  .intro-column_left p {
    font-size: 1.25em; /* 20px */
    font-weight: 200;
    line-height: 1.4;
  }

  .portfolio {
    flex-direction: column;
  }
  .portfolio-pieces {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sample {
    border: 1px solid #ccc;
    padding: 12px;
    box-shadow: 0px 10px 16px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 6px;
    max-width: 350px;
  }
  .special {
    background-color: #d6d9e0;
    box-shadow: none;
    width: 100%;
  }
  .special_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  .special_content h3 {
    font-family: "Oswald", sans-serif;
    font-size: 30px;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  .footer-wrap {
    margin: 0 auto;
    width: 100%;
  }

  .footer p {
    font-size: 1.25em; /*20px*/
    margin: 20px auto;
    max-width: 550px;
  }

  .footer-nav ul {
    display: flex;
    flex-direction: row;
    margin-left: auto;
  }
  .footer-nav ul li a {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-right: 25px;
  }
  .footer-nav ul li:last-child a {
    margin-right: 0;
  }

  a.site-logo_footer span {
    font-size: 1.563em; /*25px*/
  }

  a.back-top_button {
    display: none;
  }
}
/* ---- IPAD Landscape ---- */
@media (min-width: 768px) and (orientation: landscape) {
  .sample {
    margin: 20px 6px;
    max-width: 315px;
  }
}

@media (min-width: 1025px) {
  .container {
    max-width: 80em; /* 1280px */
  }

  .main-header {
    flex-direction: row;
  }
  .site-logo {
    text-align: left;
    margin-right: auto;
    width: 250px;
  }
  .nav {
    margin-top: 0;
    align-self: center;
  }
  .nav li {
    margin-left: 0.65em;
    margin-right: 0.65em;
  }

  .intro-column_left p {
    font-size: 2.188em; /* 35px */
    font-weight: 300;
    line-height: 1.4;
  }

  .intro-column_right img {
    height: auto;
    width: 480px;
  }

  .portfolio {
    flex-direction: column;
    margin-top: 70px;
  }
  .portfolio-pieces {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .sample {
    margin: 20px 15px;
    max-width: 380px;
  }

  .footer-wrap {
    max-width: 80em;
    margin: 0 auto;
  }
}
