body {
    background-image: url('Image50.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
}
.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}
.container > .botao-moderno {
  display: block;
  margin: 10px auto; /* ajuste o valor conforme desejar */
}
.box {
    background-color: rgba(143, 143, 143, 0.71);
    padding: 20px;
    border-radius: 30px;
    width: 500px;
    text-align: center;
    transition: 0.3s;
    font-size: 40px;
}
.box:hover {
    background-color: #333;
}
a {
    text-decoration: none;
    color: black;
    font-size: 18px;
}

/* Galeria AstroBin organizada em grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(525px, 1fr)); /* aumente o minmax */
    gap: 24px;
    margin: 40px 0;
    justify-items: center;
    align-items: start;
}

.gallery img {
    width: 100%;
    max-width: 525px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.2s;
    background: #222;
    object-fit: cover;
}

.gallery a {
    display: block;
    width: 100%;
    text-align: center;
}

.gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

/* Modern glassmorphism button - maior */
.botao-moderno {
  display: inline-block;
  padding: 22px 60px;         /* Aumentado */
  font-size: 2rem;            /* Aumentado */
  color: #fff;
  background: linear-gradient(135deg, #4c4c4d 0%, #000000 100%);
  border: none;
  border-radius: 32px;        /* Aumentado */
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 24px rgba(46,54,80,0.25);
  transition: 
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}

.botao-moderno:hover, .botao-moderno:focus {
  background: linear-gradient(135deg, #f1f1f1 0%, #858585 100%);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(46,54,80,0.35);
  transform: translateY(-2px) scale(1.04);
}

#mosaico-astrofotos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  justify-items: center;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
  max-width: 480px; /* 5 x 96px */
  margin-left: auto;
  margin-right: auto;
}
#mosaico-astrofotos a {
  margin: 0;
  padding: 0;
  border: none;
  width: 96px;
  height: 64px;
  display: block;
}
#mosaico-astrofotos img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  display: block;
}

.mosaico-box {
  background: rgba(30,30,30,0.85);
  border-radius: 24px;
  padding: 4px 10px; /* Altura menor */
  margin: 32px auto 24px auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  max-width: 600px;
  width: fit-content;
}

.mosaico-flex-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 32px 0;
  flex-wrap: wrap;
}
.mosaico-texto p {
  color: white;
  text-align: justify;
  font-size: 30px;
  text-shadow: 2px 2px 6px black;
  margin: 0;
  max-width: 600px;
}

      #mosaico-astrofotos {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
#mosaico-astrofotos a {
  margin: 0;
  padding: 0;
  border: none;
}
#mosaico-astrofotos img {
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}

footer {
  width: 100%;
  /* outros estilos desejados */
}
