/* 
Theme Name: Developer Portfolio
Author: Brandon Winger-Air
Author URI: https://brandonwinger.com
Theme URI: https://wintercodes.com/portfolio/developer-portfolio-wordpress-theme/
Description: A customizable tech-based portfolio theme for developers and designers to present their work on the web. Inspired by GTCoding's video tutorial on freeCodeCamp. Purchase "Pro Version" to customize copyright and footer text/link.
Version: 1.0.5
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
Tags: blog, portfolio, grid-layout, two-columns, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, translation-ready, theme-options, threaded-comments
Text Domain: developer-portfolio

Developer Portfolio WordPress Theme, Copyright 2019 Brandon Winger-Air
Developer Portfolio is distributed under the terms of the GNU GPL

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. 
If not, see < https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html >.

Images are licensed under the terms of the Creative Commons CC0
You should have received a copy of the Creative Commons CC0 License along with this program. 
If not, see < https://directory.fsf.org/wiki/License:CC0 >.

Roboto fonts (Roboto, Roboto Condensed and Roboto Slab) are licensed under the terms of the GPL+FE license.
You should have received a copy of GNU GPL (with font exception) License along with this program. 
If not, see < https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html >.

Font Awesome icons are licensed under the terms of the SIL Open-Font License
You should have received a copy of the Creative Commons CC0 License along with this program. If not, see < https://scripts.sil.org/OFL >.
Source: https://fontawesome.com/

Retina.js, Copyright 2014 Imulus, LLC
Retina.js is licensed under the terms of the MIT License
You should have received a copy of the Creative Commons CC0 License along with this program. If not, see < https://opensource.org/licenses/MIT >.
Source: http://imulus.github.io/retinajs/
*/

/* General */
body {
  font-family: Roboto, sans-serif;
  margin: 0;
  background: #fafafa;
}

p {
  line-height: 1.5;
}

a {
  color: #212121;
}

.heading-line-1,
.heading-line-2 {
  margin: 1rem auto;
  color: #fafafa;
}

main {
  margin: 0 auto;
  background: #fff;
}

input,
textarea {
  padding: 8px 12px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  border: none;
  box-shadow: inset 2px 2px 8px -4px rgba(0, 0, 0, 0.4);
  -webkit-appearance: none;
}

input:focus,
textarea:focus {
  outline: none;
}

.aligncenter {
  text-align: center;
  display: block;
  margin: 0 auto;
}

.alignleft {
  text-align: left;
}

.alignright {
  text-align: right;
}

.wp-caption {
  border: 1px solid #212121;
}

.wp-caption-text {
  margin-bottom: 5px;
}

.sticky {
  color: #212121;
}

.bypostauthor {
  color: #424242;
}

.gallery-caption {
  color: #fff;
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/* Navbar */
#logo {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  background: #424242;
  padding: 0;
  align-items: center;
  color: #fff;
  transition: 0.4s;
}

#logo a {
  padding-top: 11px;
  padding-bottom: 11px;
  padding: 11px 64px;
}

#logo-img-container {
  height: 100%;
}

#logo:hover {
  background: #212121;
}

#logo h5 {
  font-size: 20px;
}

#logo img {
  height: 50px;
  vertical-align: middle;
}

#nav-wrapper {
  height: 72px;
}

nav {
  height: 72px;
  background: #616161;
  width: 100%;
  margin: 0;
  position: var(--navbar-position);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 16px 0 0;
  box-sizing: border-box;
  z-index: 999;
}

nav a {
  display: block;
  padding: 0 32px;
  color: #fff;
  transition: 0.4s;
  text-decoration: none;
}

nav a:hover {
  color: var(--default-color);
  filter: brightness(130%);
}

.sub-menu {
  display: none;
}

.sub-menu:hover {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

nav a:hover + .sub-menu {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.show-sub-menu-pages {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -webkit-flex-direction: column !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;  
  }

nav li ul li {
  position: absolute;
  display: block;
  line-height: 72px;
  width: 100%;
  border-top: 1px solid #424242;
  box-sizing: border-box;
}

nav li ul li:last-of-type {
  border-bottom: 1px solid #424242;
}

nav ul li ul li a {
  padding: 0;
  color: #fff;
  height: 72px;
  text-align: center;
  text-decoration: none;
}

nav ul li ul li:hover {
  background:#757575;
  transition: 0.4s;
}

#menu-container {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

nav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  align-items: center;
  margin: 0;
}

#menu-container ul li {
  position: relative;
  line-height: 72px;
}

