/* FONT-----------------------------------------------------------------*/
  
@font-face {
  font-family: header;
  font-style: regular;
  src: url('fonts/Berthold-akzidenz-grotesk-be-medium-extended.ttf');
  display: block;
  text-decoration: none;
  
}
@font-face {
    font-family: WriteFont2;
    src: url('fonts/HelveticaNeue.ttc');
    display: block

  }
  @font-face {
    font-family: Subtitle;
    src: url('fonts/GT-America-Black.otf');
    display: block
  }

  title{
    font-family: header;
    font-display:swap;
    font-size: 120px;
    word-spacing: -0.1em;
    letter-spacing: -0.07em;
    padding: 18px;
    padding-bottom: 0px;
    text-decoration: none;
    display: block;
  }


  h1{
    font-family: header;
    src:url('fonts/Berthold-akzidenz-grotesk-be-medium-extended.ttf');
    font-size: 72px;
    word-spacing: -0.15em;
    letter-spacing: -0.055em;
    padding: 18px;
    padding-top: 6px;
    padding-bottom: 20px;
    margin: auto;
    text-decoration: none;
  }

  /*@media screen and (min-width: 801px)
  {h6
    {font-size: 60px};  
  }
  @media screen and (max-width: 800px)
  {h6
    {font-size: 40px};
  }*/





h2{
    font-family: header;
    font-display: swap;
    font-size: 92px;
    word-spacing: -0.1em;
    letter-spacing: -0.055em;
    padding: 18px;
    padding-top: 20px;
    padding-bottom: 1px;
    margin: auto;
    
}

h3{
  font-family: WriteFont2;
  font-size: 32px;
  word-spacing: -0.1em;
  letter-spacing: 0em;
  text-align:left ;
  padding-left: 18px;
  padding-top: 18px;
  padding-right: 18px;
  padding-bottom: 0px;
  margin: 0px;
}
/* @media screen and (min-width:501px)
{h3 {font-size: 22px;}
}
@media screen and (max-width:500px)
{h3 {font-size: 14px;}
}*/

h4{
  font-family:WriteFont2;
  font-size: 36px;
  word-spacing: -0.1em;
  letter-spacing: -0.04em;
  padding: 18px;
  padding-top: 18px;
  padding-bottom: 9px;
  margin: 0px;
}
h5{
  font-family: WriteFont2;
  font-size: 28px;
  word-spacing: -0.1em;
  text-align: start;
  margin: 0px;
  padding: 12px;
  padding-top: 6px;
  padding-left: 6px;

}
@media screen and (max-width: 1000px)
{h1
  {font-size: 72px};
}

@media screen and (max-width: 1000px)
{h2 {font-size: 64px;};}
@media screen and (max-width: 1000px)
{h3 {font-size: 72px; padding-right: 18px};}
@media screen and (max-width: 1000px)
{h4 {font-size: 32px;};
}
@media screen and (max-width: 1000px)
{title {font-size: 72px;};}
@media screen and (max-width: 1000px)
{h5 {font-size: 24px;};
}
@media screen and (max-width: 500px)
{h5 {font-size: 18px;};
}
@media screen and (max-width: 500px)
{h1
  {font-size: 48px};
}

@media screen and (max-width: 500px)
{h2 {font-size: 40px;};}
@media screen and (max-width: 500px)
{h3 {font-size: 18px; padding-right: 18px};}
@media screen and (max-width: 500px)
{h4 {font-size: 18px;};
}
@media screen and (max-width: 500px)
{title {font-size: 48px;};}


/* PARAGRAPHS-----------------------------------------------------------------*/
p.newpara { 
  flex-shrink: 0%;  
  min-height: 55px;
  max-height: 2080px;
  flex-shrink: 33.33%;  
} 
@media screen and (min-height: 2001px) {
  p.newpara {
height: 1800px;
  } }
  @media screen and (min-height: 1500px) {
    p.newpara {
  height: 900px;
    }
  }
