*{
  margin: 0%;
  padding: 0%;
  outline: none;
  list-style: none;
  color: black;
}
.dark-mode main *{
  color: white;
}
.dark-mode form *{
  color: rgba(0, 0, 0, 0.881);
}
body.dark-mode p{
  color: #3f005f;
}

body p {
  color: wheat;
}

body.dark-mode p{
  color: wheat;
}
#registrar-form *{
  color: #000000;
}
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #7500a7;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #8a03c4;
}
.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("../imgs/background.png");
  background-size: 100% 100%;
  background-repeat: repeat-y;
  opacity: 0.03;
}
.switch {
  position: fixed;
  display: inline-block;
  width: 40px;
  height: 24px;
  margin: 10px;
  margin-top: -60px;
  z-index: 90;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #24122c;
  transition: 0.4s;
  border-radius: 24px;
  border: 1px solid #666;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: #666;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #eff0f0;
}

.switch input:checked + .slider:before {
  transform: translateX(16px);
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: rgba(198, 194, 194, 0.837);
  position: relative;
  min-height: 100vh; /* Define a altura mínima do body como 100% da altura da janela */
  padding-bottom: 60px;
}
body.dark-mode{
  background-color: #000000;
}
  /* Estilos do cabeçalho */
  
  #main-header {
    background: linear-gradient(to right, #3f005f, #5f008b, #7800ae, #7c00b2, #8100b7);
    color: #dddddd;
    border-radius: 30px;
    padding: 6px;
    width: 1240px;
    transform: translateX(-50%);
    margin-left: 50%;
    margin-top: 10px;
    border: 2px solid transparent;
    transition: border-color 20s;
    z-index: 999;
  }
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav .top {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
  }
  nav ul li, .liPer {
    margin-top: 4px;
    margin-left: 20px;
    display: inline-block;
  }
  
  nav ul li a {
    display: block;
    color: #fcfcfc;
    text-decoration: none;
    padding: 10px;
    border: 2px solid transparent;
  }
  
  nav ul li a:hover {
    border-radius: 30px;
    color: black;
  }
  .liPer a {
    padding: 0%;
    position: absolute;
    right: 20px;
    display: flex;
    flex-direction: row;
    -webkit-tap-highlight-color: transparent; 
    user-select: none; 
    border: 2px solid transparent;
  }
  .logo:hover{
    border: 2px solid transparent;
    background-color: transparent;
    border-radius: 0px;
  }
  .liPer a:hover{
    padding: 0px;
    background-color: transparent;
    color: black;
    border: none;
  }
  .liPer a img {
    display: block;
    color: #fcfcfc;
    text-decoration: none;
    
  }
  .branco{
    padding: 10px;
    color: #ffffff;
    transform: translateX(100%);
    margin-right: 70px;
  }
  .branco:hover{
    color: black;
    border-radius: 30px;
    margin-bottom: 50px;
  }
  .mob{
    display: none;
  }
  /* Estilos do conteúdo principal */
  
  main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 30px;
    margin-bottom: 50px;
    min-height: 100vh;
  }
  .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    margin-bottom: 50px;
  }
  
  .item {
    background-color: #24122c;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #3f005f;
    height: 445px;
    max-width: 390px;
    width: 400px;
  }

  .item:hover{
    border-color: #8a03c4;
    box-shadow: 0 2px 5px #8a03c4;
  }
  .item img {
    width: 100%;
    max-height: 287px;
    margin-bottom: 10px;
  }
  
  .item h3 {
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 10px;
    color: wheat;
  }
  
  .item p {
    font-size: 1rem;
    margin: 0;
    color: white;
  }

  /* Estilos do rodapé */
  
  footer {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 1240px;
    transform: translateX(-50%);
    margin-left: 50%;
    max-height: 100px; /* Altura do footer */
     background: linear-gradient(to right, #3f005f, #5f008b, #7800ae, #7c00b2, #8100b7);
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    border-radius: 30px 30px 0px 0px;
    width: 100%;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .footer-section {
    flex-basis: 50%;
    margin-bottom: 20px;
  }
  footer *{
    color: wheat;
  }
  
  h4 {
    margin-bottom: 10px;
  }
  
  .social-media li,
  .contact-info li {
    display: inline-block;
    margin-right: 10px;
  }
  
  .social-media a,
  .contact-info i {
    color: #fff;
    font-size: 20px;
  }
  
  .contact-info i {
    margin-right: 5px;
  }
  
  
  
  /* Estilos dos formulários de entrada e registro */
  
  #entrar, #registrar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  #entrar form, #registrar-form {
    background-color: #fff;
    padding: 20px;
    max-width: 400px;
    margin: 100px auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  #entrar form h2, #registrar-form h2 {
    font-size: 1.2rem;
    margin: 0;
    margin-bottom: 10px;
  }
  
  #entrar form input, #registrar-form input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  #entrar form button, #registrar-form button {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  #entrar form button:hover, #registrar-form button:hover {
    background-color: #555;
  }
  .logo{
    background-image: url('../imgs/logo.png');
    background-size: 150% 150%;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    margin-top: -12px;
    margin-bottom: 5px;
  }
  a .perfil{
    width: 70px;
    height: 70px;
    margin-top: -26px;
  }
  li h4{
    float: right;
    top: 25px;
    right: 50px;
  }
  /* Registrar */
  .grid-container {
    display: flex;
    justify-content: space-between;
  }
  
  .grid-item {
    background-color: #f1f1f1;
    padding: 20px;
    padding-right: 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .registrar-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 200px;
    height: 40px;
    font-size: 20px;
  }

  /* Anuncios */
  .titol{
    color:whitesmoke;
  }
  a{
    text-decoration: none;
    color: white;
  }
  .pagination {
    list-style-type: none;
    margin: 0;
    transform: translateX(-50%);
    margin-left: 50%;
    max-height: 60%;
    padding: 0;
    display: flex;
    justify-content: center;
}

