body {
  margin: 0;
  /* Cloudy background; replace with a real PS2-like cloudy image */
  background: url('img/naomi\ ico.png') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  font-family: 'Eurostile', 'Helvetica', Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  align-items: center;
}

.menu-item {
  display: flexbox;
  padding: 5px;
  margin: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2em;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.menu-item:hover,
.menu-item.active,
.menu-item:focus {
  filter: drop-shadow(0 0 5px rgba(0, 153, 255, 0.5));
  background: rgba(0, 153, 255, 0.3); 
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.7); /* PS2-inspired blue glow */
}

.menu-item:focus {
  outline: 2px solid #0099ff; /* Accessibility focus */
}

input[type="radio"]:checked + .menu-item {
  background: rgba(0, 153, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 153, 255, 0.7);
}

input[type="radio"] {
  display: none; /* Hide radio inputs */
}

.content-area {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
    transform-style: preserve-3d;
  perspective: 100em;
  filter: blur(2px) contrast(3); /* the cool effect */
}

.content {
  display: none;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  transition: opacity 0.5s ease;
  position: absolute;
  opacity: 0;
  font-size: 2em;
}

.content.active {
  display: block;
  opacity: 1;
}
/* floor */

/* CSS 3D Cube */
:root{
    --cube-size: 66vh;
    --cube-translate: calc(var(--cube-size) / 2);
}
.cube {
  width: var(--cube-size);
  height: var(--cube-size);
  position: relative;
  transform-style: preserve-3d;
  animation: rotate 10s infinite linear;
}

.cube-face {
  position: absolute;
  width: var(--cube-size);
  height: var(--cube-size);
  background: /*shadow 
    radial-gradient(#0000,#000 175%),*/
    rgba(0, 153, 255, 0.5); /* Default blue */
  background-size: 100%,100%;
  box-shadow:0 0 10em #000a inset;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box; /* Ensures border is included in width/height */
  transition: all 1s ease;
}

.cube-face.front { transform: rotateY(0deg) translateZ(var(--cube-translate)); }
.cube-face.back { transform: rotateY(180deg) translateZ(var(--cube-translate)); }
.cube-face.right { transform: rotateY(90deg) translateZ(var(--cube-translate)); }
.cube-face.left { transform: rotateY(-90deg) translateZ(var(--cube-translate)); }
.cube-face.top { transform: rotateX(90deg) translateZ(var(--cube-translate)); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(var(--cube-translate)); }

/* Color changes on hover and checked */
#menu-1:hover ~ .content-area .cube-face[data-face="content-1"],
#menu-1:checked ~ .content-area .cube-face[data-face="content-1"] {
    background: red;
    background-image: url('img/naomi\ ico.png');
    background-size: cover;
    background-blend-mode:luminosity; /* Blend effect */;

    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.6);
}

#menu-2:hover ~ .content-area .cube-face[data-face="content-2"],
#menu-2:checked ~ .content-area .cube-face[data-face="content-2"] {
  background: rgba(255, 153, 0, 0.8); /* Orange for About */
  background: repeating-conic-gradient(from 45deg, lavender 0deg 90deg, transparent 90deg 180deg);
  background-size: 1em 1em;
  background-blend-mode:luminosity;
}

#menu-3:hover ~ .content-area .cube-face[data-face="content-3"],
#menu-3:checked ~ .content-area .cube-face[data-face="content-3"] {
  background: rgba(0, 255, 153, 0.8); /* Green for Portfolio */
}

#menu-4:hover ~ .content-area .cube-face[data-face="content-4"],
#menu-4:checked ~ .content-area .cube-face[data-face="content-4"] {
  background: rgba(255, 0, 255, 0.8);
  background-image: url('img/lmg\ \(2\).png'); 
  background-size: cover;/* Magenta for Contact */
  background-blend-mode: luminosity; /* Blend effect */;
}

/* Cube rotation animation */
@keyframes rotate {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 95%;
  }

  .menu-item {
    width: 100%;
    margin: 5px 0;
  }

  .content-area {
    width: 100%;
  }

  .cube {
    width: 150px;
    height: 150px;
  }

  .cube-face {
    width: 150px;
    height: 150px;
  }

  .cube-face.front { transform: rotateY(0deg) translateZ(75px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
  .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
  .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }

  .content {
    font-size: 1.2em;
  }
}