* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background-color: whitesmoke;
}

/****** BODY FADE IN ANIMATION ******/
body {
  -webkit-animation: fadeInAnimation ease 0.5s;
  animation: fadeInAnimation ease 0.5s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

@-webkit-keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/****** TOP HEADER ******/
.topheader {
  padding: 5px;
  font-size: xx-small;
  text-align: center;
  letter-spacing: 3px;
  background-color: slategrey;
  color: #fff;
}

.topheader2 {
  padding: 5px;
  font-size: xx-small;
  text-align: center;
  letter-spacing: 3px;
  background-color: slategrey;
  color: #fff;
  display: none;
}

/****** HEADER ******/
.header {
  height: 80px;
  padding-left: 10px;
  background-color: #fff;
  border-bottom: 5px solid #4F608B;
  display: flex;
  justify-content: space-between;
}

.logo img {
  width: 261px;
  height: 80px;
}

/****** NAVIGATION ******/
.nav {
  margin-top: 27px;
  margin-right: 40px;
  overflow: hidden;
}

.nav li {
  display: inline;
  padding: 10px;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: bold;
}

.nav li a {
  padding-bottom: 5px;
  color: #4F608B;
}

.nav li a:hover {
  border-bottom: 3px solid #9D240F;
}

li.currentpage a {
  color: #9D240F;
  border-bottom: 3px solid #9D240F;
}

/* Responsive icon */
.nav .icon {
  display: none;
  font-size: x-large;
}

@media screen and (max-width: 900px) {
  .nav li a {
    display: none;
  }

  .nav {
    margin: 20px 10px 0 0;
  }

  .topheader {
    display: none;
  }

  .topheader2 {
    display: block;
  }

  .nav a.icon {
    float: right;
    display: block;
  }

  .nav a.icon:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 900px) {
  .nav.responsive {
    position: relative;
  }

  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 376px) {
  .header {
    height: 60px;
  }

  div.logo img {
    width: auto;
    height: 60px;
  }

  .nav li {
    padding: 0;
  }

  .nav {
    margin-top: 11px;
  }

  .nav:hover {
    text-decoration: none;
  }
}

/* The Overlay (background) */
#myNav.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/****** SLIDER ******/
.slider {
  position: relative;
  top: 0;
  overflow: hidden;
  height: 450px;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 450px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.current {
  opacity: 1;
}

.slide .content {
  position: absolute;
  bottom: 70px;
  left: -600px;
  opacity: 0;
  width: 600px;
  background-color: rgba(70, 70, 70, 0.7);
  color: whitesmoke;
  padding: 35px;
}

.slide .content h1 {
  margin-bottom: 10px;
}

.slide.current .content {
  opacity: 1;
  transform: translateX(600px);
  transition: all 0.5s ease-in-out 0.3s;
}

@media (max-width: 500px) {
  .slide .content {
    left: -300px;
    /* left: 0; */
    bottom: 0;
    width: 100%;
  }

  .slide.current .content {
    transform: translateX(300px);
  }
}

/* Background Images */
.slide:first-child {
  background: url(../images/dhmotiko-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(2) {
  background: url(../images/hotel-room-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(3) {
  background: url(../images/noise-at-work-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(4) {
  background: url(../images/open-plan-office-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(5) {
  background: url(../images/recording-studio-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(6) {
  background: url(../images/transport-noise-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(7) {
  background: url(../images/noisy-machinery-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(8) {
  background: url(../images/nightclubs-1024x450.jpg) no-repeat center top/cover;
}

.slide:nth-child(9) {
  background: url(../images/aiuoyses_pollaplvn_xrhsevn-1024x450.jpg) no-repeat center top/cover;
}

/****** END SLIDER ******/
/****** SECTION SERVICES ******/
section {
  display: flex;
  justify-content: center;
  padding: 10px;
  background-color: whitesmoke;
}

.container {
  max-width: 960px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-items {
  padding: 10px;
  width: 260px;
  margin: 10px;
  height: 150px;
  position: relative;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.1);
}

.service-items h1 {
  padding-bottom: 10px;
  color: #555;
  font-size: small;
}

.service-items p {
  font-size: small;
  line-height: 1.2rem;
}

.service-items a.serv-box {
  color: #555;
}

.service-items a.serv-more {
  position: absolute;
  bottom: 12px;
  left: 10px;
  font-size: small;
  color: #4F608B;
}

.service-items a.serv-more:hover {
  color: #9D240F;
}

.service-items:hover {
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5), 0 3px 10px 0 rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/****** BLOCKQUOTE ******/
blockquote {
  padding: 30px 10%;
  background-color: #3c556e;
}

.quote {
  max-width: 950px;
  border-left: #9D240F solid 7px;
  border-right: #9D240F solid 7px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  font-style: italic;
  text-justify: auto;
  color: whitesmoke;
  text-align: center;
}

/****** FOOTER ******/
footer {
  display: block;
  background-color: lightslategrey;
  padding: 5px;
  text-align: center;
  font-size: x-small;
  letter-spacing: 1px;
  color: #FCF7F8;
}