/*!
 * Start Bootstrap - Scrolling Nav (https://startbootstrap.com/template-overviews/scrolling-nav)
 * Copyright 2013-2019 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-scrolling-nav/blob/master/LICENSE)
 */
header {
  padding: 156px 0 100px;
}

section {
  padding: 150px 0;
}

/* Cloud Advice edits */

/* Override _grd.scss */
@media (min-width: 1200px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 720px;
  }
}


:root {
  --main-bg-color: coral; 
}

body {
  font-family: 'Catamaran', sans-serif;
}

header {
}

.container {
  width: 90%;
}

/* If the screen size is 601px wide or more, use larger font and spacing. */
@media screen and (min-width: 501px) {
  header.masthead h1 {
    font-size: 4rem;
  }
  span.cloud::before {
    letter-spacing: 0.5rem;
    /* needed for proper centering */
    zmargin-left: 0.5rem;
    margin-right: -0.25rem;
  }
  span.cloud {
    letter-spacing: 0.2rem;
  }
  span.advice {
    letter-spacing: 0.1rem;  
  }
  span.advice::after {
    letter-spacing: 0.5rem;
    margin-right: -0.5rem;
    margin-left: 0.25rem;
  }

  header.masthead.bg-primary {
    background-size: contain;
  }
  
  section {
    padding: 60px 0;
  }
}


/* If the screen size is 600px wide or less, use smaller font and spacing (75% of larger size). */
@media screen and (max-width: 500px) {
  header.masthead h1 {
    font-size: 3rem;
  }
  span.cloud::before {
    letter-spacing: 0.375rem;
    /* needed for proper centering */
    margin-right: -0.1875rem;
  }
  span.cloud {
    letter-spacing: 0.15rem;
  }
  span.advice {
    letter-spacing: 0.075rem;  
  }
  span.advice::after {
    letter-spacing: 0.375rem;
    margin-right: -0.375rem;
    margin-left: 0.1875rem;
  }
  
  header.masthead h5 {
    font-size: 0.9375rem;
  }

  header.masthead.bg-primary {
    background-size: cover;
  }

  section {
    padding: 45px 0;
  }
  
}

/* Minor adjustments for iPhone SE style screen (320w). Note: spacing etc is not compensated for this rare case. */
@media screen and (max-width: 320px) {
  header.masthead h1 {
    font-size: 2.5rem;
  }
}


header.masthead h5 {
  white-space:  nowrap;
}

header.masthead.bg-primary {
  padding: 25vh 1vw 12vh 1vw;
  min-height: 0.6vh;
  background-image: url("../images/23279grey3.png");
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  xbackground-blend-mode: overlay;
  background-color: #A60213 !important;
}

.bg-primary {
  background-color: #A60213 !important;
  color: white;
}

.bg-dark {
  color: white;
}

span.cloud {
  font-weight: 100;
}

span.cloud::before {
  content: "::";
  opacity: 0.5;
}

span.advice {
  font-weight: 500;
}

span.advice::after {
  font-weight: 100;
  content: "::";
  opacity: 0.5;
}

h2 {
  color: #A60213;
  margin-bottom: 1.5rem;
}

a, a:hover, a:visited {
  color: #A60213;
}

section#contact i.fas {
  margin-right: 10px;
  color: #A60213 !important;
}