@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700');

@font-face {
  font-family: 'Open Sans Condensed';
  font-display: optional;
}

* {-webkit-box-sizing: border-box;box-sizing: border-box;}

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans Condensed';
  color: #404040;
  line-height: 1.7;
  background: #3E3F47;
}

img { width: 100%; }

h2 {
  margin: 0 0 .5em 0;
  font-size: 2.5rem;
  text-align: center;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #72B2DE;
  line-height: 1.3;
}

h4 {
  margin: 0;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #f44336;
  line-height: 1.3;
}

p {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
}

label {
  font-weight: bold;
}

input,
textarea {
    margin-bottom: .75em;
    padding: .5em;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #fff;
}

textarea {
    resize: none;
    height: 150px;
}

input:focus,
textarea:focus {
    outline: none !important;
    border: 1px solid #9DA2B3;
}

@media (min-width: 768px){
  p {
    font-size: 1.4rem;
  }
}

/*** buttons ***/
.btn {
  padding: .75em 1.75em;
  font-weight: 700;
  font-size: 1.3rem;
  margin: .75em 0;
  text-decoration: none;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Open Sans Condensed';
}

.btn-primary {
  background: #293A5D;
  color: #F7F5F5;
  border-top: 2px solid #78889E;
  border-left: 2px solid #78889E;
  border-bottom: 2px solid #192347;
  border-right: 2px solid #192347;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #3D4E6D;
}

.btn-secondary {
  background: #2F76C3;
  color: #fff;
  border-top: 2px solid #548ECD;
  border-left: 2px solid #548ECD;
  border-bottom: 2px solid #2761A0;
  border-right: 2px solid #2761A0;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #3F84C9;
}

.round {
  border-radius: 50%;
  border: 5px solid white;
  width: 300px;
}

/*** navigation bar ***/
.header {
  background-color: #3E3F47;
  width: 100%;
  position: fixed;
  top: auto;
  bottom: 0;
}

.site-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  display: none;
}

.site-name a:link,
.site-name a:visited,
.site-name a:hover,
.site-name a:focus {
  color: #fff;
  text-decoration: none;
}

@media (min-width: 768px){
  .site-name {
    display: block;
  }
}

.nav-list {
  text-align: center;
  list-style: none;
  margin: 0;
  padding: .5em 0 0;
  font-size: 1rem;
}

.nav-item {
  display: inline-block;
}

.nav a {
  padding: .75em;
}

.nav a:link,
.nav a:visited {
  float: left;
  font-weight: bolder;
  display: block;
  color: #f2f2f2;
  text-decoration: none;
}

.nav a:hover {
  color: #f44336;
}

@media (min-width: 768px) {
  .header {
    top: 0;
    bottom: auto;
    border-bottom: 1px solid #000;
  }

  .nav a {
    font-size: 1.25rem;
    padding: .25em .75em;
  }
}

main {
  margin: 0;
}

.container {
  width: 100%;
  max-width:  1200px;
  padding: 1em;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .header-container {
    justify-content: space-between;
  }
}


/*** hero section ***/
.hero {
  width: 100vw;
  max-width: 100%;
  height: 85vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3),rgba(0, 0, 0, 0.3)), url('../img/hero/hero-mac.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 2px solid #3E3F47;
}

.hero-inner {
  border: 3px solid white;
  padding: 2em;
  margin: 2em;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.6));
}

.hero h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: .25em;
  line-height: 1.3;
}

.hero h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .hero {
    height: 100vh;
  }

  .hero-inner {
    padding: 4em 5em 5em;
    margin: 5em
  }

  .hero h1 {
      font-size: 5rem;
  }

  .hero h2 {
    font-size: 2.75rem;
  }
}

.about,
.proficiency,
.work,
.contact {
  color: #fff;
}

.about {
  background: #2F76C3;
  border-top: 2px solid #548ECD;
  border-bottom: 2px solid #2761A0;
}

.proficiency {
  color: #404040;
  background: #EBE7E1;
  border-top: 2px solid #F7F6F4;
  border-bottom: 2px solid #C5C2BE;
}

.work {
  background: #72B2DE;
  border-top: 2px solid #95D1EB;
  border-bottom: 2px solid #5B90BA;
}

