h1 {
  font-family: 'Birds of Paradise', serif;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
}

h3 {
  font-family: 'PT Serif', serif;
}

body, nav, .footer, .left-sidebar {
  font-family: 'Libre Baskerville', serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    background-image: url('/backgrounds/quilt.jpg');
    background-position: center;
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
}



body.fullscreen {
    overflow: hidden;
}



.footer a {
  color: #6C524B;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
}

/* Keep underlines for all links */
a {
  text-decoration: underline;
}

.container {
    width: 90vw;
    margin-top: 0px;
    max-width: 1200px;
    height: 95vh;
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 10px solid #EDB9C8;
    border-radius: 20px;
}

.header-img {
    width: 100%;
    height: 250px; /* Reduced from 300px */
    background-image: url('/headers/sad-deer.png');
    background-size: cover;
    background-position: center bottom; /* Changed from center to center bottom */
    background-repeat: no-repeat;
    object-fit: cover;
    border-radius: 13px 13px 0px 0px;
    border: 0px solid #EEBAC9;
}

.marquee {
    padding: 1vh;
    text-align: center;
    height: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    display: grid;
    grid-template-columns: 190px 1fr 260px;
    flex: 1;
    min-height: 0;
}

.left-sidebar {
    display: flex;
    flex-direction: column;
    padding: 1vh;
}

.blog-button {
    padding: 1vh;
    text-align: center;
    background-color: #F6D8E0;
    border-radius: 12px;
    text-decoration: none;
    color: #3f2b23;
}

.blog-button:hover {
  transform: translateY(2px); /* Move it down slightly */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Smaller shadow */
  background-color: #e098ac;
}

.recent-box {
    padding: 1vh;
    flex: 1;
    overflow-y: auto;
    max-height: 45vh;
}

.recent-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #6C524B;
    font-size: 14px;
    text-align: center;
}

.post-preview {
    margin-bottom: 8px;
    font-size: 12px;
    border-bottom: 1px dotted #EDB9C8;
    padding-bottom: 5px;
}

.post-preview p {
    margin: 0;
}

.post-preview a {
    color: #6C524B;
    text-decoration: none;
}

.post-preview a:hover {
    color: #e098ac;
    text-decoration: underline;
}

.post-preview small {
    color: #999;
    font-size: 10px;
}

.image-box {
    height: 15vh;
    background-image: url('https://i.pinimg.com/736x/85/dd/c8/85ddc886c44d8ed06c3cd23e9c2eb2ad.jpg');
    background-size: cover; /* or "contain" */
    background-position: center;
}

.main-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.content-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}



.right-sidebar {
    display: flex;
    flex-direction: column;
    border: none;
    flex: 1;
    overflow: hidden;
}

.guestbook-title {
    font-weight: bold;
    text-align: center;
}

.guestbook-frame {
    flex: 1;
    width: 100%;
    border: none;
    overflow: hidden;
}

.footer {
    padding: 1vh;
    text-align: center;
    height: 1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.audio-player {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
}

.controls {
    display: flex;
    align-items: center;
    margin-right: 8px;
    min-width: 80px;
}

.control-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 0;
    margin: 0 3px;
    height: 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.play-pause {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #EEBAC9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #000;
    padding: 0;
    margin-left: 3px;
    position: relative;
}

.favorite-popup {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #3f2b23;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    margin-bottom: 8px;
    z-index: 1000;
    border: 1px solid #EDB9C8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.favorite-popup.show {
    opacity: 1;
    visibility: visible;
}

.track-scroll-container {
    overflow: hidden;
    width: 150px;
    white-space: nowrap;
    position: relative;
}

.track-scroll {
    display: inline-block;
    animation: scrollText 15s linear infinite;
    animation-play-state: running;
    font-size: 12px;
    padding-left: 100%;
}

@keyframes scrollText {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.track-title {
    font-weight: bold;
    color: #333;
}

.track-artist {
    font-weight: normal;
    color: #666;
    margin-left: 5px;
}

.progress-wrap {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 8px;
    height: 100%;
}

.progress-container {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    background: #EEBAC9;
    border-radius: 2px;
    width: 0%;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 8px;
    color: #555;
    margin-top: 1px;
}

.track-scroll-container:hover .track-scroll {
    animation-play-state: paused;
}

@media (max-width: 1024px) {
    body {
        align-items: flex-start;
        padding: 2vh 0;
    }

    .container {
        height: auto;
        min-height: auto;
    }

    .main-content {
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    .main-section {
        order: 3;
        height: 50vh;
    }

    .left-sidebar {
        order: 2;
    }

    .right-sidebar {
        order: 4;
        height: 50vh;
    }

    .left-sidebar,
    .main-section,
    .right-sidebar {
        width: auto;
    }

    .recent-box,
    .status-update,
    .guestbook {
        height: 15vh;
        flex: none;
    }

    .image-box {
        height: 20vh;
    }
}

 