:root {
    --color-white: #ffffff;
    --color-light-grey: #dddddd;
    --color-dark-grey: #282a2e;
    --color-accent: #FFD829;
}

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url("fonts/ibm-plex-sans-v8-latin_cyrillic-regular.woff2") format("woff2"),
		 url("fonts/ibm-plex-sans-v8-latin_cyrillic-regular.woff") format("woff")
}

@font-face {
	font-family: "IBM Plex Sans";
	font-style: normal;
	font-weight: bold;
	font-display: swap;
	src: url('fonts/ibm-plex-sans-v8-latin_cyrillic-700.woff2') format('woff2'),
		 url('fonts/ibm-plex-sans-v8-latin_cyrillic-700.woff') format('woff')
}

@font-face {
	font-family: "IBM Plex Mono";
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('fonts/ibm-plex-mono-v6-latin_cyrillic-regular.woff2') format('woff2'),
		 url('fonts/ibm-plex-mono-v6-latin_cyrillic-regular.woff') format('woff')
}

.shower {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 26px;
    line-height: 1.5;
    font-weight: 300;
}

.slide {
    background-color: var(--color-dark-grey);
}

.slide:after {
    height: calc(var(--ribbon-size) * 1.6);
    background-image: none;
    background-color: var(--color-white);
    color: var(--color-dark-grey);
}

.caption h1,
.slide h2,
.slide p {
    font-family: 'IBM Plex Sans', sans-serif;
}

.slide h2 {
    margin-bottom: 40px;
    color: var(--color-light-grey);
}

.slide li:not(:last-child) {
    margin-bottom: 7px;
}

.slide p,
.slide li,
.slide figcaption {
    color: var(--color-light-grey);
}

.slide figcaption {
    font-size: 22px;
    line-height: 1.4;
}

.slide mark {
    background-color: var(--color-accent);
    font-size: 28px;
}

.slide li:before {
    color: var(--color-light-grey);
}

.slide a {
    color: var(--color-accent);
}

.slide a:hover {
    color: var(--color-dark-grey);
    background-color: var(--color-light-grey);
}

.slide.shout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px var(--slide-side);
}

.slide.shout p {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 38px;
}

.slide.shout mark {
    font-size: 41px;
}

.progress:before {
    background-color: var(--color-white);
}

.slide .timeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 70%;
}

.slide .timeline-line {
    display: flex;
    width: 100%;
    height: 8px;
    background-color: var(--color-accent);
}

.slide .timeline-list {
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
}

.slide .timeline-list > .timeline-item {
    padding-top: 30px;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 0;
    list-style: none;
}

.slide .timeline-item > .timeline-date {
    font-size: 22px;
    font-weight: 600;
}

.slide .timeline-list > .timeline-item::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 50%;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    opacity: 1;
}

.vh {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}
