/* HTML: <div class="ribbon">Your text content</div> */
#picture-frame .ribbon {
    color: #ffffff;
  }
  
#picture-frame .ribbon:hover {
    transform: scale(1.05);
    animation: none;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
    font-weight: bold;
    color: #fff;
    
    position: absolute;
    
    margin: 0 auto;
  }
.ribbon {
    --r: .9em;
    border-inline: .5em solid #0000;
    padding: .5em .2em calc(var(--r) + .2em);
    clip-path: polygon(0 0,100% 0,100% 67%,calc(100% - .5em) calc(100% - var(--r)),50% 100%,.5em calc(100% - var(--r)),0 67%);
    background: radial-gradient(50% .2em at top,#000a,#0000) border-box,
    #213447 padding-box;
}

.back-to-top {
    display: none;
}
.back-to-top.show {
    display: block;
}
body .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #068ed9;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 2;
}
.back-to-top:hover {
    opacity: 1;
}

#bio-button {
    display: inline-block;
    margin-bottom: 1rem;
    cursor: pointer;
    background: linear-gradient(-45deg, #213447 40%, #294a6a 50%, #213447 60%);
    background-size: 300%;
    background-position-x: 100%;
    animation: shimmer 1s infinite linear;
    text-decoration: none;
}

@keyframes shimmer {
    to {
       background-position-x: 0%
    }
 }

#bio-row {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    background-color: #0f2337;
    padding: 0 1rem;
}

/* #bio-row.open {
    We’ll set max-height dynamically in JS
}*/

