@charset "utf-8";

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Fonts */

@font-face {
    font-family: 'LatoWebLight';
    src: url('../fonts/Lato/Lato-Light.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Lato/Lato-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/Lato/Lato-Light.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/Lato/Lato-Light.woff') format('woff'), /* Modern Browsers */
         url('../fonts/Lato/Lato-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'LatoWeb';
    src: url('../fonts/Lato/Lato-Regular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/Lato/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/Lato/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('../fonts/Lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */
         url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Styles */

body {
  font-family: "LatoWebLight";
  font-style: normal;
  background: #222222;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal
}

h1 {
}

h2 {
  font-family: "LatoWeb";
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: #222;
  font-family: "LatoWeb";
}

a:hover,
a:focus,
a:visited
{
  text-decoration: none;
  color: #222;
}

a:hover {
  border-bottom: 1px solid #222;
}

p {
  line-height: 1.3;
}

p + p {
  margin-top: 10px;
}

strong {
  font-family: "LatoWeb"
}

section {
  padding: 40px 30px;
}

.box {
  overflow: hidden;
}

.box h2 {
  margin-bottom: 20px;
}

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

.box-text {
  word-wrap: break-word;
}

.wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

section.section-hero {
  overflow: hidden;
  padding: 0 0 20px 0;
  background: #ffffff;
  position: relative;
}

section.section-hero .box {
  background: #ffffff;
}

section.section-hero .box-2 {
  width: 75%;
  margin-top: -40%;
  position: relative;
  padding: 20px;
  float: right;
}

section.section-hero .box-2 .box-text {
  padding: 0;
  font-size: .9rem;
  color: #222;
}

section.section-hero .section-hero-image {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
}

section.section-hero .section-hero-image img {
  width: 100%;
}

section.section-experience {
  background: #222222;
  color: #fff;
  font-size: .9rem;
}

section.section-experience a {
  color: #fff;
}

section.section-experience a:hover,
section.section-experience a:focus,
section.section-experience a:visited
{
  text-decoration: none;
  color: #fff;
}

section.section-experience a:hover {
  border-bottom: 1px solid #fff;
}

section.section-contact {
  position: relative;
  height: 40vh;
  min-height: 225px;
  background: #222222;
}

section.section-contact .section-contact-wrapper {
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.section-contact .section-contact-background {
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-size: cover;
  background-position: center;
  position: absolute;
  opacity: .55;
  z-index: 1;
}

section.section-contact .box {
  z-index: 2;
  position: relative;
}

section.section-contact .box .box-text {
  color: #fff;
  font-size: 1.3rem;
  text-align: center;
  padding: 10px 30px;
}

section.section-contact .box-text p + p {
  margin-top: 20px;
}

section.section-contact .box-text a {
  color: #fff;
}

section.section-contact .box-text a:hover {
  border-bottom: 1px solid #fff;
}

section.section-contact .section-contact-social-links {
  line-height: 1.3;
}

section.section-contact .section-contact-background-credits {
  background: #000000;
  color: #ffffff;
  position: absolute;
  right: 0;
  bottom: 30px;
  text-align: right;
  padding: 5px;
  z-index: 3;
  font-size: .8rem;
  line-height: 1.2;
}

.copyright {
  color: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  opacity: .6;
  width: 100%;
  text-align: center;
  font-size: .8rem;
}

.copyright div {
  padding: 10px;
}

.skills-tags span {
  display: inline-block;
  background: #3e3e3e;
  border-radius: 4px;
  color: #ffffff;
  padding: 4px;
  margin-bottom: 5px;
  margin-right: 5px;
  font-size: 14px;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  p + p {
    margin-top: 20px;
  }

  section {
    padding: 80px 60px;
  }

  .wrapper {
    display: grid;
    grid-template-columns: calc(50% - 30px) calc(50% - 30px);
    grid-gap: 60px;
    align-items: start;
  }

  section.section-hero {
    padding: 0;
  }

  section.section-hero .wrapper {
    align-items: center;
  }

  section.section-hero .section-hero-image {
    position: absolute;
    width: 50%;
  }

  section.section-hero .box-2 {
    width: auto;
    margin-top: 0;
    margin-bottom: 0;
    min-height: auto;
    height: auto;
    position: static;
    right: auto;
    border: none;
    padding: 0;
  }

  section.section-hero .box-2 .box-text {
    font-size: 1.5rem;
    padding: 60px 40px 60px 20px;
  }

  section.section-experience {
    font-size: 1.2rem;
  }

  section.section-contact .box .box-text {
    font-size: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  section.section-hero .box-2 .box-text {
    font-size: 1.2rem;
  }

  section.section-experience {
    font-size: 1rem;
  }
}
