.quotes-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100vw; /* Extend to cover the entire viewport width */
    height: 100vh; /* Extend to cover the entire viewport height */
    margin: 0; /* Remove auto margin to cover the full screen */
    padding: 20px;
    box-sizing: border-box;
    background-color: #000;
}

.quote-column {
    flex: 1; /* Use flex: 1 to distribute space evenly */
    height: 100%; /* Extend to cover the full height of the container */
    overflow: hidden;
    background-color: #000;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 0 15px;
}

.quote-list {
    animation: scrollUp 180s linear infinite;
    padding-right: 15px;
}

.quote-list:hover {
    animation-play-state: paused;
}

.quote-list blockquote {
    border-left: 3px solid #c999ff;
    padding-left: 15px;
    margin: 15px 0;
    color: #e0e0e0;
}

.quote-list p {
    margin: 10px 0;
}

.quote-list em {
    display: block;
    text-align: right;
    color: #c999ff;
    font-style: italic;
    margin-top: 5px;
    font-size: 0.9em;
} 

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Ensure proper markdown blockquote styling */
blockquote {
    margin: 0;
    padding: 10px 0;
}

blockquote p {
    margin: 0;
    line-height: 1.5;
}

/* Scroll controls */
.scroll-controls {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.scroll-button {
    background: #c999ff;
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-button:hover {
    opacity: 1;
} 

/* Table styling */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: #000;
    color: #e0e0e0;
    border: 1px solid #333;
} 

td {
    padding: 12px;
    text-align: left;
    border: 1px solid #333;
    vertical-align: top;
    line-height: 1.6;
}

td:first-child {
    color: #c999ff;
}

/* Table container */
.table-section {
    margin: 40px 0;
    padding: 0 20px;
}

/* External quotes section */
.external-quotes {
    padding: 20px;
    margin-top: 40px;
    width: 100%;
}

.external-quotes h2 {
    color: #c999ff;
    margin-bottom: 20px;
    text-align: center;
}

.quote-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Exactly three columns */
    gap: 20px;
    width: 100%;
}

.quote-card {
    position: relative;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
    height: 500px;
}

.quote-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.card-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10; 
}

.external-link-button {
    background: #c999ff;
    color: #000;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.external-link-button:hover {
    opacity: 1;
}
