body {
  background: pink;
  font-family: 'Courier New', monospace;
  color: hotpink;
}

.page {
  width: 900px;
  margin: auto;
  display: flex;
}

.left { width: 250px; }
.right { width: 630px; margin-left: 10px; }

.box {
  background: #ffe6f2;
  border: 3px solid hotpink;
  padding: 8px;
  margin-bottom: 10px;
}

.box h2 {
  background: hotpink;
  color: white;
  margin: -8px -8px 8px -8px;
  padding: 4px;
}

textarea {
  width: 100%;
  height: 60px;
}

.post {
  border: 2px dashed pink;
  padding: 6px;
  margin-bottom: 10px;
}

.post img {
  max-width: 100%;
  border: 2px solid pink;
}

.pfp {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 3px solid hotpink;
  display: block;
  margin: 0 auto;
}


/* =========================
   MOBILE STYLES
   ========================= */

@media (max-width: 768px) {

  body {
    margin: 0;
    padding: 0;
    font-size: 16px;
  }

  .page {
    width: 100%;
    flex-direction: column;
  }

  .left,
  .right {
    width: 100%;
    margin: 0;
  }

  .box {
    margin: 6px;
    padding: 10px;
  }

  .box h2 {
    font-size: 18px;
    text-align: center;
  }

  /* profile pic */
  .pfp {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px auto;
  }

  /* posts */
  .post img {
    max-width: 100%;
    height: auto;
  }

  textarea {
    font-size: 16px;
    height: 80px;
  }

  input[type="file"],
  button {
    width: 100%;
    margin-top: 6px;
    font-size: 16px;
  }

  button {
    padding: 8px;
  }

  /* navigation links */
  .left a {
    display: block;
    text-align: center;
    margin: 4px 0;
    font-size: 16px;
  }

}

/* =========================
   MOBILE STICKY PROFILE
   ========================= */

@media (max-width: 768px) {

  /* sticky profile header */
  .left .box:first-child {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffe6f2;
    border-bottom: 3px solid hotpink;
    box-shadow: 0 4px 8px rgba(255,105,180,0.3);
  }

  /* tighten profile header spacing */
  .left .box:first-child p {
    font-size: 14px;
    margin: 4px 0;
  }

  /* =========================
     BIGGER POSTS
     ========================= */

  .post {
    padding: 12px;
    margin-bottom: 14px;
    font-size: 18px;
    line-height: 1.5;
  }

  .post p {
    font-size: 18px;
  }

  .post img {
    margin-bottom: 8px;
    border-width: 3


