body {
  font-size: 16px;
  font-family: 'Roboto';
  line-height: 1.4;
}

.align-center {
  text-align: center;
}

.button {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;
  font-weight: bold;
  border-radius: 5%;
  padding: 10px;
  margin: 30px 0;
  -webkit-box-shadow: 3px 3px 5px 0px rgba(28, 32, 16, 0.75);
  -moz-box-shadow: 3px 3px 5px 0px rgba(28, 32, 16, 0.75);
  box-shadow: 3px 3px 5px 0px rgba(28, 32, 16, 0.75);
  color: white;
  background-color: #ed8411;
  display: inline-block;
  transition: 0.3s ease;
}

.button:hover {
  background-color: white;
  color: #ed8411;
}

h1 {
  font-family: 'Oswald';
  font-size: 82px;
  margin: 30px 0;
}

h2 {
  font-family: 'Oswald';
  font-size: 36px;
  margin: 30px 0;
  text-transform: uppercase;
}

h3 {
  font-family: 'Oswald';
  font-size: 28px;
  margin: 30px 0;
}

p {
  font-size: 18px;
  padding: 10px;
}

#hamburger {
  display: none;
}

nav {
  text-align: center;
  margin: 40px 0;
}

#navleft {
  float: left;
  width: 50%;
}

#navright {
  float: right;
  width: 50%;
}

nav li {
  display: inline;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 15px;
  /*hogy kattintható legyen az egész area*/
  display: inline-block;
  /*egy sor*/
}

nav ul li a:hover {
  background-color: #ed8411;
  color: white;
  border-radius: 5%;
}

#logo {
  position: absolute;
  width: 100px;
  height: auto;
  left: 0;
  right: 0;
  margin: 10px auto;

}

#logo img {
  width: 100%;
  height: auto;
}

#top {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%),
    url(../img/top-bg3.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

.intro-text {
  width: 50%;
  margin: 180px auto;
}

.team-text {}

#services,
#team {
  background-color: #f0efee;
  padding: 60px 0;
}

.service-image {
  position: relative;
}

.service-image:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.service-image:hover::before,
.team-image:hover::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  transition: 0.5s ease;
}

.service-image::after {
  content: "";
  display: block;
  position: absolute;
  background: url(../img/frame.png) bottom 30px left 30px no-repeat;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* .service-text:hover::after {
  content: "";
  display: block;
  position: absolute;
  background: url(../img/frame2.png) bottom 30px left 30px no-repeat;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
} */
.service-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 10px;
}

.about-us h2,
.under {
  position: relative;
}

.about-us h2::after {
  content: "";
  display: block;
  position: absolute;
  background: url("../img/pattern.svg") no-repeat;
  bottom: -25px;
  left: 50%;
  height: 20px;
  width: 650px;
  margin-left: -120px;
}

.under::after {
  content: "";
  display: block;
  position: absolute;
  background: url("../img/pattern.svg") no-repeat;
  bottom: -25px;
  left: 50%;
  height: 20px;
  width: 650px;
  margin-left: -120px;
}

.testimonials-text {
  width: 50%;
  margin: 100px auto;
}

.team-member {
  margin-top: 30px;
}

.team-image {
  position: relative;
}

.team-image::after {
  content: "";
  display: block;
  position: absolute;
  background: url(../img/frame.png) bottom 20px left 20px no-repeat;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.team-text:hover {
  text-decoration: underline;
  text-decoration-color: #ed8411;
}

.contact {
  border: 1px solid #ed8411;
  padding: 10px;

}

#about {
  margin: 80px 0;
}

.about-us {
  padding: 10px;

}

footer {
  padding: 80px;
  background-color: #5e5852;
  color: white;
}

footer a {
  color: white;
}

footer a:hover {
  color: #ed8411;
}

footer img {
  height: 200px;
  width: 200px;
}

footer ul {
  margin: 30px 0 0 0;
  overflow: hidden;
}

footer li {
  float: left;
  margin-right: 15px;
}

footer li a {
  width: 40px;
  height: 40px;
  border: solid 2px #fff;
  border-radius: 50%;
  display: inline-block;
  background-size: auto 16px;
}

footer li a:hover {
  border-color: #ed8411;
}

.facebook a {
  background: url(../img/facebook.svg) center center no-repeat;
  background-size: 15px;
}

.twitter a {
  background: url(../img/twitter.svg) center center no-repeat;
  background-size: 15px;

}

.gplus a {
  background: url(../img/gplus.svg) center center no-repeat;
  background-size: 15px;

}

.linkedin a {
  background: url(../img/linkedin.svg) center center no-repeat;
  background-size: 15px;

}

.youtube a {
  background: url(../img/youtube.svg) center center no-repeat;
  background-size: 15px;

}

@media only screen and (max-width: 1200px) {
  .center-box {
    width: 100%;
    display: block;
  }

  .service-image::after {
    bottom: 5%;
  }

}

@media only screen and (max-width: 960px) {
  section {
    display: block;
  }

  footer>.center-box {
    text-align: center;
  }

  #hamburger {
    display: block;
    width: 40px;
    height: 40px;
  }

  #hamburger:before {
    content: "MENU";
    color: #fff;
    position: absolute;
    padding-bottom: 15px;
    margin: 0 auto;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 24px;
  }

  nav ul {
    display: none;
  }

  #navleft,
  #navright {
    width: 100%;
    margin: 0;
  }

  #logo {
    left: 80%;
  }

  .testimonials-text {
    width: 100%;
  }

  .service-image {
    margin-bottom: 10px;
  }

  footer ul li {
    float: none;
    margin: 10px;
  }
}