@font-face {
    font-family: 'SCV_bold';
    src: url('public/source-code-pro.bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SCV_regular';
    src: url('public/source-code-pro.regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    font-size: 3rem;
    font-family: 'SCV_regular', monospace;
    font-variation-settings: 'wght' 600;
    margin-bottom: 40px;
    color: white;
}




/* Tab container */
.tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid white;
}

/* Individual tabs */
.tab {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'SCV_regular', monospace;
    font-size: 1.2rem;
    border-right: 1px solid white;
    color: white;
}

/* Remove border on the last tab */
.tab:last-child {
    border-right: none;
}

/* Active tab highlight */
.tab.active {
    background-color: #293e4f;

}



.container {
    max-width: 100vw;
    overflow-y: auto;
    padding: 10px;
}

.item {
    display: flex;
    margin-bottom: 190px;
    margin-left: 10px;
    margin-top: 50px;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 20px;
    padding-right: 90px;
}

.item .images {
    display: flex;
    width: 90%;
    height: 50%;
    gap: 20px;
}

.item .images img {
    width: 60%;
    height: auto;
    min-height: 200px;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

.mobile-device .item .images img {
    width: 90%;
    height: auto;
}

.desktop-device .item .images img {
    width: 41%;
    height: auto;
    object-fit: cover;
}

.item .text {
    width: 30%;
    font-family: 'SCV_regular', monospace;
    font-size: 1.9rem;
    line-height: 1.4;
    padding-left: 0;
    color: white;
}

.text {
    border: 0px solid;
    padding: 16px;
    box-sizing: border-box;
    max-width: 34%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: white;
    margin: 0;
}

p {
    text-align: center;
    font-size: 1.4rem;
    font-family: 'SCV_regular', monospace;
    color: white;
    margin-bottom: 100px;
}



.intro {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    padding: 5rem 17rem; /* top/bottom: 1rem, left/right: 2rem */
    text-align: left;
}


.intro-left, .intro-right {
    flex: 1 1 45%;
    box-sizing: border-box;
}

.intro-left img {
    width: 45%;
    height: auto;
    display: block;
    margin-top: 0.5rem;
    border-radius: 10%;
}

.intro p {
    text-align: left;
    line-height: 2.7rem;
}




html, body {
    overflow-x: hidden;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}


#scrollButton {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 5%;
    height: 10%;
    background-color: #7f8fb1; /* Red */
    color: white;
    font-size: 54px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    z-index: 999;
    transition: background-color 0.3s ease;
}

#scrollButton:hover {
    background-color: #556d9e;
}

.intro-section {
    position: relative;
    width: 100%;
    height: 60vh; /* Full screen height, or adjust to your liking */
    overflow: hidden;
}

.intro-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);  /* Adjust alpha (0.4) to make video darker or lighter */
    z-index: 2;
}

.intro-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    font-size: 1.5rem;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    font-family: SCV_regular, sans-serif;

}
.hidden {
    display: none !important;
}

h2{
    text-align: center;
    color: white;
}


#historyContent {
    display: none; /* toggle this with JS */
    max-width: 50%;
    margin: 60px auto; /* vertical and horizontal centering */
    padding: 10px;
    background-color: #e5decf;
    font-family: 'SCV_regular', monospace;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

#historyContent h2 {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: bold;
    color: #222;
}

#historyContent p {
    white-space: pre-line;
    text-align: left;
    color: #333;
    font-size: 1.2rem;
    margin: 2.0rem 3.2rem 1.2rem; /* no top margin, only 1.2rem bottom */
    line-height: 1.6; /* slightly more compact */
}

.history-images {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.history-images img {
    width: 30%;
    height: auto;
    object-fit: cover;
}


.mic-btn {
    position: absolute;      /* ✨ This makes it float on top */
    top: 20px;               /* Distance from the top */
    right: 20px;             /* Distance from the right */
    font-size: 32px;
    background-color: #eee;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color 0.2s;
    z-index: 9999;           /* ✨ Ensure it's above video and overlay */
}


.mic-btn:hover {
    background-color: #ccc;
}


