/* Estilos base */

body {
  padding-top: 56px; /* To ensure the navbar doesn't overlap content */
}
@media (min-width: 992px) {
  body {
    padding-top: 56px; /* Adjust based on the height of your navbar */
  }
}
@media (max-width: 991px) {
  body {
    padding-top: 80px; /* Increase padding for smaller screens if necessary */
  }
}

/* Estilo para a barra de navegação */
.navbar-nav .nav-item .nav-link {
  display: flex;
  align-items: center;
  padding: 10px 10px;
  font-size: 1rem;
}

.navbar-nav .nav-item .nav-link i {
  margin-right: 10px;
  width: 10px; /* Define uma largura fixa para alinhar os ícones */
  text-align: center; /* Centraliza os ícones dentro da largura definida */
}

.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 10px;
}

.dropdown-menu .dropdown-item i {
  margin-right: 20px;
  width: 20px; /* Define uma largura fixa para alinhar os ícones */
  text-align: center; /* Centraliza os ícones dentro da largura definida */
}

.navbar-nav .nav-item .nav-link span,
.dropdown-menu .dropdown-item span {
  flex: 1;
  text-align: left;
}

.img-hover-zoom {
  overflow: hidden;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
  filter: brightness(50%);
}

.img-hover-zoom img {
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
  width: 100%;
}

.date-overlay {
  position: absolute;
  bottom: 0;
  color: white;
  width: 100%;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  padding: 5px 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
}

.img-hover-zoom:hover .date-overlay {
  opacity: 1;
}

.overlay-text {
  transition: transform 0.5s ease;
  transform: scale(1);
}

.img-hover-zoom:hover .overlay-text {
  transform: scale(0.909) translateX(-15%);
}

.carousel-inner img {
  width: 100%;
  height: auto;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-date {
  margin-right: auto;
  padding: 10px;
  color: #6c757d;
}

/* Navbar*/

.navbar-nav .nav-item {
  margin-right: 10px; /* Ajuste a distância conforme necessário */
}

.navbar-nav .nav-link {
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #00bfff;
}

/* Media Queries */
@media (max-width: 768px) {
  .modal-body.d-flex {
    display: block !important;
  }

  .modal-body .w-50 {
    width: 100% !important;
  }

  .modal-body .w-50 img,
  .modal-body .w-50 .carousel {
    margin-bottom: 20px;
  }

  .modal-footer {
    flex-direction: column;
    align-items: center;
  }

  .modal-footer .modal-date {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .modal-footer > div {
    width: 100%;
    text-align: center;
  }

  .modal-footer .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}
/* Cadastro de Posts */

@media (max-width: 768px) {
  .form-row .col-md-6 {
    width: 100% !important;
    margin-bottom: 15px;
  }

  .form-row .col-md-6:last-child {
    margin-bottom: 0;
  }
}
