@font-face {
  font-family: 'Baby Doll';
  src: url('font/BabyDoll.woff2') format('woff2'),
       url('font/BabyDoll.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PORKYS_';
  src: url('font/PORKYS_.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Baby Doll';
  background: url('pinkback.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #333;
  margin: 0;
  padding: 0;
}

header h1 {
  font-size: 7.65rem;
  color: #ffb8ce; 
  font-family: 'PORKYS_', cursive;
  text-shadow: 3px 3px #aa4152;
  text-align: center;
  margin-top: 39px;
  margin-bottom: -204px;
}

h2 {
  font-family: 'PORKYS_', bold;
  color: #ffb8ce;
  text-shadow: 3px 3px #aa4152;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 13px;
  margin-top: 13px;
}

h3 {
  font-family: 'PORKYS_', bold;
  color: #ffb8ce;
  text-shadow: 3px 3px #aa4152;
  text-align: center;
  font-size: 4rem;
  margin-bottom: 13px;
  margin-top: 13.5px;
}

#wrapper {
  max-width: 935px;
  margin: 25px auto;
  padding: 25px;
  background-size: cover;
}

main section {
  padding: 18.7px;
  border: 1px dashed #ccc;
  background-color: #fff0f5;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 12.7px;
}

main p {
  font-size: 1.19rem;
  line-height: 1.8;
  margin: 12.7px 0;
}

footer {
  position: relative;
  text-align: center;
  font-size: 1em;
  margin-top: 25px;
  padding: 12.7px;
  background-color: #ffe4ec;
  border-top: 2px dotted #f99;
}

.arrow-button {
  font-family: "Baby Doll";
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #ffb6c1;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
  transition: background-color 0.3s;
}

.arrow-button:hover {
  background-color: #ffa6c1;
}


.highlight {
  background-color: #ffb8ce; 
  padding: 2px 5px;
  border-radius: 3px; 
}

.journal-container {
  position: relative;
  width: 1020px;
  margin: 0 auto;
  margin-top: 110px;
}

.journal-bg {
  width: 100%;
  height: auto;
  display: block;
}

.journal-content {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  padding: 63px 63px 63px 191px;
  box-sizing: border-box;
}

.right-column {
  width: 60%;
  padding: 25px 25px 25px 76px;
  box-sizing: border-box;
}

.left-column {
  position: relative;
  width: 40%;
  padding: 25px;
  box-sizing: border-box;
}

.sticker1 {
  position: absolute;
  top: 120px;
  left: -100px;
}

.sticker1 img {
  width: 236px;
  height: auto;
}

.sticker2 {
  position: absolute;
  top: 15px;
  left: 70px;
}

.sticker2 img {
  width: 198px;
  height: auto;
}

.calander img {
  width: 318px;
  height: auto;
  margin-top: 280px;
  margin-left: -63px;
}

.calendar-container {
  position: absolute;
  top: 369px;
  left: -12px;
  width: 242px;
  padding: 12px;
  border-radius: 10px;
  z-index: 2;
}

#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

#calendar div {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 17px;
}

.clickable-day {
  background-color: lightpink;
  cursor: pointer;
  font-weight: bold;
}

.clickable-day:hover {
  background-color: hotpink;
  color: white;
}

.no-entry-day {
  color: #aaa;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  margin-top: -18px;
}

.calendar-header button {
  background: none;
  border: none;
  font-size: 25px;
  cursor: pointer;
}

.pen {
  position: absolute;
  top: -25px;
  right: 701px;
  width: 510px;
  z-index: 10;
}

.pen img {
  width: 100%;
  height: auto;
}

.journal-content .right-column #entry-display {
  font-size: 1.2rem;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .pen,
  .sticker1,
  .sticker2,
  .journal-bg, 
  .calander img {
    display: none;
  }

  .journal-container {
    width: 100%;
    margin-top: 20px;
  }

  .journal-content {
    display: block;
    padding: 10px;
  }

  .calendar-container {
    position: static;
    width: 100%;
    margin-top: 20px;
    margin-left: -10px;
    padding: 12px;
    background-color: #ffe4ec;

  }

  .right-column {
    width: 100%;
    padding: 50px 0;
  }

  .left-column {
    width: 100%;
    padding: 0;
  }

  .journal-content .right-column #entry-display {
    font-size: 1.25rem;
    line-height: 1.6;
  }

  .calander img {
    margin-top: 18px;
    margin-left: 0;
    width: 100%;
    height: auto;
  }
}
