:root {
  --primary: #212121;
  --secondary: #E9E3CC;
  --accent: #8C5535;
  --yellow: #d9c58b;
}

* {
  box-sizing: border-box;
}

@media only screen and (max-width: 350px) {
  [class*="col-"] {
    width: 100%;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background-color: var(--primary);
  color: white;
  padding: 0;
  font-family: 'DM Serif Display', serif;
}

.navbar {
  background-color: var(--primary);
  padding: 2rem;
}

.hero {
  margin-left: 5%;
  max-width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;

  opacity: 0;
  transform: translateY(30px);
  animation: fade-in forwards 1.5s
}

.hero h1 {
  font-size: 4rem;
}

.hero img {
  max-width: 60%;
}

.hero a {
  font-size: 1.5rem;
  margin-top: 1rem;
  border-color: transparent;
  padding-left: 2rem;
  padding-right: 2rem;
}

.about {
  margin-left: 5%;
  max-width: 90%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  padding-bottom: 5rem;

  opacity: 0;
  transform: translateY(30px);
  animation: fade-in forwards 1.5s
}

.about p {
  font-size: 1.6rem;
  width: 90%;
}

.about1 img {
  max-width: 90%;
}

.about2 img {
  max-width: 60%;
}

.about3 img {
  max-width: 95%;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background-color: var(--accent);
  border-radius: 15px;
}

.btn-primary:hover {
  background-color: var(--yellow);
}

.search-input {
  width: 40%;
  padding: 14px 24px;

  transition: transform 250ms ease-in-out;
  font-size: 18px;
  line-height: 18px;

  color: white;
  background-color: transparent;

  border-radius: 50px;
  border: 2px solid white;
  transition: all 250ms ease-in-out;
  backface-visibility: hidden;
  transform-style: preserve-3d;

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' stroke='white' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 95% center;
}

.search-input::placeholder {
  color: white;
  letter-spacing: 1.5px;
}

.search-input:hover,
.search-input:focus {
  padding: 12px 0;
  outline: 0;
  border: 1px solid transparent;
  border-bottom: 1px solid white;
  border-radius: 0;
  background-position: 100% center;
}

#logonav {
  max-height: 60px;
  margin-left: 10px;
}

.nav-item {
  padding-left: 7px;
  padding-right: 7px;
  font-size: 22px;
}

.nav-item a {
  color: rgb(183, 183, 183);
}

@keyframes slideInFromLeft {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

.nav-item>.active {
  position: relative;
  color: var(--yellow);
}

.nav-item>.active::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  border-bottom: 2px solid;
  animation: slideInFromLeft 0.8s ease-out forwards;
}

.nav-item li>.active {
  text-decoration: underline;
  color: #d9c58b;
}

.navbar-nav .nav-link:focus,
.nav-link:hover {
  color: #d9c58b;
}

.nav-item a:hover {
  color: #d9c58b;
}

button.navbar-toggler {
  color: #d9c58b;
}

button .navbar-toggler-icon {
  background-image: url(imagens_documentos/menu.png);
}

button.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.nav-item .dropdown-menu a {
  color: var(--primary);
  font-family: sans-serif;
  font-weight: bold;
}

.nav-item .dropdown-menu a.active {
  background-color: #d9c58b;
  text-decoration: underline;
}

/* .nav-item .dropdown-menu a:hover {
  background-color: #d9c58b;
} */

.dropdown-menu {
  text-shadow: none;
  text-transform: none;
}

.dropdown-menu li:hover {
  font-style: none;
  text-decoration: underline;
  color: black;
}

#formtit {
  color: white;
  text-shadow: 3px 3px #8c5535;
  font-size: 40px;
}

.divform {
  margin-left: 10px;
  color: black;
  text-align: center;
  font-weight: bold;
}

.invalid-feedback {
  background-color: rgb(44, 44, 44);
  font-weight: bold;
}

.valid-feedback {
  background-color: rgb(44, 44, 44);
  font-weight: bold;
}

/* .footer {
  margin-top: auto;
} */

.mobile-info {
  font-size: 0.8rem;
}

