/* RESET */

* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'cursive';
  font-style: italic;
  background-color: #fff8f4;
  color: #444;
  padding:60px;
}

/* SIDEBAR */



 .sidebar {
      width: 20vw;
      min-width: 220px;
      max-width: 300px;
      background: #ffe3f0; /* Baby Pink */
      padding: 20px;
      text-align: center;
      position: fixed;
      height: 100vh;
      top: 0;
      left: 0;
      z-index: 100;
      box-sizing: border-box;
      transform: translateX(-100%);
      opacity: 0;
      transition: transform 0.6s ease, opacity 0.6s ease;
}
    

/* Show class triggers the animation */
.sidebar.show {
  transform: translateX(0);
  opacity: 1;
}




.img {
  background: #fff0f8;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 24px rgba(230, 200, 200, 0.25);
  margin: 0 auto 20px auto;
  display: inline-block;
}

.img img {
  width: 200px;
  height: 200px;
  border: 2px solid #f8cedd;
  border-radius: 50%;
  box-shadow: 2px 2px 30px rgba(180, 160, 160, 0.3);
  object-fit: contain;
}

.links {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.links li {
  margin-bottom: 10px;
}

.links button {
  width: 100%;
  padding: 10px 0;
  background-color: #fbe8f5;
  color: #6d5473;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.links button:hover {
  background-color: #dff6ff;
}

/* HEADER */
.header {
  margin-left: 20vw;
  padding: 40px 30px 0;
}

.header h1 {
  font-size: 36px;
  color: #ff9b81;
  font-family: cursive;
}

.header h2 {
  font-size: 28px;
  font-style: italic;
  color: #b089b0;
}

/* MAIN CONTENT */
#main-content {
  margin-left: 20vw;
  padding: 20px 30px;
  color: #333;
  background-color: #fff4f9;
  min-height: 60vh;
}

#main-content p {
  line-height: 1.6;
  font-size: 18px;
}

footer {
  background-color: #ffe6f2;
  padding: 15px;
  text-align: center;
  color: #666;
}

/* DARK MODE */
.dark-mode {
  background: #222;
  color: #fff;
}

.dark-mode .sidebar {
  background: #2d2d2d;
}

/* TOGGLE BUTTON */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background-color: #ffeaf4;
  padding: 8px 14px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateY(-100%);
    width: 100vw;
    height: 60px;
    top: 0;
    left: 0;
    background-color: #fdf6ee;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    z-index: 1000;
    overflow-x: auto;
    white-space: nowrap;
  }

  .sidebar.show {
    transform: translateY(0);
    opacity: 1;
  }

  .img {
    margin: 0 10px 0 0;
    padding: 0;
    border-radius: 50;
    box-shadow: 0 4px 24px rgba(230, 200, 200, 0.25);
    background: none;
    display: inline-block;
    align-items: center;
    
  }
  
 
  .img img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f8cedd;
    box-shadow: 0 2px 10px rgba(180, 160, 160, 0.3);
  }

  .sidebar ul.links {
    display: flex;
    flex-direction: row;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .sidebar ul.links li {
    flex-shrink: 0;
  }

  .sidebar ul.links li button {
    background: none;
    border: none;
    font-size: 14px;
    padding: 5px 10px;
    cursor: pointer;
    color: #333;
    white-space: nowrap;
  }

  .sidebar .dark-mode-toggle {
    display: none;
  }
}
