@font-face {
  font-family: 'Oh Whale';
  src: url('./fonts/OhWhale.ttf') format('truetype'),
  url('./fonts/OhWhale.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


body {
  margin: 0;
  background-color: #ffe8fc;
  font-family: 'Oh Whale', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  padding: 2rem;
}

.profile-pic {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #b9e1ea;
  margin-bottom: 0.75rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.profile-caption {
  display: block;
  margin-top: .5rem;
  margin-bottom: 1.25rem; 
  color: #444444;
  font-size: 1.5rem;
  font-family: 'Oh Whale', Tahoma, Geneva, Verdana, sans-serif; 
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footnote {
  font-style: italic;
  font-size: .85em;
  color: rgba(128, 128, 128, 0.7);
  margin-top: .5em;
}

.btn {
  background-color: #def5fa;
  color: #000000;
  font-family: 'Oh Whale', Tahoma, Geneva, Verdana, sans-serif;
  padding: 0.6rem 1.4rem;
  border: 1px solid #b9e1ea;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;  
  gap: 0.5rem;
  line-height: 1.2;    
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.btn:hover {
  background-color: #bde7f1;
  color: #000;
  border-color: #9fd0dc;
}

.icon {
  width: 1em;         
  height: 1em;         
  line-height: 1;      
  vertical-align: middle;
  display: inline-block; 
}

.btn .icon {
  font-size: 1em;
}

.btn img.icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
}

.content {
  display: none;
  margin-top: 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

.content h2 {
  color: #fa87d4;
  margin-bottom: 1rem;
}

.content p {
  max-width: 500px;       
  margin: 0 auto;       
  line-height: 1.6;     
  text-align: left;     
  color: #3a2f2f
}

.content ul {
  color: #3a2f2f;
  font-size: 1.1rem;
}

.content ul {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.content ul li {
  margin: 0.5rem 0;
}

.content ul li a {
  color: #fa87d4;
  text-decoration: underline;
}

.icon-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, .2);
}

.modal-content {
  background-color: rgba(222, 245, 250, .5);
  margin: 5vh auto;
  padding: 20px;
  border: 1px solid #b9e1ea;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  color: #fff;
  border-radius: 12px;
  animation: fadeIn 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.gallery {
  display: grid;
  gap: 1.5rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0;
  max-height: 70vh;
  grid-template-columns: repeat(5, 1fr);
}

.gallery::-webkit-scrollbar-corner {
  background: #111; 
}
/* avatars */
.avatar {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery::-webkit-scrollbar {
  width: 10px;
}

.gallery::-webkit-scrollbar-track {
  background:  #cbe0e6;
  border-radius: 5px;
}

.gallery::-webkit-scrollbar-thumb {
  background:  #def5fa;
  border-radius: 5px;
}

.gallery::-webkit-scrollbar-thumb:hover {
  background: #b8ebeb;
}

@media (max-width: 600px) {
  .content p,
  .content ul {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 601px) and (max-width: 1200px) {
  .content p,
  .content ul {
    max-width: 650px; 
    font-size: 1rem;
  }

  .modal-content {
    width: 85%;
    max-width: 900px;
  }

  .gallery {
     grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1201px) {
  .content p,
  .content ul {
    max-width: 800px;
    font-size: 1.1rem;
  }

  .modal-content {
    width: 70%;
    max-width: 1400px;
  }

  .gallery {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

/* bg */

.blossoms {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.blossom {
  position: absolute;
  top: -10vh;
  left: 0;
  will-change: transform, margin-left;
  animation-name: blossomFall, blossomSway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

.blossom .petal {
  display: block;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.35), 0 0 12px rgba(250, 135, 212, 0.15);
  transform-origin: 50% 50%;
  animation: blossomSpin 7s ease-in-out infinite alternate;
}

@keyframes blossomFall {
  to {
    transform: translateY(120vh);
  }
}

@keyframes blossomSway {
  0%   { margin-left: 0; }
  50%  { margin-left: 18px; }
  100% { margin-left: 0; }
}

@keyframes blossomSpin {
  0%   { transform: rotate(-14deg); }
  100% { transform: rotate(14deg); }
}

@media (prefers-reduced-motion: reduce) {
  .blossom {
    animation: none !important;
    display: none;
  }
}

.petals {
      pointer-events: none;
      position: fixed;
      inset: 0;
      overflow: hidden;
      z-index: 0;
    }

    .petal {
      position: absolute;
      left: 0;
      top: 0;
      width: 22px;
      height: 22px;
      transform-origin: 50% 50%;
      opacity: 0;
      will-change: opacity, filter;
    }
    .petal-rot {
      width: 100%;
      height: 100%;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='%23f6b7cf' stroke='%23e98fb3' stroke-width='1.5'><ellipse cx='50' cy='18' rx='13' ry='20'/><ellipse cx='74' cy='34' rx='13' ry='20' transform='rotate(72 74 34)'/><ellipse cx='66' cy='66' rx='13' ry='20' transform='rotate(144 66 66)'/><ellipse cx='34' cy='66' rx='13' ry='20' transform='rotate(216 34 66)'/><ellipse cx='26' cy='34' rx='13' ry='20' transform='rotate(288 26 34)'/></g><circle cx='50' cy='50' r='6' fill='%23f7a6c4'/></svg>");
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      transform-origin: 50% 50%;
      will-change: transform;
    }
        
    @keyframes fadeInOut {
      0% { opacity: 0; }
      10% { opacity: 0.9; }
      90% { opacity: 0.9; }
      100% { opacity: 0; }
    }
    @keyframes tiltLR {
      0% { transform: rotate(calc(var(--baseRot, 0deg) - var(--amp, 4deg))); }
      50% { transform: rotate(calc(var(--baseRot, 0deg) + var(--amp, 4deg))); }
      100% { transform: rotate(calc(var(--baseRot, 0deg) - var(--amp, 4deg))); }
    }