#menu-container ul li ul {
  position: absolute;
  background: #9e9e9e;
  z-index: 2;
  padding-left: 0;
  top: 72px;
  height: 72px;
  width: 100%;
}

.current_page_item > a,
.active {
  color: var(--default-color);
  filter: brightness(115%);
}

.current-menu-ancestor > a {
  color: var(--default-color);
  filter: brightness(115%);
  text-decoration: none;
}

/* Banner */
#banner {
  height: calc(100vh - 72px);
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: overlay;
  color: #fff;
  z-index: 0;
  overflow: hidden;
}

#banner img {
  position: absolute;
  min-width: 100%;
  min-height: calc(100vh - 72px);
}

#header-container {
  margin-bottom: -2rem;
  max-height: 100%;
}

.header-title-container {
  background: var(--default-color);
  opacity: 0.9;
  border-radius: 8px;
  height: 125.6px;
  z-index: 1;
  position: relative;
  bottom: 125.6px;
}


#banner h1 {
  padding: 1.2rem 2.4rem 1.5rem;
  margin: 0;
  font-size: 64px;
  font-family: 'Roboto Slab', sans-serif;
  z-index: 2;
  position: relative;
  text-align: center;
}

#banner h3 {
  background: #222;
  border-radius: 8px;
  margin: 0;
  padding: 1rem 1.2rem;
  font-size: 24px;
  z-index: 1;
}

/* Search Box */
#search-box {
  position: absolute;
  right: 0;
  top: 21px;
  width: 520px;
  z-index: 1;
  transition: all 1s;
  border-bottom: 1px solid #f5f5f5;
}

.search-box-mobile {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.search-box-mobile form {
  align-self: center;
}

#search-box input {
  width: 100%;
  height: 50px;
  padding-left: 16px;
  padding-right: 16px;
}

#menu-container {
  color: #fff;
  padding: 0 32px;
  cursor: pointer;
  transition: 0.4s;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
}

#menu-container .fa-search {
  padding-left: 32px;
}

#menu-container .fa-search:hover {
  color: var(--default-color);
  filter: brightness(130%);
}

#search-box #search-btn,
#mobile-nav #search-btn {
  height: 50px;
  width: 50px;
  background: #f5f5f5 url('images/developer-portfolio-search-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
  position: absolute;
  right: 0;
  top: 0;
  box-shadow: initial;
  transition: 0.4s;
  cursor: pointer;
  border-left: 1px solid #e0e0e0;
}

#search-box #search-btn:hover,
#mobile-nav #search-btn:hover {
  background: var(--default-color) url('images/developer-portfolio-search-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
  filter: brightness(115%);
}

/* Mobile Nav */
#menu-icon {
  display: none;
  height: 100%;
  font-size: 2.4rem;
  padding: 0 4px;
  color: #fff;
  align-items: center;  
}

#mobile-nav {
  display: none;
  background: #2d3436;
  z-index: 1;
  position: fixed;
  transition: 0.4s;
  
  width: 100%;
  height: 88vh;
  text-align: center;
  top: -120%;
  z-index: 3;
}

.menu-main-container {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.menu-navbar-container {
  height: 100%;
}

#mobile-nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#mobile-nav ul li {
  padding: .4rem;
}

#mobile-nav a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
}

#mobile-nav form {
  position: relative;
  width: 85%;
  padding-bottom: .5rem;
}

#mobile-nav input {
  width: 100%;
  height: 48px;
  margin: 0 auto;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 20px;
}

/* Heading */
.heading {
  text-align: center;
  padding: 3rem 0 6rem;
}

.heading:first-of-type {
  padding-top: 7rem;
}

.heading-line-1 {
  width: 14rem;
}

.heading-line-2 {
  width: 7rem;
}