.pagination-item {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #7500a7;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
}

.pagination-item:hover {
    background-color: #f4f5f6;
    color: #7800ae;
}
.inner {
    padding: 10px;
    height: 422px;
    border: 1px solid transparent;
    background-color: #1f1e1e90;
    position: relative;
}
body.dark-mode .inner{
  background-color: #24122c;
}
.topster{
  position: absolute;
  width: 50px;
  height: 50px;
  right: 0px;
  top: 0px;
  z-index: 999;
}
.dadosAn{
  padding-top: 5px;
  width: 55%;
}
.carousel-item {
    text-align: center;
}

.carousel-item .img {
    width: 100%;
    height: 335px;
    background-size: 100% 100%;
    background-position: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 73%;
    border: none;
    color: #fff;
    font-size: 24px;
    text-align: center;
    position: absolute;
    top: 10px;
    z-index: 9999;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.carousel-control-prev {
  background:linear-gradient(to right,#7b26b31a,rgba(255, 255, 255, 0.072),transparent);
    cursor: pointer;
    left: 10px;
}
  .carousel-control-prev-icon {
    background-image: url('../imgs/seta.png');
    transform: rotate(180deg);
  }
  
  .carousel-control-next {
    background:linear-gradient(to left,#7b26b31a,rgba(255, 255, 255, 0.072),transparent);
    cursor: pointer;
    right: 10px;
  }
  
  .carousel-control-next-icon {
    background-image: url('../imgs/seta.png');
  }
  
  h3 {
    margin-top: 10px;
    margin-bottom: 5px;
  }
  
  p {
    margin: 0;
  }
 
 /* Estilos para a div do anúncio */
.anuncio {
  position: relative;
  background-color: #24122c;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px #5f008b;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
  width: 100%; /* Alterado para 100% */
  box-sizing: border-box; /* Adicionado */
}

.anuncio h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.anuncio p {
  font-size: 18px;
  margin-bottom: 10px;
}

.anuncio img {
  max-width: 100%;
  margin-bottom: 10px;
}

.anuncio a {
  position: absolute;
  right: 5px;
  top: 10px;
  color: #f0f0f0;
  text-decoration: none;
  font-weight: bold;
}

.anuncio a:hover {
  text-decoration: underline;
}
.points{
  color: white;
  position: absolute;
  right: 20px;
  bottom: 10px;
}
.points h5{
  padding-top: 5px;
  color: #ffffff;
}
.points b{
  color: wheat;
 
}
/*pesquisa*/
.search-container {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
}

/* estilo padrão para a classe .pesquisando */
.pesquisando {
  display: flex;
  flex-direction: row;
  border: 2px solid transparent;
  border-radius: 30px;
  transition: border-color 20s;
}

/* estilo para o campo de entrada de texto */
.pesquisando input {
  margin-top: -5px;
  width: 370px;
  height: 32px;
  border-radius: 30px;
  padding-left: 5px;
  padding-right: 30px;
}

.search-button {
  position: absolute;
  background-color: transparent;
  border: none;
  color: #666;
  font-size: 16px;
  right: 10px;
  top: 2px;
}

.fa-search {
  margin: 0%;
  width: 28px;
  height: auto;
}
.hidden {
  display: none;
}
.limite {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
  /* Estilos para o menu móvel */
  .mobile-menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu-open {
    display: block;
  }
  /*banners*/
  /* Estilos para o carrossel */
  .slideshow-container {
    position: relative;
  }
  
  .carouselB {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .carousel-containerB {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }
  
  .banner {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: none;
    cursor: pointer;
  }
  
  .banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
  }
  .banner.dark-mode::before{
    background-image: linear-gradient(to left, transparent, transparent 98%, #000000),
    linear-gradient(to top, transparent, transparent 96%, #000000),
    linear-gradient(to right, transparent, transparent 98%, #000000),
    linear-gradient(to bottom, transparent, transparent 86%,#000000, transparent);
    background-position: left top, left top, right bottom, right bottom;
    background-repeat: no-repeat;
  }
  .dots-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    z-index: 100;
  }
  
  .dot {
    width: 15px;
    height: 15px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    z-index: 101;
  }
  
  .dot.active {
    background-color: #555;
  }
  
  /*Post*/
  .postar-titulo {
    font-size: 24px;
    font-weight: bold;
  }
  
  .postar-form {
    margin-top: 20px;
    margin-bottom: 50px;
  }
  .postar-form *{
    color: black;
  }
  .campo-dinamico input{
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .campo-dinamico label{
    color:#5f008b;
  }
  .postar-label {
    font-weight: bold;
  } 
  
  .postar-input {
    width: 100%;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
  }
  
  .postar-textarea {
    width: 100%;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
  }
  
  .postar-select {
    width: 100%;
    height: 30px;
    border-radius: 5px;
    padding: 5px;
  }
  .postar-select option{
    color: #010101eb;
  }
  .postar-button {
    background-color: #8a03c4;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
  }
  .postar-button:hover {
    background-color: #3f005f;
  }
  /* pedidos */
  .container.pag h1{
text-align: center;
  }
  /*Post imagens*/
  .postar-form input[type="file"]::-webkit-file-upload-button {
    color: transparent;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }
  .postar-form input[type="file"]::-ms-browse {
    color: transparent;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }
  .fotos-container {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    margin-left: 80px;
  }
  .fotosPost {
    width: 200px;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-image: url('../imgs/27002.jpg');
    background-size: 100% 100%;
    margin: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .postar-form input[type="file"] {
    color: transparent;
  }
        /* Estilo para o campo de entrada */
        .autocomplete-input {
          position: relative;
      }
      .autocomplete-input input[type="text"] {
          width: 300px;
          padding: 10px;
          font-size: 16px;
      }
      .autocomplete-input .autocomplete-dropdown {
          position: absolute;
          top: 100%;
          left: 0;
          z-index: 1;
          background-color: #f9f9f9;
          border: 1px solid #ccc;
          border-top: none;
          max-height: 200px;
          overflow-y: auto;
      }
      .autocomplete-input .autocomplete-dropdown .option {
          padding: 10px;
          cursor: pointer;
      }
      .autocomplete-input .autocomplete-dropdown .option:hover {
          background-color: #e9e9e9;
      }
      /* PERFIL */
      .myButton {
        background-color: #3f005f;
        border: none;
        color: white;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        cursor: pointer;
        margin-right: 10px;
        border-radius: 20px;
      }
      
      .myButton:hover {
        background-color: #7500a7;
      }
      
      .myButton:active {
        background-color: #8a03c4;
      }
      
      .containerPerfil{
        margin: 50px;
        margin-left: 50%;
        width: 20%;
        padding: 5px;
        border-radius: 20px;
        border: 2px solid #7500a7;
        background: linear-gradient(to right, #7500a7, #8a03c4);
        color: white;
      }
      .containerConta{
        display: flex;
        flex-direction: column;
        float: left;
      }
      .containerConta button{
        margin: 2px;
      }
      p a{
        transform: translateX(-50%);
        margin-left: 50%;
        color: black;
      }
      .loginForm{
        display: flex;
        flex-direction: column;
        text-align: center;
        transform: translateX(-50%);
        margin-left: 50%;
        width: 300px;
        background-color: #7500a7;
        border-radius: 20px;
        border: none;
        color: white;
      }
      .dark-mode .loginForm label,.dark-mode .loginForm h3{
        color: whitesmoke;
      }
      .loginForm label{
        margin-left: -70%;
      }
      .loginForm input{
        border: transparent;
        background: transparent;
        border-bottom: 1px solid white;
        margin: 15px;
        height: 30px;
        color: white;
        font-size: 22px;
      }
      .loginForm input:focus{
        outline: none;
      }
      .loginForm input:valid,
      .loginForm input:valid{
       background: transparent;
       background-image: none;
      }
      .loginForm button {
        width: 200px;
        height: 40px;
        margin: 20px auto;
        display: block;
        background-color: #e9e9e9;
        color: #8a03c4;
        border: 2px solid #8a03c4;
        border-radius: 20px;
        font-size: 16px;
        font-weight: bold;
        text-transform: uppercase;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      
      .loginForm button:hover {
        border: none;
      }
      .loginForm img{
        width: 50%;
        margin-left: 25%;
      }
      .myAns{
        cursor:pointer;
        width: 90%;
        transform: translateX(-50%);
        margin-left: 50%;
        margin-top: 20px;
        margin-bottom: 20px;
        display: flex;
      }
      .carouselMeusAns {
        width: 70%;
        height: 500px;
        overflow: hidden;
        background-size: 100% 100%;
        background-repeat: no-repeat;
      }
      .anuncioDados {
        width: 50%;
        padding: 30px;
      }
      
      /* Estilos para o formulário de registro */

h1 {
  text-align: center;
  margin-bottom: 20px;
}

#registrar-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-item {
  margin-bottom: 20px;
}

#registrar-form label {
  
  color: black;
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

#registrar-form input[type="text"],
#registrar-form input[type="email"],
#registrar-form input[type="tel"],
#registrar-form input[type="date"],
#registrar-form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button.registrar-btn1 {
  display: block;
  width: 50%;
  transform: translateX(-51%);
  margin-left: 50%;
  padding: 10px;
  margin-top: 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
/* NOTIFY */
#notification {
  position: fixed;
  top: 100px;
  right: 1%;
  background-color: #f4f1f1ec;
  border: 1px solid #8a03c4;
  padding: 10px;
  transition: transform 0.3s ease-in-out;
  animation-name: slideAnimation;
  animation-duration: 2s;
  animation-direction: alternate;
  animation-iteration-count: 1;
  color: black;
  border-radius: 5px;
  max-width: 90%;
  z-index: 999;
}
#notification h3 {
  color: #3f005f;
  margin-top: 0;
  margin-bottom: 10px;
}
#notification p {
  color: #8a03c4;
  margin-top: 0;
  margin-bottom: 0;
}
#notification .close-notify {
  cursor: pointer;
  float: right;
  font-weight: bold;
  color: #8a03c4;
}
.notification.hide {
  transform: translateX(100%);
}
@keyframes slideAnimation {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

#scroll-to-top {
  background-image: url("../imgs/seta.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: fixed;
  right: 10px;
  bottom: 20px;
  width: 20px;
  height: 20px;
  z-index: 102;
  transform: rotate(-90deg);
}

 /*perfil*/
 .sld {
  cursor: pointer;
  float: right;
  display: flex;
  align-items: center;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  background-color: #8a03c4;
  color: white;
  border-radius: 20px;
  padding: 0px 5px;
}
.sld:hover{
  background-color: #5f008b;
}
.sld h1 {
  margin-top: 16px;
  flex-shrink: 0; /* Impede que a tag <h1> ocupe todo o espaço horizontal */
}

.sld button {
  position: relative;
  border: none;
  color: white;
  background-color: transparent;
  padding: 0px 10px;
  display: flex;
  align-items: center;
}

.sld button .fa {
  margin-right: 5px;
}

.sld button .fa-eye:before {
  content: "\f06e";
}

.sld button .fa-eye-slash:before {
  content: "\f070";
}

.sld #saldo {
  display: none;
  font-size: 20px;
}

.containerAnuncios {
  padding: 5px;
}

.containerAnuncios h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.myAns {
  background-color: #24122c;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  color: white;
  border: 2px solid transparent;
}

.myAns:hover {
  border-color: #7500a7;
}

.myAns h2 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 5px;
}

.myAns p {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 5px;
}
.fretar, .buyItem{
  border: 2px solid transparent;
  background-color: #7800ae;
  color: wheat;
  transform: translateX(-50%);
  margin-left: 50%;
  width: 90%;
  height: 40px;
}
.ceps{
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}
#cep-input{
  width: 43%;
  padding: 5px;
}
.fretar:hover{
  border-color: #7800ae;
}
.myAns button {
  padding: 5px 10px;
  background-color: #8a03c4;
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.myAns button:hover {
  background-color: #7500a7;
}
.containerPerfil {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 5px;
}

.perfilDados p {
  margin-bottom: 10px;
}

.perfilDados strong {
  font-weight: bold;
}

.voltar {
  background-color: #7500a7;
  color: #fff;
  padding: 5px 10px;
  padding-right: 20px;
  border-radius: 30px;
  cursor: pointer;
}

.voltar p {
  margin: 0;
}

/*APAGAR ANUNCIO*/
.confirmation-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}

.confirmation-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

.btn-container {
  text-align: right;
  display: flex;
  margin-top: 20px;
}

.btn-container button {
  padding: 8px 16px;
  margin-left: 10px;
  background-color: #7500a7;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.btn-container button:hover {
  background-color: #0056b3;
}
.apagar-button {
  background-color: #8a03c4;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.apagar-button:hover {
  background-color: #d4394b;
}
.city{
  color: rgb(11, 9, 7);
  float: right;
  margin-right: 10px;
  margin-top: 20px;
}
.city p{
  color: rgb(11, 9, 7);
}
.city.dark-mode {
  color: wheat;
}
#modo{
  padding-bottom: 10px;
}
#modo select{
  background-color: #24122c;
  color: wheat;
  border-color: #8a03c4;
  width: 100px;
}
#modo select:hover{
  background-color: #7500a7;
  border-color: wheat;
}

@media screen and (max-width: 1280px) and (max-height: 1024px) {
  .switch {
    left: 0px;
    bottom: 10px;
  }
  /* Estilos para a resolução de tela de 1280x1024 */
  body {
    max-width: 1280px;
    margin: 0 auto;
  }
  .items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    justify-content: center; /* Centraliza os itens horizontalmente */
  }
  /* pedidos */
  .container.pag{
    padding: 0px;
    margin-left: 0px;
    width: 80%;
    font-size: 12px;
  }
  .container.pag table{
    width: 100px;
    text-align: center;
  }
}

