/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: bebas;
  src: url('../font/BebasNeue-Regular.ttf');
}

@font-face {
  font-family: SackersGothic;
  src: url('../font/SackersGothicStd-Light.otf') format('opentype'),
    url('../font/SackersGothicStd-Light.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'icomoon';
  src: url('../font/icomoon.eot?t30f3s');
  src: url('../font/icomoon.eot?t30f3s#iefix') format('embedded-opentype'),
    url('../font/icomoon.ttf?t30f3s') format('truetype'),
    url('../font/icomoon.woff?t30f3s') format('woff'),
    url('../font/icomoon.svg?t30f3s#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-imdb:before {
  content: '\e900';
  color: white;
  font-size: 27px;
  margin-right: 15px;
  text-decoration: none;
}
.icon-instagram:before {
  content: '\ea92';
  color: white;
  font-size: 25px;
  margin-right: 15px;
  text-decoration: none;
}
.icon-vimeo2:before {
  content: '\eaa1';
  color: white;
  font-size: 25px;
  margin-right: 15px;
  text-decoration: none;
}
.icon-linkedin:before {
  content: '\eac9';
  color: white;
  font-size: 25px;
  margin-right: 15px;
  text-decoration: none;
}
.icon-menu1:before {
  content: '\e901';
}

a {
  text-decoration: none !important;
  color: #548ca8;
}

a:visited {
  color: #548ca8;
}

html {
  height: 100%;
  overflow: auto;
}

body {
  font-family: 'Libre Baskerville', serif;
  /* background: linear-gradient(45deg, #40260d 10%, #EEEEEE 10%, #EEEEEE 87%, #40260d 87%); */
  background: #eeeeee;
  background-size: 100%;
  background-repeat: no-repeat;
  height: 100%;
  overflow: auto;
}

@media (max-width: 767px) {
  body {
    background: #eeeeee;
  }
}

p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

.white {
  color: #fdfdfd;
}

/* ======================== Section Global Styles ======================== */

.section-title {
  color: #212529;
  font-family: bebas;
  font-size: 40px;
}

.section-content {
  padding: 20px 20px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
  border-radius: 3px;
  background-color: #fdfdfd;
}

@media (max-width: 576px) {
  .section-content {
    box-shadow: none;
    padding: 15px;
  }
}

.page {
  display: none;
  padding-top: 85px;
  text-align: center;
  height: 100%;
  overflow: auto;
}

@media (max-width: 767px) {
  .page {
    padding-top: 70px;
  }
}

.page.visible {
  display: block;
}

.section {
  width: 100%;
  padding-top: 80px;
  padding-bottom: 100px;
}

@media (max-width: 767px) {
  .section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.tan-section {
  width: 100%;
  background-color: #f7f5e6;
}

.navy-section {
  width: 100%;
  background-color: #476072;
}

.gray-section {
  width: 100%;
  background-color: #eeeeee;
}

/* ======================== Nav Bar Styles ======================== */

nav {
  height: 65px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #334257;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px 0px;
}

@media (max-width: 767px) {
  nav {
    height: 50px;
  }
}

.main-column {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
  height: 100%;
  max-width: 1170px;
}

.auto-height {
  height: auto;
}

#nav-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  #nav-wrapper {
    justify-content: start;
    padding-left: 10px;
    flex-flow: column nowrap;
  }
}

#nav-menu-button {
  display: none;
  color: #fdfdfd;
  font-size: 30px;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 15px;
}

@media (max-width: 767px) {
  #nav-menu-button {
    display: block;
    margin-top: 10px;
  }
}

.nav-menu-link {
  text-decoration: none;
  padding: 0.25rem 1rem;
  background-color: transparent;
  color: #fdfdfd !important;
  text-transform: uppercase;
  margin-right: 10px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  font-family: 'SackersGothic', sans-serif;
  font-size: 14px;
}