.section-heading {
  font-size: 32px;
  font-family: 'Roboto Condensed', sans-serif;
  border-left: 3px solid #333;
  border-right: 3px solid #333;
  height: 100%;
  transition: 0.4s;
  display: inline-block;
  padding: 4px 32px;
}

.section-heading:hover {
  padding: 4px 48px;
  background: var(--default-color);
  filter: brightness(130%);
  cursor: pointer;
}

.page-template-blog .card-desc-border {
  border: none;
}

.date .card-desc-border {
  border: none;
}

.view-all-page {
  display: block;
  text-align: center;
  font-size: 15px;
}

/* Section */

.page-template-home section,
.blog section,
.archive section {
  padding: 0 32px;
}

section {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#source-files {
  display: block;
  text-align: center;
}

#source-files p {
  margin: -1rem 0 0;
  padding: 0 15%;
}

#source-files .read-more {
  margin: 5rem auto 6rem;
}

/* Card */
.card-img {
  transition: 0.4s;
}

.card-img:hover {
  box-shadow: 0 10px 6px -6px #777;
}

.card-img img {
  display: block;
  height: 100%;
  width: 100%;
}

.row-card {
  margin: 2.5rem 0 5rem;
}

.row-card a {
  text-decoration: none;
}

.row-card .card-img {
  margin-bottom: 1.5rem;
  min-height: 250px;
  height: 35vh;
  max-height: 300px;
}

.row-card .sticky-title {
  display: inline-block;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--default-color);
}

.single-page img {
  height: 100%;
}

.wp-block-button {
  color: var(--default-color);
}

.about-img img {
  height: 100%;
}

#about-desc {
  border-left: 1px solid #e0e0e0;
}

.card-meta {
  color: #616161;
  font-size: 14px;
  font-family: 'Roboto Slab' serif;
}

.card-meta h3 {
  margin: 0;
  margin-bottom: 10px;
}

.card-meta a {
  color: #424242;
  text-decoration: none;
}

.card-meta h3:last-of-type {
  margin-bottom: 0;
}

.page-card {
  height: 100%;
}

.page-card .card-meta {
  padding: 28px 36px 0px;
}

.page-card p:first-of-type {
  margin-top: 0;
}

.card-desc {
  padding: 0 8px;
}

.page-card .card-desc {
  padding: 28px 36px 12px;
  min-height: 30vh;
}

.home .card-desc h3 a,
.blog .card-desc h3 a,
.archive .card-desc h3 a {
  text-decoration: none;
}

.card-disabled-comments {
  height: 100%;
  border-left: 1px solid #e0e0e0;
}

.post-comments-disabled {
  border-left: 1px solid #e0e0e0;
}

.read-more-btn {
  text-align: center;
}

.read-more {
  padding: 8px 24px;
  border: 3px solid #212121;
  transition: 0.4s;
  display: inline-block;
  margin-top: .8rem;
  margin-bottom: 0;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  background: #fff;
  text-decoration: none;
}

.read-more:hover {
  background: var(--default-color);
  filter: brightness(115%);
  padding: 8px 32px;
  color: #fff;
}

.wp-block-image {
  overflow: hidden;
}

.wp-block-image .alignright {
  display: block;
}

.wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item {
  margin-right: 0;
}

.wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
  box-sizing: border-box;
  overflow-y: hidden;
  overflow-x: hidden;
  padding: 0 .4rem .6rem;
}

.columns-7 .wp-block-gallery .blocks-gallery-image figcaption, .columns-7 .blocks-gallery-item figcaption {
  font-size: .7rem;
  padding: .2rem;
}

.columns-8 .wp-block-gallery .blocks-gallery-image figcaption, .columns-8 .blocks-gallery-item figcaption {
  padding: .2rem;
  padding-bottom: .5rem;
  font-size: .5rem;
}

.wp-block-cover .wp-block-cover-text a {
  color: var(--default-color);
}

.card img {
  min-height: 100%;
}

/* Footer */
footer {
  background-color: #222;
  padding: 28px;
  color: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

footer h3 {
  margin: 0;
  font-size: 20px;
}

#footer-left li {
  font-size: 18px;
}

#footer-right ul li {
  font-size: 56px;
}

#footer-text-links {
  font-size: 20px;
}

