html {
  -webkit-font-smoothing: antialiased;
}

body {
  opacity: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: #e6e8dd;
  background: #f1eef0 url("../img/bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin-bottom: 6vw;
}

body.loaded {
  opacity: 1;
}

/* LINKS */
a:link, a:visited {
  color: #e6e8dd;
}

a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

#topHeader {
  width: 100%;
  padding: 10px;
}

#user1logo {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
  width: 90px;
}

#contact {
  position: fixed;
  right: 10px;
}

#contact a {
  text-decoration: none;
}

#hero > h1 {
  font-weight: 100;
  font-size: 6vw;
  line-height: 1;
}

#hero {
  padding-top: 100px;
  text-align: center;
  margin: 0 10vw;
}

#subHeader {
  font-size: 3vw;
  font-weight: 100;
  text-align: center;
  width: 100%;
  position: absolute;
}

.cards {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 0 10vw 0 10vw;
  padding-top: 5vw
}

.cards .card {
	flex: 1;
	margin: 2vw;
  text-align: center;
}

.card {
	padding: 10px;
  margin: 3vw 12vw 0 12vw;
  background-color: #665B67;
  box-shadow: 0 10px 30px 10px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  font-size: 15px;
}

.cardTitle {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: bolder;
  text-align: center;
  width: 100%;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.card .section {
  margin-bottom: 20px;
}

.card .description {
  margin: 5px 5vw 0 5vw;
}

.roundedCorners {
  border-radius: 4px;
}

.keyProjectSectionImage {
  border-radius: 4px;
  width: 30%;
}

.hbox {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-flow: row wrap;
  padding: 3%;
}

.logobar-logo {
  margin: 10px;
  width: 150px;
  height: 100%;
  filter: drop-shadow(10px 20px 10px rgba(0, 0, 0, 0.25));
}

.footerCards {
  background-color: #BDBBB6;
  margin: 3vw 0 0 0;
  padding-top: 0;
}

.footerCards .card {
  background-color: #E0DEDA;
  text-align: left;
}

.footerCards, .footerCards .cardTitle, .footerCards a {
  color: #514752;
}

.circleImageContainer {
  min-width: 70px;
  min-height: 70px;
  background-size: 100%;
  width: 9vw;
  height: 9vw;
  border-radius: 50%;
  background-color: #fefef6;
  margin: 0 auto;
  box-shadow: 0 5px 20px 2px rgba(0, 0, 0, 0.25);
}

#user1Image {
  background-image: url("../img/user1logo_transparent_light.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 70%;
}

#claytonImage {
  background-image: url("../img/derekclayton.jpg");
}

#moockImage {
  background-image: url("../img/colinmoock.jpg");
}

.sticky {
  position: fixed !important;
  top: 0;
}

.centre {
  margin: 0 auto;
  text-align: center;
}

.fadeBackground {
  -webkit-transition: background-color 250ms linear;
  -moz-transition: background-color 250ms linear;
  -o-transition: background-color 250ms linear;
  -ms-transition: background-color 250ms linear;
  transition: background-color 250ms linear;
}

.fadeOpacity {
  -webkit-transition: opacity 250ms linear;
  -moz-transition: opacity 250ms linear;
  -o-transition: opacity 250ms linear;
  -ms-transition: opacity 250ms linear;
  transition: opacity 250ms linear;
}

#copyrightNotice {
  margin: 2vw 0 6vw 0;
  text-align: center;
}

#footerEmail {
  margin-bottom: 2vw;
  text-align: center;
  font-weight: bolder;
}

#footerTitle {
  margin-top: 1vw;
  font-size: 3vw;
  text-align: center;
}


@media screen and (max-width: 730px) {
	.cards .card {
		flex-basis: 100%;
	}

  .footerCards {
    padding-left: 10vw;
    padding-right: 10vw;
  }
}

@media screen and (min-width: 730px) {

  .footerCards .description {
    margin: 5px 1.5vw 0 1.5vw;
  }
}
