:root {
--highlight-color: #6610F2;
--highlight-color-2: #6044e6;
--BG-white: #faf6f0;
--highlight-color-3: #2F0A28;
} 

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 62.5% 100%;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 62.5% 100%;
    font-style: italic;
}

@font-face {
    font-family: 'ChakraPetch';
    src: url('../fonts/ChakraPetch-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Caudex';
    src: url('../fonts/Caudex-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Caudex';
    src: url('../fonts/Caudex-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
  font-size: 1.5em; 
  line-height: 1.6;
  font-weight: 400;
  font-family: "Noto Sans", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #3d3932;
  background-color: #faf6f0; }

.container {
  max-width: 1200px;
}  

.logoFont {
  font-weight: 500;
  font-family: "ChakraPetch", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fancyFont {
  font-weight: normal;
  font-family: "Caudex", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.docSection {   
    padding: 4rem 0;
    margin-bottom: 0;
}

.highlightText {
    color: var(--highlight-color-2);
    font-weight: 500;
}

.altBG {
    background: var(--highlight-color-2);
    color: var(--BG-white);
}

.altBG2 {
    background: var(--highlight-color-3);
    color: var(--BG-white);
}
.problemStatement1 .column, .problemStatement1 .columns {
    padding: 0.2rem;
    text-align: left;
}

.problemStatement1 img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.solutionStatement2 .column, .solutionStatement2 .columns {
    padding: 0.2rem;
    text-align: left;
    display: flex;
    align-items: center;
}

.solutionStatement2 img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.breachLogo{
    padding: 0.3rem;
    display: inline-block;
    vertical-align: middle;
    width:2.5rem
}
.exampleBreaches .column, .exampleBreaches .columns {
    padding: 0.2rem;
    text-align: center;
}

.problemStatement3 {
    margin-top: 2rem;
}
.problemStatement3 .column, .problemStatement3 .columns {
    padding: 0.2rem;
    text-align: center;
}

.solutionStatement {
    margin-top: 1rem;
}
.solutionStatement .column, .solutionStatement .columns {
    padding: 0.2rem;
    text-align: center;
}

.solutionProps {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.solutionProps .column, .solutionProps .columns {
    padding: 0.2rem;
    text-align: center;
}


.solutionPropImg {
    margin-bottom: 1rem;
    width: 40rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width:100%;
}

.solutionPropImgBig {
    margin-bottom: 1rem;
    width: 48rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width:100%;
}

.howItWorksStatement {
    margin-top: 1rem;
}
.howItWorksStatement .column, .howItWorksStatement .columns {
    padding: 0.2rem;
    text-align: left;
}

.UIPreviewImg {
    width: 100%; 
    max-width: 800px; 
    margin: 0 auto;
}

.button-primary {
    background-color: var(--highlight-color) !important;
    box-shadow: 0 4px 15px rgba(102, 16, 242, 0.3);
    transition: all 0.3s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 16, 242, 0.4);
}

.button-primary-top{
    font-size: 80%;
    height:100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
}

.button-primary-big{
    padding: 1rem;
    font-size: 150%;
    height:100%;
}

.expandableNoticeRow {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

summary {
    outline: 2px solid grey;
    outline-offset: 2px;
    padding: 0.5rem;
}

summary:hover {
    cursor: pointer;
    outline: 2px solid #007BFF;
}

.topLogo {
    text-align: center;
}

.topLogo h5 {
    margin: 0;
}

/* Mobile styles */
@media (max-width: 550px) {
    .topLogo {
        flex-direction: column;
        gap: 1rem;
    }
}

.timeline-container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background: #f5f5f5;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline {
    position: relative;
    flex-grow: 1;
    height: 60px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ccc;
    --playhead-position: 0%;
}

/* Add playhead indicator */
.timeline-line::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--playhead-position);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--highlight-color);
    transform: translate(-50%, -50%);
    transition: left 0.3s ease;
    z-index: 2;
}

.timeline-markers {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-marker {
    position: relative;
    padding-top: 30px;
    font-size: 0.8em;
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.year-marker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 10px;
    background-color: #ccc;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #ccc;
    background-color: white;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.timeline-icon:hover {
    transform: translateX(-50%) scale(1.4);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.year-label {
    margin-top: 20px;
    transition: color 0.3s ease, font-weight 0.3s ease;
}

.timeline-nav {
    color: var(--highlight-color);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    font-size: 1.26em; /* Reduced by 30% */
    width: 31.5px; /* Reduced by 30% */
    height: 31.5px; /* Reduced by 30% */
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(102, 16, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.timeline-nav:hover {
    color: var(--highlight-color-2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 16, 242, 0.3);
}

.breach-display {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.breach-content {
    max-width: 800px;
    margin: 0 auto;
}

.breach-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breach-headers {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.breach-values {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.breach-field label {
    font-weight: bold;
    color: #666;
}

.breach-company {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breach-company img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.breach-info {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.breach-info.transitioning {
    opacity: 0;
    transform: translateX(-20px);
}

.breach-info.transitioning-next {
    opacity: 0;
    transform: translateX(20px);
}

.comic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 2rem auto;
    max-width: 500px;
    border: 1px solid #ccc;
    background-color: #f5f5f5; /* Match timeline container background */
    padding: 1rem;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Drop shadow */
}

.comic-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.comic-nav-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 1rem;
}

.comic-nav {
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.comic-nav.prev {
    visibility: visible; /* Ensure the button is visible when enabled */
}

.comic-nav.hidden {
    visibility: hidden; /* Use a class to hide the button when necessary */
}

.comic-nav:hover {
    background-color: #e0e0e0;
}

.comic-nav:disabled {
    color: #aaa;
    box-shadow: none;
}

/* Grey out the 'Back' button on the first frame */
.comic-nav.prev:disabled {
    visibility: visible; /* Ensure the button remains visible */
    color: #aaa; /* Grey out the text */
    box-shadow: none; /* Remove shadow for disabled state */
}