#footer-right p {
  font-size: 18px;
}

#footer-left {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-right: 1px solid var(--default-color);
  padding: 28px;
}

#footer-left ul {
  padding: 0;
  list-style: none;
  line-height: 1.7;
  color: #fff;
}

#footer-left a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
  clear: both;
}

#footer-menu-line {
  width: 40%; 
  border-color: #9e9e9e;
  margin-left: 0;
  float: left;
  margin-top: 20px;
}

#footer-right {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -ms-flex: 2;
  flex: 2;
  padding: 28px;
  text-align: center;
}

#footer-right a {
  color: #fff;
  transition: 0.4s;
  text-decoration: none;
}

#footer-right ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0;
}

#footer-right ul li {
  font-size: 48px;
  padding: 16px;
}

li:hover a i {
  color: var(--default-color);
  filter: brightness(130%);
  transition: 0.4s;
}

li:hover a .fa-youtube {
  color: #f44336;
  transition: 0.4s;
}

li:hover a .fa-linkedin {
  color: #0277bd;
  transition: 0.4s;
}

li:hover a .fa-github {
  transition: 0.4s;
  color: #888;
}

li:hover a .fa-dribbble {
  transition: 0.4s;
  color: #ec407a;
}

li:hover a .fa-dribbble {
  transition: 0.4s;
  color: #ec407a;
}

li:hover a .fa-rss {
  transition: 0.4s;
  color: #f26522;
}

/* Blogs Page */
.page-heading {
  font-size: 32px;
  font-family: 'Roboto Condensed', sans-serif;
  border-left: 3px solid black;
  border-right: 3px solid black;
  transition: all 0.4s;
  display: inline-block;
  padding: 4px 32px;
  margin-top: 3rem;
}

.pagination {
  padding: 3rem 0 4rem;
  text-align: center;
  font-weight: bold;
}

.pagination a {
  border-top: 3px solid #fff;
  display: inline-block;
  padding: 8px 16px;
  transition: 0.4s;
  text-decoration: none;
}

.pagination a:hover {
  text-decoration: none;
  border-top: 3px solid #212121;
}

/* Post Page */
.post-heading:hover {
  background: none;
}

#post-container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

#blog-post {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 70%;
}

#blog-post .card {
  width: 100%;
}

#blog-post .card-img:hover {
  box-shadow: none;
}

#post-img {
  width: 100%;
}

.post-meta {
  color: #333;
  font-size: 14px;
  padding: 16px;
  font-family: 'Roboto Slab', serif;
}

.card-desc-border {
  border-left: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

#blog-post .card-desc-page {
  border-top: 1px solid #e0e0e0;
}

.no-post-img {
  border-top: 1px solid #e0e0e0;
}

.project {
  height: 100%;
}

.post-type-archive-project .card-meta {
  display: none;
}

#blog-post .project-desc .blog-post-desc {
  padding-left: 0;
  border: none;
}

.page-card .card-desc li {
  list-style-type: square;
  margin-bottom: .4rem;
}

#sidebar li {
  list-style-type: square;
  margin-bottom: .4rem;
}

.card-meta-comments-open {
  border-left: 1px solid #e0e0e0;
}

.desc-comments-open {
  border-left: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.single-post-no-comments {
  border-left: 1px solid #e0e0e0;
}

/* Sidebar */
#sidebar {
  background: #333;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 1.4rem 2rem;
  color: #fff;
  box-shadow: inset 8px 0 54px -18px rgba(0, 0, 0, 0.75);
}

#sidebar .widget {
  margin-bottom: 3rem;
}

#sidebar a {
  color: #bdbdbd;
  text-decoration: none;
}

#sidebar a:hover {
  color: #e0e0e0;
}

#sidebar ul {
  padding: 0 36px;
}

#sidebar ul li {
  margin: 1rem 0;
  list-style: square;
}

#sidebar li {
  margin: 8px 0;
  list-style: none;
}

#sidebar li li {
  margin-left: -16px;
}

#sidebar input {
  width: 100%;
  height: 42px;
}

#sidebar form {
  position: relative;
}

