* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: monospace, Arial, Helvetica, sans-serif;
scrollbar-width: thin;
  scrollbar-color: #6B4984 transparent;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:#080A14;
    display:flex;
    justify-content:center;
    align-items:center;
    height:85vh;
}

/* page container */
.page{
    position:relative;
}

.about-title h2{
position: absolute;

  right: 510px;  
  bottom: 340px; 

color:white;
font-size:30px;
}

.contact-title h2{
position: absolute;

  right: 480px;  
  bottom: 340px; 

color:white;
font-size:30px;
}

.comms-title h2{
position: absolute;

  right: 414px;  
  bottom: 340px; 

color:white;
font-size:30px;
}

.tos-title h2{
position: absolute;

  right: 545px;  
  bottom: 340px; 

color:white;
font-size:30px;
}

/* CARD */

.card{
    width:600px;
    height:340px;
    background:white;
    border-radius:5px;
    box-shadow:0 5px 10px rgba(0,0,0,0.4);
    position:relative;
    z-index:2;
    overflow:hidden;
}

/* banner */

.banner{
    height:120px;
    background-image:url("banner.jpg");
    background-size:cover;
    background-position:center;

    position:relative;
}

.logo{
    position:absolute;
    left:15px;
    top:33px;

    height:60px;
    width:auto;
}

/*.banner h1{
    position:absolute;
    left:15px;
    top:15px;

    margin:0;
margin-top: 30px;
    color:white;
    font-size:34px;
}*/

/* content */

.content{
    display:flex;
    align-items:center;
    padding:25px;
    gap:20px;
}

/* profile image */

.profile{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
}

/* text */

.text{
    flex:1;
}

/* socials */

.socials{
    margin-top:10px;
    padding:20px;
    border-top:1px solid #eee;
}

.socials a{
    margin-right:10px;
    padding:8px 14px;
    background:#473273;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-size:14px;
}

.socials a:hover{
    background:#6A4884;
}

/* SIDE NAV */

.side-nav{
    position:absolute;
    left:-130px;
    top:68%;
    transform:translateY(-50%);
    display:flex;
    flex-direction:column;
    gap:10px;
    z-index:1;
}

.side-nav a{
    width:150px;
    padding:8px 10px;
    background:#6A4884;
    color:white;
    text-decoration:none;
    font-size:13px;

    border-radius:6px 0 0 6px;

    transition:all 0.25s ease;
    transform:translateX(30px);
}

/* hover animation */

.side-nav a:hover{
    transform:translateX(0px);
    background:#8662A1;
}

/* updates box */

.updates-box{
    position:absolute;
    top:100%;
    left:0;

margin-left:20px;

    width:260px;

    background:white;
    padding:15px;

    border-radius:0 0 8px 8px;

    box-shadow:0 10px 25px rgba(0,0,0,0.35);

    margin-top:0;
}

/* title */

.updates-box h3{
    font-size:14px;
    margin-bottom:10px;
}

/* update entries */

.updates-box p{
    font-size:13px;
    margin-bottom:6px;
}

.mascot {
  position: absolute;

  right: -30px;  
  bottom: -80px; 

  width: 45%; 
  height: auto;

  z-index: 10;

pointer-events: auto;

will-change: transform;

  animation: floatX 3s ease-in-out infinite alternate,
             floatY 2.7s ease-in-out infinite alternate,
             tilt 3s ease-in-out infinite alternate;
             breathe 4s ease-in-out infinite alternate;
}


@keyframes floatX {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-10px); }
}

@keyframes floatY {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes tilt {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-4deg); }
}

@keyframes breathe {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); } 
  100% { transform: scale(1); }
}

/* ABOUT CARD */

.about-card{
    width:600px;
    height:340px;
    padding:25px;
}

/* about text container */

.about-content{
    height:100%;
    overflow-y:auto;
    padding-right:10px;
    font-size:14px;
    line-height:1.6;
}

/* profile icon */

.about-profile{
    float:right;
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;

    margin-left:20px;
    margin-bottom:10px;
}

.mail-button {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  background: #6B4984;
  color: white;
  border: 1px solid #473273;
  font-weight: bold;
  text-decoration: none;
  margin-top: 8px;

transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;

box-shadow: 3px 4px 0 rgba(0,0,0,0.25);
}

.mail-button:hover {
  background: #be9cd6;
transform: translateY(-2px);
  
}

.mail-button::before,
.mail-button::after {
  content: "✦";
  position: absolute;
  font-size: 16px;
  color: #fff;
  text-shadow: 0 0 1px rgba(0,0,255,0.9);
  opacity: 0;
  pointer-events: none;
}

.mail-button:hover::before {
  left: -4px;
  top: -4px;
  opacity: 1;
  animation: sparkle 0.9s ease-in-out infinite;
}

.mail-button:hover::after {
  right: -3px;
  bottom: -3px;
  opacity: 1;
  animation: sparkle 0.9s ease-in-out infinite;
}

@keyframes sparkle {
  0% {
    transform: translateY(0) scale(0.8);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10px) scale(1.15);
    opacity: 0;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);  
  gap: 15px;        
  margin-top: 20px;
  margin-bottom: 25px;
}

.gallery-grid img {
  width: 100%;     
  height: 150px;  
  object-fit: cover; 
  border: 1px solid #ccc;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.lightbox {
  display: none;  
  position: fixed;
  inset: 0;    
  background: rgba(0,0,0,0.8);

  justify-content: center;
  align-items: center;

  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 1px solid #ccc;
}
