/*
Theme Name: Elemental Engenharia 2021
Author: Thaila Nagazawa e Willian Mustafa
Author URI: http://thailanagazawa.com.br
Description: Tema exclusivo para o uso da Elemental Engenharia
Version: 1.0
*/

h4 {
  font-size: 1.2rem !important;
  color: var(--branco);
}

.bold {
  font-weight: bold;
}

.lighter {
  font-weight: lighter;
}

.uppercase {
  text-transform: uppercase;
}

.menu-link {
  font-size: 1.25em;
  font-weight: bold;
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 6px;
  text-underline-offset: 7px;
  text-decoration-color: white;
}

.rotate-45 {
  transform: rotate(45deg);
}

.borda-fundo {
  border-right: 1px solid white;
  border-top: 1px solid white;
}

.section {
  min-width: 100vw;
  color: white;
  margin-top: 107px;
  height: calc(100vh - 107px);
}

.section-portfolio {
  width: 140vw;
}

.section-timeline {
  width: 90vw;
}

#sobre.sobre-texto{
  width: 50vw;
}

#slogan{
  width: 60vw;
  min-width: auto !important;
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
  background-color: black !important;
}

#upper {
  height: 20vh;
}

.gradient-border::after {
  margin-top: 4px !important;
}

.gradient-border-vert::after {
  margin-top: -4px !important;
}

.timeline-position {
  position: absolute !important;
  top: 32% !important;
  left: 16% !important;
}

.timeline>li:nth-child(2n)>.position-relative>.timeline-data-corte {
  top: -14rem !important;
}


.timeline div {
  position: relative;
  color: var(--branco);
}

.timeline li {
  align-self: flex-start;
  margin-right: 20px;
}

.timeline-overflow {
  overflow-y: hidden;
  position: absolute;
  top: 34%;
  height: 3.5rem;
  width: 100%;
}

/* .index-texto {
  top: 30%;
  position: absolute;
} */

.index-texto button {
  margin-top: 4rem;
}

#map {
  height: 400px;
  width: 100%;
}

.fundo {
  width: 100vh;
  transform: rotate(-45deg);
  z-index: -150;
}

.img-parceiros {
  max-width: 6vw;
  height: auto;
  margin-right: 2rem;
}

.fundo-img {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130vh;
  height: 130vh;
  background: black;
  border-right: 3px solid #6c7071;
  border-bottom: 3px solid #6c7071;
}

.img-fundo {
  position: absolute;
  transform: rotate(45deg);
  width: 108vw;
  left: -12vw;
  transition: 0.3s;
  opacity: .5;
}

#parallax .img-fundo {
  width: 2000px !important;
}

#parallax:after {
  opacity: 0 !important;
}

.fundo-img>a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130vh;
  height: 130vh;
}

.portfolio-seta-container:hover>.fundo-img>a>img {
  opacity: 1;
  transform: scale(1.05) rotate(45deg)
}

.gradient-border {
  --border-width: 0px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130vh;
  height: 130vh;
  background: black;
  border-radius: var(--border-width);
}

.gradient-border::after {
  position: absolute;
  opacity: .5;
  content: "";
  top: calc(-1 * 1px);
  left: calc(-1 * 1px);
  z-index: -1;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  background: #d7dfe2;
  margin-left: 4px;
  padding-bottom: 24px;
  margin-top: -19px;
}

.gradient-border-vert {
  --border-width: 0px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 130vh;
  height: 130vh;
  background: black;
  border-radius: var(--border-width);
}

