body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: url('Aero Eco attempt 1.png') no-repeat center center fixed;
  background-size: cover;
  color: #000;
}

/* Main layout container */
.container {
  max-width: 1000px;
  margin: 150px auto 140px auto; /* vertical spacing */
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 20px;
}

/* Header */
header {
  background: linear-gradient(to right, #46F23A, #5DF0DE);
  color: white;
  padding: 20px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

header h1,
header p {
  margin: 0;
  color: white;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

/* Avatar styling */
.Jornal {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin: -80px auto 20px auto; /* pull down + center */
  z-index: 10;
  position: relative;
}

/* Sidebar */
.sidebar {
  background: linear-gradient(to bottom, #e3f7ff, #c5ebff);
  width: 240px;
  float: left;
  padding: 20px;
  border-right: 2px solid #a5d8f3;
  box-sizing: border-box;
}

.sidebar h2 {
  font-size: 1.2em;
  color: #005fa3;
  margin-bottom: 10px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  color: #007ad9;
  text-decoration: none;
  background: white;
  padding: 5px 10px;
  display: block;
  border-radius: 10px;
  transition: background 0.2s;
}

.sidebar ul li a:hover {
  background: #d6f3ff;
}

/* Main journal content box */
.journal-box {
  margin-left: 270px;
  padding: 15px;
  background: white;
  border-radius: 15px;
  border: 2px solid #a5d8f3;
  max-height: 400px;
  overflow-y: auto;
}

/* Footer */
footer {
  clear: both;
  text-align: center;
  padding: 10px;
  background: #d3f0ff;
  border-top: 2px solid #a5d8f3;
}

.Jornal {
  position: relative;
  top: 20px;
  left: -300px;
  z-index: 1100;
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 10px rgba(80, 255, 120, 0.5));
}

.Jornal:hover {
  transform: scale(1.1);
  animation: irregularPulse 1.2s infinite alternate;
}

@keyframes irregularPulse {
  from {
    filter: drop-shadow(0 0 10px rgba(80, 255, 120, 0.4));
  }
  to {
    filter: drop-shadow(0 0 25px rgba(80, 255, 120, 0.9));
  }
}

.avatar-container {
  width: 160px;
  height: 160px;
  margin: 40px auto;
  perspective: 800px;
}

.avatar-3d {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 180, 255, 0.5);
  transform-style: preserve-3d;
  animation: spinCube 10s linear infinite;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-3d img {
  width: 80%;
  height: auto;
  object-fit: contain;
  transform: translateZ(30px);
}

@keyframes spinCube {
  from {
    transform: rotateY(0deg) rotateX(0deg);
  }
  to {
    transform: rotateY(360deg) rotateX(360deg);
  }
}
