@-webkit-keyframes backgroundanimation { 
0% {background-color: white;}
7.6923076923077% {background-color: #FF0000;}
23.076923076923% {background-color: white;}
30.769230769231% {background-color: #00FFFF;}
38.461538461538% {background-color: white;}
46.153846153846% {background-color: #FFFF00;}
53.846153846154% {background-color: white;}
61.538461538462% {background-color: #00FF00;}
69.230769230769% {background-color: white;}
76.923076923077% {background-color: #0000FF
;}
84.615384615385% {background-color: white;}
92.307692307692% {background-color: #FF00FF;}
100% {background-color: white;}
} 
@keyframes backgroundanimation { 
0% {background-color: white;}
7.6923076923077% {background-color: #FF0000;}
23.076923076923% {background-color: white;}
30.769230769231% {background-color: #00FFFF;}
38.461538461538% {background-color: white;}
46.153846153846% {background-color: #FFFF00;}
53.846153846154% {background-color: white;}
61.538461538462% {background-color: #00FF00;}
69.230769230769% {background-color: white;}
76.923076923077% {background-color: #0000FF
;}
84.615384615385% {background-color: white;}
92.307692307692% {background-color: #FF00FF;}
100% {background-color: white;}
} 

@-webkit-keyframes fadein { 
0% {opacity: 0.0;}
100% {opacity: 1.0;}
} 
@keyframes fadein { 
0% {opacity: 0.0;}
100% {opacity: 1.0;}
} 


/* fonts */
@font-face {
  font-family: 'suisse';
  src: url('../fonts/SuisseIntl-Medium.otf');
}

body {
  font-family: "suisse", "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #000000;

  -webkit-animation-name: backgroundanimation; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 60s; /* Chrome, Safari, Opera */
  -webkit-animation-iteration-count: infinite; /* Chrome, Safari, Opera */
  -webkit-animation-fill-mode: forwards;
  animation-name: backgroundanimation;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards;
}

/* links */
a, a:focus {
  color: #000000;
  text-decoration: none;
}
a:hover {
  /*text-decoration: underline;
  color: transparent;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);*/
}

.customlink {
  display: inline-block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.0;
  color: inherit;
  margin-top: 5px;
  margin-bottom: 5px;
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

.contactform {
  margin-right: 0;
  opacity: 0.9;
  overflow: hidden;
}
.contactform textarea {
  height: 350px;
  width: 100%;
  resize: none;
  background-color: inherit;
  border: 0 none;
  overflow: hidden;
  outline: none;
}
.contactform input[type=text] {
  padding: 0;
  margin-top: 0;
  height: 19.6px;
  width: 50%;
  background-color: inherit;
  border: 0 none;
  outline: none;
}
.contactform input[type=submit] {
  width: 20%;
  border: 0 none;
  background-color: inherit;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
  outline: none;
}

/* inline-block width fix */
div {
  margin-right: -4px;
}

.container {
  width: 95%;
  margin-left: 2.5%;  /* (100% - 95%) / 2 = 2.5%  */
}

.header {
  position: fixed;
  width: 95%;
  top: 0;
  z-index: 1100;
}

.headertitle {
  width: 20%;
  display: inline-block;
}

.headersubtitle {
  width: 40%;
  display: inline-block;
}

.headercontact {
  width: 40%;
  display: inline-block;
  text-align: right;
}

.menu {
  position: fixed;
  width: 20%;
  margin-top: 10px;
}

.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menuitem {
  display: inline-block;
  min-width: 125px;
}

.showtextitem {
  display: inline-block;
  width: 5%;
  text-align: center;
}

.rotate {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.content {
  margin-left: 20%;
  margin-top: 52px;
}

.contenttext {
  position: fixed;
  margin-right: 2.5%;
  margin-left: 2px;
  z-index: 1000;
  display: none;  
}

.masonry { /* Masonry container */
  -webkit-column-count: ; /* Chrome, Safari, Opera */
  -moz-column-count: ; /* Firefox */
  column-count: ;

  -webkit-column-gap: 6px; /* Chrome, Safari, Opera */
  -moz-column-gap: 6px; /* Firefox */
  column-gap: 6px;

  margin-top: 5px;
  z-index: 900;

    
}

.item { /* Masonry bricks or child elements */
  margin-bottom: 0px;
  margin-right: 3px;

  -webkit-animation-name: fadein;
  -webkit-animation-duration: 2s;
  -webkit-animation-fill-mode: forwards;

  animation-name: fadein;
  animation-duration: 2s;
  animation-fill-mode: forwards;

}

.item img {
  width: 100%;
}

.footer {
  font-size: 80%;
  position: fixed;
  bottom: 4px;
}

/* responsive */
@media only screen and (max-width: 768px) {

  .header {
    position: relative;
          width: 100%;
        margin-top: 20px;
  }
  .header h1 {
    line-height: 0.5;
  }
  .headertitle {
    width: 100%;
  }
  .headersubtitle {
    width: 100%;
  }
  .headercontact {
    width: 100%;
    text-align: left;
  }

  .menu {
    position: relative;
    width: 100%;
  }
  .menuitem {
    width: 94%;
  }
  .showtextitem {
    width: 6%;
  }

  .content {
          width: 97.5%;
        margin-left: 0;
    margin-top: 15px;
  }
  .contenttext {
    margin-right: 5%;
      }
  .masonry { /* Masonry container */
    -webkit-column-count: 1; /* Chrome, Safari, Opera */
    -moz-column-count:1; /* Firefox */
    column-count: 1;

      }

  .footer {
    position: relative;
    width: 97.5%;
      }

};

/* Wobble Skew */
@-webkit-keyframes hvr-wobble-skew {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }

  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }

  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }

  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }

  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }

  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}

@keyframes hvr-wobble-skew {
  16.65% {
    -webkit-transform: skew(-12deg);
    transform: skew(-12deg);
  }

  33.3% {
    -webkit-transform: skew(10deg);
    transform: skew(10deg);
  }

  49.95% {
    -webkit-transform: skew(-6deg);
    transform: skew(-6deg);
  }

  66.6% {
    -webkit-transform: skew(4deg);
    transform: skew(4deg);
  }

  83.25% {
    -webkit-transform: skew(-2deg);
    transform: skew(-2deg);
  }

  100% {
    -webkit-transform: skew(0);
    transform: skew(0);
  }
}

.hvr-wobble-skew {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
}
.hvr-wobble-skew:hover, .hvr-wobble-skew:focus, .hvr-wobble-skew:active {
  -webkit-animation-name: hvr-wobble-skew;
  animation-name: hvr-wobble-skew;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