#sidebar #search-btn {
  background: #f5f5f5 url('images/developer-portfolio-search-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
  width: 48px;
  height: 100%;
  position: absolute;
  right: 0; top: 0;
  box-shadow: initial;
  cursor: pointer;
  border-left: 1px solid #e0e0e0;
  transition: 0.4s;
}

#sidebar #search-btn:hover {
  background: var(--default-color) url('images/developer-portfolio-search-icon.png');
  filter: brightness(115%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
}

/* Comment Form */
#comments-section {
  padding: 0;
}

#reply-title,
#comments-title {
  margin: 32px auto;
  padding-bottom: 8px;
  width: 220px;
  text-align: center;
  border-bottom: 1px solid #000;
}

.comment-form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 70%;
  margin: 0 auto;
}

.comment-form input,
.comment-form textarea {
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.comment-notes {
  color: #616161;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}

.comment-require {
  color: red;
}

#comments-section textarea {
  display: block;
}

.form-submit {
  text-align: center;
}

.form-submit .submit,
.wpcf7 .wpcf7-submit {
  background: #fff;
  font-weight: bold;
  width: 50%;
  padding: 8px;
  border: 2px solid #000;
  height: 48px;
  cursor: pointer;
  transition: 0.4s;
  box-shadow: initial;
}

.form-submit .submit:hover,
.wpcf7 .wpcf7-submit:hover {
  background: var(--default-color);
  filter: brightness(115%);
  color: #fff;
}

.contact-area p:last-of-type {
  text-align: center;
}

.logged-in-as {
  text-align: center;
}

/* Comments */
.comments {
  margin-top: 24px;
  border-top: 2px solid #eee;
  padding: 16px;
}

.comment-form-cookies-consent {
  display: none;
}

.comment-body {
  border: 1px solid #e0e0e0;
  border-top: none;
  padding-bottom: 1rem;
}

.comment-content {
  padding: 1rem 1.5rem .2rem;
}

.comment-reply-link {
  border-top: 1px solid #e0e0e0;
  margin-left: 1.5rem;
  padding-top: .5rem;
  padding-right: .4rem;
}

.comments h3 {
  margin: 24px auto;
  padding-bottom: 8px;
  width: 150px;
  text-align: center;
  border-bottom: 1px solid #000;
}

.all-comments {
  padding: 0;
  margin: 0 auto;
}

.all-comments li {
  list-style: none;
  margin-bottom: 16px;
}

.comment-meta {
  background: #555;
  padding: 12px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: center;
}

.comment-meta a {
  color: #f5f5f5;
  text-decoration: none;
}

a.comment-edit-link {
  color: #fff;
  text-decoration: underline;
}

.all-comments .vcard {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.all-comments .photo {
  margin-right: 12px;
}

.all-comments .says {
  display: none;
}

.all-comments .reply {
  font-weight: bold;
}

.all-comments .children {
  margin-top: 16px;
}

#comment-pagination {
  margin: 30px auto 10px;
  text-align: center;
}

.page-numbers {
  margin: 0 5px;
}

.page-numbers:hover {
  text-decoration: underline;
}

.page-numbers.current:hover {
  text-decoration: none;
}

/* No Search Results Page */
.no-results {
  text-align: center;
}

.no-results ul {
  list-style: none;
  margin-bottom: 3rem;
  padding: 0;
}

.no-results li {
  margin: 1rem 0;
}

.no-results h2 {
  margin-bottom: 3rem;
  color: red;
}

/* Contact Form */
.contact-area h3 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.page-card .contact-area {
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  padding-bottom: 3rem;
}

.contact-area hr {
  margin: 2rem 15rem 5rem;
}

.contact-area p:first-of-type {
  margin-top: 2rem;
}

.contact-area p {
  margin: 2rem 0;
}

.contact-area br {
  margin: 1rem 0;
}

.wpcf7 input,
.wpcf7 textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  height: 42px;
}

.wpcf7 input {
  padding: 16px 14px;
}

.wpcf7 textarea {
  height: 150px;
  margin-bottom: 1.5rem;
}

/* 404 Page */
.container-404 {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 24px;
}

.container-404 img {
  width: 480px;
}

.container-404 ul {
  list-style: none;
  margin-bottom: 3rem;
  padding: 0;
}

