body {
  margin: 0;
  font-family: 'Caveat', cursive;
  background-color: #ffffff;
}

h1, h2, h3, p {
  margin: 0;
}

.page-wrapper {
  width: 90%;
  max-width: 1000px;
  margin: 60px;
  padding: 25px;
  background: white;
  border: 6px solid #dedede;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-page p {
  text-align: center;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 2px solid #ddd;
  background: #f3e8ff;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.logo h1 {
  font-family: 'Gloria Hallelujah', cursive;
  font-size: 36px;
  color: white;
  text-shadow: -2px 2px 0px lightskyblue;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.profile img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}

.desktop-nav {
  display: flex;
}

.desktop-nav a {
  margin-left: 15px;
  padding: 6px 12px;
  border: 2px solid #d6b3ff;
  background: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  font-size: 20px;
  transition: 0.2s;
}

.desktop-nav a:hover {
  background: #ffe4f1;
}

.hamburger {
  display: none;
  font-size: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 20%;
  height: 100;
  transform: translateX(100%);
  transition: 0.3s ease;
  z-index: 99;
  background: #ead6ffdc;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu a {
  text-decoration: none;
  color: white;
  font-size: 24px;
  margin: 10px 0;
  transition: 0.2s ease;
}

.mobile-menu a:hover {
  color: lightskyblue;
  transform: translateX(5px);
}

.close-btn {
  background: rgba(233, 197, 248, 0.7);
  border: none;
  font-size: 28px;
  cursor: pointer;
  border-radius: 6px;
  padding: 5px 10px;
  align-self: flex-end;
  margin-bottom: 15px;
}

.welcome {
  text-align: center;
  font-size: 34px;
  margin-top: 30px;
  color: rgba(255, 206, 11, 0.559);
  text-shadow: 2px 2px 0px rgb(215, 188, 148);
  font-family: 'Times New Roman', Times, serif;
}

.carousel-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
}

.carousel-btn {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  color: white;
  text-shadow: 2px 2px 4px rgb(47, 182, 226);
}

.carousel img {
  width: 200px;
  height: auto;
  border: 3px double rgb(249, 221, 225);
  transition: opacity 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.featured-label {
  text-align: center;
  margin-top: 8px;
  font-family: 'Times New Roman', Times, serif;
}

.editor-area {
  margin: 40px auto;
  width: 85%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.editor-box,
.preview-box {
  border: 2px solid #fcf5d2;
  padding: 10px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.preview-box iframe {
  flex: 1;
  justify-self: center;
  width: 100%;
  border: none;
}

textarea {
  width: 94%;
  height: 100px;
  border: none;
  background: #f4f3f3;
  padding: 10px;
  resize: vertical;
}

.preview-window {
  height: 100px;
  width: 94%;
  background: #f8f8f8;
  border: none;
  box-sizing: border-box;
}

.buttons {
  text-align: center;
}

.buttons a {
  display: inline-block;
  font-size: 26px;
  padding: 10px 24px;
  margin: 40px 10px;
  border: 2px solid #bde0ff;
  background: #ffffff;
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
  color: black;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.buttons a:hover {
  background: #ffe4f2;
  transform: translateY(-3px);
}

.buttons a.secondary {
  background: #ead6ff;
}

.stair-words {
  font-size: 32px;
  font-weight: bold;
  text-align: left;
  margin: 60px 0;
  line-height: 1.4;
  font-family: 'Comic Sans MS', 'Patrick Hand', cursive;
}

.stair-words span:nth-child(1) {
  margin-left: 150px;
  color: rgba(135, 217, 245, 0.729);
}

.stair-words span:nth-child(3) {
  margin-left: 350px;
  color: rgb(210, 210, 251);
}

.stair-words span:nth-child(5) {
  margin-left: 540px;
  color: rgba(255, 182, 193, 0.75);
}

footer {
  text-align: center;
  padding: 20px;
  border-top: 2px solid black;
  margin-top: 20px;
  font-size: 20px;
  background: #eafff1;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {

  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  header {
    justify-content: space-between;
  }

  .editor-area {
    grid-template-columns: 1fr;
  }

  .carousel img {
    width: 100px;
  }

  .logo h1 {
    font-size: 26px;
  }

  .preview-box {
    grid-column: span 1;
    width: 100%;
  }

  .tips-layout {
    flex-direction: column;
  }

}

.tips-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.tips-text {
  flex: 1;
}

.tips-image img {
  width: 300px;
  height: auto;
  border-radius: 10px;
}

.about-image {
  text-align: center;
  margin-top: 20px;
}

.about-image img {
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px lightskyblue;
}

.about-image img:hover {
  transform: scale(1.03);
  transition: 0.3s ease-in-out;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 180px;       /* forces equal height */
  object-fit: cover;   /* crops nicely without distortion */
  border: 2px dashed #ccc;
  border-radius: 8px;
  background: #fafafa;
}