@media screen and (min-height: 1001px) {
  p.newpara {
height: 600px;
  }
}
@media screen and (max-height: 1000px) {
  p.newpara {
height: 350px;
  }
}
@media screen and (max-height: 800px) {
  p.newpara {
height: 250px;
  }
}
@media screen and (max-height: 600px) {
  p.newpara {
height: 150px;
  }
}
@media screen and (max-height: 380px) {
  p.newpara {
height: 50px;
  }
}
p.txtfile { 
  flex-shrink: 33.33%;
  opacity: 1;
  width: 50%;
  margin: 50%;
  max-width: 700px;
  min-width: 300px;
  height: auto;
  max-height: 700px;
  min-height: 200px;
  object-fit: cover;
  float: left;
  padding-top: 18px;
} 

@media screen and (min-height: 2001px) {
  p.textfile {
height: 1900px;
  } }

@media screen and (min-height: 1001px) {
  p.textfile {
height: 800px;
  }
}
@media screen and (max-height: 1000px) {
  p.textfile {
height: 250px;
  }
}
@media screen and (max-height: 800px) {
  p.textfile {
height: 200px;
  }
}
@media screen and (max-height: 600px) {
  p.textfile {
height: 100px;
  }
}
/* MENU-----------------------------------------------------------------*/
.vertical-menu {
    position: relative;
    padding-top: 10%;
    text-align: left;
    font-style: regular;
  src: url('fonts/Berthold-akzidenz-grotesk-be-medium-extended.ttf');
  }
  
  .vertical-menu a {
    background-color: rgba(255, 255, 255, 0); /* Grey background color */
    color: rgb(186, 185, 185); /* Black text color */
    display: block; /* Make the links appear below each other */
    padding: 3px; /* Add some padding */
    text-decoration: none; /* Remove underline from links */
    position: relative;
    text-align: left;
    align-items: center;
  }

  
  .vertical-menu a:hover {
    color:rgb(128, 0, 255) /* Dark grey background on mouse-over */
  }
  
  .vertical-menu a.active {
    background-color: #ffffff00; /* Add a green color to the "active/current" link */
    color: rgb(127, 255, 0);
  }

  * {
    box-sizing: border-box;
  }
    @media screen and (max-width: 1000px)
{ .vertical-menu {font-size: 64px; padding-top: 30%;}}
  @media screen and (max-width: 500px)
{ .vertical-menu {font-size: 40px; padding-top: 30%;}}
/*@media screen and (max-width: 500px)
{ .vertical-menu a {padding: 8px;}}
  /* HEADER+BODY+FIXED ITEMS-----------------------------------------------------------------*/
  body {
    margin: 4px;
    font-family: myFont;
  }
  
  .header {
    text-align: center;
    padding: 32px;
  }
  iframe {
    display: block;       /* iframes are inline by default */
    align-items: center;
    background:none;
    border:none;         /* Reset default border */
    object-position: left;
    /*min-width: 600px;
    max-width: 950px;
    height: 250px;
    min-height: 200px;
    max-height: 800px;*/
    
    -ms-flex: 33.33%; /* IE10 */ 
    flex: 33.33%;
    /*padding-top: 4px*/
}
  .floating-btn {
    width: 80px;
    height: 80px;
    background-color: rgb(127, 255, 0);
    mix-blend-mode: difference;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 50%;
    color: #ccc;
    font-size: 50px;
    position:fixed;
    right: 20px;
    bottom: 20px;
    padding-right: 6px;
    padding-bottom: 6px;
  }

  .floating-mail {
    font-family: header;
    font-size: 30px;
    letter-spacing: -0.055em;
    color: rgb(127, 255, 0);
  
    mix-blend-mode: difference;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /*color: #ccc;*/
    position:fixed;
    padding: 6px;
    right: 20px;
    top: 6px;
    display: inline-block;
}
    .bottom_text {
      font-family: header;
      font-size: 30px;
      letter-spacing: -0.1em;
      color:rgb(127, 255, 0);
      writing-mode:sideways-lr;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      /*color: #ccc;*/
      position:static;
      border-radius: 50%;      
      padding: 20px;
      padding-left: 240px;
      padding-bottom: 0px;
      display: inline-block;
    
  }
  @media screen and (max-width: 500px)
{.bottom_text{padding-left: 20px; font-size: 25px;}

@media screen and (max-width: 350px)
{.bottom_text{font-size: 20px;}}
}
  @media screen and (max-width: 900px){
    .floating-mail{writing-mode:vertical-lr; padding: 5px; right: 5px; -moz-transform: scale(-1, 1);
      transform: scale(-1, -1);}
  }
  @media screen and (max-width: 350px)
  {.floating-mail{font-size: 20px;}}
  
  .floating-insta {
    font-family: header;
    font-size: 30px;
    letter-spacing: -0.055em;
    color:rgb(127, 255, 0);
    mix-blend-mode: difference;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /*color: #ccc;*/
    position:fixed;
    padding: 6px;
    left: 18px;
    bottom: 6px;
    right: auto;
    display: inline-block;
  }
    @media screen and (max-width: 900px){
    .floating-insta{writing-mode:vertical-rl; padding: 5px; left: 5px; -moz-transform: scale(-1, 1);
        transform: scale(-1, -1);}
      }
    @media screen and (max-width: 350px)
    {.floating-insta{font-size: 20px;}}
    
  
 /* CONTAINERS-----------------------------------------------------------------*/

  .row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create three equal columns that sits next to each other */
  .column {
    -ms-flex: 33.33%; /* IE10 */
    flex: 33.33%;
    max-width: 33.33%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%) blur(1px) drop-shadow(100%);
  }
  .rowprojects {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
    padding-bottom: 6px;
  }
  .columnprojects{
    -ms-flex: 33.33%; /* IE10 */
    flex: 33.33%;
    max-width: 25%;
    padding: 0 4px;
    padding-top: 4px
  }
  .columnabout{
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
    padding-top: 4px
  }

  .columnprojectsvideo{
    -ms-flex: 50%; /* IE10 */
    flex: 50%;
    max-width: 50%;
    padding: 4px;


  }

  .columnprojects img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    object-fit: cover;
  }
  
  .columnprojects video {
    margin-top: 8px;
    vertical-align: left;
    width: 100%;
    object-fit: cover;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
    .columnprojects{
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
    }

    .columnprojectsvideo{
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
      }
    .videoproject{
      -ms-flex: 50%;
      flex: 50%;
      max-width: 100%;
    }
    .columnabout{
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
      }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }

    .columnprojects {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }

    .columnprojectsvideo {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 100%;
      min-width: 50%;
    }
    .columnabout{
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
      }}
     .slideshow-container {
        position: relative;
        width: 100%;
    } 
  .container {
    position: relative;
    width: 100%;
  } 