.contact {
  background: #666E89;
  border-top: 2px solid #8494A8;
}

.contact a:link,
.contact a:visited {
  color: #fff;
  text-decoration: none;
}

.flex-container {
  display: flex;
  flex-direction: column;
}

.logos-flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.align-top {
  align-items: flex-start;
}

.align-center {
  align-items: center;
}

.mugshot {
  margin: 0 auto;
}

.dev-logo {
  margin: 0 auto;
  width: 45%;
  padding: 1em;
}

.dev-logo img {
  max-width: 175px;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px){
  .flex-container {
    flex-direction: row;
  }

  .mugshot {
    max-width: 300px;
    margin-left: 2em;
  }

  .dev-logo {
    margin: 0 auto;
    width: 20%;
    padding: 1em;
  }

  .dev-logo img {
    max-width: 125px;
  }
}

/*** work block ***/
.resume-block {
  color: #404040;
  margin: 0 0 1em 0;
  padding: .5em;
  background-color: #EBE7E1;
  border-top: 2px solid #F7F6F4;
  border-left: 2px solid #F7F6F4;
  border-bottom: 2px solid #C5C2BE;
  border-right: 2px solid #C5C2BE;
  border-radius: 5px;
}

.resume-header {
  border-bottom: 2px solid #C5C2BE;
}

.resume-employer {
  display: flex;
  flex-direction: column;
  margin: .5em 0;
}

.resume-list ul {
  /* list-style: none; */
  font-size: 1rem;
  margin: .5em 0;
  padding: 0 0 0 1.5em;
}

.resume-list ul li {
  font-size: 1.3rem;
}

/* .resume-list ul li::before {
  content: "\2022";
  color: #72B2DE;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
} */

.resume-button {
  margin: 1em 0;
  text-align: center;
}

.fa-chevron-circle-down,
.fa-chevron-circle-right {
  margin-left: .5em;
}

@media (min-width: 768px){
  .resume-employer {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 .5em 0;
  }

  .resume-list ul {
    margin: .5em 0;
    padding: 0 0 0 2.5em;
  }

  .resume-button {
    margin: 2em;
  }
}

/*** contact block ***/

.contact-container {
  flex-direction: column-reverse;
}

.form-content {
  width: 100%;
}

.contact-info {
  width: 100%;
  padding: 2em 0 1em 0;
  text-align: center;
}

.contact-info-icon {
  font-size: 1.15rem;
  margin-right: .3em
}

.contact-form {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
  }

  .contact-info {
    width: 60%;
    padding-top: 0;
    text-align: left;
  }
}

.btn-form {
  text-align: center;
}

.alert {
  color: #fff;
  font-weight: bold;
  margin-top: 0;
}

.g-recaptcha {
  display: inline-block;
}

footer {
  background-color: #293A5D;
  border-top: 2px solid #78889E;
  padding-bottom: 60px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links a:link,
.footer-links a:visited,
.footer-links a:hover,
.footer-links a:focus {
  color: #fff;
  font-size: 2rem;
  margin: 0 .5em;
  text-decoration: none;
}

@media (min-width: 768px){
  footer {
    padding: 1em;
  }

  .footer-links a:link,
  .footer-links a:visited,
  .footer-links a:hover,
  .footer-links a:focus {
    font-size: 2.5rem;
  }
}

body {
  visibility: visible;
  opacity: 1;
  transition: 5s ease;
}

/*** font icon styles ***/
@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?fdvxpg');
  src:  url('fonts/icomoon.eot?fdvxpg#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?fdvxpg') format('truetype'),
    url('fonts/icomoon.woff?fdvxpg') format('woff'),
    url('fonts/icomoon.svg?fdvxpg#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-phone-square:before {
  content: "\f098";
}
.icon-twitter:before {
  content: "\f099";
}
.icon-facebook:before {
  content: "\f09a";
}
.icon-chevron-circle-right:before {
  content: "\f138";
}
.icon-chevron-circle-down:before {
  content: "\f13a";
}
.icon-youtube-play:before {
  content: "\f16a";
}
.icon-instagram:before {
  content: "\f16d";
}
.icon-envelope-square:before {
  content: "\f199";
}
.icon-facebook-official:before {
  content: "\f230";
}
