/* Estilos principais */
#gallery-mosaico {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  background-color: var(--primary);

  max-height: 2050px;
  gap: 20px;
  margin-top: 2rem;
  padding: 20px;
  box-sizing: border-box;
  padding: 0px 12% 0px 4.5%;
}

#container-gallery {
  width: 100%;
  max-width: 1155px;
  height: 600px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permite que os itens se ajustem em várias linhas */
}

#gallery-mosaico #title {
  width: 100%;
  line-height: 40px;
  height: auto;
}
#box-galley{
  width: 60%;
  display: flex;
 
 align-items: center; 
 justify-content: center;
  flex-direction: column;

}
#box-galley h2{
  text-align: start;

    margin-bottom: 1em;
}

#rectangle-see-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-image: url(/src/img/img-9.jpg  );
  background-size: cover;
  background-position: center;
  width: 220px;
  height: 190px;
  top: 40px;
  left: 100px;
  z-index: 4;
  border-radius: 30px;
  border: 17px solid #f8f9f7;
  z-index: 5;
}



#rectangle-see-more .btn-default {
  background-color: #8878b3;
  margin-top: 16px;
}

#rectangle-see-more .btn-default:hover {
  background-color: #a298c0;
}


#img-1,
#img-2,
#img-3 {
  border-radius: 30px;
  border: 17px solid #f8f9f7;
  background-size: cover;
  position: relative;
}

#img-1 {
  width: 43%;
  height: 390px; /* Altura fixa */
  max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
  z-index: 3;
bottom: 30px;
  background-image: url(../img/img-8.jpg);
  background-position: center;
  background-size: cover;

}
#img-2 {
  width: 50%;
  height: 260px; /* Altura fixa */
  max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
  z-index: 3;
  left: 20px;
  bottom: 80px;
  background-image: url(../img/img-12.jpeg.jpg);
  background-position: center;
  background-size: cover;
}

#img-3 {
  width: 38%;
  z-index: 1;
  height: 430px; /* Altura fixa */
  max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
  left: 80px;
  background-image: url(../img/img-6.jpg);
  bottom: 200px;
  background-position: center;
  background-size: cover;
}

/* Círculos de design */
#circles-shape {
  position: absolute;
  top: 90%;
  right: 5%;
  display: flex;
  flex-direction: row-reverse;
  width: 230px;
  height: 50px;
  gap: 22px;
  z-index: -1;
}

#circles-shape-2 {
  position: absolute;
  top: 5%;
  left: 5%;
  display: flex;
  flex-direction: column;
  width: 50px;
  height: 230px;
  gap: 22px;
  z-index: -1;
}

#circles-1,
#circles-2,
#circles-3,
#circles-4 {
  background-color: #f8f9f7;
  border-radius: 50%;
}

#circles-1 {
  width: 50px;
  height: 50px;
}
#circles-2 {
  width: 40px;
  height: 40px;
}
#circles-3 {
  width: 30px;
  height: 30px;
}
#circles-4 {
  width: 20px;
  height: 20px;
}
@media (max-width: 1024px) {
  #gallery-mosaico #title {
  font-size: 1.75em;
  
  }


}
/* Ajustes para dispositivos móveis */
@media (max-width: 880px) {
  #img-1,
  #img-2,
  #img-3,
  #rectangle-see-more {
    width: 100%;
    max-width: 300px;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 10px auto;
    
  }
  #gallery-mosaico{
    flex-direction: column-reverse;
    justify-content: center;
    padding: 0px 12% 0px 12%;
  }

  #container-gallery {
    height: auto;
  }

  #box-galley{
    width: 80%;
    height: auto;
    margin-bottom: 6em;
    justify-content: flex-start;
  }
  #box-galley h2{
  
    margin-bottom: 1em;
  }
  #gallery-mosaico #title {

 text-align: center;

  }




  #img-1,
  #img-2,
  #img-3,
  #rectangle-see-more {
    width: 100%;
    max-width: 300px;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 10px auto;
    
  }
  #box-galley h2{
    text-align: start;
  font-size: 24px;
  }
  #gallery-mosaico {
    height: 100%;
    flex-wrap: wrap;
    
  }

  #rectangle-see-more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #530F80;
    width: 180px;
    height: 150px;
    top: 40px;
    left: 100px;
    border-radius: 30px;
    border: 12px solid #f8f9f7;
    z-index: 5;
  }

  
  #rectangle-see-more .btn-default {
    background-color: #8878b3;
    height: 40px;
    width: calc(100% - 20px) ;
    font-size:12px ;
    padding: 0;
    margin: 0;
  }
  
  #img-1,
  #img-2,
  #img-3 {
    border-radius: 30px;
    border: 12px solid #f8f9f7;
    background-size: cover;
    position: relative;
  }
  
  #img-1 {
    width: 50%;
    height: 250px; /* Altura fixa */
    right: 20px;
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    z-index: 3;
    top: 50px;
    background-image: url(../img/img-4.jpg);
  
  }
  #img-2 {
    width: 50%;
    height: 170px; /* Altura fixa */
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    z-index: 3;
    right: 30px;
    background-image: url(../img/img-5.jpg);
  }
  
  #img-3 {
    width: 40%;
    z-index: 1;
    height: 315px; /* Altura fixa */
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    bottom: 100px;
    left: 40px;
    background-image: url(../img/img-6.jpg);
    
  }


}

@media (max-width: 520px) {
  #box-galley{
margin-bottom: 2em;
  }
  #gallery-mosaico{
    padding: 0px 12% 0px 12%;
  }
  #container-gallery {
    height: auto ;
    margin-bottom: 2em;
  }
  #img-1,
  #img-2,
  #img-3,
  #rectangle-see-more {
    width: 100%;
    max-width: 300px;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    bottom: 30px;
  }

  #rectangle-see-more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #530F80;
    width: 180px;
    height: 150px;
    right: 20%;
    top: 30px;
  }
  
  #img-1 {
    width: 85%;
    height: 250px; /* Altura fixa */
left: 30px;
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    z-index: 3;
    background-image: url(../img/img-4.jpg);
  top: 20px;
  }
  #img-2 {
    width: 85%;
    height: 170px; /* Altura fixa */
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    z-index: 3;
    left: 30px;
    background-image: url(../img/img-5.jpg);
    top: 0px;

  }
  
  #img-3 {
    width: 85%;
    z-index: 1;
    height: 315px; /* Altura fixa */
    max-height: 100vh; /* A altura máxima será 100% da altura da viewport */
    right: 30px;
    background-image: url(../img/img-6.jpg);
    top: 10px;
  }

  #circles-shape{
    display: none;

  }

  #gallery-mosaico #title {
 
line-height: normal;
}
} 

@media (max-width: 375px) {
  #gallery-mosaico #title {
  font-size: 1.5em;
  
  }


}