:root {
  --primary-color: #43b8a7;
  --secondary-color: #58595b;
}

body {
  font-family: 'Titillium Web', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--secondary-color);
  margin-bottom: 100px;
}

a,
.footer-brand span {
  color: var(--primary-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
}

a:hover {
  opacity: .75;
}

header a,
.contact-item a {
  color: var(--secondary-color);
}

header a:hover,
.contact-item a:hover {
  color: var(--primary-color);
  opacity: 1;
}

#logo {
  display: block;
  background: url(../img/logo.svg) no-repeat center;
  background-size: contain;
  width: 60px;
  height: 60px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.footer-brand {
  font-size: 24px;
  padding-right: 12px;
  border-right: 1px solid var(--secondary-color);
  line-height: 26px;
}

.footer-copy {
  font-size: 18px;
  padding-left: 12px;
  line-height: 26px;
}

.bg-green {
  background: #87d4c8;
}

.bg-grey {
  background: #888;
}

.case-study {
  position: relative;
  overflow: hidden;
}

.case-study a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.case-study-title {
  font-size: 28px;
  color: var(--primary-color);
  padding: 0px 25px 0px 25px;
  line-height: 76px;
  position: absolute;
  top: 50%;
  left: 0;
  background: #fff;
  text-transform: uppercase;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 2;
}

@media (min-width: 768px) {
  .case-study-title {
    font-size: 36px;
  }
}

.case-study-image {
  min-height: 200px;
  height: calc((100vh - 185px) / 2);
  background: no-repeat center center;
  background-size: contain;
  opacity: .25;
  transform: scale(1.1);
  transform-origin: center center;
  transition: all 0.6s ease;
}

@media (min-width: 768px) {
  .case-study-image {
    min-height: 270px;
    background: no-repeat right center;
    transform-origin: right center;
  }
}

@media (max-width: 991px) {
  .case-study-main-image {
    width: 100%;
    height: auto;
  }
}

.case-study:hover .case-study-image {
  opacity: .75;
  transform: scale(1.25);
}

h1 {
  text-transform: uppercase;
  font-size: 60px;
}

h1.small {
  font-size: 48px;
  text-transform: none;
}

.header-row {
  background: #888;
  color: #fff;
  text-align: center;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-primary:active,
.btn-outline-primary:active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  opacity: .75;
}