
body {
  margin: 0;
  background-color: #f2f2f2;
  font-family: 'Helvetica Neue', sans-serif;
}

.ipod-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.screen {
  display: flex;
  border: 2px solid #999;
  width: 320px;
  height: 240px;
  background-color: white;
}

.menu-left {
  width: 50%;
  border-right: 1px solid #ccc;
  background: #fff;
}

.menu-left h1 {
  font-size: 14px;
  padding: 6px 10px;
  margin: 0;
  background: #ddd;
}

.menu-left ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-left li {
  padding: 8px 10px;
  font-size: 16px;
  cursor: pointer;
}

.menu-left li.selected {
  background: linear-gradient(to bottom, #59b1f6, #007aff);
  color: white;
}

.menu-right {
  width: 50%;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  max-width: 90%;
  max-height: 90%;
  animation: kenburns 8s ease-in-out infinite alternate;
}

@keyframes kenburns {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.wheel {
  margin-top: 20px;
  width: 200px;
  height: 200px;
  background-color: #f7f7f7;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel div {
  position: absolute;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  user-select: none;
}

.wheel .menu { top: 10px; }
.wheel .play { top: 165px; }
.wheel .left { left: 10px; top: 85px; }
.wheel .right { right: 10px; top: 85px; }

.wheel .center {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #ddd;
  box-shadow: inset 0 0 5px #aaa;
}


.menu-right.hidden {
  display: none;
}


/* --- Fixed Header Bar --- */

#content-view {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 3;
  display: none;
  flex-direction: column;
}

#content-view.show {
  display: flex;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-weight: bold;
  background: #f7f7f7;
  border-bottom: 1px solid #ccc;
  position: sticky;
  top: 0;
  z-index: 10;
}

#content-area {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}


/* Animazione Ken Burns per i loghi */
.kenburns {
  animation: kenburns 20s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-2%, -2%);
  }
}

/* --- Ridimensionamento immagini per desktop --- */
@media (min-width: 768px) {
  #content-area img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
  }
}
