/* Common styles for all k6 Workshop slide decks */
.reveal {
    font-size: 1.8em;
}

.reveal .slides section {
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.reveal pre {
    margin: 0 auto;
    box-shadow: none;
    width: 95%;
    max-width: 950px;
}

.reveal pre code {
    padding: 25px;
    max-height: 550px;
    line-height: 1.4;
    font-size: 1.5em;
    border-radius: 8px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    overflow-x: auto;
    white-space: pre;
}

.two-column {
    display: flex;
    justify-content: space-between;
}

.two-column .left {
    width: 48%;
}

.two-column .right {
    width: 48%;
}

.reveal .smaller-text {
    font-size: 1.0em;
}

.reveal .smallest-text {
    font-size: 0.9em;
}

.reveal h1 {
    font-size: 2.7em;
}

.reveal h2 {
    font-size: 2.0em;
}

.reveal h3 {
    font-size: 1.5em;
}

/* k6/Grafana logo in the lower left corner */
.grafana-logo {
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    z-index: 1000;
    opacity: 0.8;
    background: none;
}

.reveal ul, .reveal ol {
    display: block;
    line-height: 1.3;
    font-size: 1.3em;
}

.reveal ul li, .reveal ol li {
    margin-bottom: 0.2em;
}

.reveal ul ul, .reveal ol ol, .reveal ul ol, .reveal ol ul {
    margin-top: 8px;
    font-size: 0.9em;
}

.reveal img.border {
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.reveal .slide-background.light-bg {
    background-color: #f8f9fa !important;
}

.light-bg-slide {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    color: #333;
    width: 95%;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.light-bg-slide img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.dense-content ul {
    font-size: 0.85em !important;
    line-height: 1.3 !important;
}

.dense-content ul li {
    margin-bottom: 0.25em;
}

.dense-content pre code {
    font-size: 1.3em !important;
}

.reveal pre code.yaml {
    font-size: 1.4em !important;
}

.reveal pre.smaller-code code {
    font-size: 0.7em !important;
}

.reveal pre.long-code {
    width: 100%;
    max-width: 1000px;
}

.reveal pre.long-code code {
    font-size: 1.4em;
    word-wrap: break-word;
}

.reveal .highlight {
    color: #ffcc00;
    font-weight: bold;
}

.reveal a {
    color: #42affa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.reveal a:hover {
    color: #8dcffc;
    text-shadow: 0 0 10px rgba(66, 175, 250, 0.5);
}

.reveal pre {
    width: 100%;
    max-width: 1100px;
    margin: 1em auto;
    padding: 1em 1.5em;
    background: #2d2d2d;
    border-radius: 8px;
    box-shadow: none;
    overflow: visible !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.reveal pre::-webkit-scrollbar {
    display: none;
}

.reveal pre code {
    display: block;
    width: 100%;
    font-size: 1.4em;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}
