body,
h1 {
  font-family: "Montserrat", sans-serif;
}

header {
  position: relative;
  height: 88vh;
  background-image: url("../images/bg.png");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: auto;
  background-color: rgb(0, 0, 0);
  background-attachment: fixed;
  color: #fff;
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.88); /* Cor preta com 50% de opacidade */
  z-index: 1;
}
header > * {
  position: relative;
  z-index: 2;
}
.subheader {
  height: 11vh;
}
.title {
  font-style: normal;
  z-index: 1;
  font-size: 57px;
  line-height: 68.4px;
  text-align: left;
  letter-spacing: 0px;
  text-shadow: none;
  font-style: normal;
  font-weight: 900;
  font-size: 3.8rem;
}
.subtitle {
  line-height: 34px;
  letter-spacing: 0px;
  text-align: left;
  font-size: 17px;
  text-shadow: none;
  opacity: 1;
}
.btn-success {
  background: #09b928 !important;
  border-radius: 5px !important;
}
.material-icons,
.material-symbols-outlined {
  font-size: 6rem !important;
}
.dark-content {
  background: #000;
  color: #fff;
}
.grey-content {
  background: #2a2a2a;
  color: #fff;
}

.semidark-content {
  background: #141414;
  color: #fff;
}

.card-service {
  background-position: 34% 30% !important;
  background-size: cover;
  background-repeat: no-repeat;
  width: 280px;
  height: 450px;
  border-radius: 10px;
  text-align: center;
  position: relative;
}
.card-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Cor preta com 50% de opacidade */
  z-index: 1;
}
.card-service > * {
  position: relative;
  z-index: 2;
}
.card-service-footer {
  position: absolute;
  bottom: 30px;
}
.card-service-title {
  font-weight: bold;
}
.balance {
  background: url("../images/services/balance.webp");
}
.clutch {
  background: url("../images/services/clutch.webp");
}

.geometry {
  background: url("../images/services/geometry.jpg");
}
.motors {
  background: url("../images/services/motors.webp");
}
.injection {
  background: url("../images/services/injection.jpeg");
  background-position: 65% 80% !important;
}
.brake {
  background: url("../images/services/brake.jpg");
}
.suspension {
  background: url("../images/services/suspension.jpg");
}

.revision {
  background: url("../images/services/revision.jpg");
  background-position: 45% 90% !important;
}
.big_button {
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0px solid rgb(163, 186, 198);
  background-color: rgb(0, 255, 34);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0px 0px 40px 0px rgb(0, 255, 34);
}
.big_button:hover {
  color: black;
  cursor: default;
}
.bb_subtitle {
  letter-spacing: 0px;
  text-align: left;
  font-size: 17px;
  text-shadow: none;
  opacity: 1;
}

.flag-italy {
  width: 120px; /* Ajuste a largura conforme necessário */
  height: 90px; /* Ajuste a altura conforme necessário */
  display: flex;
}

.flag-italy .stripe {
  flex: 1;
  height: 100%;
}

.flag-italy .stripe.green {
  background-color: #009246;
}

.flag-italy .stripe.white {
  background-color: #ffffff;
}

.flag-italy .stripe.red {
  background-color: rgb(229, 15, 3);
}

.tools {
  max-width: 300px;
  position: relative;
  margin: 0 auto;
}
.tools img {
  position: absolute;
  top: -30vh;
  left: 0px;
}
hr {
  border: 1px solid rgb(163, 186, 198);
}

.floating-button {
  max-height: 60px;
  max-width: 60px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
  font-size: 2rem;
  transition: transform 0.3s ease;
  border-radius: 50% !important;
}

.floating-button:hover {
  transform: scale(1.1);
}


@media screen and (max-width: 576px) {
  header{
    height: 100vh;
  }
  .title {
    font-size: 1.5rem;
    line-height: normal;
  }
  .subtitle {
    line-height: 1.5rem;
    font-size: 0.8rem;
  }
  .material-icons,
  .material-symbols-outlined {
    font-size: 3rem !important;
  }
  .subheader {
    height: auto;
  }
  .card-service {
    background-position: 34% 30% !important;

    width: 90%;
    height: 350px;
    margin: 0 auto;
    margin-bottom: 5vw;
  }
  .tools img {
    top: -40vh;
  }
 
}

@media screen and (min-width: 1140px) and (max-width: 1399px){
  header{
    height: 80vh;
  }
  .title{
    font-size: 3rem;
    line-height: 3rem;
  }
  .subtitle{
    font-size: 1rem;
    line-height: 1rem;
  }
}


@media screen and (min-width: 1921px){
  	header {
        height: 78vh;
	}
  
  	.tools img {
      top: -26vh;
    }
}