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

h1, h2, h3, p {
  margin:0;
}

.content-max-width {
  max-width: 900px;
  margin: auto;
}

/* HEADER */

header {
	background-image: linear-gradient(rgba(3,27,78,0.6),rgba(3,27,78,0.6)), url(/images/background.jpg);
	height:400px;
	background-position: 41% 26%;
    background-color: #020208;
}

header a {
  text-decoration: none;
}

header nav {
  max-width: 900px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:10px;
}

header nav ul {
  margin:0;
  padding:0;
  list-style: none;
  display: flex;
}

@media screen and (max-width: 800px) {
	header nav ul {
		display:none !important;
	}
}

header nav ul li {
  color: hsla(0,0%,100%,.7);
  padding:0 8px;
  margin: 0 8px;
  font-size:17px;
  transition: 0.15s;
}

header nav ul li:hover {
  color: #fff;
}

header nav .logo {
  color:#fff;
  font-size:40px;
  font-family: 'Play', sans-serif;
}

header .header-intro {
  height: calc(100% - 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color:#fff;
  text-align: center;
  padding: 0 15px;
}

header .header-intro h1 {
  font-size: 50px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom:10px;
}

@media screen and (max-width: 800px) {
	header .header-intro h1 {
	  font-size: 30px;
	}
}

header .header-intro h2 {
  font-size: 22px;
  font-family: 'Raleway', sans-serif;
  font-weight:400;
}

@media screen and (max-width: 800px) {
	header .header-intro h2 {
	  font-size: 18px;
	}
}

/* MAIN CONTENT */

section h2 {
  color: #031b4e;
  font-size:38px;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

section p {
  color: rgba(3,27,78,.6);
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
}

.technology {
  margin-top:30px;
  max-width:900px;
  margin: 30px auto 0 auto;
  text-align: center;
}

@media screen and (min-width: 800px) {
	.technology {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		max-width: 650px;
	}
}

.technology img {
  max-width:160px;
  margin: 0 15px;
}

@media screen and (max-width: 800px) {
	.technology img {
	  max-width:110px;
	  margin: 0 6px;
	}
}

.services {
  max-width:900px;
  margin: 0 auto 70px auto;
  padding: 0 15px;
}

@media screen and (max-width: 800px) {
	.services {
	  margin: 0 auto 30px auto;
	}
}

.services .boxes {
  display: flex;
  max-width: 900px;
}

@media screen and (max-width: 800px) {
	.services .boxes {
		flex-direction: column;
	}
}

.services .boxes .box {
  width: calc(33% - 10px);
  margin:0 10px;
  padding: 20px;
  border: 1px solid #e5e8ed;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(3,27,78,.06);
  text-align: center;
}

@media screen and (max-width: 800px) {
	.services .boxes .box {
		width:auto;
		margin:10px 0;
	}
}

.services .boxes .box svg {
  font-size: 35px;
  margin-bottom: 14px;
  color:#031b4e;
}

.services .boxes .box h3 {
  font-size: 19px;
  color: #031b4e;
  margin-bottom: 10px;
  font-weight: 600;
}

.services .boxes .box p {
  color: rgba(3,27,78,.7);
  line-height: 1.75;
  font-size:16px;
  margin-bottom:0;
}

.divider {
  background-color: #e5e8ed;
  height: 4px;
  margin: 40px auto 55px auto;
  width: 60px;
  border:none;
}

.about {
  background-color: #f3f5f9;
  padding: 70px 15px;
}

@media screen and (max-width: 800px) {
	.about {
	  padding: 30px 15px;
	}
}

.about-boxes {
  max-width: 700px;
  margin: auto;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 800px) {
  .about-boxes {
    flex-direction: column;
  }
}

.about-text-container {
  background-color: #fff;
  position: relative;
}

.about-text-container:before {
    font-family: "Font Awesome 5 Pro";
    content: "\f10d";
    top: 15px;
    left: 15px;
    position: absolute;
    font-size: 70px;
    color: rgba(0,0,0,0.2);
    display: inline-block;
}

@media screen and (min-width: 800px) {
  .about-text-container {
    width:500px;
    height: 200px;
    align-items: center;
    display: flex;
  }
}

@media screen and (max-width: 800px) {
  .about-text-container {
    margin-bottom: 15px;
  }
}

.about-text-content {
  padding: 35px;
}

.about-text-content p {
  font-size:13px;
  margin-bottom:0;
  text-align: left;
  font-style: italic;
}

.about-text-content p span {
    top: 5px;
    position: relative;
    font-weight: bold;
}

.about-image img {
  display: block;
  height: 200px;
  width: 150px;
}

@media screen and (max-width: 800px) {
  .about-image img {
    margin:auto;
  }
}

@media screen and (min-width: 800px) {
  .about-text-container {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .about-image img {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}

.contact {
  background-color: #f3f5f9;
  padding: 70px 15px;
}

@media screen and (max-width: 800px) {
	.contact {
	  padding: 30px 15px;
	}
}

.contact h3 {
  text-align: center;
  color: #031b4e;
  font-size: 30px;
  font-weight: 300;
}

@media screen and (max-width: 800px) {
	.contact h3 {
	  margin-bottom:10px;
	}
}

.contact a {
  color: #031b4e;
  text-decoration: none;
}

.contact .row {
  max-width: 700px;
  margin:auto;
  padding-top:20px;
}

.contact .row div {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact h3 svg {
  margin-right: 10px;
}

.referanser {
  max-width:900px;
  margin: 70px auto 70px auto;
  padding:0 15px;
}

@media screen and (max-width: 800px) {
	.referanser {
	  margin: 30px auto 30px auto;
	}
}

@media screen and (min-width: 800px) {
  .ref-boxes {
    display: grid;
    justify-content: center;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    grid-template-columns: repeat(4,23.3%);
    grid-template-rows: repeat(3,150px);
  }
}

@media screen and (max-width: 800px) {
  .ref-boxes {
    display: flex;
    flex-direction: column;
  }
}

.ref-box {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media screen and (min-width: 800px) {
  .ref-box {
    border-radius: 5px;
    transition: 0.15s;
    -webkit-backface-visibility: hidden; 
    -ms-transform: translateZ(0); /* IE 9 */
    -webkit-transform: translateZ(0); /* Chrome, Safari, Opera */
    transform: translateZ(0);
  }
  .ref-box:hover {
    transform: scale(1.015);
  }
}

@media screen and (max-width: 800px) {
  .ref-box {
    margin-bottom:15px;
    height:150px;
  }
}


.comfort {
  grid-column: 1/span 2;
  grid-row: 1/span 2;
  background-color: #3c3c3c;
  background-image: url("/images/referanser/comfort.png");
  background-size: 60%;
}

.lauvoy {
  grid-column: 4;
  grid-row: 3;
  background-color: #194247;
  background-image: url("/images/referanser/lauvoy.png");
  background-size: 40%;
}

.caldenby {
  grid-column: 3;
  grid-row: 1/span 2;
  background-color: #004264;
  background-image: url("/images/referanser/caldenby.jpg");
  background-size: 100%;
}

.sushiportalen {
  grid-column: 1/span 2;
  grid-row: 3;
  background-color: #de5e41;
  font-family: "Dosis",sans-serif;
  text-decoration: none;
  color: #fff;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dblk {
  grid-column: 4;
  grid-row: 1;
  background-color: #000;
  background-image: url("/images/referanser/dblk.png");
  background-size: 65%;
}

.nsbetong {
  grid-column: 4;
  grid-row: 2;
  background-color: #b22424;
  background-image: url("/images/referanser/nsbetong.jpg");
  background-size: 90%;
}

.wadeelite {
  grid-column: 3;
  grid-row: 3;
  background-color: #222222;
  background-image: url("/images/referanser/wadeelite.png");
  background-size: 40%;
}


/* FOOTER */

footer {
  padding:20px;
  background-color: #fff;
  color:rgba(3,27,78,.6);
  text-align: center;
  font-size:14px;
}

/* -- GRID -- */

.row {
  display: flex;
  flex-flow: row wrap;
}

[class*="col-"] {
  width: 100%;
}

@media all and ( min-width: 768px ) {
  .col-2-3 {
    width: 66.66%;
  }
  .col-1-2 {
    width: 50%;
  }
  .col-1-3 {
    width: 33.33%;
  }
  .col-1-4 {
    width: 25%;
  }
  .col-1-8 {
    width: 12.5%;
  }
  .col-1-5 {
    width: 20%;
  }
  .col-4-5 {
	width: 80%;
  }
}