/* --------------------------------------------------
Light normalize (modern, minimal)
-------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: arial, helvetica;
    color: rgba(0, 0, 0, 0.5);
}

img {
    max-width: 100%;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
}

/* --------------------------------------------------
Base typography
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: normal;
    color: #444;
}

p {
    margin: 0;
    font-size: 3em;
}

/* --------------------------------------------------
Layout helpers
-------------------------------------------------- */
.wrap {
    width: 960px;
    margin: 0 auto;
    position: relative;
}

/* --------------------------------------------------
Section layout (fullPage.js)
-------------------------------------------------- */
.section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
}

.section p,
.intro p {
    color: #fff;
}

.intro p {
    width: 50%;
    margin: 0 auto;
    font-size: 2em;
}

/* --------------------------------------------------
Top menu
-------------------------------------------------- */
#menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 70;
    width: 100%;
    height: 40px;
}

#menu li {
    display: inline-block;
    margin: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

#menu li:hover {
    background: rgba(255, 255, 255, 0.8);
}

#menu li a {
    display: block;
    padding: 9px 18px;
    color: #000;
}

#menu li.active {
    background: rgba(0, 0, 0, 0.5);
}

#menu li.active a {
    color: #fff;
}

#menu li.active a:hover {
    color: #000;
}

/* --------------------------------------------------
Bottom info menu
-------------------------------------------------- */
#infoMenu {
    position: fixed;
    bottom: 0;
    z-index: 70;
    width: 100%;
    height: 20px;
    padding: 8px 0;
    font-size: 0.9em;
    text-align: right;
    color: #f2f2f2;
}

#infoMenu ul {
    padding: 0 40px;
}

#infoMenu li {
    display: inline-block;
    position: relative;
}

#infoMenu li a {
    display: block;
    margin-right: 22px;
    color: #fff;
}

#infoMenu li a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------
Examples dropdown
-------------------------------------------------- */
#examplesList {
    display: none;
    position: absolute;
    bottom: 29px;
    right: 0;
    width: 822px;
    padding: 20px;
    background: #282828;
    border-radius: 6px;
    text-align: left;
}

#examplesList ul li {
    margin: 5px 0;
}

#examplesList ul li a {
    color: #bdbdbd;
}

#examplesList ul li a:hover {
    color: #f2f2f2;
}

#examplesList .column {
    float: left;
    margin-right: 20px;
}

#examplesList h3 {
    margin-bottom: 15px;
    padding-bottom: 5px;
    font-size: 1.2em;
    color: #f2f2f2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------
Buttons
-------------------------------------------------- */
#download a {
    text-decoration: none;
}

#download,
#download:hover {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.button {
    display: inline-block;
    margin-top: 20px;
}

.button a {
    display: inline-block;
    padding: 15px 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.button a:hover {
    background: #fff;
    color: #316f68;
}

/* --------------------------------------------------
Preview extensions menu
-------------------------------------------------- */
.preview-extensions-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.8);
}

.preview-extensions-menu li {
    display: inline-block;
}

.preview-extensions-menu li a {
    display: block;
    padding: 15px 25px;
}

.preview-buy-extension {
    background: #3cc63c;
}

.preview-buy-extension:hover {
    background: #1a961a;
}

.preview-buy-extension a {
    color: #fff;
}

.preview-more-extensions {
    background: #fff;
}

.preview-more-extensions a {
    color: #333;
}

/* --------------------------------------------------
Code block
-------------------------------------------------- */
.code {
    background: rgba(255, 255, 255, 0.7);
    padding: 0 5px;
    line-height: 25px;
}

/* --------------------------------------------------
Section backgrounds
-------------------------------------------------- */
#section0,
#section2,
#section4,
#section6 {
    background-image: linear-gradient(128deg, #0c0f1b, #1a2035);
}

#section1,
#section3,
#section5 {
    background-image: linear-gradient(128deg, #1a2340, #2e3b5c);
}

/* --------------------------------------------------
Responsive slide scale (Keynote-style)
-------------------------------------------------- */
:root {
    --slide-scale: 1;
}

/* Large desktops */
@media (max-width: 1400px) {
    :root {
        --slide-scale: 0.9;
    }
}

/* Laptops */
@media (max-width: 1100px) {
    :root {
        --slide-scale: 0.8;
    }
}

/* Tablets */
@media (max-width: 800px) {
    :root {
        --slide-scale: 0.7;
    }
}

/* --------------------------------------------------
Slide system
-------------------------------------------------- */
.slide-canvas {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.slide-title {
    font-size: calc(113px * var(--slide-scale));
    font-weight: 600;
    margin-bottom: 0.6em;
    text-align: center;
    color: #f2f2f2;
}

ul.keynote-list {
    font-size: calc(64px * var(--slide-scale));
    line-height: 1.35;
    list-style: disc outside;
    padding-left: 1.2em;
    margin: 0;
    text-align: left;
    color: #f2f2f2;
}

ul.keynote-list li {
    margin-bottom: 0.6em;
}

/* --------------------------------------------------
Book covers
-------------------------------------------------- */
.book-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.book-container img {
    max-width: 120px;
    height: auto;
}
