/*!
 * 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 labs edits */

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


:root {
  /*
  https://teamcolorcodes.com/california-golden-bears-color-codes/
  https://brand.berkeley.edu/colors/
  */
  --main-bg-color: #003262;
  /* before: #f2862e; */ 
}

body {
  font-family: 'Avenir Next Light', AvenirNext, Lato, Roboto, Arial, 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.labs {
    letter-spacing: 0.1rem;  
  }
  span.labs::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 {
    letter-spacing: 0.15rem;
  }
  span.labs {
    letter-spacing: 0.075rem;  
  }
  
  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;
  }
}

h1.main span {
  padding: 0.2rem;
}

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: var(--main-bg-color) !important;
}

.bg-primary {
  background-color:var(--main-bg-color) !important;
  color: white;
}

.bg-dark {
  color: white;
}

span.cloud {
  font-weight: 300;
}

span.app {
  font-weight: 500;
}

span.labs {
  font-weight: 400;
}

h2 {
  color: var(--main-bg-color);
  margin-bottom: 1.5rem;
}

a, a:hover, a:visited {
  color: var(--main-bg-color);
}

section#contact i.fas {
  margin-right: 10px;
  color: var(--main-bg-color) !important;
}

html {
  background-color: #343a40 !important;
}


/* FROM: www.answer-cloud.com */

/*  Rebranding 2016 02 */
p.nsr_brand {
  font-size: 250% !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  h3.nsr_brand {
      font-size: 430% !important;
  }
}

@media (max-width: 320px) {
  h3.nsr_brand {
      font-size: 350% !important;
  }
}

p.nsr_brand span.nsr_tm {
  font-size: 50%;
  vertical-align: 55%;
}

span.nsr_brand_answer {
  text-transform: lowercase;
/*  letter-spacing: -0.05em; */
  font-weight: 400;
}

span.nsr_brand_cloud {
  /*  Avenir Next weight needs to be controlled via font-family, not font-weight! */
  font-family: 'Avenir Next Light', AvenirNext, Lato, Roboto, Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 0.04em;
  font-variant: small-caps;
/* font-size: 102%; */
  /* to compensate for small font-weight */
  margin-left: 0.1em;
}

/* NEW 2023 02 */

img.logo {
  height: 140px;
  float: left;
  margin: 0 30px 10px -14px;
  border-radius: 20px;
}