/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #0E304B;
}

body {
  color: #fff;
  font-family: 'Playfair Display', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 300;
}

.cover-container {
  max-width: 100vw;
  height: 90vh;
}

.header, .intro {
  display: block;
}

.h-95 {
  height: 95%;
}
/*
 * Header
 */
.masthead {
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.masthead-brand {
  margin-bottom: 0;
  font-weight: 300;
  opacity: 0.1;
  font-family: 'Playfair Display', Arial, sans-serif;
  transition: opacity 500ms ease-in-out;
}

@media screen and (max-width: 767px) {
  .masthead-brand {
    text-align: center;
  }
}

.masthead-brand:hover {
  opacity: 0.5;
  cursor: default;
}

.nav-masthead .nav-link {
  padding: .25em 0;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  background-color: transparent;
  border-bottom: 2px solid transparent;
  font-family: 'Playfair Display', Arial, sans-serif;
  letter-spacing: 1px;
}

.nav-masthead .nav-link:hover,
.nav-masthead .nav-link:focus {
  border-bottom-color: rgba(255, 255, 255, .25);
}

.nav-masthead .nav-link + .nav-link {
  margin-left: 1rem;
}

.nav-masthead .active {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 48em) {
  .masthead-brand {
    float: left;
  }
  .nav-masthead {
    float: right;
  }
}


/*
 * Cover
 */
.cover, .intro, .portfolio, .contact {
  position: relative;
  padding-left: 100px;
  padding-right: 100px;
}

@media screen and (max-width: 1199px) {
  .cover, .intro, .portfolio, .contact {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 555px) {
  .cover, .intro, .portfolio, .contact {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

.cover .headshot {
  position: absolute;
  top: calc(50% - 250px);
  right: 100px;
  height: 500px;
  z-index: 1;
  opacity: 0.75;
  transition: opacity 200ms linear;
}

@media screen and (max-width: 1199px) {
  .cover .headshot {
    opacity: 0.2;
  }
}

@media screen and (max-width: 767px) {
  .cover .headshot {
    right: calc(50% - 250px);
  }
}

@media screen and (max-width: 502px) {
  .cover .headshot {
    height: auto;
    width: 100%;
    right: 0;
    top: -50%;
  }
}

.lead {
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Arial, sans-serif;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

.cover-heading {
  position: relative;
  font-size: 14.5vw;
  line-height: 11vw;
  letter-spacing: -0.04em;
  font-kerning: auto;
  text-indent: 14px;
  text-align: left;
  text-transform: uppercase;
  -webkit-text-stroke: 2px white;
  -webkit-text-fill-color: transparent;
  margin-left: -13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  z-index: 2;
  margin-left: -100px;
}

.cover-heading ~ .lead {
  position: relative;
  text-indent: 6px;
  letter-spacing: 1px;
  z-index: 2;
  font-size: 2rem;
}

@media screen and (max-width: 1199px) {

  .cover-heading, .cover-heading ~ .lead {
    text-indent: 0;
  }

  .cover-heading ~ .lead {
    font-size: 1.5rem;
  }
  
  .cover-heading {
    margin-left: 0;
  }

  .h-f-m {
    display: block;
    height: 0;
    color: transparent;
  }
}

.intro, .contact {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  color: #333;
  background-color: white;
}

.intro h2.title, .contact h2.title, .portfolio h2.title {
  position: absolute;
  top: -40px;
  left: 0;
  opacity: 0.2;
  font-size: 14.5vw;
  line-height: 11vw;
  letter-spacing: -0.04em;
  font-kerning: auto;
  text-indent: 12px;
  text-align: left;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #ABAF20;
  -webkit-text-fill-color: transparent;
  margin-left: -13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}


.intro h2 {
  color: #ABAF20;
}

.lead.body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

@media screen and (max-width: 767px) {
  .lead.body {
    font-size: 1em;
  }
}

.no-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
}

.no-bullets li {
  margin-bottom: 5px;
}

.portfolio {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.portfolio a {
  color: #ABAF20;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.contact .btn-primary {
  background-color: #ABAF20;
  font-size: 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #0E304B;
  border: none;
  padding: 15px 30px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1199px) {
  .intro h2.title, .contact h2.title, .portfolio h2.title {
    top: -5px;
  }
}

@media screen and (max-width: 767px) {
  .intro h2.title, .contact h2.title, .portfolio h2.title {
    font-size: 120px;
    line-height: 90px;
  }
}

@media screen and (max-width: 555px) {
  .intro h2.title, .contact h2.title, .portfolio h2.title {
    font-size: 90px;
    line-height: 70px;
  }
}

footer {
  background: #333;
}

footer p {
  padding: 10px;
  margin-bottom: 0;
  text-align: center;
}

.img-fluid {
  position: relative;
  top: 30px;
  opacity: 0;
  transition: all 500ms ease-out;
}

.in-view {
  top: 0;
  opacity: 1;
}