.gradient-border-vert::after {
  position: absolute;
  opacity: .5;
  content: "";
  top: calc(-1 * 1px);
  left: calc(-1 * 1px);
  z-index: -1;
  width: calc(100% + 1px);
  height: calc(100% + 1px);
  background: linear-gradient(45deg, #636E72, #939fa3, #d7dfe2, #4ba4bc, #d7dfe2, #939fa3, #636E72);
  background-size: 300% 300%;
  background-position: -8px 37%;
  border-radius: 0;
  animation: moveGradient 4s alternate infinite;
  margin-left: 4px;
  padding-bottom: 24px;
  margin-top: -19px;
}

@keyframes moveGradient {
  50% {
    background-position: 100% 50%;
  }
}

@keyframes anim-opacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.carousel-control-prev,
.carousel-control-next {
  width: 5% !important;
  opacity: 1 !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 27px;
  height: 27px;
}



/* CORES */
.white {
  color: var(--branco);
}


/* NAV */

.navbar {
  padding: 1rem 1rem !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 1.5rem !important;
  padding-left: 1.5rem !important;
}

.main {
  padding-top: 120px
}

.nav-link {
  position: relative;
  color: white;
  -webkit-transition: color 0.2s ease-in-out;
  -moz-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.nav-item.active>.nav-link::before,
.nav-item>.nav-link::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  border-bottom: 3px solid white;
  -webkit-transition: width 0.3s ease-in-out;
  -moz-transition: width 0.3s ease-in-out;
  -o-transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
  overflow: hidden;
}


.nav-item.active>.nav-link::before,
.nav-item:hover>.nav-link::before {
  content: '';
  position: absolute;
  width: calc(100% - 3rem);
  height: 2px;
  bottom: 0;
  border-bottom: 3px solid white;
}

.nav-item:hover>.nav-link {
  color: var(--branco) !important;
}


/* IMAGEM */

.img-logo {
  max-width: 14rem;
}

.opacity-5 {
  opacity: .5;
}


/* BOTÕES */

.btn-arrow {
  font-weight: bold;
  font-size: 1.25rem;
  text-transform: uppercase;
  background: none;
  color: black;
  position: relative;
  outline: none;
  float: left;
  text-align: left;
  border: none;
  height: 50px;
  padding-left: 1rem;
  width: 190px;
  z-index: 2;
  transition: 0.01s 0.23s ease-out all;
  overflow: hidden;
}

.btn-arrow:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80%;
  background: #ffffff;
  z-index: -1;
  transition: 0.3s ease-in all;
}

.btn-arrow:after {
  content: "";
  position: absolute;
  left: -5%;
  top: 5%;
  height: 90%;
  width: 5%;
  background: white;
  z-index: -1;
  transition: 0.4s 0.02s ease-in all;
}

.btn-arrow:hover {
  cursor: pointer;
  color: transparent;
}

.btn-arrow:hover:before {
  left: 100%;
  width: 25%;
}

.btn-arrow:hover:after {
  left: 100%;
  width: 70%;
}

.btn-arrow:hover .icon-right.after:after {
  left: 0;
  color: white;
  transition: 0.2s 0.2s ease all;
}

.btn-arrow:hover .icon-right.after:before {
  left: -2rem;
  top: 8px;
  opacity: 1;
  color: white;
  position: relative;
}

.icon-right {
  position: absolute;
  top: 0;
  right: 0;
}

.icon-right:after {
  font-family: "FontAwesome";
  content: "→";
  font-size: 24px;
  display: inline-block;
  position: relative;
  top: 26px;
  transform: translate3D(0, -50%, 0);
  color: white;
}

.icon-right.after:after {
  left: -250px;
  color: black;
  transition: 0.15s 0.25s ease left, 0.5s 0.05s ease color;
}

.icon-right.after:before {
  content: "SAIBA MAIS";
  position: absolute;
  left: -230px;
  top: 14px;
  opacity: 0;
  transition: 0.2s ease-in all;
}

.btn-arrow:hover .icon-hide {
  opacity: 0;
  transition: .2s;
}


.btn-light:hover {
  background: black !important;
  color: white !important;
}

.btn-light {
  transition: all 0.2s ease;
}

.max-content{
  width: max-content;
}


.btn-white {
  background-color: var(--branco);
  color: var(--preto-fonte);
  border: none !important;
  font-weight: bold;
  font-size: 1em;
  text-transform: uppercase;
  padding: .5rem 1.5rem;
}


.btn-arrow-right {
  background-color: var(--branco);
  color: var(--preto-fonte);
  border: none !important;
  font-weight: bold;
  font-size: 1.5em;
  text-transform: uppercase;
  padding: 1rem 1.2rem;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}



/* TAMANHOS */
.h100 {
  height: 100vh;
}

.w100 {
  width: 100vw;
}



/* SOBRE */
/* .sobre-texto {
  position: absolute;
  left: 10%;
  top: 26%;
  width: 63vw;
} */





/* TIMELINE */

.timeline-position {
  position: absolute !important;
  top: 32%;
  left: 109vw;
}

.timeline-data {
  color: var(--branco);
  position: absolute;
  bottom: -31px;
  left: 0;
  font-size: 4rem;
  font-weight: bold;
  text-align: center;
  width: 100%;
  transition: .25s;
  -webkit-transition: .25s;
  -moz-transition: .25s;
}

.timeline-data:hover {
  bottom: -24px;
}

.timeline-data-corte {
  height: 100%;
  position: absolute;
  width: 100%;
  left: 0;
}

.timeline>li:nth-child(2n - 1)>.position-relative>.timeline-data-corte {
  top: 3rem;
}

.timeline>li:nth-child(2n)>.position-relative>.timeline-data-corte {
  top: -12.5rem;
}

