*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  background: #36363d;
}

.center-box {
  width: 1180px;
  margin: 0 auto;
  text-align: center;
}

header {
  min-height: 80px;
  overflow: hidden;
}

#logo img {
  float: left;
  height: auto;
  width: 100px;
  padding: 15px 15px 15px 0;
  border-radius: 20px;
}

nav {
  float: right;
  margin: 40px;
}

nav ul {
  float: right;
}

nav ul li {
  float: left;
  display: inline-block;
  margin-left: 10px;
}

nav ul li a {
  padding: 0 10px;
  font-family: "Hind";
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
}

nav ul li a:hover {
  text-decoration: underline;
  text-decoration-color: red;
}

#banner {
  overflow: hidden;
  min-height: 700px;
  background: url(../img/banner.jpg) top center no-repeat;
  background-size: 1180px 700px;
  position: relative;
}

.title {
  float: left;
  margin-left: 15%;
}

#banner h1 {
  font-family: "Rancho";
  font-size: 70px;
  color: white;
  padding-top: 300px;
  position: relative;
  z-index: 1;
}

#banner h1::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 320px;
  background: white;
  bottom: 0;
  left: 50%;
  margin-left: -160px;
}

#red-1 h3,
#red-2 h3 {
  font-family: "Hind";
  color: white;
  font-size: 26px;
  line-height: 1.5;
  padding: 15px;
}

#banner p,
#red-2 p {
  font-family: "Hind";
  font-size: 18px;
  color: white;
  line-height: 1.2;
  padding: 0 20px 30px 70px;
  width: 80%;
  margin: auto;
}

.one-half {
  width: 50%;
  padding: 5px 2px 5px 10px;
  float: left;
}

.one-half img {
  width: 100%;
}

#red-1 {
  height: 300px;
  width: 500px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 26% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 26% 100%);
  background: rgba(255, 0, 0, 0.5);
  position: absolute;
  bottom: 0px;
  left: 58%;
  text-align: right;
}

#red-1 h3 {
  padding-right: 70px;
}

#red-2 {
  background: rgba(255, 0, 0, 0.6);
  display: none;
}

#tabor {
  padding: 10px;
}

h2 {
  font-family: "Rancho";
  color: white;
  font-size: 38px;
  padding: 30px 0 30px 0;
  background: #36363d;
}

section a,
footer a {
  text-decoration: none;
  color: white;
  font-family: "Hind";
  font-size: 24px;
}

section a:hover {
  text-decoration: underline;
  text-decoration-color: white;
}

#tabor {
  animation-duration: 2s;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

@-webkit-keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

@-moz-keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

@-o-keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%;
  }

  to {
    margin-left: 0%;
    width: 100%;
  }
}

#contact img {
  height: auto;
}

form,
form h2 {
  background: black;
}

form h2 {
  padding: 20px;
}

input[type=text] {
  width: 80%;
  height: 25px;
  padding: 15px;
  margin: 26.5px;
}

textarea {
  width: 80%;
  height: 100px;
  padding: 15px;
  margin-bottom: 25px;
}

button {
  clear: both;
  margin: 20px 0 30px 0;
  height: 40px;
  width: 150px;
  background: red;
  border: 2px solid white;
  color: white;
  font-family: "Rancho";
  font-size: 20px;
}

footer {
  clear: both;
  text-align: center;
  padding: 25px;
}

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

  #logo {
    float: none;
    width: 100%;
    clear: both;
  }

  #red-1 {
    right: 1px;
  }
}

@media only screen and (max-width: 975px) {
  #logo {
    display: none;
  }

  .title {
    float: none;
    margin: 0 auto;
  }

  #red-1 {
    display: none;
  }

  #red-2 {
    display: inline-block;
  }

  header {
    overflow: hidden;
  }

  nav {
    float: none;
    clear: both;
  }

  /*itt ki a 100% with-et, hogy középremenjen a menü picibe*/
  nav ul {
    float: none;
    width: 100%;
    clear: both;
  }

  nav ul li {
    float: none;
    width: 100%;
  }

  nav ul li a {
    padding: 10px;
    display: inline-block;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .one-half {
    width: 100%;
    float: none;
  }

  #contact img {
    width: 100%;
  }

  #banner h1 {
    font-size: 36px;
  }

  #banner h1::after {
    width: 140px;
    margin-left: -70px;
  }

  #red-2 p {
    padding: 2%;
  }

  footer a {
    font-size: 16px;
  }
}