/* IMAGES-----------------------------------------------------------------*/
  .image {
    opacity: 1;
    display: block;
    width: auto;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    object-fit: cover;
  }
  .image2 {
    opacity: 0;
    display: block;
    width: auto;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    object-fit:cover;
  }
  .imageabout {
    opacity: 1;
    max-width: 100%;
    height: auto;
    float: right;
  }
 
    /* filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
  }*/
  @media screen and (min-width: 501px) {
    .imageabout {float: right} 
  }
  @media screen and (max-width: 501px) {
    .imageabout {float: none;  display: block; margin-left: auto; margin-right: auto;} 
  }

  .imageproject {
    opacity: 1;
    display: block;
    width: auto;
    height: 196px;
    object-fit: cover;
    transition: .5s ease;
    backface-visibility: hidden;
    object-fit: cover

  }
  .videoproject {
  object-fit: cover; 
  }

    .rect-img-container {
      position: relative;
    }
  
  .rect-img-container::after {
      content: "";
      display: block;
      padding-bottom: 100%;
    }
    .rect-img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
     padding-bottom: 8px;
    }
    * {box-sizing:border-box}

    .imagegear {
    position: relative;
    max-width: 100%;
    height: auto; 
    width: 100% ;

  
    }


/*SLIDESHOW---------------------------------------------------------------
/* Slideshow container */
.slideshow-container {
 opacity: 1;
}

