/* Estilos Globais
-------------------------------------------------- */

body {
  color: rgb(var(--bs-tertiary-color-rgb));
  font-family: 'Montserrat', sans-serif;
  --bs-link-hover-color: #D8161E !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 0;
}

.container {
  max-width: 90vw;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  top: 10%;
  z-index: 10;

}

#carousel-pre-video .texto {
  font-size: calc(8px + 4vw);
}

#carousel-pre-video .subtexto {
  font-size: calc(8px + 3vw);
}

#carousel-pre-video .sub-subtexto {
  font-size: calc(8px + 2vw);
}

/* Declare heights because of positioning of img element */
.carousel-item-topper {
  height: 50vw;
  max-height: 720px;
}

/* MARKETING CONTENT
  -------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}

/* rtl:end:ignore */



/* Featurettes
  ------------------------- */

.featurette-divider {
  margin: 5rem 0;
  /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
  -------------------------------------------------- */

@media (min-width: 40em) {

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}


.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  object-fit: cover;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.loader {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  top: 0;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loader img{
  width: 25%;
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, .1);
  border: solid rgba(0, 0, 0, .15);
  border-width: 1px 0;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
  z-index: 1500;
}



/* Header
  -------------------------------------------------- */


.nav {
  --bs-nav-link-color: rgb(100, 100, 100)
}

.body-contato {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-link.active {
  color: black !important;
  background-color: #0000 !important;
}

footer {
  background-color: #D8161E;
}

.contact-icon {
  color: #D8161E;
  width: 40px;
  height: 40px;
  text-align: center;
}

.contato-bandeira {
  width: 75%;
  height: 50%;
  position: absolute;
  transform: translateX(-50%);
  left: 20%;
  bottom: 0;
}

@media only screen and (max-width: 767px) {
  .contato-bandeira {
    transform: translate(-50%, -50%);
    left: 50%;
    top: 100%;
  }
}



.contact-link {
  display: flex;
}

.saiba-mais-box {
  background-color: #D8161E;
  min-height: 50vh;
}


.saiba-mais-text {
  width: 80%;
}

.middle-logo {
  max-height: 100px;
  max-width: 200px;
  width: 25vw;
  height: 12.5vw;
}


video {
  width: 100%;
}

.video-box {
  background-color: #D8161E;
  box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.reverse-d {
  max-width: 20vw;
  max-height: 200px;

}

.servico-img-start {
  width: 23vw;
  height: 100%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}

.servico-img-end {
  width: 23vw;
  height: 100%;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}

.banner-servicos {
  width: 100%;
  height: auto;
  max-height: 64vh;
}

.servico-row {
  opacity: 0;
}

.flip-card {
  min-height: 40vh;
  perspective: 2000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  color: black;
}

.flip-card-back {
  color: white;
  transform: rotateY(180deg);
}

.inner-card-box {
  height: 35vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.btn-bd-dib-red {
  min-width: 40%;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: #D8161E;
  --bs-btn-border-color: #D8161E;
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: #D8161E;
  --bs-btn-hover-border-color: #D8161E;
  --bs-btn-focus-shadow-rgb: #D8161E;
  --bs-btn-active-color: white;
  --bs-btn-active-bg: #aa151a;
  --bs-btn-active-border-color: #D8161E;
}

.card-body {
  min-width: 50vw;
  min-height: 20vw;
}

.list-group-item {
  padding: 0px;
  border: none;
}

.hue {
  min-width: 10px;
  width: 1vw;
}

.verde {
  background-color: green;
  height: 50%;
}


.sobre-logo {
  max-width: 300px;
  max-height: 150px;
}

.amarelo {
  background-color: yellow;
  height: 50%;
}

.bd-vermelho-dib {
  background-color: #D8161E;
}

.text-justify {
  text-align: justify;
}

.scrollbar-none::-webkit-scrollbar {
  display: none;
  scroll-behavior: smooth;
}

.fotos-scroller {
  height: 75%;
  font-size: calc(1.375rem + 3.5vw);
}

.sobrenos-img {
  height: 100%;
  min-width: 100%;
}

.sobrenos-row {
  opacity: 0;
}

.index-clientes {
  font-size: calc(1rem + 2vw);
}

.fs-header {
  font-size: calc(1rem + .3vw) !important;
}

.cliente-logo {
  width: 10vw;
  height: auto;

}

#main-menu {
  transition: 0.5s;

}


@media only screen and (max-width: 576px) {
  #main-menu {
    transition: 0.5s;
    height: 0px;
  }
}

.about-avatar {

  max-width: 20vw;
  height: auto;
}

.contact-avatar {
  min-width: 100px;
  width: 20vw;
  max-width: 200px;
  height: auto;
}


.autor {
  font-size: 0.5rem;
}

.text-red-dib {
  color: #D8161E
}