.container-404 li {
  margin: 1rem 0;
}

.menu-no-results-container a {
  text-decoration: none;
}

.container-404 .active {
  color: #212121;
}

/* Media Queries */
@media (max-width: 900px) {
  #nav-wrapper {
    height: 12vh;
  }

  nav {
    height: 12vh;
  }

  #menu-container {
    display: none;
  }
  
  #logo h5 {
    font-size: 25px;
  }

  #menu-icon {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  #mobile-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    margin-top:12vh
  }

  .menu-primary-container {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .search-box-mobile {
    -webkit-box-flex: 0;
    -webkit-flex-grow: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    margin-bottom: 10vh;
    margin-top: 2vh;
  }

  #mobile-nav input {
    height: 56px;
  }
  
  #mobile-nav #search-btn {
    height: 56px;
  }

  #mobile-nav ul {
    height: calc(76vh - 56px);
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }

  #mobile-nav li ul {
    display: none;
  }

  #header-container {
    margin-top: 0;
    max-width: 80%;
    margin-bottom: 4rem;
  }

  .header-title-container {
    height: 100%;
    bottom: 100%;
  }

  #banner {
    height: calc(100vh - 12vh);
    max-height: calc(100vh - 12vh);
    padding-top: 0;
  }

  #search-box {
    display: none;
  }

  .row-card .card-img {
    min-height: 170px;
    height: 20vh;
    max-height: 185px;
  }

  #blog-post {
    width: 100%;
    border-left: 0;
  }

  #blog-post .card-desc, #blog-post .card-meta {
    border: 0;
  }

  .card-meta {
    text-align: center;
  }

  #sidebar {
    display: none;
  }
}

@media (max-width: 719px) {
  main {
    width: 95%;
  }

  section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .card,
  .card img {
    width: 100%;
  }

  footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }

  #footer-left {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-right: 0;
    padding-left: 0;
    padding-bottom: 32px;
  }

  #footer-left a {
    color: #fff;
  }

  #footer-right {
    background: #eee;
    color: #222;
  }

  #footer-right a {
    color: #111;
    transition: 0.4s;
  }
}

@media (max-width: 600px) {
  #nav-wrapper {
    height: 14.2vh;
  }

  nav {
    height: 14.2vh;
    position: fixed !important; 
  }

  #mobile-nav {
    margin-top: 14.2vh;
  }

  #logo h5 {
    font-size: 24px;
  }

  #mobile-nav input {
    height: 48px;
  }
  
  #mobile-nav #search-btn {
    height: 48px;
  }

  #mobile-nav ul {
    height: calc(75.8vh - 48px);
  }

  #logo {
    padding: 0;
  }

  main {
    width: 100%;
  }

  #header-container {
    margin-bottom: 2.5rem;
  }

  .header-title-container {
    height: 100%;
    bottom: 100%;
  }

  #banner {
    height: calc(100vh - 14.2vh);
    max-height: calc(100vh - 14.2vh);
  }

  #banner h1 {
    font-size: 2rem;
    width: 60vw;
    padding: .8rem .1rem 1rem;
  }

  #banner h3 {
    font-size: 20px;
  }

  .heading {
    padding: 1.5rem 0 3rem;
  }

  .heading:first-of-type {
    padding-top: 5.5rem;
  }

  .row-card .card-img {
    min-height: 220px;
    height: 20vh;
    max-height: 225px;
  }

  .card-desc {
    padding: 0 32px;
  }

  .home .card-desc {
    text-align: center;
  }

  .home .card-desc h3,
  .home .card-desc p {
    text-align: left;
  }

  .page .heading:first-of-type {
    padding-top: 3.5rem;
  }

  .page-heading {
    margin: 140px 5% 70px;
  }

  .card h3,
  .card p {
    margin: 2rem 0;
  }

  #blog-post .card {
    border: none;
  }

  #blog-post img {
    height: 100%;
  }

  #blog-post .card-desc,
  #blog-post .card-meta {
    border: 0;
  }

  .blog-post-desc ul {
    padding-left: 0;
  }

  .blog-post-desc li {
    list-style: none;
  }

  .form-submit .submit,
  .wpcf7 .wpcf7-submit {
    width: 70%;
  }

  .contact-area h3 {
    margin-bottom: .5rem;
  }

  .contact-area hr {
    margin: 1.5rem 3.5rem 6rem;
  }

  .contact-area input, textarea {
    border: 1px solid #bdbdbd;
  }

  footer {
    padding: 0;
  }

  footer h3 {
    margin: 2rem 0 2rem;
  }

  #footer-left {
    padding-right: 0;
  }

  #footer-left li {
    margin: 2rem;
  }

  #footer-right {
    padding: 28px;
  }

  #footer-menu-line {
    margin: 20px auto;
    float: none;
  }
}