@media screen and (min-width: 800px) and (max-width: 1000px) {
  .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
  }
  #main-header {
    width: 85%;
  }
  .container.pag{
    padding: 0px;
    margin-left: 0px;
    width: 80%;
    font-size: 12px;
  }
  .container.pag table{
    width: 100px;
    text-align: center;
  }
}
/* media query para telas menores que 600px de largura */
@media screen and (max-width: 800px) {
  .switch {
    left: 0px;
    bottom: 10px;
  }
  #modo, #modo select{
    width: 76px;
    padding-bottom: 2px;
    font-size: 12px;
  }
  .background-wrapper {
    background-size: 100% 100%;
    opacity: 0.2;
  }
  nav ul li, .liPer {
    margin-top: 0px;
    margin-left: 5px;
    display: inline-block;
  }
  .liPer a{
    padding-right: 0px;
  }
  .branco{
    margin-right: 40px;
  }
  .grid-container {
    grid-template-columns: 1fr;
  }
  #registrar-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: flex;
    flex-direction: column; /* Altera a direção para exibir os itens um abaixo do outro */
  }
  button.registrar-btn1 {
    margin-bottom: 30px;
  }
  main {
  padding-top: 80px;
  }
  /*Banner*/
  .carousel-containerB {
    height: 200px;    
  }
  .banner{
    height: 200px;
  }
  .logo{
    position: absolute;
    transform: translateX(-50%);
    margin-left: 46%;
    z-index: 101;
    top: 4px;
    width: 55px;
    height: 55px;
  }
 .voltar{
  transform: translateX(-100%);
  margin-left: 98%;
  margin-bottom: 10px;
 }
  
 /* Anuncios */

