/* --------- COLOR PALETTE (Sunset Vibes) ----------
   Pink:      #ff6fb5
   Hot Pink:  #ff3e8e
   Purple:    #8b3dff
   DarkPurple:#3d1a78
   Sunset:    #ff9f68
   Gold:      #ffd369
-------------------------------------------------- */
/* SemiBold Italic */
@font-face {
    font-family: "RedHatDisplay-Semibold";
    src: url("photos/RedHatDisplay-SemiBoldItalic.ttf") format("truetype");
    font-weight: 600;   /* SemiBold */
    font-style: italic;
}

/* Black (regular style) */
@font-face {
    font-family: "RedHatDisplay-Black";
    src: url("photos/RedHatDisplay-Black.ttf") format("truetype");
    font-weight: 900;   /* Black */
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}
/* Scrollable sidebar with hidden scrollbar */
.sidebar {
    position: fixed;
    top: 120px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 100;

    max-height: 70vh;
    overflow-y: auto;
    padding-right: 6px;

    /* Hide scrollbar (Firefox + WebKit) */
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
    background: transparent;    /* invisible */
}

/* Fade transition for scrollbar parts */
.sidebar::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-track {
    transition: background 0.3s ease, opacity 0.3s ease;
    opacity: 0;                  /* invisible until hover */
}

/* On hover → show scrollbar */
.sidebar:hover {
    scrollbar-width: thin;       /* Firefox */
}

.sidebar:hover::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: #e26e6f;
    border-radius: 10px;
    opacity: 1;
}

.sidebar:hover::-webkit-scrollbar-thumb:hover {
    background: #c75556;
}


/* Sidebar links styled as rounded little bars */
.sidebar a {
    display: block;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid #e26e6f;
    border-radius: 25px;
    font-size: 15px;
    text-decoration: none;
    color: #9D5C63;
    font-family: 'RedHatDisplay-Black', serif;
    transition: 0.25s ease;
    backdrop-filter: blur(4px);
}

/* Hover effect */
.sidebar a:hover {
    background: #e26e6f;
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.recent-bubble {
    max-width: 700px;
    margin: 40px auto 20px auto;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #e26e6f;
    border-radius: 20px;
    padding: 18px 24px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    animation: fadePop 0.7s ease;
}

.recent-bubble p {
    font-family: "Times New Roman", serif;
    font-size: 20px;
    margin: 0;
    text-align: center;
    color: #333;
}

/* Soft pop-in animation */
@keyframes fadePop {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

