body {
  background-image: url('https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExZWh2ODlxM3hiZDlrY3Jid3dwY2Y4MHl0NWZhaGpoYWc4Mjltbmp4byZlcD12MV9naWZzX3NlYXJjaCZjdD1n/3d63YDxRJRtkZepvGm/giphy.gif');
  background-color: #ffeef8;
  background-repeat: repeat, repeat;
  background-size: auto, cover;
  color: #5b0066;
  font-family: 'Verdana', sans-serif;
  text-align: center;
  padding: 20px;
}

a {
  color: #ff69b4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #ff1493;
}

.container {
  max-width: 1000px;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 3px dashed #ffb6c1;
  border-radius: 20px;
  padding: 20px;
  margin: 20px auto;    /* ensures it's centered on all pages */
  
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}


.main-content {
  flex: 1;
  margin-left: 20px;          /* space between side menu & content */
  display: flex;
  flex-direction: column;
  align-items: center;        /* center container inside */
}


.page-wrapper {
  display: flex;
  align-items: flex-start; /* align top edges of both columns */
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

header h1 {
  font-size: 3em;
  color: #ff1493;
  text-shadow: 2px 2px #fff0f5, 0 0 10px #ff69b4;
}

.subtitle {
  font-style: italic;
  color: #8b008b;
  text-shadow: 1px 1px #ffc0cb;
}

nav {
  margin: 20px 0;
  font-size: 1.4em;
  background: url('https://media.giphy.com/media/v1.Y2lkPWVjZjA1ZTQ3dHJ0b2V3NzFlMmFkZzMybXh4ODAzMWZvN3h0bGVkNHJxdjM3MWF3dSZlcD12MV9naWZzX3NlYXJjaCZjdD1n/Opw6sGvXU5tAKMvkyP/giphy.gif') repeat;
  padding: 10px;
  border: 2px solid #ff69b4;
  border-radius: 10px;
}

.hero-img {
  width: 220px;
  border: 6px dotted #ffb6c1;
  border-radius: 50%;
  margin: 20px auto;
  display: block;
  box-shadow: 0 0 15px #ff69b4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  border: 3px solid #ffb6c1;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid img:hover {
  transform: scale(1.1) rotate(-2deg);
  box-shadow: 0 0 10px #ff69b4;
}

footer {
  margin-top: 40px;
  font-size: 0.9em;
  color: #999;
  background: url('images/footer-glitter.gif') repeat;
  padding: 10px;
  border-top: 2px solid #ff69b4;
}



/* add floating gifs */
.floating-gif {
  position: fixed;
  width: 200px;
  z-index: 99;
  animation: floaty 6s ease-in-out infinite alternate;
}

.floating-gif.left { top: 20%; left: 0; }
.floating-gif.right { top: 40%; right: 0; }

@keyframes floaty {
  from { transform: translateY(0px) rotate(0deg); }
  to { transform: translateY(-20px) rotate(5deg); }
}

.project-card {
  margin: 20px auto;
  padding: 10px;
  background: rgba(255, 240, 250, 0.9);
  border: 2px dashed #ffb6c1;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 10px #ffc0cb;
}

.project-card p {
  margin-top: 8px;
  font-size: 1em;
  color: #8b008b;
}

.normal-gif {
  width: 200px;     /* sets width to 200px */
  height: auto;     /* keeps it proportional so it doesn't squish */
}

.blog-post {
  max-width: 600px;
  margin: 20px auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border: 2px dashed #ffb6c1;
  border-radius: 15px;
  box-shadow: 0 0 10px #ffc0cb;
  line-height: 1.6;
}

.blog-post h2 {
  font-size: 1.5em;         /* smaller header */
  color: #ff1493;
  margin-bottom: 8px;
  text-shadow: 1px 1px #fff0f5;
}

.blog-post p {
  font-size: 1em;           /* smaller text */
  color: #5b0066;
  margin-bottom: 12px;
}


.post-date {
  font-style: italic;
  color: #8b008b;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.blog-divider {
  border: none;
  height: 2px;
  background: url('https://media.giphy.com/media/v1.Y2lkPWVjZjA1ZTQ3M2RwNGtobXR5Mmdqc280ZDBpYjhtdmR0Mmw2d3kzOGQzbXBxYnhzaSZlcD12MV9zdGlja2Vyc19zZWFyY2gmY3Q9cw/Pnt4QYi7eR7mDY3o1f/giphy.gif') repeat-x;
  margin: 30px 0;
}

.blog-post blockquote {
  background: rgba(255, 240, 250, 0.8);
  border-left: 4px solid #ffb6c1;
  padding: 10px 15px;
  margin: 15px 0;
  font-style: italic;
}



.floating-side-menu {

  width: 180px;
  background: rgba(255, 240, 250, 0.95);
  border: 3px dashed #ffb6c1;
  border-radius: 15px;
  padding: 10px;
  text-align: center;
  font-size: 1.2em;
  box-shadow: 0 0 10px #ffc0cb;
  flex-shrink: 0;


}

.floating-side-menu h3 {
  color: #ff1493;
  margin-bottom: 8px;
  text-shadow: 1px 1px #fff0f5;
  font-size: 1.4em;
}

.floating-side-menu a {
  display: block;
  color: #5b0066;
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.2s;
}

.floating-side-menu a:hover {
  color: #ff69b4;
  text-decoration: underline;
}

.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
  justify-items: center;
  margin: 20px 0;
}

.button-grid img {
  width: 88px;
  height: 31px;
  border: 2px solid #ffb6c1;
  border-radius: 6px;
  transition: transform 0.2s;
}

.button-grid img:hover {
  transform: scale(1.1);
}

textarea {
  width: 100%;
  max-width: 500px;
  height: 60px;
  margin-top: 10px;
  font-family: monospace;
  font-size: 0.9em;
  border: 2px dashed #ffb6c1;
  border-radius: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.9);
}


