:root {
  --blue: #0E5883;
  --yellow: #E1C637;
  --grey: #ebebeb;
  --gray: #ebebeb;
  --darkgrey: #2e2f31;
  --white: #fff;
}

@font-face { font-family: Futura; src: url('Futura Condensed.ttf'); } 

@font-face { font-family: Raleway; src: url('Raleway-VariableFont_wght.ttf'); } 




body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
}

/* ///// HEADINGS + TYPOGRAPHY /////////////////////////////////////// */

h1,
h2 {
  font-size: 1.6rem;
  font-weight: 700;
  font-family:'Futura';
}

p,
ul li {
  line-height: 1.8rem;
  padding-bottom: 0.8rem;
}

/* ///// HEADER /////////////////////////////////////// */

.hero {
  background-image: linear-gradient(
      rgba(60, 60, 60, 0.4),
      rgba(60, 60, 60, 0.5)
    ),
    url(images/sks_header.jpg);
  filter: grayscale(30%);
  height: 50vh;
  background-position: right;
  position: relative;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  color: var(--grey);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-top: 0;
  padding-left: 2rem;
  padding-right: 2rem;
}

.header-nav {
  padding: 0.5rem;
  background: var(--blue);
  position: relative;
  top: 0;
}

.header-nav img {
  position: relative;
  height: 5vh;
  left: 5%;
}

.header-nav div {
  position: relative;
  display: table;
  float: right;
  right: 5%;
  height: 5vh;
}

.nav-element a {
  margin-top: 50%;
  margin-bottom: 50%;
  display: table-cell;
  vertical-align: middle;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-element a:hover {
  opacity: 0.75;
}

.nav-element .active,
.nav-element a:active {
  opacity: 0.5;
}

.nav-element a:first-of-type(1) {
  padding-left: 0.5rem;
}

.nav-element a:nth-last-of-type(1) {
  padding-right: 0.5rem;
}

/* Sticky class added to header when reached its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

/* //// SKS intro /////////////////////////////////////// */
.text-section:nth-child(2n-1) {
  background-color: var(--grey);
}
.intro-container {
  margin: 0 auto;
  padding-top: 5%;
  padding-bottom: 5%;
}

.intro-box {
  width: 85%;
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 2rem;
  font-weight: 700;
  margin: 0 auto;
}

/* ///// SKS TEXT /////////////////////////////////////// */

.grid-section {
  display: grid;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-container-gray {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--grey);
  color: var(--blue);
}
.text-container-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue);
  color: var(--grey);
}

.text-container {
  width: 80%;
  padding-bottom: 5%;
}

.text-section-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: var(--white) !important;
}

.text-container-col {
  max-width: 1100px;
  min-width: 70%;
}

ul li {
  line-height: 1.8rem;
}

/*  Cards */

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 80%;
  padding-bottom: 0;
  margin: 3rem auto 3rem;
}

.card img {
  width: 100%;
}

.card-title {
  color: var(--darkgrey);
}

.card a {
  text-decoration: none;
  color: var(--blue);
}

.card button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: var(--blue);
  text-align: center;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
}

.card button a {
  text-decoration: none;
  color: var(--white);
}

.card button:hover,
.card a:hover {
  opacity: 0.7;
}

/* ///// IMG /////////////////////////////////////// */
.img-wide {
  max-width: 95%;
}

/* ///// FOOTER /////////////////////////////////////// */
footer {
  position: absolute;
  width: 100%;
  background-color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-gap: 2%;
  width: 90%;
}

.footer-grid a {
  color: var(--yellow);
  text-decoration: none;
}

.footer-left,
.footer-mid,
.footer-right {
  background-color: var(--blue);
  color: var(--grey);
}

footer .contact p {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
  font-weight: 300;
}

footer h2 {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.space {
  display: none;
}

footer .contact {
  margin-bottom: 1rem;
}

footer .contact .phone,
footer .contact .email {
  font-size: 0.8rem;
  line-height: 1.2rem;
  margin-bottom: 0;
  padding-bottom: 0;
}

footer .map {
  width: 95%;
  height: 70%;
  opacity: 80%;
}

/* Responsiveness Normal Phone //////////// */
@media (min-width: 380px) {
  /* Hero h1 adj */
  .hero h1 {
    font-size: 2.2rem;
    margin-top: -1rem;
  }

  .footer-grid,
  .grid-section {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* Responsiveness TABLET /////////////////////////////////////// */
@media (min-width: 768px) {
  p,
  ul li {
    font-size: 1.2rem;
    line-height: 2.1rem;
  }

  h1,
  h2 {
    font-size: 2rem;
  }

  /* Hero h1 adj */
  .hero h1 {
    font-size: 3rem;
    margin-top: 2rem;
  }

  .hero {
    height: 86vh;
    background-position: center;
  }

  /* Logo adj */
  .header-nav img {
    height: 10vh;
  }

  .header-nav div {
    height: 10vh;
  }

  .intro-box {
    font-size: 1.5rem;
    line-height: 3rem;
    width: 60%;
  }

  .intro-box.border-left {
    border-left: solid 5px var(--blue);
    padding: 0 0 2% 5%;
  }

  .intro-box p:nth-last-of-type(1) {
    margin-bottom: -0.5rem;
  }

  /* zig-zag on tablet and up */
  .grid-section:nth-child(odd) div:nth-child(1) {
    order: 2;
  }

  .grid-section:nth-child(odd) div:nth-child(2) {
    order: 1;
  }

  .footer-grid {
    width: 50%;
  }

  .card {
    margin: 6rem auto 6rem;
  }
}

/* Responsiveness SCREEN /////////////////////////////////////// */
@media (min-width: 1100px) {
  /* Base REM */
  html {
    font-size: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  /* Hero h1 adj */
  .hero h1 {
    font-size: 4.6rem;
    margin-top: 2rem;
  }

  .space {
    display: block;
  }

  .footer-grid {
    width: 90%;
  }
}

/* Responsiveness LARGE SCREEN /////////////////////////////////////// */
@media (min-width: 1800px) {
  /* Base REM */
  html {
    font-size: 20px;
  }
}

/* Responsiveness X-LARGE SCREEN /////////////////////////////////////// */
@media (min-width: 2200px) {
  /* Section limit */
  section {
    margin-right: 5vw;
    margin-left: 5vw;
  }
}
