* { box-sizing: border-box; }

body {
  margin: 0;
  background: url('images/stars.png') repeat, linear-gradient(to bottom, #F7BFD7, #C8D6EE, #B6E6E6);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: #5a4a78;
  }

a {
  color: #b483e6;
  text-decoration: none;
  transition: color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
  font-weight: bold;
  }

a:hover {
  color: #f7a8c5;
  text-shadow: 0px 0px 6px rgba(247, 168, 197, 0.8);
  text-decoration: underline;
  font-weight: bold;
  }

h1 {
  font-family: 'Chicle', cursive;
  font-size: 7rem;
  color: #9068be;
  margin: 0;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4), -2px -2px 3px rgba(255, 255, 255, 0.3);
  background: linear-gradient(180deg, #FFBBE1, #FFA9DE, #FF91DC);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   filter: brightness(1.5);
  }

h1 i {
  font-size: 5rem;
  position: relative;
  top: -10px;
  background: linear-gradient(180deg, #FFFFFF, #EEE4F4, #E1D0EA);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
   filter: brightness(1.1);
  }

@media (max-width: 768px) {
  h1 { font-size: 5rem; }
  }

@media (max-width: 480px) {
  h1 { font-size: 3.5rem; }
  }

.site-subtitle {
  font-family:'Raleway', sans-serif;
  font-size: 11px;
  color: #9068be;
  text-align: center;
  margin-top: -3px;
  margin-bottom: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.9;
  }

/* Default h2 styling */
h2 {
  font-family: 'Gloria Hallelujah', cursive;
  font-size: 2rem;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  letter-spacing: 1.5px;
  }

/* Specific h2 colors per section */
#brag-book h2 { color: #c48bff; } /* Lavender */
#about h2 { color: #7bb6b6; } /* Soft Teal */
#welcome h2 { color: #ED93BD; } /* Pale Pink */
#for-you h2 { color: #e08e45 } /* Warm Apricot */
#links h2 { color: #7fa6e6; } /* Powder Blue */

h3 {
  text-align: center;
  }

.section {
  background: rgba(255, 255, 255, 0.7);
  padding: 20px 20px 40px 20px;
  margin: 20px auto;
  width: min(80%, 1100px);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  font-family: 'Poppins', sans-serif;
  }

@media (max-width: 768px) {
  .section { font-size: 0.95rem; }
  }

/* Sections with colored backgrounds and borders */
#brag-book {
  background-color: rgba(216, 183, 255, 0.4);
  border: 3px solid #c48bff;
  }

#about {
  background-color: rgba(160, 217, 217, 0.4);
  border: 3px solid #7bb6b6;
  }

#welcome {
  position: relative;
  background-color: rgba(231, 255, 229, 0.4);
  border: 3px solid #f499c2;
  }
        
#for-you {
  background: rgba(244, 162, 97, 0.4);
  border: 3px solid #e08e45;
  }

#links {
  background: rgba(172, 204, 255, 0.4);
  border: 3px solid #7fa6e6;
  }

.update-box {
  width: min(550px, 100%);
  margin: 20px auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.4);
  border: 3px solid #e6e29a;
  border-radius: 12px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  text-align: left;
  }

@media (max-width: 768px) {
  .update-box { width: 90%; }
  }

/* update box bulleted list */
.centered-list {
  list-style: none;
  padding-left: 0;
  }

.centered-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  }

.centered-list li::before {
  content: "⭐";
  position: absolute;
  left: 0;
  font-size: 0.9rem;
  }

.custom-hr {
  width: min(400px, 80%);
  height: 6px;
  border: none;
  background: linear-gradient(to right, #c49bf7, #7ccccc, #f09bc5, #ffea70 );
  border-radius: 2px;
  margin: 20px auto;
  }

@media (max-width: 768px) {
  .custom-hr { width: 60%; }
  }

.button-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: min(550px, 100%);
  margin: 0 auto;
  }

.button-grid img {
  width: 88px;
  height: 31px;
  }

@media (max-width: 768px) {
  .button-grid { width: 100%; gap: 3px; }
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
  }

.gallery img {
  width: 150px;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out;
  margin: -20px;
  position: relative;
  z-index: 1;
  transform: rotate(-7deg);
  }

.gallery img:nth-child(even) {
  transform: rotate(7deg);
  }

.gallery img:hover {
  transform: scale(1.1) rotate(0deg);
  z-index: 10;
  filter: drop-shadow(0 0 10px rgba(255, 223, 186, 1));
  }

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(100, 100, 100, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 9999;
  cursor: pointer;
  }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
  z-index: 10000;
  pointer-events: none;
  }

.lightbox.show {
  opacity: 1;
  visibility: visible;
  }

.lightbox.show img {
  transform: scale(1);
  }

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  }

@media (max-width: 768px) {
  .lightbox {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    }

  .lightbox img {
    max-width: 90%;
    max-height: 80vh;
    height: auto;
    position: relative;
    display: block;
    margin: auto;
    transform: none;
    }
  }

#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  }

#pagination button {
  background-color: #f1a8cc;
  color: white;
  border: none;
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  }

#pagination button:hover {
  background-color: #7fa6e6;
  }

#pagination button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  }

#pageInfo {
  font-size: 16px;
  font-weight: bold;
  }

@media (max-width: 768px) {
  #pagination { flex-wrap: wrap; }
  #pagination button { padding: 6px 10px; font-size: 14px; }
  #pageInfo { font-size: 14px; font-weight: bold; }
  }

@media (max-width: 768px) {
  #for-you img { max-width: 100%; height: auto; }
  }

footer p {
  text-align: center;
  margin: 20px auto;
  }

@media (max-width: 768px) {
  .polaroid-image {
    position: relative;
    top: 0;
    right: auto;
    display: block;
    margin: 20px auto;
    max-width: 50%;
    }
  }

@media (max-width: 480px) {
  .polaroid-image { max-width: 75%; }
  }

.site-collective {
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: 0.95;
  font-size: 0.9em;
  font-weight: 900;}

img {
  max-width: 100%;
  height: auto;
}

.emo {
  vertical-align: middle;
}

.button-grid a {
  line-height: 0;
}

.button-grid img {
  display: block;
}

footer {
  padding: 10px 20px 20px;
}