@media screen and (min-width: 501px) {
  .slideshow-container {float: right; object-fit: cover;} 
}
@media screen and (max-width: 501px) {
  .slideshow-container {float: none;  display: block; margin-left: auto; margin-right: auto;} 
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  opacity: 1;
    width: 50%;
    max-width: 700px;
    min-width: 300px;
    height: auto;
    max-height: 700px;
    min-height: 200px;
    transition: .5s ease;
    object-fit: cover;
    float: right;
    padding: 16px;
    padding-top: 18px;
  cursor: pointer;
  position: absolute;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* VIDEO-------------------------------------------------------------------------------------*/ 
    .videoWrapper {
      position: relative;
      background-color: none;
      padding-bottom: 56.25%; /* 16:9 */
      height: 0;
    
    }
    .videoWrapper iframe {
      position:absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    
  
    }
/* TEXT, BUTTONS & HOVER-----------------------------------------------------------------*/
  .middle-text {
    transition: .1s ease;
    opacity: 1;
    position: absolute;
    align-items: center;
    text-align: center;
    margin: 10%;
    width: 80%;
    height: 80%;
    top: 0%;
    padding-top: 30%;
    flex: 33.33;
    background-color: none;
   /* transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);*/
    
  }
  .middle-player {
    transition: .1s ease;
    opacity: 1;
    position: absolute;
    width: auto;
    height: auto;
    top: auto;
    left: auto;
    background-color: none;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;

  }
  .middlebutton {
    transition: .1s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  
  .container:hover .image {
    opacity: 0.8;
    filter: none;
    -webkit-filter: grayscale(0);
  }
    .container:hover .image2{
      opacity: 1;
    }
  
  .imageabout:hover {
    opacity: 0.8;
    filter: none;
    -webkit-filter: grayscale(0);
  }
 
  .container:hover .texta {
   opacity: 0;
  }
  .container:hover .textb
  {opacity: 0;}

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

  
  .texta {
    font-family: header;
    color:rgb(166, 0, 255);
     /* color:  rgb(0, 136, 255, 0.881);
   background-color: #ff060600; */
    font-size: 28px;
    text-align: center;
    padding: 0px;
  }
  .textb {
    font-family: header;
    color: rgb(89, 255, 0);
    /*writing-mode:vertical-lr;*/
    mix-blend-mode: difference;
   /* color: rgb(255, 0, 0); */
    font-size: 18px;
    text-align:end;
    padding: 2px 16px;
  }

  /*.button {
    border: none;
    opacity: 0;
    color: rgb(255, 0, 43);
    mix-blend-mode: difference;
    padding: 2px 2px;
    text-align: center;
    text-decoration: none;
    font-size: 2px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
  }
  
  .buttonstart {
    background-color:rgb(255, 0, 43);
    color: rgb(255, 0, 43);
  }*/

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

 /* .button:hover {
    background-color: #4CAF50;
    border: #06ff0e;
    color: white;
  }
  
  .buttonstop {
    opacity: 0;
    background-color: rgba(196, 29, 29, 0); 
    color: black; 
    align-items: center;
  }
  
 .buttonstart::after .buttonstop{
  opacity: 1;
 }
  .button2:hover {
    background-color: #219425;
    color: rgb(142, 47, 47);
  }
    /* Next & previous buttons */
