
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    padding-bottom: 60px;
}

.body-text {
    font-family: 'Vend Sans', sans-serif;
    font-weight: 350;
    color: black;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: rgb(23, 61, 245);
}

a:visited {
    color: black;
}

table, td {
    border: 1px solid black;
    border-collapse: collapse;
}

td {
    padding: 15px;
    width: 250px;
    text-align: left;
}

td a:hover {
    color: rgb(23, 61, 245);
}

.td-bottom {
    text-align: center;
    cursor: pointer;
}

.td-bottom-documentary {
    background-color: rgb(23, 61, 245);
    display: block;
    text-align: center;
    color: white !important;
    padding: 15px;
}

.td-bottom-documentary:hover {
    color: white !important;
    padding: 30px;
    margin: -15px;
}

.main-table {
    position: relative;
    top: 80px;
    display: flex;
    justify-content: center;
    margin-bottom: 200px;
}

.header {
    font-family: 'Vend Sans', sans-serif;
    font-weight: 350;
    font-size: 20px;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1500;
    border-bottom: 1px solid rgb(23, 61, 245);
}

.header-link {
    position: absolute;
    right: 20px;
    color: rgb(23, 61, 245);
    text-decoration: none;

}

.header-link:visited {
    color: rgb(23, 61, 245);
}

.icon {
    color: black;
    position: absolute;
    left: 10px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2001;
    pointer-events: auto;
}

.navbar {
    position: fixed;
    background-color: white;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    overflow: hidden;
    transition: left 0.3s ease;
    padding-top: 90px;
    padding-left: 20px;
    font-family: 'Vend Sans', sans-serif;
    font-size: 17px;
    z-index: 1000;
}

.navbar a {
    display: block;
}

.navbar a:hover {
    color: rgb(23, 61, 245);
}

.navbar.open {
    left: 0;
    border-right: 1px solid rgb(23, 61, 245);
}

.navbar-header {
    color: rgb(23, 61, 245);
}

.written-content {
    font-family: 'Vend Sans', sans-serif;
    position: relative;
    text-align: left;
    display: block;
    max-width: 700px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;

}
.written-content .title{
    padding-left: 10px;
    padding: 10px;
    border: 1px solid rgb(23, 61, 245);
    font-weight: normal;
    font-size: 17px;

}
.written-content-image-wrap {
    position: relative;
    width: 100%;
    margin: 20px auto 40px auto;
}

.written-content-image-wrap img {
    width: 100%;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    color: black;
    font-family: 'Vend Sans', sans-serif;
    font-size: 12px;
    padding: 6px 10px;
    margin: 0;
}

.written-content a {
    color: rgb(23, 61, 245);
    font-style: italic;
}
.written-content a:hover {
    color: white;
    background-color: rgb(23, 61, 245);
}

.written-content .body-text{
    max-width: 650px !important;
    margin-bottom: 40px;
}
.footer {
    font-family: 'Vend Sans', sans-serif;
    font-weight: 350;
    font-size: 14px;
    background-color: white;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 17px;
    border-top: 1px solid rgb(23, 61, 245);
}
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.image-overlay img {
    max-width: 90%;
    max-height: 90%;
    animation: slideIn 0.3s ease;

}

.image-overlay.active {
    display: flex;
}

.timeline-preview-link {
    display: block;
    text-decoration: none;
}

.timeline-preview-wrap {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgb(23, 61, 245);
    cursor: pointer;
    margin-bottom: 100px;

}

.timeline-preview-frame {
    position: absolute;
    width: 1400px;
    height: 900px;
    border: none;
    transform: scale(0.75);
    transform-origin: top left;
    pointer-events: none;
    top: -145px; /*;    i-frame position*/
    left: 300px;
}

.timeline-preview-overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.lang-toggle {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 40px;
    justify-content: flex-start;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.lang-btn {
    background: none;
    border: 1px solid rgb(23, 61, 245);
    color: black;
    font-family: 'Vend Sans', sans-serif;
    font-size: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.lang-btn:hover {
    background-color: rgb(23, 61, 245);
    color: white;
}

.lang-btn.active {
    background-color: rgb(23, 61, 245);
    color: white;
}


