body {
  font-family: 'Open Sans', sans-serif;
  color: rgba(91,103,112,1);
  margin-top: 70px;
}

a, a:hover {
    cursor: pointer;
    color: rgba(91,103,112,1);
    text-decoration: none;
}

nav {
  border-bottom: 1px solid rgba(91,103,112,1);
}

p,li {
  text-align: justify;
  font-size: 15px;
}

.list li {
  margin-bottom: 10px;
}

ul {
  margin-top: 20px;
}

input{
  width:100%;
  padding: 10px 20px;
  margin-bottom:10px;
  border: 2px solid rgba(91,103,112,1);
}

.botao {
  width:100%;
  margin-top:20px;
  padding: 10px 20px;
  margin-bottom:10px;
  border: 2px solid rgba(91,103,112,1);
  background-color: rgba(228,0,43,1);
  color: white;
  font-family: 'Contrail One', cursive;
  text-transform: uppercase;
  cursor: pointer;
}

.botao:hover {
  background-color: white;
  color: rgba(228,0,43,1);
}

.comments {
  width:100%;
  padding: 10px 20px;
  margin-bottom:10px;
  border: 2px solid rgba(91,103,112,1);
}

h3 {
  text-align: center;
  font-size: 35px;
  padding-top: 35px;
  padding-bottom: 35px;
  margin: 0;
  color: rgba(91,103,112,1);
  font-family: 'Contrail One', cursive;
}

h2 {
  text-align: center;
  font-size: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
  color: rgba(228,0,43,1);
  font-family: 'Contrail One', cursive;
}

h1 {
  text-align: center;
  font-size: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  margin: 0;
  color: rgba(91,103,112,1);
  font-family: 'Contrail One', cursive;
}

#main-banner {
  background-image: url('../images/carrinha-e-tecnico.jpg');
  height: 600px;
  background-size: cover;
  background-position: center center;
  margin-bottom:35px;
}

#contactos p{
  font-family: 'Contrail One', cursive;
  font-size: 20px;
  text-align: center;
}

.banner-content{
  position: relative;
  float: left;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner-content h1 {
  background-color: rgba(0,0,0,0.7);
  color: white;
  padding: 20px;
  text-transform: uppercase;
  margin-bottom: 70px;
}

.banner-content a {
  font-size: 35px;
  padding: 10px 30px;
  border:0;
}

#nav-logo{
  width: 120px;
  margin-bottom: -10px;
  margin-top: -10px;
}

.navbar-light .navbar-nav .nav-link, .dropdown-item {
  font-size: 18px;
  color: rgba(91,103,112,1);
  font-family: 'Contrail One', cursive;
}

.navbar-light .navbar-nav .nav-link:hover, .dropdown-item:hover, .navbar-light .navbar-nav .show>.nav-link{
  color: rgba(91,103,112,0.7);
}

.dropdown-item.active, .dropdown-item:active {
  background-color: rgba(91,103,112,0.1);
}

.service-img {
  margin-bottom: 30px;
  border: 4px solid rgba(91,103,112,1);
}

.button-div {
  margin-top: 30px;
  margin-bottom: 60px;
}

.know-more {
  background-color: rgba(228,0,43,1);
  color: white !important;
  border: 2px solid rgba(91,103,112,1);
  font-family: 'Contrail One', cursive;
  padding: 12px 24px;
  text-transform: uppercase;
}

.know-more:hover {
  background-color: white;
  color: rgba(228,0,43,1) !important;
}

.footer {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-top: 50px;
  background-color: rgb(248,249,250);
  font-size: 16px;
  color: black;
}

.footer a{
  color: black;
}

.footer h5{
  margin-top: 20px;
  text-transform: uppercase;
  font-family: 'Contrail One', cursive;
  color: rgba(91,103,112,1);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer p {
  margin-bottom:5px;
  font-size: 14px;
}

#footer-1 {
  margin-top:20px;
  text-align: center;
}

#social-media a{
  margin-right: 10px;
}

.avatar img {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 180px;
}

.avatar-p {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 5px !important;
  text-align: center;
}

.avatar-p1 {
  text-align: center;
  font-size: 16px;
}

.avatar-p2 {
  margin-top:20px!important;
  width: 80%;
  margin: auto;
  font-size: 14px;
}

.margins {
  margin-bottom: 50px;
}

#service-1-good p{
  text-align: center;
  margin-bottom: 10px;
}

.row{
  margin-left:0px;
  margin-right:0px;
}

/*

.col-xs-$	Extra Small	Phones Less than 768px
.col-sm-$	Small Devices	Tablets 768px and Up
.col-md-$	Medium Devices	Desktops 992px and Up
.col-lg-$	Large Devices	Large Desktops 1200px and Up

*/

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

  .footer p, .footer{
    text-align: center;
  }

  #main-banner{
    height: 400px;
  }

  .banner-content h1 {
    font-size: 40px;
  }

  .banner-content a {
    font-size: 28px;
  }

  h1 {
    font-size: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  h3 {
    font-size: 30px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #list-1{
    margin-bottom:0px;
  }

  #list-2{
    margin-top: 0px;
  }

  #contactos{
    margin-bottom:50px;
  }

  img{
    width: 60%;
  }

}