.items {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
}
.mobile-menu-toggle {
  display: block;
  z-index: 101;
  cursor: pointer;
  width: 20px;
  height: 100%;
  position: relative;
  margin-left: 5px;
  transform: translateY(+15px);
}
.mobile-menu-toggle.seta{
  font-family: 'Arial', sans-serif;
  font-size: 24px; 
  transition: transform 0.3s ease-in-out;
  line-height: 20px; 
}
.mobile-menu-toggle.seta::before,
.mobile-menu-toggle.seta::after {
  display: none;
}

.mobile-menu {
  position: fixed;
  display: none;
  left: -30%;
  float: left;
  height: auto;
  background: linear-gradient(to right, #3f005f, #5f008b, #7800ae, #7c00b2, #8100b7);
  z-index: 100;
  color: white;
  height: auto;
  width: auto;
  border-radius: 0 30px 30px 0;
  padding: 20px;
}

.mobile-menu-open .mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 10px;
  max-width: 100px;
  -webkit-tap-highlight-color: transparent; 
  user-select: none; 
}

.mobile-menu li a {
  color: white;
  text-decoration: none;
}
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  margin-bottom: 4px;
}

.mobile-menu-toggle::before {
  margin-bottom: 8px;
}
#main-header {
  width: 87%;
  position: fixed; /* Adicionado */
  z-index: 999;
}
.hidden-header {
  right: -90%;
}
.mob{
  display: flex;
  flex-direction: row;
  z-index: 100;
}
.top.desktop{
  display: none;
}
.item {
  position: relative;
  overflow: hidden;
  padding-left: 5px;
  padding-right: 5px;
  color: blueviolet;
  height: auto;
  width: 90%;
  transform: translateX(-50%);
  margin-left: 50%;
  height: 434px; /* Limite de altura para telas menores */
}
.carousel-item .img {
  height: 305px;
}
.inner {
  height: 412px;
}
.item img {
  max-width: 100%;
  height: 287px; /* Altura fixa para a imagem */
  border-radius: 10px;
}
  .imagens{
    display: flex;
    flex-direction: row;
  }
  .imagens img{
    width: 100%;
    margin: 20px;
      height: 160px;
  }
  .dadosAn{
    width: 48%;
    
  }
  .limite {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .points h5{
    font-size: 9px;
  }
  /* altera a orientação do layout para empilhado verticalmente */
  .search-container {
    position: relative;
    text-align: center;
    left: 60px;
    top: 0px;
    margin-top: 7px;
  }

  a .perfil{
    margin-right: -40px;
  }
  .search-box {
    margin: 0 auto;
    display: inline-block;
    text-align: left;
  }
  .pesquisando {
    display: flex;
    flex-direction: row;
    margin-left: 10px;
    color: rgba(0, 0, 0, 0.929);
  }

  /* estilo para o campo de entrada de texto */
  .pesquisando input {
    width: 70px;
    height: 30px;
  }
  .fa-search {
    width: 25px;
    height: 25px;
  }
  /* post */
  .fotos-container {
    transform: translateX(-50%);
    margin-left: 50%;
    width: 320px;
  }
  .postar-form{
    margin-bottom: 50px
  }
  .campo-dinamico input{
  width: 97%;
  }
  .fotosPost {
    width: 200px;
    height: 250px;
    margin-bottom: 10px;
  }
  
  .myAns {
    flex-direction: column;
    align-items: center;
    margin-left: 50%;
    width: 100%;
  }
  #estadop{
    margin-top: -30px;
  }
  .fretar{
    transform: translate(-50%);
    margin-left: 36%;
    margin-top: 10px;
    padding: 3px;
  }
  .carouselMeusAns {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
  }

  .anuncioDados {
    width: 100%;
    padding: 15px;
  }
  footer{
    bottom: -40px;
    border-radius: 0px;
  }
  .footer-section{
    margin-bottom: 0px;
  }
  .topster img{
    height: 100%;
  }
  .container.pag{
    padding: 0px;
    margin-left: 0px;
    width: 80%;
    font-size: 12px;
  }
  .container.pag table{
    text-align: center;
  }
}

