@import url('https://fonts.googleapis.com/css?family=Fira+Sans:300,500,800&subset=latin-ext');

* {
	box-sizing: border-box; /* alle elementer skal have padding og border inkluderet i elementets totale bredde og højde*/
	margin: 0; /*Alle 'default' margin 0-stilles*/
	padding: 0; /*Alle 'default' padding 0-stilles*/
	top: 0;
}

body {
	  height: 100%;
	  color: rgba(0,0,0,1.00);
	  font-size: 62.5%; 
	  font-family: 'Fira Sans', sans-serif;
	  font-weight: 300;
	  scroll-behavior: smooth;
	  background-color: rgba(217,217,217,1.00);
      top: 0;
}

.bar {
	  padding: 80px 0 70px;
	  width: 70%;
	  height: auto;
	  margin: 0 auto;
	  overflow: auto;
	  overflow-y: hidden;
}

.bar::after {
	content: "";
	clear: both;
}

.w-25 { width: 25%;}
.w-33 { width: 30%; margin-right: 3%;}
.w-50 { width: 50%; }
.w-75 { width: 75%;}
.w-100{ width: 100%;}

[class*="w-"] {
	float: left;
}

img {
	width: 100%;
	float: right;
	align-items: center;
}


/* P A R A L L A X */
/*Images used in parallax */
.bgImg1 {  background-image: url("../img/2018-11-03_16.01.03.jpg"); }
.bgImg2 {  background-image: url("../img/2018-11-03_16.03.24.jpg"); }
.bgImg3 {  background-image: url("../img/2018-11-03_16.09.40.jpg"); }
.bgImg4 {  background-image: url("../img/2018-11-03_16.16.28.jpg")}
.bgImg5 {  background-image: url("../img/2018-11-03_16.03.24.jpg"); }

.parallax {
  /* Set a specific height */
  height: 70vh; 
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* T Y P O G R A F I */
p { 
	font-size: 1.6em;
	line-height: 1.8em;
	padding: 0 15px 15px 0;
	max-width: 50ch;
}

.bar h2 {
	font-size: 4em;
	line-height: normal;
	margin: 0 0 1em;
	font-weight: 300;
}

.bar h3 {
	font-size: 3em;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 300;
}

h4 {
	font-size: 2.2em;
	line-height: 2em;	
	margin-bottom: 0;	
	font-weight: 300;	
}

.bar ul {
margin: 10px 0 0 18px;
min-height: 10px;
}

.bar ul li {
	font-size: 1.5em;
	line-height: 1.6em;
	list-style: disc;
	font-family: 'Yanone Kaffeesatz', sans-serif;
	font-weight: 300;
	display: list-item;
    text-align: -webkit-match-parent;
}

summary {
	font-size: 1.2em;
	text-transform: uppercase;
	outline: none;
}

details {
	margin: 10px 0;
}

/*Portfolio section*/
.container {
  position: relative;
  width: 33.33%;
  float: left;
}

.container > img {
  opacity: 1;
  display: block;
  transition: .5s ease;
  backface-visibility: hidden;
  object-fit: cover;
  border: 0.5px solid rgba(245,245,245,0.5);
  height: 35vh;
  overflow: hidden;
}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  width: 75%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.container:hover > img {
  opacity: 0.4;
}

.container:hover .middle {
  opacity: 1;
}

.text {
  background-color: rgba(100,100,100,1);
  color: white;
  font-size: 1.4em;
  line-height: 1.6em;
  padding: 16px 32px;
}
