html {
  scroll-behavior: smooth;
}

.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

body {
  background-color: #f9f8fa;
  font-family: "Noto Sans JP", sans-serif;
}

.logomarca {
  height: 55px;
  width: 225px;
  position: absolute;
  left: 0;
  top: 0;
}

.custom-login-btn {
  color: #d1770f;
  border-color: #d1770f;
  background-color: transparent;
}

.custom-login-btn:hover {
  color: #fff;
  background-color: #d1770f;
  border-color: #d1770f;
}

.carousel-item img {
  height: 550px;
  object-fit: cover;
}

.carousel-item div.text-center {
  background-color: rgba(53, 48, 48, 0.438);
  border-radius: 10px;
}

/*navbar do mobile*/
@media (max-width: 768px) {
  #navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: top 0.3s ease;
  }

  .logomarca {
    height: 70px;
    width: 270px;
    position: absolute;
    left: 0;
    top: 0;
  }

  .side_contato {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: rgb(147, 158, 177);
  }
}

/* Navbar do desktop*/
@media (min-width: 769px) {
  #navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    height: 60px;
    z-index: 1000;
    transition: top 0.3s ease;
  }

  .custom-login-btn {
    color: #d1770f;
    border-color: #d1770f;
    background-color: transparent;
    position: relative;
    margin-left: auto;
  }

  .custom-login-btn:hover {
    color: #fff;
    background-color: #d1770f;
    border-color: #d1770f;
  }
}

#sidebarMobile {
  width: 280px;
  max-width: 80vw;
}

.sobre1 {
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.sobre1.visible {
  opacity: 1;
  transform: translateY(0);
}

.titulo1 {
  margin-top: 5rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0, 5s ease, transform 0.5s ease;
}

.titulo1.visible {
  opacity: 1;
  transform: translateY(0);
}

.descrição1 {
  max-width: 80%;
  margin: 0 auto;
  line-height: 1.5;
  text-align: justify;
}

.container1 {
  display: flex;
  gap: 150px;
  margin-top: 6rem;
  margin-left: 120px;
  margin-bottom: 6rem;
}

.image_body1 {
  height: 550px;
  width: 550px;
  object-fit: cover;
  transform: translateY(50px);
  opacity: 0;
  transition: opacity 0.75s ease-in, transform 0.75s ease-in;
}

.image_body1.visible {
  opacity: 1;
  transform: translateY(0);
}

.texto-lateral1 {
  max-width: 500px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  font-weight: 400;
  font-size: 20px;
}

.texto-lateral1.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .container1 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    margin-top: 0;
    padding: 60px 20px;
    background-image: url('images/mesa_diagonal.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .image_body1 {
    display: none;
  }

  .texto-lateral1 {
    max-width: 100%;
    text-align: center;
    z-index: 2;
  }


  .container1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .texto-lateral1 {
    position: relative;
    z-index: 2;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container1 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    margin-top: 0;
    padding: 60px 20px;
    background-image: url('images/mesa_diagonal.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .image_body1 {
    display: none;
  }

  .texto-lateral1 {
    max-width: 100%;
    text-align: center;
    z-index: 2;
  }


  .container1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .texto-lateral1 {
    position: relative;
    z-index: 2;
  }
}


.container2 {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 150px;
  margin-top: 10.5rem;
  margin-left: 40px;
  margin-right: 120px;
  padding-right: 20px;
}


.image_body2 {
  height: 550px;
  width: 550px;
  object-fit: cover;
  transform: translateY(50px);
  opacity: 0;
  transition: opacity 0.75s ease-in, transform 0.75s ease-in;
  margin-right: 20px;
}

.image_body2.visible {
  opacity: 1;
  transform: translateY(0);
}

.texto-lateral2 {
  max-width: 500px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  font-size: 21px;
  font-weight: 400;
}

.texto-lateral2.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .container2 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    margin-top: 0;
    padding: 60px 20px;
    background-image: url('images/mesa_de_cima.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .image_body2 {
    display: none;
  }

  .texto-lateral2 {
    max-width: 100%;
    text-align: center;
    z-index: 2;
  }


  .container2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .texto-lateral2 {
    position: relative;
    z-index: 2;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .container2 {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 0;
    margin-top: 50px;
    padding: 60px 20px;
    background-image: url('images/mesa_de_cima.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .image_body2 {
    display: none;
  }

  .texto-lateral2 {
    max-width: 100%;
    text-align: center;
    z-index: 2;
  }


  .container2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .texto-lateral2 {
    position: relative;
    z-index: 2;
  }
}

.texto_cliente {
  text-align: center;
  padding: 50px 20px;
}

.logo_clientes {
  display: grid;
  grid-template-columns: repeat(3, auto);
  row-gap: 2px;

}

.logo {
  width: 150px;
  height: auto;
  justify-self: center;
  align-self: center;
}

@media (max-width: 768px) {
  .logo_clientes {
    grid-template-columns: repeat(2, auto);
  }
}

.footerstyle {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 1rem;
  border-radius: 5px;
}