
/* Grid */
.center-box {
  margin: 0 auto;
  width: 100%;
  max-width: 1380px;
  overflow: hidden;
  text-align: center;
}
.row {
  margin: 0 -20px;
}
.one-third {
  width: 33.33%;
}
.one-half {
  width: 50%;
}
.one-half, .one-third, .two-third, .one-fourth {
  float: left;
  min-height: 1px;
  padding: 0 20px;
}


/* Typo */
h1{
  font-family: 'Pangolin';
  font-size: 68px;
  line-height: 1.5;
  padding: 40px;
  margin: 30px;
  text-align: center;
}
h2{
  font-family: 'Pangolin';
  font-size: 36px;
  padding: 20px;
  text-align: center;
}
p {
  font-family: 'Open Sans';
  font-size: 18px;
  line-height: 1.4;
  padding: 20px;
}

/* sections spec */
section {
  display: block;
  clear: both;
  overflow: hidden;
}
.nyil-top, .nyil-bottom {
  position: relative;
}
.nyil-bottom:after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -2000px;
  bottom: 0px;
  z-index: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 300px 2000px 0 2000px;
  border-color: transparent #fff transparent #fff;
}
.nyil-top:before {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -2000px;
  top: 0px;
  z-index: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 2000px 300px 2000px;
  border-color: transparent #fff transparent;
}

/* opening */
#scroll-image {
  background-image: url(../img/back_open.jpg);
  background-attachment: fixed;
  background-size: cover;
  height: 800px;
  color: white;
}
#opening-text  {
  padding: 50px;
}

/* service */
#service {
  margin-bottom: 100px;
  padding-top: 100px;
  background-color: white;
}
/* forgatós képek */
.diagonal {
  transform: rotate(45deg);
  position: relative;
  overflow: hidden;
}
.diagonal img {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.diagonal-content {
  border: solid 10px #c7d2c1;
  width: 70.71%;
  height: 70.71%;
  position: absolute;
  top: 14.65%;
  left: 14.65%;
  overflow: hidden;
}
.diagonal-content-img {
  transform: rotate(-45deg);
  position: absolute;
  width: 150%;
  height: 150%;
  top: -21.72%;
  left: -21.72%;
}
.diagonal-text {
  text-align: left;
}
.diagonal-text ul {
  padding-left: 120px;
  float: left;
}
.diagonal-text ul li {
  font-family: 'Open Sans';
  font-size: 18px;
  line-height: 1.2;
  padding: 10px 25px 0 0 ;
  position: relative;
}
.diagonal-text ul li::before {
  position: absolute;
  height: 5px;
  width: 5px;
  content: "";
  background: #2e2423;
  border-radius: 50%;
  top: 20px;
  left: -10px;
}
.btn {
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 0px 1px 3px #666666;
  -moz-box-shadow: 0px 1px 3px #666666;
  box-shadow: 0px 1px 3px #666666;
  font-family: 'Open Sans';
  color: #ffffff;
  font-size: 20px;
  background: #2e2423;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  display: inline-block;
  margin: 20px;
}
.btn:hover {
  background: #2e2423;
  background-image: -webkit-linear-gradient(top, #707a80, #3e454a);
  background-image: -moz-linear-gradient(top, #707a80, #3e454a);
  background-image: -ms-linear-gradient(top, #707a80, #3e454a);
  background-image: -o-linear-gradient(top, #707a80, #3e454a);
  background-image: linear-gradient(to bottom, #707a80, #3e454a);
  text-decoration: none;
}
/* contact */

 #contact {
   padding-top: 100px 40px;
    width: 100%;
    height: 900px;
    background-image: linear-gradient(
      rgba(103, 145, 180, 0.45),
      rgba(103, 145, 180, 0.45)
    ),
    url(../img/back_contact.jpg);
    background-size: cover;
    background-attachment: fixed;
}
.contact-text {
  color: white;
  margin: 100px 50px;
}
.describe {
  width: 45%;
  float: right;
}
.describe ul {
  text-align: left;
}
.describe ul li {
  font-family: 'Open Sans';
  font-size: 18px;
  line-height: 1.2;
  padding: 10px 25px 0 0 ;
  position: relative;
}
.describe ul li::before {
  position: absolute;
  height: 5px;
  width: 5px;
  content: "";
  background: white;
  border-radius: 50%;
  top: 20px;
  left: -10px;
}

#form {
  font-family: inherit;
  padding: 20px;
  width: 47%;
  float: left;
}
input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type=submit] {
    width: 100%;
    margin: 8px 0;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: #45a049;
}
/*gallery*/
#gallery {
  margin-bottom: 100px;

}
img {
  width: 100%;
  display: block;
}
#gallery img {
    border: 10px solid #c7d2c1;
    width: 100%;
    height: auto;
    vertical-align: baseline;
    margin-bottom: 30px;
}
#gallery img:hover {
    border: 10px solid #c7d2c1;
    width: 100%;
    height: auto;
    vertical-align: baseline;
    margin-bottom: 30px;
}

#about {
    padding-top: 100px 40px;
     width: 100%;
     height: 900px;
     background-image: linear-gradient(
       rgba(103, 145, 180, 0.45),
       rgba(103, 145, 180, 0.45)
     ),
     url(../img/back_about.jpg);
     background-size: cover;
     background-attachment: fixed;
}

.about-text {
  color: white;
  margin: 100px 50px;
}
#about img {
    display: inline-block;
}
.image-container {
  display: block;
    overflow: hidden;
    float: left;
}
.image {
    margin: 10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px #fff solid;
}
.text-container p {
    margin-left: 80px;
    font-size: 14px;
    color: white;
    text-align: left;
}
span {
  text-decoration: underline;
  font-weight: bold;
}
footer {
  padding: 10px;
  background-color: white;
  color: black;
  text-align: center;
}
footer a {
  color: black;
  text-decoration: underline;
}
/* responsive */
@media only screen and (max-width: 1000px) {
  .diagonal-text ul {
    padding-left: 20px;
}

@media only screen and (max-width: 770px) {
    .one-half, .one-third, .one-fourth {
        overflow: hidden;
        clear: both;
        float: none;
        width: 100%;
    }
    .row {
        width: 100%;
        margin: 0;
    }
    section {
        overflow: hidden;
        clear: both;
        width: 100%
    }
    .diagonal-text ul {
      float: none;
    }
    .diagonal-text ul li::before {
      display: none;
    }
    #gallery img {
        width: 100%;
        display: block;
        overflow: hidden;
    }
    .diagonal-text {
        text-align: center;
    }
    .one-third {
        margin: 0 auto;
        padding-bottom: 10px;
    }
    h1 {
        font-size: 36px;
        margin: 0;
    }
    h2 {
        font-size: 28px;
    }
    .about-text {
    color: white;
    margin: 0px 0px;
  }
  #form {
    clear: both;
    width: 100%;
  }
  .describe {
    clear: both;
    width: 100%;
  }
  .describe ul {
    text-align: center;
  }
  .describe ul li::before {
    display: none;
  }
}

 @media only screen and (max-width: 780px) {
    .center-box {
        padding-left: 20px;
        padding-right: 20px;
    }
    diagonal-text li {
        padding: 0;
    }
    #gallery img {
        width: 100%;
        display: block;
        overflow: hidden;
    }
    .row {
        margin: 0;
    }
    #contact {
      height: 1000px;
    }
}
@media only screen and (max-width: 460px) {
  .contact-text {
    margin: 0;
  }
  .center-box {
    padding: 0;
  }
  .image-container {
    display: none;
  }
  .text-container p {
    margin: 0;
  }
  .about-text p {
    display: none;
  }

}
