@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');




#stop_nav {
  height: 100%;
  width: 100%;
  background-color: #252d41;
}

.nav-scrolled a {
  color: rgba(255, 255, 255, 0.3);
  z-index: -200;
  transition: color 0.5s;
}

.nav-scrolled a:hover {
  color: #ffffff;
  transition: color 0.5s;
}

.scale_sketch {
  transform: scale(2);
}

.mega_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
}





/* animations */



@keyframes pulse {
  from {r: 75;
  			fill: #334062;
  }
  to {r: 85;
    	fill: #334062;
  }
}

@keyframes pulse_text {
  0% {
    opacity: 0;
  }
  
  10% {
    opacity: 0;
  }
 
  100% {
    opacity: 1;
    
  }
}


/* basics */

body {
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	color: #ffffff;
	/*margin:  100vh 0 0 0;*/
	width: 100%;
  /*background-color: #252D41;*/
  background-color: #334062;
  overflow-x: hidden;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

a {
  text-decoration: none;
  text-decoration-color: none;
  color: #ffffff;
}

div.underside_content a {
  text-decoration: underline;
}

div.underside_content a:hover {
  transition-duration: 0.4s;
  color: rgba(255, 255, 255, 0.6);
}




/* start på startside */

div.startside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  margin: 0 0 0 0;
}

#sketch-holder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
}

div.start_scroll svg circle {
  r: 80;
  fill="#044B94";
  fill-opacity="0.4";
  stroke-width: 2;
  animation: pulse 3s infinite alternate;
}

div.start_scroll svg circle {
  r: 80;
}

div.start_scroll text {
  font-size: 80px;
  opacity: 0;
  fill: white;
  font-weight: 100;
  animation: pulse_text 3s .5s infinite alternate;
}


/* cirkel forstørelse */

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

#box {
  transform-origin: center;
  transform: scale(0);
  z-index: -20;
}

/* slut på startside */



/* main page/work page starter her */

div.tom_luft {
  width: 100%;
  height: 80vh;
}

div.tom_luft_to {
  width: 100%;
  height: 30vh;
}

.margin-bottom {
  margin-bottom: 100px;
}

div.wrapper {
  position: relative;
  top: 0;
  margin: 0 0 0 0;
  opacity: 0;
  z-index: 0;
}



/* navigationsmenu */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  display: flex;
  z-index: 1;
  color: #334062;
  transition: color 1s;
  /*background-color: #334062;
  /*justify-content: space-between;*/
}

header nav a {
  font-size:  28px;
  margin: 0 0 0 15px;
  color: #ffffff;
  transition: color 0.5s;
}

header nav {
  display: none;
  position: absolute;
  top: 65px;
  right: 50px;
}

header svg {
  fill: #ffffff;
  position: absolute;
  top: 72px;
  left:  3%;
}



/* her starter de enkelte projekter */

.section {
  margin: 0 auto 50px auto;
  //border: 1px solid cyan;
  height: 100%;
}

 div.section {
  	display: block;
	}

div.work_content {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: 100%;
  //border: 1px solid green;
}

div.work_content video {
  max-width: 100%;
  //border: 1px solid red;
}

div.work_content h1 {
  text-align: center;
  line-height: 1.5;
  display: block;
  position: relative;
  margin-top: auto;
  margin-bottom: auto;
}

div.work_content h3 {
  text-align: left;
  line-height: 1.5;
  display: block;
  position: relative;
  margin-top: 30px;
  margin-bottom: auto;
}


