@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

.section-title p {
  margin-bottom: 60px;
}

.section-title p {
  font-size: 40px;
  text-align: center;
  text-transform: uppercase;
  background-image: url("../img/black_line.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  padding-bottom: 5px;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* Início Header */
header {
  height: 416px;
  font-family: 'Roboto', sans-serif;
  background-image: url("../img/bg_header.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-top: 25px;
}

.navbar-dark .navbar-nav .nav-link {
  color: #FFFFFF;
}

#row-mreuro #col-mreuro p:first-child {
  font-size: 3.5rem;
  color: #FFFFFF;
  margin-top: 60px;
}

#row-mreuro #col-mreuro p:last-child {
  font-size: 1.2rem;
  color: #FFFFFF;
  padding: 0 275px;
  margin-top: 25px;
}
/* Fim Header */

/* Início Nossa História */
#row-history {
  padding: 50px 150px;
}

#row-history #col-history-info #col-history-info-links ul {
  list-style-type: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#row-history #col-history-info #col-history-info-links ul::after {
  content: "";
  width: 820px;
  border-top: 1px dashed #000000;
  position: absolute;
  top: 620px;
  z-index: -1;
}

#row-history #col-history-info #col-history-info-links ul li {
  float: left;
  margin-left: 15px;
}

#row-history #col-history-info #col-history-info-links ul li:first-child {
  margin-left: 0;
}

#row-history #col-history-info #col-history-info-links ul li a {
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  color: #FFFFFF;
  background-color: #dbdbdb;
  border-radius: 50%;
  display: block;
  padding: 20px 15px;
}

#row-history #col-history-info #col-history-info-links ul li a:hover::before {
  content: "";
  width: 50%;
  height: 100px;
  border-left: 1px dashed #000000;
  position: absolute;
  margin-left: 12px;
  z-index: -2;
}

#row-history #col-history-info #col-history-info-links ul li a:hover {
  background-color: #111111;
}

#row-history #col-history-info #col-history-info-txt {
  margin-top: 85px;
}

#row-history #col-history-info #col-history-info-txt .conteudo {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#row-history #col-history-info #col-history-info-txt .conteudo p:first-child {
  width: 50%;
  max-height: 190px;
  overflow: auto;
  padding-right: 10px;
}

#row-history #col-history-info #col-history-info-txt .conteudo p:last-child {
  width: 50%;
  padding-left: 10px;
}
/* Fim Nossa História */

/* Início Missão, Visão e Valores */
#row-mvv {
  background-color: #F9F9F9;
  padding: 50px 150px;
}

#row-mvv #col-mvv-img {
  padding-right: 30px;
}

#row-mvv #col-mvv-img div {
  display: flex;
  justify-content: flex-end;
}

#row-mvv #col-mvv-txt {
  padding-left: 30px;
}

#row-mvv #col-mvv-txt div p {
  line-height: 25px;
}
/* Fim Missão, Visão e Valores */

/* Início Sustentabilidade */
#row-sustainability {
  background-image: url("../img/bg_sustainability.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 50px 150px;
}

#row-sustainability #col-sustainability-title {
  margin-bottom: 20px;
}

#row-sustainability #col-sustainability-title p {
  max-width: 324px;
  font-size: 25px;
  color: #FFFFFF;
  text-align: left;
  text-transform: uppercase;
  background-image: url("../img/white_line.png");
  background-repeat: no-repeat;
  background-position: 100px bottom;
  padding-bottom: 5px;
}

#row-sustainability #col-sustainability-txt {
  height: 350px;
  color: #FFFFFF;
  overflow-x: auto;
}
/* Fim Sustentabilidade */

/* Início Vídeos */
#row-projects {
  background-color: #F9F9F9;
  padding: 50px 150px;
}

#row-projects #col-projects-video1 {
  padding-right: 25px;
}

#row-projects #col-projects-video2 {
  padding-left: 25px;
}

#row-projects #col-projects-video1 img, #col-projects-video2 img {
  border-radius: 10px;
}

#row-projects #col-projects-video1 iframe, #col-projects-video2 iframe {
  border-radius: 15px;
}
/* Fim Vídeos */

/* Início Brand */
#row-brand {
  padding: 50px 150px;
}

#row-brand #row-brand-box #col-brand-img {
    background-image: url("../img/bg_divisoria.png");
    background-repeat: no-repeat;
    background-position: right;
}

#row-brand #row-brand-box #col-brand-img div img {
    padding-right: 50px;
}

#row-brand #row-brand-box #col-brand-txt div p:last-child {
    font-size: .9rem;
    font-weight: bold;
    text-align: right;
    text-transform: uppercase;
    margin-top: 25px;
}

#row-brand #row-brand-box #col-brand-txt div p:last-child a {
  text-decoration: none;
  color: #000000;
}

#row-brand #row-brand-box #col-brand-txt div p:last-child a:hover {
  color: #333333;
}

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-body {
  position:relative;
  padding:0px;
}

.btn-close {
  position:absolute;
  right:-30px;
  top:0;
}
/* Fim Brand */

/* Início Operation */
#row-operation {
  padding: 50px 150px;
}

#row-operation .card {
  height: 400px;
  text-align: center;
  border: 0;
  border-radius: 0;
}

#row-operation .card img {
  width: 120px;
  height: 120px;
  margin: 12px auto;
}

