html {
  height: 100%;
}

body {
  min-height: 100%;
  background: #444 url(../img/bg-md.jpg) no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  font-family: 'futura-pt', 'Helvetica Neue', Arial, sans-serif;
}

.blocks {
  overflow: hidden;
}

.blocks__block {
  color: #fff;
  padding: 20px 15px;
  border-bottom: 1px solid #565656;
  text-align: center;
}

.blocks__text {
  text-transform: uppercase;
  padding: 15px 0;
  max-width: 250px;
  margin: 0 auto;
}

.btn {
  border: 0;
  border-radius: 50px;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .03em;
}

.btn svg {
  fill: currentColor;
  width: 12px;
  height: 12px;
  margin-left: 5px;
  margin-top: -4px;
  vertical-align: middle;
}

.blocks__logo {
  width: 200px;
  height: 70px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.blocks__logo--spoorwegbouw {
  background-image: url(../img/spoorwegbouw.png);
}

.blocks__logo--betonboringen {
  background-image: url(../img/betonboringen.png);
}

.blocks__logo--technics {
  background-image: url(../img/technics.png);
}

.blocks__logo--meetinholland {
  background-image: url(../img/meetinholland.png);
}

.site-alert {
  background-color: #166ac1;
  color: #fff;
  padding: .875rem 1rem;
  font-size: .875rem;
  line-height: 1.4;
  width: 100%;
}

.site-alert a {
  color: #fff;
  text-decoration: underline;
}

@media (-webkit-min-device-pixel-ratio:1.5), (-o-min-device-pixel-ratio:3/2), (min-resolution:1.5dppx), (min-resolution:144dpi) {
  .blocks__logo--spoorwegbouw {
    background-image: url(../img/spoorwegbouw@2x.png);
  }

  .blocks__logo--betonboringen {
    background-image: url(../img/betonboringen@2x.png);
  }

  .blocks__logo--technics {
    background-image: url(../img/technics@2x.png);
  }

  .blocks__logo--meetinholland {
    background-image: url(../img/meetinholland@2x.png);
  }
}

@media (min-width: 768px) {
  body {
    background-image: url(../img/bg-lg.jpg);
    height: 100%;
  }

  .blocks {
    height: 100%;
    height: calc(100% - 3.325rem);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .blocks__block {
    position: relative;
    float: left;
    width: 25%;
    border-right: 1px solid #565656;
    border-bottom: 0;
    padding: 30px 15px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
            flex: 0 0 25%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .blocks__block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: -1;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
  }

  .blocks__block:hover:before {
    opacity: 1;
  }

  .blocks__block .btn {
    opacity: 0;
    -webkit-transform: translate3d(0, 5px, 0);
        -ms-transform: translate3d(0, 5px, 0);
            transform: translate3d(0, 5px, 0);
    -webkit-transition: opacity .5s ease-in-out, -webkit-transform .5s ease-in-out;
    transition: opacity .5s ease-in-out, transform .5s ease-in-out;
  }

  .blocks__block:hover .btn {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
  }

  .blocks__logo {
    float: none;
    margin: 0 auto;
    width: 166px;
    height: 60px;
  }

  .blocks__logo--meetinholland {
    width: 140px;
    height: 70px;
    margin-bottom: 0;
  }

  .site-alert {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3.325rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 1060px) {
  .blocks__logo {
    width: 240px;
    height: 80px;
  }

  .blocks__logo--meetinholland {
    width: 180px;
    height: 90px;
  }
}