@media (max-width: 1000px) {
  .nav-menu-link {
    font-size: 14px;
    padding: 0.25rem 0.75rem;
  }
}

@media (max-width: 767px) {
  .nav-menu-link {
    display: none;
  }
}

.nav-menu-link.selected {
  border-top: 2px solid #fdfdfd;
  border-bottom: 2px solid #fdfdfd;
}

.nav-menu-link:hover {
  color: #fdfdfd;
  transform: scale(1.1);
}

#mobile-nav-wrapper {
  display: none;
  text-align: center;
}

.mobile-nav-menu-link {
  width: 100%;
  display: block;
  background-color: #334257;
  border-top: 1px solid #fdfdfd;
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #fdfdfd !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: font-size 100ms;
  font-family: 'SackersGothic', sans-serif;
}

.mobile-nav-menu-link.selected {
  color: #fdfdfd !important;
  background-color: #476072;
}

.mobile-nav-menu-link:hover {
  text-decoration: none;
  color: #fdfdfd !important;
  background-color: #476072;
}

.mobile-nav-menu-link:focus {
  text-decoration: none;
  color: #fdfdfd !important;
  background-color: #476072;
}

/* ======================== Home Page Styles ======================== */

#home-page {
  padding-top: 65px;
  background: #eeeeee;
}

@media (max-width: 767px) {
  #home-page {
    padding-top: 50px;
  }
}

#home-page-hero-content-floater {
  font-family: 'SackersGothic', sans-serif;
  text-align: center;
  text-transform: uppercase;
  padding: 20px 40px;
  color: #fdfdfd;
  margin-top: -100px;
}

@media (max-width: 1200px) {
  #home-page-hero-content-floater {
    padding: 20px 20px;
  }
}

@media (max-width: 1000px) {
  #home-page-hero-content-floater {
    padding: 0;
    padding-top: 10px;
    margin-top: 0px;
  }
}

#home-page-hero-content-floater h1 {
  font-size: 45px;
  margin-bottom: 0px;
}

#home-page-hero-content-floater h2 {
  font-size: 30px;
}

#home-page-hero-content-floater hr {
  color: #fdfdfd;
  border-color: #fdfdfd;
  background-color: #fdfdfd;
  margin-left: auto;
  margin-right: auto;
  max-width: 75%;
}

@media (max-width: 2100px) {
  #home-page-hero-content-floater h1 {
    font-size: 35px;
  }

  #home-page-hero-content-floater h2 {
    font-size: 28px;
  }
}

@media (max-width: 1600px) {
  #home-page-hero-content-floater hr {
    max-width: 50%;
  }
}

@media (max-width: 1200px) {
  #home-page-hero-content-floater h1 {
    font-size: 30px;
  }

  #home-page-hero-content-floater h2 {
    font-size: 22px;
  }
}

@media (max-width: 1000px) {
  #home-page-hero-content-floater h1 {
    font-size: 21px;
    margin-bottom: 10px;
  }

  #home-page-hero-content-floater h2 {
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  #home-page-hero-content-floater hr {
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

@media (max-width: 350px) {
  #home-page-hero-content-floater h1 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  #home-page-hero-content-floater h2 {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  #home-page-hero-content-floater hr {
    margin-top: 0px;
    margin-bottom: 5px;
  }
}

#home-page-hero-content-links {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  width: 100%;
  padding: 10px 20px;
}

@media (max-width: 1000px) {
  #home-page-hero-content-links {
    margin-top: 5px;
    margin-bottom: 5px;
  }
}

#home-page-hero-content-links a span {
  color: #fdfdfd;
  font-size: 26px;
  transition: opacity 200ms;
}

#home-page-hero-content-links a span:hover {
  opacity: 0.8;
}

#home-page-hero-content-links a i {
  color: #fdfdfd;
  font-size: 30px;
  transition: opacity 200ms;
}

#home-page-hero-content-links a i:hover {
  opacity: 0.8;
}

