* {
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  font-family: arial, sans-serif, calibri;
  /*background-color: #d7d7d5;*/
}
#container {
  min-height: 100%;
}
#main {
  overflow: auto;
  padding-bottom: 15px;
}

header {
  position: absolute;
  background-color: #a2a2a0;
  height: 80px;
  left: 0;
  top: 0;
  right: 0;
  color: #0d3e59;
  box-shadow: 0px 4px 5px grey;
}

header h1 a {
  text-decoration: none;
  color: #0d3e59;
  float: left;
  margin-left: 16%;
  margin-top: 15px;
}
#logo1 {
  font-size: 14px;
  color: #0d3e59;
  text-shadow: 5px 5px 5px grey;
}

#serv1 {
  margin-top: -38px;
  font-size: 40px;
    }
#nvi {
  margin-bottom: 31px;
}

header nav {    
  width: 89%;
  text-align: right;
  margin-top: 35px;
}
header ul {
  overflow: hidden;
  float: right;
  margin-right: 100px;
  transition: max-height 0.4s;
}
header nav ul li {
  display: inline-block;
  margin-left: 20px;
}

header nav ul li a {
  text-decoration: none;
  color: white;
  text-shadow: 5px 5px 5px grey;
}

header nav ul li a:hover {
  color: #0d3e59;
  text-shadow: 3px 3px 3px grey;
}
.slider {
  height: 400px;
  margin: 80px 0px 0px;
  animation: slide 25s infinite alternate;
  box-shadow: 0px 4px 5px grey;
}
@keyframes slide {
  0% {
    background: url(../img/s1.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
  20% {
    background: url(../img/s2.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
  40% {
    background: url(../img/s5.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
  60% {
    background: url(../img/s9.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
  80% {
    background: url(../img/s11.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
  100% {
    background: url(../img/s10.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }
}

.gallery {
  width: 840px;
  margin: 100px auto;
  padding: 10px;
  background: #fff;
  border: 0.1px solid grey;
  box-shadow: 2px 3px 10px rgba(0,0,0,.3);
}

.gallery > div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery > div > img {
  display: block;
  width: 200px;
  height: 150px;
  transition: .1s transform;
  transform: translateZ(0); /* hack */
}

.gallery > div:hover {
  z-index: 1;
}

.gallery > div:hover > img {
  transform: scale(2.8,2.5);
  transition: .3s transform;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}

.menu {
  width: 10%;
  position: absolute;
  right: 3%;
  top: -40px;
  background: #a2a2a0;
  box-sizing: border-box;
  cursor: pointer;
  color: white;
  text-shadow: 3px 3px 3px grey;
  display: none;
}
.menu:hover {
  color: #d7f4e2;
}
@media screen and (max-width: 1210px) {
  header {
    height: 80px;
}
  header h1 a {
    position: absolute;
    text-align: center;
    margin-left: 0%;
    margin-top: 7px;
    width: 100%;
}
  header nav {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 55px;
    background-color: #a2a2a0;
}
  header ul {
    float: none;
    margin: 0;
    padding: 0;
  }
  #logo1 {
    font-size: 12px;    
  }
  #serv1 {
    font-size: 35px;
  }
  .slider {
    height: 300px;
  }
}
@media screen and (max-width: 910px){
    .slider {
    height: 200px;
  }
    .gallery {
    width: 420px;
  }
    .video iframe {
    width: 410px;
    height: 230px;
  }
}

@media screen and (max-width: 610px){
    .slider {
    height: 156px;
  }
}

@media screen and (max-width: 480px){
  header{
    height: 55px;
  } 
  header nav ul {
    width: 100%;
    padding: 0;
    margin: 0;
    max-height: 0;
  }
  .showing {
    max-height: 20em;
  }
  header nav ul li {
    box-sizing: border-box;
    display: block;
    text-align: left;
    padding: 10px 15px 10px;
    margin: 0;
    border-bottom: 1px solid #0d3e59;
    border-top: 1px solid #0d3e59;
  }
  .menu {
    display: block;
    text-align: right;
  }
  #link{
    display: block;
    width: 100%;
  }
  .nav div {
      height: 4px;
      background-color: white;
      margin: 5px 0;
      border-radius: 25px;
      transition: 0.3s;
  }
  .nav {
      width: 30px;
      display: block;
      margin: 5px;   
  }
  .one {
      width: 30px;
  }
  .two {
      width: 20px;
  }
  .three {
      width: 25px;
  }
  .nav:hover div {
      width: 30px;
  }
  .slider {
    height: 120px;
    margin: 55px 0px 0px;
  }
    .video iframe {
    width: 200px;
    height: 150px;
  }
  .gallery {
    width: 210px;
    height: 5450px;
    margin: 80px auto;
  }
  .gallery > div:hover > img {
  transform: scale(1.8, 1.6);
  }

}
@media screen and (max-width: 390px) {
  .slider {
    height: 110px;
  }
}
.cookie-container {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: #a2a2a0;
  color: *#fff*;
  text-align: center;
  padding: 12px;
  box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
  transition: 400ms;
  z-index: 10;
}
.cookie-container.active {
  bottom: 0;
}
.cookie-container a {
  color: #0d3e59;
  text-decoration: none;
  margin: 6px;
}
.cookie-container a:hover {
  opacity: 0.7;
}
.cookie-btn {
  background: #0d3e59;
  border: 0;
  color: #f5f6fa;
  padding: 6px 18px;
  font-size: 18px;
  margin: 6px;
  border-radius: 8px;
  cursor: pointer;
}
.cookie-container button:hover {
  opacity: 0.7;
}

#footer {
  position: relative;
  background-color: #a2a2a0;
  text-align: center;
  font-size: 10px;
  padding: 5px 15px;
  margin-top: -23px;
  clear: both;
}
