@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

body {
  background-image: url("images/gingham.png");
  background-color: #ffeef5;
}

.site-wrapper {
  max-width: 1000px;
  margin: auto;
  padding: 40px;
  background: white;
  border-radius: 30px;
  position: relative;
}

.site-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: url("images/lace.png");
  background-size: cover;
  z-index: -1;
}

header {
  background: #f8bbd0;
  text-align: center;
  padding: 25px;
  border-radius: 30px;
  margin-bottom: 30px;
  position: relative;
}

header::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 30px;
  background: radial-gradient(circle at 15px -5px, white 20px, transparent 21px);
  background-size: 30px 30px;
}

.layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
}

.sidebar .box {
  background: #f8bbd0;
  padding: 15px;
  border-radius: 20px;
  margin-bottom: 20px;
  
}

.card {
  background: #fff9fb;
  padding: 25px;
  border-radius: 25px;
  margin-bottom: 25px;
  border: 2px solid #f8bbd0;
  box-shadow: 0 8px 15px rgba(255, 182, 193, 0.2);
  position: relative;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
}

.profile-pic {
  width: 140px;
  border-radius: 20px;
  border: 5px solid #ffd6e7;
  padding: 5px;
  background: white;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
}

footer {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  font-size: 14px;
}

.corner {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 100px;
}

.photo-strip {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.photo-strip img {
  width: 120px;
  padding: 10px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  transform: rotate(-3deg);
  transition: 0.3s;
}

.photo-strip img:nth-child(2) {
  transform: rotate(3deg);
}

.photo-strip img:hover {
  transform: scale(1.05);
}

.divider {
  display: block;
  margin: 20px auto;
}


.journal-wrapper {
  max-width: 1400px;
  margin: 60px auto;
}

.notebook {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fffdf8;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  overflow: hidden;
  position: relative;
}

.notebook::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 100%;
  background: #f8bbd0;
  left: 50%;
  transform: translateX(-50%);
}

.page {
  padding: 60px;  /* was 40px */
  min-height: 700px; /* gives taller notebook look */
  position: relative;
  background-image: linear-gradient(#fce4ec 1px, transparent 1px);
  background-size: 100% 32px;
}

.left-page {
  border-right: 1px solid #f3e5ec;
}

.date {
  font-size: 14px;
  color: #d16ba5;
  margin-bottom: 20px;
}


.taped-photo {
  position: relative;
  width: 250px;
  margin: 20px 0;
}

.taped-photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.taped-photo::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 20px;
  background: rgba(255, 200, 220, 0.6);
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
}


.polaroid {
  background: white;
  padding: 10px;
  width: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transform: rotate(-4deg);
  margin-bottom: 20px;
}

.polaroid img {
  width: 100%;
  border-radius: 5px;
}

.polaroid p {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
}

.sticker {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 80px;
}

.sticker img {
  width: 100%;
}

.notebook {
  position: relative;
}

.spiral-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 40%;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(2px 0px 3px rgba(0,0,0,0.1));
  opacity: 0.85;
}

.page p {
  font-family: 'Indie Flower', cursive;
}


.sidebar {
  display: flex;
  flex-direction: column;
}

.sidebar .box:last-child {
  flex-grow: 1;
}