#row-operation .card .card-body .card-title {
  font-weight: bold;
}

#row-operation .card .card-body .card-text a {
  color: #000000 !important;
  text-decoration: none;
}

#row-operation .card .card-body .card-text a:hover {
  text-decoration: underline;
}

#row-operation .card:hover {
  color: #FFFFFF;
  background-color: #3D3D3D !important;
}

#row-operation .card:hover .card-text a {
  color: #FFFFFF !important;
}
/* Fim Operation */

/* Início Footer */
footer {
  background-color: #000000;
  padding: 35px 150px 0 150px;
}

#row-footer #col-footer-txt {
  max-height: 250px;
  color: #FFFFFF;
}

#row-footer #col-footer-txt p:nth-last-child(4) {
  font-size: 3.5rem;
}

#row-footer #col-footer-txt p:nth-last-child(3) {
  font-size: 1.2rem;
  margin: 20px 0;
}

#row-footer #col-footer-txt p:nth-last-child(2) {
  font-size: .8rem;
}

#row-footer #col-footer-txt p:nth-last-child(1) {
  display: block;
  position: relative;
  top: -45px;
  float: right;
}
/* Fim Footer */

/* Breakpoints */
@media (max-width: 1200px) {
  #row-mreuro #col-mreuro p:last-child {
    padding: 0 200px;
  }

  #row-history {
    padding: 50px 0 !important;
  }
}

@media (max-width: 992px) {
  #row-mreuro #col-mreuro p:last-child {
    padding: 0 100px;
  }

  #row-mvv {
    padding: 50px 100px !important;
  }

  #row-sustainability {
      padding: 50px 100px !important;
  }

  #row-projects #col-projects-title {
    text-align: center;
  }

  #row-brand {
    padding: 50px 100px;
  }

  #row-brand #row-brand-box #col-brand-img {
    background: none;
  }

  #row-brand #row-brand-box #col-brand-img div {
    justify-content: center !important;
  }

  #row-brand #row-brand-box #col-brand-img div img {
    padding-right: 0;
    margin-bottom: 20px;
  }

  #row-brand #row-brand-box #col-brand-txt div p {
    text-align: center;
  }

  #row-operation {
    padding: 50px 100px;
  }
}

@media (max-width: 850px) {
  #row-history #col-history-info #col-history-info-links ul {
    display: block;
  }

  #row-history #col-history-info #col-history-info-links ul li {
    padding-bottom: 25px;
  }

  #row-history #col-history-info #col-history-info-links ul li:first-child {
    margin-left: 15px;
  }

  #row-history #col-history-info #col-history-info-links ul::after {
    border: none;
  }

  #row-history #col-history-info #col-history-info-links ul li a:hover::before {
    border-left: none;
  }

  #row-history #col-history-info #col-history-info-txt {
    margin-top: 0 !important;
  }

  #row-history #col-history-info #col-history-info-txt .conteudo {
    height: 100%;
    display: block;
  }

  #row-history #col-history-info #col-history-info-txt .conteudo p:first-child {
    width: 100% !important;
    max-height: 100% !important;
    text-align: center;
    padding-right: 0 !important;
    margin: 0 auto 15px auto !important;
  }

  #row-history #col-history-info #col-history-info-txt .conteudo p:last-child {
    width: 100% !important;
    height: 100% !important;
    padding-left: 0 !important;
    margin: 0 auto !important;
  }

  #row-history #col-history-info #col-history-info-txt .conteudo p:last-child img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  header .navbar .navbar-toggler {
    border-color: #F5F5F5 !important;
  }

  header .navbar .navbar-collapse ul {
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    left: 10px;
    border-radius: 10px;
    border: 1px solid #F5F5F5;
    margin-top: 10px;
    padding: 0 25px 0 5px;
  }

  header .navbar .navbar-collapse ul li {
    margin-left: 10px;
  }

  header .navbar .navbar-collapse ul li .nav-link {
    color: #FFFFFF;
  }

  #row-mreuro #col-mreuro p:last-child {
    padding: 0;
  }

  #row-mvv {
    padding: 50px 0 !important;
  }

  #row-mvv #col-mvv-img div {
    justify-content: center;
    margin-bottom: 15px;
  }

  #row-sustainability {
      padding: 50px 0 !important;
  }

  #row-sustainability #col-sustainability-title p {
    text-align: center;
    margin: 0 auto;
  }

  #row-projects {
    padding: 50px 0;
  }

  #row-projects #col-projects-video1 {
    padding-right: 0 !important;
    padding-bottom: 10px;
  }

  #row-projects #col-projects-video2 {
    padding-left: 0 important;
    padding-top: 10px;
  }

  #row-projects #col-projects-video1 div {
    justify-content: center !important;
  }

  #row-projects #col-projects-video2 div {
    justify-content: center !important;
  }

  #row-brand {
    padding: 25px 0 0 0;
  }

  #row-operation {
    padding: 0 15px 25px 15px;
  }

  /* Início Footer */
  footer {
    padding: 35px 0 0 0;
  }

  footer #row-footer {
    margin-right: auto;
  }

  #row-footer #col-footer-txt {
    max-height: 100%;
  }

  #row-footer #col-footer-txt p:nth-last-child(1) {
    top: auto;
    float: none;
  }

  #row-footer #col-footer-txt p:nth-last-child(1) img {
    margin: 0 auto;
  }
  /* Fim Footer */
}
