#of-auto .header span{
  border-bottom: 3px solid #1264aa;
}
#of-auto{
  height: auto;
}
.header{
  position: relative;
  height: 60vh;
  min-height: 350px;
  background: url(../img/of-auto/IMG_3989.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
.header::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}


/* promoções */
.marcas-pneus{
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto!important;
  flex-wrap: nowrap;
}
.marcas-pneus > a > img{
  width: 300px;
  height: 300px;
  margin: 10px 10px;
  -webkit-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
  -moz-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
  box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
}
/* end */


/* Ipo */
.of-auto-body2{
  margin: 1rem auto;
  width: 100%;
  min-height: 80px;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  background-color: #1264aa;
  color: white;
}
.of-auto-body2 > a{
  margin: auto;
  text-transform: uppercase;
}
.of-auto-body2 > div {
  display: flex;
  margin: auto 1rem;
  margin-left: auto;
}
.of-auto-body2 > div > div {
  margin: auto 1rem;
}
.of-auto-body2 h3 {
  padding: 0;
}
.of-auto-body2 > div > i{
  font-size: 50px;
  padding-right: 2rem;
  margin-top: .2rem;
}



.of-auto-body3{
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.menu-h-item{
  margin: 0;
}



#item1{
  background: url(../img/of-auto/img3.jpg) no-repeat center;
  background-size: cover;
  background-position: top;
  border-top: 4px red solid;
}
#item2{
  background: url(../img/of-auto/pecas.jpg) no-repeat center;
  background-size: cover;
  border-top: 4px red solid;
}
#item3{
  background: url(../img/of-auto/img7.jpg) no-repeat center;
  background-size: cover;
  border-top: 4px red solid;
}
#item4{
  background: url(../img/of-auto/img13.jpg) no-repeat center;
  background-size: cover;
  border-top: 4px red solid;
}



.footer{
  padding: 1rem;
}



/* media */
@media(max-width: 1100px) {

  .header > h1{
    font-size: 2.5rem;
  }
  .header > p{
    font-size: 1rem;
  }

  /* promoções */




}

@media(max-width: 800px) {




}

@media(max-width: 700px) {

  .header{
    background-attachment: scroll;
  }

  .header > h1{
    font-size: 2rem;
  }

  /* promoções */


  /* Ipo */
  .of-auto-body2{
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
  .of-auto-body2 > a{
    margin: 1rem auto;
  }
  .of-auto-body2 > div {
    margin: 0;
    flex-direction: row;
    align-items: center;
  }
  .of-auto-body2 > div > div {
    margin: 0;
  }
  .of-auto-body2 > div > i{
    font-size: 50px;
    padding: 1rem;
    margin-top: .2rem;
  }
  .of-auto-body2 h3, .of-auto-body2 p{
    font-size: 0.8rem;
  }

}