#home-page-hero {
  width: 100%;
  height: calc(100vh - 65px);
  background-image: url('../img/headshots/DSC07597-extended.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

@media (max-width: 500px) {
  #home-page-hero {
    background-image: url('../img/headshots/DSC07597-mobile.jpg');
  }
}

#home-page-hero-content {
  position: absolute;
  top: 35%;
  left: 60%;
}

@media (max-width: 1000px) {
  #home-page-hero-content {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    top: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
    background: rgb(71, 96, 114, 0.8);
    box-shadow: none;
  }
}

/* ======================== About Me Page Styles ======================== */

#about-page {
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 80px;
}

@media (max-width: 767px) {
  #about-page {
    padding-top: 80px;
  }
}

#about-page .main-column {
  text-align: left;
}

#about-me-wrapper {
  display: flex;
  flex-flow: row nowrap;
}

@media (max-width: 1000px) {
  #about-me-wrapper {
    flex-flow: row wrap;
    justify-content: space-around;
  }
}

#about-me-text {
  /* margin-right: 20px; */
}

#about-me-photo-wrapper {
  margin-left: 50px;
  margin-right: 50px;
  box-shadow: rgba(50, 50, 93, 0.55) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.75) 0px 8px 16px -8px;
}

#about-me-photo {
  min-width: 350px;
  width: 100%;
  height: auto;
}

@media (max-width: 1000px) {
  #about-me-photo-wrapper {
    margin-left: 0px;
    margin-right: 0px;
  }

  #about-me-photo-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
  }
}

/* ======================== Headshot and Demo Reel Section Styles ======================== */

.headshot-row {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  background: transparent;
}

.headshot {
  width: 32%;
  box-shadow: rgba(50, 50, 93, 0.35) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.5) 0px 8px 16px -8px;
  background: transparent;
  cursor: pointer;
  height: auto;
  transition: all 0.2s ease-in-out;
  margin-bottom: 20px;
}

.headshot:hover {
  transform: scale(1.03);
}

@media (max-width: 767px) {
  .headshot {
    width: 49%;
  }
}

#headshot-modal-overlay {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.5);
}

#headshot-modal-wrapper {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 80vh;
  max-width: 800px;
  z-index: 101;
}

@media (max-width: 767px) {
  #headshot-modal-wrapper {
    height: 60vh;
  }
}

#close-headshot-modal-button {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

@media (max-width: 767px) {
  #close-headshot-modal-button {
    font-size: 25px;
  }
}

#headshot-modal {
  width: auto;
  height: 100%;
}

.demo-clips-row {
  width: 100%;
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}

.demo-clip-container {
  width: 40%;
  display: inline-block;
  box-shadow: rgba(50, 50, 93, 0.55) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.75) 0px 8px 16px -8px;
  margin-bottom: 20px;
}

.demo-clip-container:nth-of-type(odd) {
  margin-right: 20px;
}

@media (max-width: 1284px) {
  .demo-clip-container:nth-of-type(odd) {
    margin-right: 15px;
  }
}

@media (max-width: 1024px) {
  .demo-clip-container:nth-of-type(odd) {
    margin-right: 8px;
  }

  .demo-clip-container {
    width: 48%;
  }
}

@media (max-width: 750px) {
  .demo-clip-container {
    width: 90%;
  }

  .demo-clip-container:nth-of-type(odd) {
    margin-right: 0px;
  }
}

/* ======================== Projects Section Styles ======================== */

#projects-page {
  height: 100%;
  background: #eeeeee;
}

.projects-section-title {
  font-family: SackersGothic;
  text-transform: uppercase;
  text-align: left;
  margin-top: 20px;
  font-size: 1.75rem;
}

.projects-section-hr {
  margin-bottom: 40px;
}

/* ======================== Contact Me Section Styles ======================== */

#contact-page {
  padding-right: 15px;
  padding-left: 15px;
}
