/* =========================
   IMPORTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* =========================
   BASE
========================= */
body {
  margin: 0;
  padding: 0;
  background: #fdf6f0;
  font-size: 1em;
  color: #333;
  font-family: "Times New Roman", serif;
  line-height: 1.6;
  cursor:url("lips.gif"), auto;
}

/* =========================
   HEADINGS & LINKS
========================= */
h1, h2, h3, h4, h5, h6, .link {
  font-family: "Bookman Oldstyle", serif;
  color: #ff7eb9;
  text-shadow: 1px 1px 2px #ffe0f0;
}

.link {
  text-decoration: none;
  transition: 0.3s ease;
}

.link:hover {
  color: #ffd1dc;
  transform: scale(1.05);
}

/* =========================
   LAYOUT
========================= */
.wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1%;
  margin: 0 auto;
  max-width: 1200px;
}



/* =========================
   LEFT SIDEBAR
========================= */
.sidebar-left h3,
.side-header,
.side-list a {
  font-family: 'Press Start 2P', monospace;
}

.sidebar-left {
  width: 200px;
  padding: 0;
}

.sidebar-inner {
  border: 2px solid #ff7eb9;
  background: #ffffff;
  margin-top: 20px;
  padding: 0;
}

/* Section headers */
.side-header {
  font-size: 11px;
  text-transform: uppercase;
  padding: 10px 6px;
  margin: 0;
  background: #ffb6c1;
  border-bottom: 0;
  color: #000;
  text-align: center;
}

/* Navigation + Social links */
.side-list {
  list-style: none;
  margin: 0;
  padding: 10px;
}

.side-list a {
  display: block;
  font-size: 12px;
  text-decoration: none;
  color: #ff7eb9;
  padding: 4px 2px;
}

.side-list a:hover {
  background: #def5ff;
  outline: 1px solid #000;
}

/* =========================
   SIDEBAR GIF
========================= */
.sidebar-gif {
  text-align: center;
  padding: 10px 0 14px 0;
}

.sidebar-gif img {
  width: 120px;
  max-width: 90%;
  height: auto;
}





/* =========================
   RIGHT SIDEBAR
========================= */
.sidebar-right {
  width: 16%;
  background: #ffeaf0;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* =========================
   MAIN CONTENT AREA
========================= */
.main {
  width: 64%;
  background: #fff1f7;
  padding: 1em;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

/* =========================
   HEADER & FOOTER
========================= */
.header, .footer {
  background: url("/img/pexels-matthew-montrone-1179225_cropsmall1_verysmall.jpg") center/cover no-repeat;
  padding: 2em 1em;
  color: #ff7eb9;
  text-align: center;
  position: relative;
  border-bottom: 5px solid #ff7eb9;
}

.header::before, .footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 182, 193, 0.5);
  z-index: 0;
}

/* =========================
   WELCOME GIF
========================= */
#welcome-gif {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 4px solid #ff7eb9;
  border-radius: 12px;
  box-shadow: 0 0 20px #ff7eb9;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px #ff7eb9; }
  50% { box-shadow: 0 0 35px #ff7eb9; }
}

.subheader {
  text-align: center;
  font-family: 'Press Start 2P', monospace;
  font-size: 0.8em;
  color: #ff7eb9;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

/* =========================
   BOXES
========================= */
.box {
  border-top: 5px solid #ff7eb9;
  border-bottom: 5px solid #ff7eb9;
  padding: 1em;
  margin: 1em 0;
  border-radius: 12px;
  background: #fff0f6;
  color: #333;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

.box h1, .box h2, .box h3, .box h4, .box h5, .box h6 {
  background: #ffb6c1;
  padding: 0.3em 0.6em;
  margin: 0 0 0.5em 0;
  border-radius: 8px 8px 0 0;
  color: #fff;
  text-shadow: 1px 1px 2px #ffdfeb;
}

.box a {
  color: #ff7eb9;
  text-decoration: underline;
}

.box a:hover {
  color: #ffb6c1;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* =========================
   POKÉMON SECTION
========================= */
.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin-top: 50px;
}

.team-header {
  background: #ffebf0;
  border: 2px dashed #ff7eb9;
  border-radius: 15px;
  padding: 0.5em 1em;
  width: 200px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(255, 182, 193, 0.3);
}

.team-header h2 {
  margin: 0;
  color: #ff7eb9;
  font-size: 1.2em;
}

.team {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  margin: 2em 0;
}

.pokemon-box {
  background: #fff0f6;
  border: 2px solid #ff7eb9;
  border-radius: 10px;
  padding: 0.5em;
  width: 150px;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
}

.pokemon-sprite {
  width: 80px;
  height: 80px;
}

.pokemon-box:hover .pokemon-sprite {
  animation: wiggle 0.5s ease-in-out infinite;
}

@keyframes wiggle {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.type.fire { color: #ff7f50; }
.type.normal { color: #c0c0c0; }
.type.ghost { color: #8a2be2; }
.type.electric { color: #ffd700; }
.type.grass { color: #32cd32; }
.type.water { color: #1e90ff; }

.type.fire, .type.normal, .type.ghost, .type.electric, .type.grass, .type.water {
  font-size: 0.8em;
}

/* =========================
   PEAR PHONE SECTION
========================= */
.pearphone-container {
  position: relative;       /* needed for overlay positioning */
  text-align: center;       
  margin: 20px 0;
}

.pearphone-container img {
  width: 90%;          
  max-width: 600px;      
  height: auto;    
  display: block;
  margin: 0 auto;  
}

.pear-update {
  position: absolute;
  top: 10%;          /* tweak as needed to fit text inside phone */
  left: 20%;
  width: 76%;
  text-align: left;
  font-family: 'Press Start 2P', cursive;
  color: #000;
  white-space: pre-wrap;
}

.pear-update .pear-name,
.pear-update .pear-feeling-label {
  display: block;
  font-weight: bold;
  margin-top: 0.3em;
}

.pear-update p {
  font-size: 0.65em;   /* smaller text */
  line-height: 1.35;
}


.pear-feeling {
  font-size: 1.2em;
  margin-top: 5px;
}