@media (min-width: 720px) {
  main {
    width: 95%;
  }

  .card {
    width: 45%;
  }

  .card img {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  main {
    width: 85%;
  }

  .row-card .card-img {
    height: 45vh;
  }
}

@media (min-width: 1600px) {
  nav {
    height: 105px;
    font-size: 24px;
  }

  #logo h5 {
    font-size: 28px;
  }

  nav li ul li {
    position: absolute;
    display: block;
    line-height: 105px;
  }

  nav ul li ul li a {
    padding: 0;
    color: #fff;
    height: 105px;
  }

  #menu-container ul li {
    position: relative;
    line-height: 105px;
  }
  
  #menu-container ul li ul {
    position: absolute;
    background: #9e9e9e;
    z-index: 2;
    padding-left: 0;
    top: 105px;
    height: 105px;
    width: 100%;
  }

  #banner {
    height: calc(100vh - 105px);
  }

  #banner img {
    position: absolute;
    min-width: 100%;
    height: calc(100vh - 105px);
  }

  #banner h1 {
    font-size: 80px;
  }

  #banner h3 {
    font-size: 30px;
  }

  .section-heading {
    font-size: 40px;
  }

  .page-heading {
    font-size: 40px;
  }

  .row-card .card-img {
    height: 35vh;
  }

  p {
    line-height: 2;
  }

  .card-meta {
    font-size: 15px;
  }

  #sidebar input {
    height: 48px;
  }

  input, textarea {
    font-size: 24px;
  }

  #sidebar h3 {
    font-size: 20px;
  }

  #sidebar a {
    font-size: 18px;
  }

  .contact-area h3 {
    font-size: 25px;
  }

  .contact-area p {
    font-size: 18px;
  }

  .wpcf7 input {
    padding: 28px 18px;
  }

  .form-submit .submit, .wpcf7 .wpcf7-submit {
    height: 64px;
  }

  .page-card .card-desc {
    padding: 28px 100px 12px;
  }

  #search-box input {
    width: 100%;
    height: 60px;
    padding: 8px 16px;
  }

  input, textarea {
      font-size: 28px;
  }

  #search-box #search-btn {
    height: 60px;
    width: 60px;
  }

  #search-box {
    top: 44px;
  }

  .header-title-container {
    height: 150px;
    bottom: 11.3vh;
  }
}

@media only screen and (-Webkit-min-device-pixel-ratio: 1.5),
  only screen and (-moz-min-device-pixel-ratio: 1.5),
  only screen and (-o-min-device-pixel-ratio: 3/2),
  only screen and (min-device-pixel-ratio: 1.5) {
    #search-box #search-btn,
    #mobile-nav #search-btn {
      background: #f5f5f5 url('images/developer-portfolio-search-icon@2x.png');
      background-size: 40%;
      background-position: center;
      background-repeat: no-repeat;
    }
    
    #search-box #search-btn:hover,
    #mobile-nav #search-btn:hover {
      background: var(--default-color) url('images/developer-portfolio-search-icon@2x.png');
      filter: brightness(115%);
      background-size: 40%;
      background-position: center;
      background-repeat: no-repeat;
}
    
    #sidebar #search-btn {
      background: #f5f5f5 url('images/developer-portfolio-search-icon@2x.png');
      background-size: 40%;
      background-position: center;
      background-repeat: no-repeat;
    }
    
    #sidebar #search-btn:hover {
      background: var(--default-color) url('images/developer-portfolio-search-icon@2x.png');
      background-size: 40%;
      background-position: center;
      background-repeat: no-repeat;
    }
}