/** Reset some basic elements */
html { -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */ -moz-box-sizing: border-box; /* Firefox, other Gecko */ box-sizing: border-box; /* Opera/IE 8+ */ }

*, *:after, *:before { -webkit-box-sizing: inherit; /* Safari/Chrome, other WebKit */ -moz-box-sizing: inherit; /* Firefox, other Gecko */ box-sizing: inherit; /* Opera/IE 8+ */ }

blockquote, body, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, ol, p, pre, ul { margin: 0; padding: 0; }

article, aside, figcaption, figure, footer, header, nav, section { display: block; position: static; }

/** Basic styling */
body { font: 400 16px/1.5 "Libre Franklin", Helvetica, Arial, sans-serif; color: #111; background-color: #fdfdfd; -webkit-text-size-adjust: 100%; -webkit-font-feature-settings: "kern" 1; -moz-font-feature-settings: "kern" 1; -o-font-feature-settings: "kern" 1; font-feature-settings: "kern" 1; font-kerning: normal; }

h1, h2, h3, h4, h5, h6 { font-family: "Cabin", sans-serif; }

img { max-width: 100%; vertical-align: middle; }

/*navbar styles */
nav { width: 100%; height: 100px; padding: 30px; background-color: transparent; color: #C9C9C9; font-size: 24px; }
@media only screen and (max-width: 640px) { nav { padding: 15px; height: 50px; }
  nav a { display: none; } }
nav p { float: left; }
nav ul { list-style: none; display: inline; float: left; margin-left: 25px; font-size: 18px; padding-top: 2px; }
nav li { display: inline-block; float: left; height: 25px; width: 100px; text-align: center; }
nav #resume-link { float: right; margin-right: 25px; }
nav li a { display: block; width: 100px; height: 100%; text-decoration: none; border: 0 1px 0 1px solid #000; }
nav a:link, nav a:visited { color: #C9C9C9; }
nav a:hover { text-decoration: none; color: #767C81; }
nav #menu-icon { display: none; float: right; width: 30px; height: 30px; padding: 5px; vertical-align: top; }
nav a:hover#menu-icon i { color: #fff; }
@media only screen and (max-width: 640px) { nav #menu-icon { display: inline-block; }
  nav :active ul, nav ul { display: none; position: absolute; padding-bottom: 20px; background: #081E2D; border: 2px solid #767C81; border-radius: 10px; box-shadow: inset 0px 0px 25px #fff; right: 15px; top: 70px; width: 40%; }
  nav :active ul a, nav ul a { display: block; text-align: left; color: #C9C9C9; width: 100%; padding: 20px 20px; margin: 0; }
  nav :active ul a li, nav ul a li { text-align: left; }
  nav :hover ul { display: block; } }

/* Header Styles */
header { display: table; color: white; width: 100%; height: 800px; }
header .video-container { position: absolute; width: 100%; height: 100%; z-index: -1; top: 0; overflow: hidden; }
header .video-container video { position: absolute; width: 100%; left: 0; }
header .title { display: table-cell; color: #f0f0f0; vertical-align: middle; }

/* Skills Section Styles */
#skills { display: inline-block; width: 100%; text-align: center; background-color: #efefef; margin: 0; padding: 50px 0; }
#skills h1 { font-weight: bold; }
#skills .content { width: 100%; }
#skills .skill-attr { display: inline-block; width: 100%; padding: 50px 25px 0 25px; text-align: left; }
#skills .skill-attr h4 { width: 30%; float: left; font-weight: bold; text-align: center; padding-bottom: 25px; }
#skills .skill-attr p { width: 70%; float: left; }

/***
 Portfolio section
 */
.row { width: 100%; display: block; }
.row h2, .row h3, .row h4 { font-weight: bold; margin: 0; }
.row .info { display: block; width: 100%; background-color: #C9C9C9; color: #081E2D; }
.row .info h2:first-child { padding-top: 25px; }
.row .info h2, .row .info h3 { padding: 15px 25px; }
.row .info p { padding: 0 25px; }
.row .info p:last-child { padding-bottom: 25px; }
.row .photo { display: block; width: 100%; height: 600px; background-position: left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; text-align: center; vertical-align: middle; text-decoration: none; }
.row .photo h1 { font-size: 3em; color: #935300; opacity: 0; }
.row a:hover { overflow: hidden; opacity: 0.5; }
.row a:hover div { width: 100%; height: 100%; display: inline-block; }

.big-description { clear: both; width: 100%; display: table; overflow: hidden; min-height: 300px; text-align: center; background-color: #f9f9f9; }
.big-description p { display: table-cell; width: 60%; font-size: 2em; font-family: "Crimson Text", sans-serif; vertical-align: middle; }

/**

contact section

**/
#contact { width: 100%; text-align: center; padding: 50px 0 50px 0; background-color: #fff; }
#contact h2 { padding-bottom: 25px; }
#contact form { width: 80%; margin: auto; }
#contact form label, #contact form textarea { display: block; width: 100%; margin-bottom: 10px; }
#contact form label input, #contact form textarea { font-size: 1em; padding: 5px; font-family: "Libre Franklin", Helvetica, Arial, sans-serif; }
#contact form label input { width: 100%; border: none; border-top: 1px solid; border-bottom: 1px solid; border-color: #D2D2D2; }
#contact form textarea { border: none; border-top: 1px solid; border-bottom: 1px solid; border-color: #D2D2D2; height: 5em; }
#contact form button { background: #C9C9C9; color: #081E2D; display: block; margin: auto; padding: 5px 10px; border-radius: 5px; font-size: 1em; border: 2px solid #081E2D; }
#contact form button:hover { background: #081E2D; color: #C9C9C9; border-color: #C9C9C9; }

/** About */
#about { background: #081E2D; max-height: 600px; color: #C9C9C9; }
#about .about-photo { width: 100%; text-align: center; }
#about .about-photo img { width: 35%; padding: 25px 0; border-radius: 200px; }
#about article { width: 100%; }
#about article p { width: 80%; margin: auto; padding-bottom: 50px; }

footer { display: inline-block; width: 100%; background: #C9C9C9; color: #081E2D; text-align: center; }
footer .copy, footer .social-links { width: 100%; padding: 25px; }
footer .social-links a { padding: 0 25px; color: #081E2D; }
footer .social-links a:visited { color: #081E2D; }
footer .social-links a:hover i { border-radius: 50%; color: #C9C9C9; background: #081E2D; }

/** Figures */
figure > img { display: block; }

figcaption { font-size: 14px; }

/** Lists */
ol, ul { margin-left: 30px; }

li > ul, li > ol { margin-bottom: 0; }

/** Headings */
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

/** Links */
a { color: #2a7ae2; text-decoration: none; }
a:visited { color: #1756a9; }
a:hover { color: #111; text-decoration: underline; }

/** Blockquotes */
blockquote { color: #828282; border-left: 4px solid #e8e8e8; padding-left: 15px; font-size: 18px; letter-spacing: -1px; font-style: italic; }
blockquote > :last-child { margin-bottom: 0; }

/** Code formatting */
code, pre { font-size: 15px; border: 1px solid #e8e8e8; border-radius: 3px; background-color: #eef; }

code { padding: 1px 5px; }

pre { padding: 8px 12px; overflow-x: auto; }
pre > code { border: 0; padding-right: 0; padding-left: 0; }

/** Wrapper */
.wrapper { max-width: -webkit-calc(800px - (30px * 2)); max-width: calc(800px - (30px * 2)); margin-right: auto; margin-left: auto; padding-right: 30px; padding-left: 30px; }
@media screen and (max-width: 800px) { .wrapper { max-width: -webkit-calc(800px - (30px)); max-width: calc(800px - (30px)); padding-right: 15px; padding-left: 15px; } }

/** Clearfix */
.wrapper:after, .footer-col-wrapper:after { content: ""; display: table; clear: both; }

/** Icons */
.icon > svg { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.icon > svg path { fill: #828282; }

/* Utilities*/
.text-center { text-align: center; }

/************************** Responsive design section *************************/
@media only screen and (min-width: 1366px) { header { height: 650px; }
  header .title h1 { font-size: 4em; }
  header .title p { font-size: 2em; } }
@media only screen and (min-width: 980px) and (max-width: 1365px) { header { height: 450px; }
  header .title h1 { font-size: 3em; }
  header .title p { font-size: 1.5em; } }
@media only screen and (min-width: 768px) and (max-width: 979px) { header { height: 330px; }
  header .title h1 { font-size: 2.5em; }
  header .title p { font-size: 1.25em; } }
@media screen and (min-width: 540px) and (max-width: 767px) { header { height: 200px; }
  header .title { vertical-align: top; } }
@media screen and (min-width: 320px) and (max-width: 539px) { header { height: 130px; }
  header .title { vertical-align: top; } }

@media only screen and (min-width: 1366px) { #skills .content { width: 80%; margin: auto; }
  #skills .skill-attr { width: 25%; float: left; text-align: center; }
  #skills .skill-attr h4 { width: 100%; float: none; }
  #skills .skill-attr p { width: 100%; float: none; } }
@media only screen and (min-width: 980px) and (max-width: 1365px) { #skills .content { width: 80%; margin: auto; }
  #skills .skill-attr { width: 25%; float: left; padding-left: 25px; padding-right: 25px; text-align: center; }
  #skills .skill-attr h4 { width: 100%; float: none; }
  #skills .skill-attr p { width: 100%; float: none; } }
@media only screen and (min-width: 768px) and (max-width: 979px) { #skills .content { width: 100%; }
  #skills .skill-attr { width: 25%; float: left; padding-left: 25px; padding-right: 25px; text-align: center; }
  #skills .skill-attr h4 { width: 100%; float: none; }
  #skills .skill-attr p { width: 100%; float: none; } }

/* portfolio */
@media only screen and (min-width: 980px) { .row { display: table; }
  .row .info { display: table-cell; width: 40%; }
  .row .info h2:first-child { padding-top: 50px; }
  .row .info h2, .row .info h3 { padding: 25px 50px; }
  .row .info p { padding: 0 50px; }
  .row .info p:last-child { padding-bottom: 50px; }
  .row .photo { display: table-cell; width: 60%; height: auto; } }
@media screen and (min-width: 540px) and (max-width: 767px) { .big-description { padding: 0 5px; } }
@media screen and (min-width: 320px) and (max-width: 539px) { .big-description { padding: 0 5px; } }
@media screen and (max-width: 979px) { .hide-sm { display: none !important; } }

@media screen and (min-width: 980px) { .hide-lg { display: none !important; } }

/* Contact */
@media screen and (min-width: 540px) { #contact form { width: 60%; }
  #contact form label input, #contact form textarea { font-size: 1.5em; } }

@media only screen and (min-width: 940px) { #about .about-photo img { width: 15%; padding: 50px 0; }
  #about article p { width: 60%; } }

@media only screen and (min-width: 540px) { footer .copy, footer .social-links { width: 50%; float: left; padding: 100px 50px; } }

/** Site header */
.site-header { border-top: 5px solid #424242; border-bottom: 1px solid #e8e8e8; min-height: 56px; position: relative; }

.site-title { font-size: 26px; font-weight: 300; line-height: 56px; letter-spacing: -1px; margin-bottom: 0; float: left; }
.site-title, .site-title:visited { color: #424242; }

.site-nav { float: right; line-height: 56px; }
.site-nav .menu-icon { display: none; }
.site-nav .page-link { color: #111; line-height: 1.5; }
.site-nav .page-link:not(:last-child) { margin-right: 20px; }
@media screen and (max-width: 600px) { .site-nav { position: absolute; top: 9px; right: 15px; background-color: #fdfdfd; border: 1px solid #e8e8e8; border-radius: 5px; text-align: right; }
  .site-nav .menu-icon { display: block; float: right; width: 36px; height: 26px; line-height: 0; padding-top: 10px; text-align: center; }
  .site-nav .menu-icon > svg { width: 18px; height: 15px; }
  .site-nav .menu-icon > svg path { fill: #424242; }
  .site-nav .trigger { clear: both; display: none; }
  .site-nav:hover .trigger { display: block; padding-bottom: 5px; }
  .site-nav .page-link { display: block; padding: 5px 10px; margin-left: 20px; }
  .site-nav .page-link:not(:last-child) { margin-right: 0; } }

/** Site footer */
.site-footer { border-top: 1px solid #e8e8e8; padding: 30px 0; }

.footer-heading { font-size: 18px; margin-bottom: 15px; }

.contact-list, .social-media-list { list-style: none; margin-left: 0; }

.footer-col-wrapper { font-size: 15px; color: #828282; margin-left: -15px; }

.footer-col { float: left; margin-bottom: 15px; padding-left: 15px; }

.footer-col-1 { width: -webkit-calc(35% - (30px / 2)); width: calc(35% - (30px / 2)); }

.footer-col-2 { width: -webkit-calc(20% - (30px / 2)); width: calc(20% - (30px / 2)); }

.footer-col-3 { width: -webkit-calc(45% - (30px / 2)); width: calc(45% - (30px / 2)); }

@media screen and (max-width: 800px) { .footer-col-1, .footer-col-2 { width: -webkit-calc(50% - (30px / 2)); width: calc(50% - (30px / 2)); }
  .footer-col-3 { width: -webkit-calc(100% - (30px / 2)); width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) { .footer-col { float: none; width: -webkit-calc(100% - (30px / 2)); width: calc(100% - (30px / 2)); } }
/** Page content */
.page-content { padding: 30px 0; }

.page-heading { font-size: 20px; }

.post-list { margin-left: 0; list-style: none; }
.post-list > li { margin-bottom: 30px; }

.post-meta { font-size: 14px; color: #828282; }

.post-link { display: block; font-size: 24px; }

/** Posts */
.post-header { margin-bottom: 30px; }

.post-title { font-size: 42px; letter-spacing: -1px; line-height: 1; }
@media screen and (max-width: 800px) { .post-title { font-size: 36px; } }

.post-content { margin-bottom: 30px; }
.post-content h2 { font-size: 32px; }
@media screen and (max-width: 800px) { .post-content h2 { font-size: 28px; } }
.post-content h3 { font-size: 26px; }
@media screen and (max-width: 800px) { .post-content h3 { font-size: 22px; } }
.post-content h4 { font-size: 20px; }
@media screen and (max-width: 800px) { .post-content h4 { font-size: 18px; } }
