/* HOME WELCOME HEADER*/
.bombo-home-header {
  max-width: 800px;
  margin-top: 12rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.bombo-home-header-logo{text-align: center;}
.bombo-home-header-logo img {
  max-width: 150px;
 margin: auto; 
 height: auto;
 margin-bottom:-9px;
}

.bombo-home-header-welcome-text h3 {
  margin:0.5rem !important;
}

.bombo-home-header-welcome-text {
  font-size:1.6rem;
  color:#fff;
  text-align:center;
}

@media (max-width: 768px) {
  .bombo-home-header-welcome-text {
    font-size: 1rem;
    margin: 15px;
  }
}

/* HOME APP GRID */
.bombo-home-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto; /* ← tämä keskittää vaakasuunnassa */
  padding: 1rem;
  display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, max-content));
justify-content: center;
  gap: 2rem;
  justify-items: center;
  min-height: 150px;
}

.bombo-home-grid .app-icon {
  background: #253a65;
  border:2px solid #fff;
  opacity: 1;
  border-radius: 20px;
    max-width: 190px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease;
}

.app-icon:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.app-icon img {
  width: 30%;
  height: auto;
  object-fit: contain;
}

.app-icon span {
  margin-top: 1rem;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  text-align: center;
}



.bombo-guest-message {color:#fff;
font-size:1.4rem;
 text-align:center; margin-top: 2rem;
}




@media screen and (max-width: 768px) {
  .bombo-home-grid {
    grid-template-columns: repeat(auto-fit, minmax(75px, 2fr));
    gap: 2rem;
    padding-left: 3rem;   /* väli vasemmalle */
    padding-right: 3rem;  /* väli oikealle */
  }


  .bombo-home-grid .app-icon {
    aspect-ratio: 1 / 1;
    width: 100%;
    padding: 0.2rem; /* pienempi padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .bombo-home-grid .app-icon img {
    width: 40%; /* pienempi kuva */
    height: auto;
    margin-bottom: 0.1rem;
  }

  .bombo-home-grid .app-icon span,
  .bombo-home-grid .app-icon p {
    font-size: 0.85rem;
    text-transform: uppercase;
  }

  .bombo-home-header {
 margin-top: 6rem;
  margin-bottom: 1rem;

}
}
