/* Apply box-sizing globally */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 10px 0 40px;
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(circle at center, #000018, #0f0c29, #001f3f, #302b63, #24243e);
  background-attachment: fixed;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

header {
  text-align: center;
  padding: 40px 20px 20px;
  background: radial-gradient(circle at center, #000428, #004e92);
  font-size: 3em;
  font-weight: bold;
  color: #fff;
  width: 100%;
}

/* MAIN WRAPPER */
.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
  margin-top: 40px;
  padding: 0 20px;
  flex-wrap: wrap;
  width: 100%;
}

/* SIDE IMAGES */
.side-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.side-column img {
  border-radius: 25px;
  box-shadow: 0 0 20px #0ff;
  margin-bottom: 40px;
  width: 250px;
  height: auto;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto;
}
.gallery-item {
  background: radial-gradient(circle at center, #0f0c29, #302b63, #24243e);
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  width: 100%;
}
.gallery-item img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.gallery-item h3 {
  color: #00ffff;
  margin-bottom: 10px;
  font-size: 1.1em;
}
.gallery-item p {
  color: #cccccc;
  font-size: 0.9em;
}

/* RESPONSIVE (MOBILE) */
@media (max-width: 768px) {
  body {
    font-size: 10px;
    line-height: 1.4;
    padding: 10px 0 30px;
  }
  .main-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    padding: 0;
  }
  .side-column {
    display: none;
  }
  
/* RESPONSIVE (MOBILE) */
@media (max-width: 768px) {
  body {
    font-size: 10px;
    line-height: 1.4;
    padding: 10px 0 30px;
  }

  /* Main wrapper */
  .main-wrapper {
    flex-direction: column;
    align-items: center; /* Center align all items */
    justify-content: center; /* Ensure the wrapper is centered vertically if needed */
    gap: 25px;
    padding: 0;
    width: 100%;
  }

  /* Side column */
  .side-column {
    display: none;
  }

  /* GALLERY SHIFT CONTROL */
  .gallery {
    --shift: -20px; /* Change this value (- for left, + for right) */
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px 15px; /* Adjust padding */
    transform: translateX(var(--shift));
    margin-right: 0; /* Remove any margin that offsets the gallery */
    width: 100%; /* Ensure the gallery width is 100% of the container */
    max-width: 100%;
    margin-left: auto; /* Center the gallery */
    margin-right: auto; /* Center the gallery */
  }

  .gallery-item {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.2);
  }

  .gallery-item img {
    max-width: 100%;
    width: 100%;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  header {
    font-size: 1.5em;
    padding: 20px 10px;
    text-align: center;
  }
}