.timeline {
  list-style: none;
  display: inline-flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  height: 22rem;
  left: -8%;
  max-width: 83vw;
}

/* middle line */
.timeline:before {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  width: 85%;
  height: 2px;
  background: var(--branco);
}


.timeline li {
  align-self: flex-start;
}


/*  event in even position are bottom-aligned */
.timeline li:nth-child(2n) {
  align-self: flex-end;
}


.timeline div {
  position: relative;
  color: var(--branco);
}

/* style for the event arrow */
.timeline-data-corte:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.timeline .col:nth-child(2n)>div {
  top: 80%
}

/* position of the event arrow in odd position */
.timeline div:nth-child(2n - 1) .timeline-data-corte:before {
  top: 23%;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 20px solid var(--branco);
}


/* position of the event arrow in even position */
.timeline div:nth-child(2n) .timeline-data-corte:before {
  bottom: 30%;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--branco)
}


/* PORTFOLIO */
/* .portfolio-texto {
  position: absolute;
  top: 24vh;
  left: 7vw;
  width: 28vw;
} */

.portfolio-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.25rem;
  text-transform: uppercase;
  background: none;
  color: transparent;
  position: relative;
  outline: none;
  float: left;
  border: none;
  min-height: 39px;
  width: 190px;
  z-index: 2;
  transition: 0.01s 0.23s ease-in all;
  transition: 0.3s ease-in color;
  overflow: hidden;
}

.portfolio-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 80%;
  background: #ffffff;
  z-index: -1;
  transition: 0.5s ease-in all;
  left: -100%;
  width: 25%;
}

.portfolio-seta-container:hover>.fundo-img>a>p>.portfolio-title {
  cursor: pointer;
  color: black;
}

.portfolio-seta-container:hover>.fundo-img>a>p>.portfolio-title:before {
  left: 0;
  width: 100%;
}

.portfolio-cat {
  font-size: .9rem;
}

.portfolio-text-container {
  position: absolute;
  bottom: 3.5rem;
  right: 1rem;
  transform: rotate(45deg);
  display: grid;
}

.portfolio-vermais {
  bottom: 3.5rem;
  right: 0rem;
}

@media (min-height: 500px) and (max-height: 800px) {
  .sobre-texto {
    left: 14vw;
    width: 60vw;
  }

  .portfolio-texto {
    left: 4vw;
    width: 29vw;
  }

  #map {
    height: 35vh;
  }

  #upper {
    height: 30vh;
  }
}

@media (min-height: 500px) and (max-height: 700px) {
  .portfolio-texto {
    left: 1vw;
    width: 29vw;
  }
}


@media (min-width: 1367px) {
  .portfolio-texto {
    width: 20vw;
    margin: 0 auto;
  }
}

@media (min-width: 1600px) {
  .portfolio-text-container {
    bottom: 6.5rem;
    right: 3rem;
  }
}


/* CONTATO */

/* #contato {
  padding-left: 13vw;
} */

/* .contato-texto {
  margin-top: 110px
} */

.vertical-separator:before {
  content: "";
  position: absolute;
  width: 2px;
  height: 90%;
  background: var(--branco);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.vertical-separator:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--branco);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact2-form {
  width: 100%;
}

.wrap-input2 {
  width: 100%;
  position: relative;
  border-bottom: 2px solid var(--branco);
  margin-bottom: 37px;
}

.input2 {
  display: block;
  width: 100%;
  background: transparent;
  font-size: 15px;
  color: var(--branco);
  line-height: 1.2;
}