footer-bottom .p-4 {
  padding: 0.2rem !important;
}

.btn.btn-danger.botaoform {
  background-color: #292b2c;
  border-color: #8c5535;
  border-width: 3px;
  font-weight: bold;
}

.btn.btn-danger.botaoform:hover {
  background-color: #d9c58b;
  border-width: 3px;
  color: #292b2c;
  font-weight: bold;
  box-shadow: 5px 5px #8c5535;
}

.textcolprin {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
}

.textcolprin:hover {
  color: var(--yellow);
  text-decoration: underline;
  transition: ease-in-out;
}

p {
  font-size: 18px;
}

.divformcontact {
  margin-left: 10px;
  color: black;
  font-weight: bold;
}

/* .contact_s {
  text-align: center;
  padding-top: 110px;
  color: black;
  margin-bottom: auto;
} 

 .textcolcontact {
  color: black;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 17px;
}

.textcolcontact:hover {
  color: white;
  text-shadow: 2px 2px #292b2c;
  font-weight: bold;
  text-decoration: underline;
}

.form-label {
  font-size: 17px;
}*/

.btn.btn-primary.botaodescricao {
  background-color: var(--accent);
  border-color: var(--accent);
  color: white;
  padding: 0.5rem 2rem;
  font-weight: bold;
}

.btn.btn-primary.botaodescricao:hover {
  border-color: var(--yellow);
  background-color: var(--yellow);
  color: black;
}

.card {
  border-radius: 20px;
  border: 0;
  background: var(--secondary);
  /*from boostrap*/
  font-family: var(--bs-font-sans-serif);

  opacity: 0;
  transform: translateY(30px);
  animation: fade-in forwards 1.5s
}

/*draw white shape inside card*/
.card::before {
  content: "";
  position: absolute;
  top: 60%;
  width: 100%;
  height: 40%;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: white;
}

.card img {
  z-index: 1;
  flex-grow: 1;
  object-fit: contain;
}

.card-body {
  text-align: center;
  margin-top: auto;
  flex: 0 0 auto;
  z-index: 1;
}

.card-title {
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.modal {
  color: var(--primary);
  font-family: var(--bs-font-sans-serif);
}

.modal-header {
  padding: 0.8rem 0.8rem;
}

.modal-header h4 {
  margin-bottom: 0;
  border-left: 5px solid var(--yellow);
  padding: 8px;
}

.modal-content .modal-header {
  padding-left: 50px;
  padding-right: 50px;
}

.modal-content .container {
  padding: 18px;
}

.body-container {
  display: flex;
  flex-direction: column;
  padding-top: 150px;
  position: relative;
  min-height: 90vh;
  max-width: 100%;
}

.table {
  border: 1px solid black;
  text-align: left;
}

#listpackquei {
  text-decoration: underline;
  list-style-type: none;
  text-align: center;
  margin-right: 25px;
}

.mobile-hide {
  display: block;
}

.mobile-show {
  display: none;
}

@media(max-width: 800px) {
  .hero {
    gap: 50px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero img {
    max-width: 90%;
  }

  .navbar {
    padding: 1rem;
  }

  .body-container {
    padding-top: 120px;
  }

  .search-input {
    width: 80%;
  }

  .about {
    gap: 25px;
  }

  .about p {
    font-size: 1.2rem;
    width: 100%;
  }

  .about img {
    max-width: 100%;
  }

  .mobile-hide {
    display: none;
  }

  .mobile-show {
    display: block;
  }
}

@media (hover: hover) {
  #navbarDropdown {
    pointer-events: none;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.totop {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 50px;
  height: 50px;
  background-color: var(--yellow);
  text-decoration: none;
  border: solid 3px var(--primary);
  border-radius: 50px;
  scroll-behavior: smooth;
}


.totop img:hover {
  transition: transform .3s;
  transform: scale(1.5);
}

#galeria_fotos {
  padding: 20px;
}

#imagemmodal {
  width: 100%;
}

#imagemmodal1 {
  display: flex;
  align-items: center;
}

#bodymodal {
  display: flex;
  flex-direction: column;
  justify-content: center;
}