@import url("./general.css");

/* Mobile message styles */
.mobile-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgb(255, 255, 255);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.mobile-message img {
  max-width: 80%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Desktop content wrapper */
.desktop-content {
  width: 100%;
  height: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  height: 90vh;
  width: 70%;
  left: 60%;
  transform: translateX(-50%);
  position: fixed;
  bottom: 10%;
  gap: 20px;
}

.grid-item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: calc(var(--font-size) * 2);
  overflow: hidden;
}

.grid-item:nth-child(2) img {
  position: relative;
  top: 4%;
}

.grid-item:nth-child(5) img {
  position: relative;
  top: 4%;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile portrait media query */
@media screen and (max-width: 768px) and (orientation: portrait) {
  .mobile-message {
    display: flex;
  }
  
  .desktop-content {
    display: none;
  }
}
