/*------------ FONTS ------------*/

@import url("https://fonts.googleapis.com/css?family=Noto+Serif+SC|Tangerine|Roboto:100,200,300,400,500,600,700|Exo:100,200,300,400,500,600,700");

body {
  font-family: "Roboto", sans-serif;
}

h1 {
  font-family: "Tangerine", serif;
  font-size: 100px;
}

h2,
h3,
h4,
h5,
h6,
h7,
h8 {
  font-family: "Noto Serif SC", serif;
}

#pricing-section h2 {
  font-family: "Tangerine", serif;
  font-size: 60px;
}

.testimonials h3 {
  margin-bottom: 1rem;
}

p,
ol {
  font-family: "Roboto", sans-serif;
}

.p-emphasis p {
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  font-size: 18px;
  font-style: normal;
}

.fa-7x {
  color: #686868;
}

/*------------ LINKS ------------*/

a {
  color: #6c757d;
}

a:hover {
  text-decoration: none;
  color: #17a2b8;
}

/*------------ BORDERS & MARGINS ------------*/

/* corrects footer css from main footer that was 
also being applied to the one in testimonials */
.testimonials footer {
  padding: 0;
}

/* gets rid of overflow on pages*/
.row {
  margin-left: 0;
  margin-right: 0;
}

/* gets rid of overflow on pages*/
.container-fluid {
  width: 99%;
}

.quote {
  margin-top: 1.5rem;
}

#order-page {
  padding: 7% 0;
}

/*------------ NAVIGATION ------------*/

/* shadow and z-index to make navbar appear to be floating above other content */
.navbar {
  text-align: center;
  z-index: 1;
  opacity: 1;
  -webkit-transition: 0.2s all ease-in-out 0.3s;
  -webkit-transition: 0.5s all ease-in-out 0.3s;
  transition: 0.5s all ease-in-out 0.3s;
}

.navbar.invisible {
  opacity: 0;
}

.home-navbar {
  background-color: rgba(255, 255, 255, 0.75);
}

.pagetop-pushdown {
  height: 66px;
}

.nav-link {
  -webkit-transition: 0.2s all ease-in-out 0.3s;
  transition: 0.2s all ease-in-out 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #17a2b8;
}

/*------------ CONTAINERS ------------*/

.order-steps-container {
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(0, 0, 0, 0.23);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  max-width: 230px;
  border-radius: 5px;
}

.vertical-center {
  margin: 0;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

h1.vertical-center {
  margin-left: 2rem;
}

#pricing-section {
  min-height: 100vh;
  padding-top: 7%;
}

/*------------ EMBEDDED VIDEO BACKGROUND & OVERLAY ------------*/

.video-wrapper {
  padding: 56.25% 0 0 0;
  /* this line only - original code credit: https://css-tricks.com/NetMag/FluidWidthVideo/Article-FluidWidthVideo.php */
  position: relative;
}

.video {
  position: absolute;
  border-style: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -99;
}

/*original code credit: "FullScreen YouTube Video Background In Pure CSS" https://codepen.io/dudleystorey/pen/PZyMrd */
.video-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 20%;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 1.5;
  text-align: center;
  z-index: -98;
}

/*------------ IMAGES ------------*/

#testimonialsHero {
  min-height: 100vh;
  background-image: url("../images/gallery/Drawing4-lg.jpg");
  background-position: center 35%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-attachment: fixed;
}

.hero-overlay {
  min-height: 100vh;
  background-color: rgba(255, 255, 255, 0.65);
  padding: 7% 0;
  position: relative;
}

.hero-img {
  position: relative;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  /* positions image correctly on all screen sizes */
  background-position: center 60%;
}

.hero-img-about {
  background-image: url("../images/heros/JimGullettAboutCover.jpeg");
  background-position: center 35%;
}

.hero-img-pricing {
  background-image: url("../images/heros/bird.jpg");
  background-position: center 60%;
}

.hero-img-order {
  background-image: url("../images/heros/light\ house\ rocks.jpg");
  background-position: center 40%;
}

.hero-img-contact {
  background-image: url("../images/heros/fog.jpg");
  background-position: center 6%;
}
.hero-img-thankyou {
  background-image: url("../images/gallery/softmountains.jpeg");
  background-position: center 6%;
}

.hero-img-gallery {
  background-image: url("../images/heros/rusted.jpg");
  background-position: center 20%;
}

/*HOME PAGE IMAGES & OVERLAY*/

.hero-img-wrapper {
  position: relative;
}

.special-hero-home {
  background-image: url("../images/gallery/lighthouserocks.jpg");
  position: relative;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  /* positions image correctly on all screen sizes */
  background-position: center 56%;
}

.hero-home-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 33%;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 1.5;
  text-align: center;
}

/*ABOUT PAGE IMAGES*/

.about-img {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 450px;
}

.about-img-1 {
  background-image: url("../images/about/Jim.jpg");
}

.about-img-2 {
  background-image: url("../images/about/Jim2.png");
}

.about-img-3 {
  background-image: url("../images/about/brushes.png");
  /* positions image correctly on all screen sizes */
  background-position: center 25%;
}

/*GALLERY PAGE IMAGES*/

/*original code credit: https://codepen.io/sdthornton/pen/wBZdXq */
.gallery-thumbnail {
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.24);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  -webkit-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 5px;
  /*this code added by me*/
}

/* creates pleasing illusion of hovered image being raised up from the screen */
/* original code credit: https://codepen.io/sdthornton/pen/wBZdXq */
.gallery-thumbnail:hover {
  /*width and height of hover shadow changed by me*/
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25),
    0 3px 6px rgba(0, 0, 0, 0.22);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.22);
}

.gallery-img img {
  width: 100%;
}

/*------------ FOOTER ------------*/

.social-icon-shadow {
  text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow {
  text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
}

footer {
  padding: 3rem 0;
}

.footer-nav {
  color: white;
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  -webkit-transition: 0.2s all ease-in-out 0.3s;
  transition: 0.2s all ease-in-out 0.3s;
  display: inline-block;
}

.footer-nav:hover {
  color: #17a2b8;
}

/*------------ SOCIAL ICONS ------------*/

.fab {
  color: #ffffff;
  transition: all 0.2s ease-in-out 0.2s;
  -moz-transition: all 0.2s ease-in-out 0.2s;
  -webkit-transition: all 0.2s ease-in-out 0.2s;
}

/* UX feature, social icons grow and change colour when hovered over */
.fab:hover {
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
}

.fa-instagram:hover {
  color: #fbad50;
}

.fa-facebook:hover {
  color: #3b5998;
}

/*------------ MEDIA QUERIES ------------*/

/*phones*/
@media screen and (max-width: 768px) {
  .fontchange-sm {
    font-size: 20px;
  }

  .navbar {
    background-color: rgba(255, 255, 255, 0.84);
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .fixed-top {
    position: fixed;
    top: auto;
    bottom: 0;
  }
}

/*phones and tablets*/
@media screen and (max-width: 992px) {
  .gallery-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 50%;
    padding: 10px;
  }
}

/*desktops and XL screens*/
@media screen and (min-width: 993px) {
  .gallery-row {
    margin-top: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
  h1.vertical-center {
    margin-left: 3rem;
    font-size: 125px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  h1.vertical-center {
    margin-left: 5rem;
    font-size: 150px;
  }
}