.focus-input2 {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.focus-input2::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;

  background: rgba(219, 21, 99, 1);
  background: -webkit-linear-gradient(45deg, #4ba4bc, #00658a);
  background: -o-linear-gradient(45deg, #4ba4bc, #00658a);
  background: -moz-linear-gradient(45deg, #4ba4bc, #00658a);
  background: linear-gradient(45deg, #4ba4bc, #00658a);
}

.focus-input2::after {
  content: attr(data-placeholder);
  display: block;
  position: absolute;
  top: 0px;
  left: 0;

  font-size: 13px;
  color: var(--branco);
  line-height: 1.2;

  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

/*---------------------------------------------*/
input.input2 {
  height: 45px;
}

input.input2+.focus-input2::after {
  top: 16px;
  left: 0;
}

textarea.input2 {
  min-height: 115px;
  padding-top: 13px;
  padding-bottom: 13px;
}

textarea.input2+.focus-input2::after {
  top: 16px;
  left: 0;
}

.input2:focus+.focus-input2::after {
  top: -13px;
}

.input2:focus+.focus-input2::before {
  width: 100%;
}

.has-val.input2+.focus-input2::after {
  top: -13px;
}

.has-val.input2+.focus-input2::before {
  width: 100%;
}


@media (max-width: 576px) {
  .wrap-contact2 {
    padding: 72px 15px 90px 15px;
  }
}

/*------------------------------------------------------------------
  [ Alert validate ]*/

.validate-input {
  position: relative;
}

.alert-validate::before {
  content: attr(data-validate);
  position: absolute;
  max-width: 70%;
  background-color: white;
  border: 1px solid #c80000;
  border-radius: 2px;
  padding: 4px 25px 4px 10px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0px;
  pointer-events: none;


  color: #c80000;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  visibility: hidden;
  opacity: 0;

  -webkit-transition: opacity 0.4s;
  -o-transition: opacity 0.4s;
  -moz-transition: opacity 0.4s;
  transition: opacity 0.4s;
}


.alert-validate:hover:before {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 992px) {
  .alert-validate::before {
    visibility: visible;
    opacity: 1;
  }
}

input {
  outline: none;
  border: none;
}

textarea {
  outline: none;
  border: none;
}

textarea:focus,
input:focus {
  border-color: transparent !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

input::-webkit-input-placeholder {
  color: #999999;
}

input:-moz-placeholder {
  color: #999999;
}

input::-moz-placeholder {
  color: #999999;
}

input:-ms-input-placeholder {
  color: #999999;
}

textarea::-webkit-input-placeholder {
  color: #999999;
}

textarea:-moz-placeholder {
  color: #999999;
}

textarea::-moz-placeholder {
  color: #999999;
}

textarea:-ms-input-placeholder {
  color: #999999;
}

@media (min-width: 1367px) {
  .vertical-separator:before {
    height: 69vh
  }
}

.slogan {
  right: 30rem;
  width: auto;
  opacity: 0.7;
  bottom: 0;
  height: 100vh;
}











.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
  grid-gap: 3px;
  grid-auto-rows: minmax(32vh, auto);
  grid-auto-flow: dense;
}

.grid-item {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  background-position-x: 0%;
  background-position-y: 0%;
  background-repeat: repeat;
  background-size: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none !important;
  display: flex;
  overflow: hidden;
}

.grid-item:hover .overlay {
  opacity: 0.9;
  background: linear-gradient(transparent, transparent, var(--branco) 90%);
}

.grid-item:nth-child(odd) {
  background-color: #ccc;
}

.grid-item-2row {
  grid-column-end: span 1;
  grid-row-end: span 2;
}

.grid-item-2row-2col {
  grid-column-end: span 2;
  grid-row-end: span 2;
}

.grid-item-1row-2col {
  grid-column-end: span 2;
  grid-row-end: span 1;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  position: absolute;
  transition: all 0.15s ease-in-out;
  z-index: 1;
}

.grid-item h4,
.grid-item h6 {
  color: white;
  transition: all 0.15s ease-in-out;
  font-weight: bold;
  text-decoration: none !important;
  padding-left: 0.5rem;
}

.grid-item:hover h4,
.grid-item:hover p {
  color: black;
}

.grid-item-inner {
  width: 100%;
  padding: 1rem;
  display: flex;
  z-index: 2;
}

.grid-item-border {
  width: 100%;
  position: relative;
  display: flex;
  transition: border 0.01s ease-in-out;
}

.grid-item:hover .grid-item-border {
  border: 2px solid black;
}

.grid-item h6 {
  display: none;
}

.grid-item:hover h6 {
  display: block !important;
}

.grid-item p {
  font-size: 0.7rem !important;
  color: white;
  padding-left: 0.5rem;
}

.portfolio-home-img {
  position: absolute;
  height: 100%;
  z-index: 0;
  width: 100%;
  background-size: cover !important;
}




.img-box-blog {
  background: white;
  position: absolute;
  bottom: -12px;
  right: 2px;
  width: 90%;
  height: 90%;
  z-index: -1;
}

.triangle-right::after {
  content: '';
  height: 0;
  width: 0;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 44px solid white;
  position: absolute;
  top: 30px;
  right: -14px;
  z-index: 3;
}

.img-blog-vertical {
  height: 100%;
  width: 100%;
  background-size: cover !important;
}

.img-blog-vertical-page{
  height: 100%;
  width: auto;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.blog-vertical {
  position: relative;
  height: 100%;
}

.blog-texto {
  width: 20vw;
}

#blog .col-3 {
  flex: 0 0 20vw !important;
}

#blog .col-9 {
  flex: 0 0 90vw !important;
}

.cat-links a {
  color: white !important;
}