@media (min-width: 1025px) {
  div.start_scroll text {
    font-size: 20px;
  }

  div.wrapper .section {
    margin: 0 auto 200px auto;
    //border: 1px solid red;
  }

  div.wrapper .about {
    margin: 0 auto 150px auto;
  }

  div.work_content {
    height: 100%;
    display: flex;
  }

  div.flip {
    display: flex;
    flex-direction: row-reverse;
  }

  div.flip .video {
    float: right;
    //border:  1px solid yellow;
  }
  
  div.flip video {
    float: right;
  }

  div.work_content .video {
		//border:  1px solid yellow;
    height: 100%;
  }
  
  div.shrink video {
		width: 70%;
  }
  
  /*.shrink video {
    width:  65%;
  }*/


  div.billedetekst {
    width: 40%;
    //border: 1px solid red;
  }

  div.billede {
    width: 50%;
    height: auto;
  }

  div.work_content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
  }  

  div.work_content h1 {
    line-height: 1.2;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    position: relative;
    transform: translate(0, -50%);
    top: 60%;
    text-align: left;
  }

  div.about_text {
    line-height: 1.5;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    width: 500px;
    float: left;
  }

  div.about_text a:hover {
    text-decoration: underline;
  }

  

  div.back_arrow div:hover {
    margin-left: -5px;
    transition-duration: 0.4s;
  }
  
   div.up_arrow div:hover {
    margin-top: -5px;
    transition-duration: 0.4s;
  }
  
  button.hide {
    display: none;
  }

}

.button {
  position: absolute;
  transform: translate(-50%,-50%);
  top:  50%;
  left:  50%;
  /*background-color: #252D41; /* Green */
  background-color: white;
  border: .01px solid white;
  border-radius: 25px;
  padding: 10px 10px;
  cursor: pointer;
  }

@media (max-width: 1025px) {
  
  h1 {
    font-size: 28px;
  }
}


/* ------------ underside Generalt ------------------- */

div.underside_wrapper {
  //border: 1px solid red;
  background-color: #252D41;
  width: 100%;
  height: 100%;
  overflow: hidden;
}



div.video_fullscreen {
    width: 100%;
    height: 100%;
  }

div.underside_content {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 90%;
  height: 100%;
  //border: 1px solid green;
  
}

div.underside_content video {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  //border: 1px solid red;
}

div.back_arrow {
  position:  relative;
  height: 80px;
	z-index: 10000;
}

div.back_arrow div {
  position: fixed;
  left: 1%;
 	top: 2%;
  height: 50px;
  width: 50px;
  transition-duration: 0.4s;
  cursor: pointer;
}

div.up_arrow {
  position:  relative;
  height: 80px;
	z-index: 10000;
}

div.up_arrow div {
  position: fixed;
  left: 1%;
 	top: 2%;
  height: 50px;
  width: 50px;
  transition-duration: 0.4s;
  cursor: pointer;
}





div.underside_content img {
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  width: 100%;
  column-count: 3;
}




@media (min-width: 1025px) { 

   div.underside_content h3 {
    column-count: 2;
    column-gap: 50px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

   div.underside_content {
    position:  relative;
    height: 100%;
    display: flex;
    //border: 1px solid yellow;
  }

  div.underside_content .video {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  }

  div.underside_content video {
    //width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .padding {
    padding: 10px;
  }  

  div.underside_content .img {
    width: 50%;
  }  

  div.underside_content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
  }  
  
   div.shrink img {
    width: 70%;
  } 
  
   div.underside_content shrink video {
    position: relative;
    width: 60%;
     display: block;
     margin-left: auto;
     margin-right: auto;
     
  } 



}


@media (min-width: 1600px) { 
  h1 {
    font-size: 72px;
  }
}


































/* ------------ underside backup ------------------- */

/*

.underside_wrapper {
 width: 100%;
 height: 4000px;
 background-color: #252d41;
}

.underside_wrapper section {
  margin-bottom: 100px;
}

.video_fullscreen {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto;
}

.underside_text_box {
  position: relative;
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
  width: 900px;
  height: 100%;
  display: flex;
}

.underside_text_box div {
  width: 50%;
  height: 100%;
	padding: 10px;
}

.underside_text_box div h3 {
  width: 90%;
  height: 100%;
}

*/

/* ------------ underside WWF slut ------------------- */

