html, body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
  overflow-y: hidden;
}

.outer-wrapper {
  width: 100vw;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 600vw;
  height: 100%;
}

.grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  padding: 2rem;
  box-sizing: border-box;
}

.title-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: none;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: black;
  max-width: 80%;
  text-align: left;
}

h3 {
  font: serif;
  color: #8B8BC1;
}

/* === Nested Grid Styling === */
.inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 80%;
  height: 60%;
}

.inner-item {
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
}

img {
  border: 5px solid #B6BAFA;
}

nav {
  background-color: #8B8BC1;
  padding: 10px 20px;      
  position: fixed;         
  top: 0;
  width: 100%;             
  z-index: 1000;          
}

nav ul {
  list-style-type: none;  
  margin: 0;
  padding: 0;
  display: flex;           
  justify-content: center; 
}

nav ul li {
  margin: 0 15px;         
}

nav ul li a {
  color: white;            
  text-decoration: none;   
  font-size: 18px;         
  transition: color 0.3s;  
}

nav ul li a:hover {
  color: #CD6A5B;          
}

