.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html {
font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
}

header {
  z-index: 100;
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: #ff8b00
}

.facebook {
  width: 30px;
  padding-top: 10px;
  padding-left: 60px;
  float: left;
}

.instagram {
  width: 30px;
  padding-top: 10px;
  padding-left: 10px;
  float: left;
}

.facebook:hover {
  transform: scale(1.10);
  transition: 0.5s;
}


.instagram:hover {
  transform: scale(1.10);
  transition: 0.5s;
  margin-left: 3px;
}

.phones {
  float: right;
  padding-top: 17px;
  padding-right: 60px;
  color: white;
}

.phones span {
  font-weight: 600;
}

.white-hdr {
  height: 120px;
  background-color: white;

}

.white-hdr img {
  width: 300px;
  display: block;
  margin: 0 auto;
  padding-top: 85px;
  padding-bottom: 30px;
}

.carousel img {
margin-top: 80px;
width: 100%;
}

section {
  background-image: url('../images/background.png'); no-repeat right top;
  background-size: cover;
  height: 570px;
  margin-top: -80px;
}

.content img {
  width: 30%;
  margin-top: 210px;
  margin-left: 130px;
}

p {
  margin-top: 170px;
  color: #ff8b00;
  float:right;
  width: 45%;
  margin-right: 130px;
  line-height: 40px;
  font-size: 22px;
}

.content {
margin-bottom: 40px;
}

.line-top {
  display: inline-block;
  margin-top: 120px;
  margin-bottom:-100px;
  width: 99.8%;
  border: 1.5px dashed #ff8b00;
}

.line-bottom {
  display: inline-block;
  width: 99.8%;
  border: 1.5px dashed #ff8b00;
}

.gallery img{
  width: 9%;
  margin: 0.05%;
}

.gallery img:hover{
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
  transform: scale(1.2);
  transition: 0.5s;
}

.gallery {
  text-align: center;
  width: 99%;
  display:block;
  margin: 0 auto;
}

h1 {
  color: #ff8b00;
}

a {
  text-decoration: none;
}

.slidenav {
  width: 100%;
}

footer {
  height: 480px;
  background-color: #ff8b00
}

footer h1 {
  color: white;
  text-align:center;
  padding-top: 20px;
}

.container {
display: block;
margin: 0 5% 0 5%;
}

.line-contacts {
  width: 99.8%;
  border: 1.5px dashed white;
}


.social span{
font-weight: 400;
}

.bolo {
  color: white;
  float: right;
  margin-top: -205px;
}

.bolo:hover {
  transform: scale(1.2);
  transition: 0.5s;
}


.container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 85%;
  margin: 0 auto;
  margin-top: 30px;
}

.info {
  display: grid;
}

.social {
  display: grid;
  justify-content: end;
  height: 100px;
  margin-top:80px;
  color: white;
}

h3 {
  color: white;
  font-weight:400;
}

i {
font-size: 30px;
display: inline-block;
padding-right: 10px;
position:relative;
top:4px;
}

h4 {
display: inline-block;
}

input {
  width: 100%;
  height: 35px;
  margin-bottom: 15px;
  border: 0;
  font-size: 15px;
  padding-left: 10px;
  background-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 1.0);
  font-family: 'Montserrat', sans-serif;
}

textarea {
  width: 100%;
  height: 80px;
  border: 0;
  font-size: 15px;
  padding-left: 10px;
  padding-top: 7px;
  margin-bottom: 11px;
  background-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 1.0);
  font-family: 'Montserrat', sans-serif;
}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    rgba(255, 255, 255, 0.6);
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    rgba(255, 255, 255, 0.6);
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    rgba(255, 255, 255, 0.6);
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    rgba(255, 255, 255, 0.6);
}

form {
border-width: 0;
}

.contacts {
  text-align: center;
}


form button {
  width: 100%;
  height: 35px;
  padding: 0;
  border: 0;
  font-size: 16px;
  font-weight: 800;
  background-color: #ff6600;
  color: rgba(255, 255, 255, 1.0);
}

textarea, input {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
  color: white;
}

@media only screen and (max-width: 1600px) {
  .content img {
    margin-top: 240px;
  }

  section {
    height: 610px;
  }
}

@media only screen and (max-width: 1400px) {
  .content img {
    margin-top: 270px;
  }

  section {
    height: 640px;
  }
}

@media only screen and (max-width: 1250px) {
  .content img {
    margin-top: 150px;
    margin-left: none;
    display:block;
    margin: 0 auto;
    width: 50%;
    padding-bottom: 50px;
  }

  p {
    margin-top: 200px;
    color: #ff8b00;
    float: none;
    width: 80%;
    margin-right: none;
    display: block;
    margin: 0 auto;
  }

  .line-top {
    margin-top: 120px;
    margin-bottom: 50px;
    width: 99.8%;
    border: 1.5px dashed #ff8b00;
  }

  .line-bottom {
    width: 99.8%;
    border: 1.5px dashed #ff8b00;
  }

  section {
    height: 690px;
  }
}



@media only screen and (max-width: 1100px) {
  section {
    height: 720px;
  }

  .gallery img{
    width: 13%;
    margin: 0.1%;
  }

}

@media only screen and (max-width: 800px) {
  .container-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 85%;
    margin: 0 auto;
    margin-top: 30px;
  }

  footer{
    height: 900px;
    width: 100%;
  }

  section {
    height: 760px;
  }

  .social {
    display: grid;
    justify-content: center;
    height: 100px;
    margin-top:80px;
    color: white;
    text-align: center;
  }

  i {
  font-size: 60px;
  display: block;
  padding-right: 10px;
  position:relative;
  top:4px;
  }

  h4 {
  display: block;
  margin-top: 15px;
  font-size: 18px;
  }


  .fa-facebook {
    margin-right: 10px;
  }

  .fa-instagram {
    margin-left: 10px;
  }

  }
}

@media only screen and (max-width: 616px) {

  section {
    height: 790px;
  }

  p {
    font-size: 18px;
  }

  .gallery img{
    width: 100px;
    margin: 1px;
  }

}

@media only screen and (max-width: 700px) {

  section {
    height: 790px;
  }

  p {
    font-size: 18px;
  }

  .gallery img{
    width: 100px;
    margin: 1px;
  }

}

@media only screen and (max-width: 553px) {
  section {
    height: 790px;
  }

  p {
    font-size: 18px;
  }

  .gallery img{
    width: 100px;
    margin: 1px;
  }

}


@media only screen and (max-width: 506px) {
  section {
    height: 790px;
  }

  p {
    font-size: 18px;
  }

  .gallery img{
    width: 100px;
    margin: 1px;
  }

}

@media only screen and (max-width: 457px) {
  section {
    height: 790px;
  }

  p {
    font-size: 16px;
  }

  .gallery img{
    width: 85px;
    margin: 1px;
  }

  .facebook {
    width: 30px;
    padding-top: 10px;
    padding-left: 25px;
    float: left;
  }

  .instagram {
    width: 30px;
    padding-top: 10px;
    padding-left: 10px;
    float: left;
  }

  .phones {
    float: right;
    padding-top: 17px;
    padding-right: 25px;
    color: white;
  }

}

@media only screen and (max-width: 405px) {
  section {
    height: 790px;
  }

  p {
    font-size: 16px;
    line-height: 37px;
  }

  .gallery img{
    width: 70px;
    margin: 1px;
  }

}

@media only screen and (max-width: 370px) {
  section {
    height: 830px;
  }

.phones {
  font-size: 14px;
}

}
