html {
    font-size: 16px;
}

/* General page settings */

body {
    max-width: 1800px;
    margin: 0 auto;
    padding: 2rem;

    background-color: #2F2828;
    color: #8FBC8F;

    font-family: "Fira Code", monospace;
    font-size: 0.80rem;
    font-weight: normal;
    line-height: 1.5;
}

.text {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.two-text {
    display: flex;
    gap: 40px;
}

.two-text > div {
    flex: 1;
}

/* navigation layout */
 
 nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
 }

 .series-nav ul {
     position: fixed;
     bottom: 2rem;
     left: 2rem;

     display: flex;
     flex-direction: column;
     gap: o.5rem;
 }
/* Headings */

h1 {
    color: #808080;
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    margin-top: 2rem;
}

h2 {
    color: #808080;
    font-size: 1rem;
    font-weight: normal;
    text-align: left;
    margin-top: 1rem;
}

h3 {
    color: #808080;
    font-size: 0.80rem;
    font-weight: normal;
    text-align: center;
    margin-top: 1rem;
}

/* Paragraphs */

{
    text-align: center;
    margin-bottom: 1rem;
}

.split-section {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.split-section .text,
.split-section .image {
    flex: 1;
}

.split-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

/* Images */

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.columns {
    display: flex;
    gap: 20px;
    width: 100%;
    margin: 0 auto;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.column img {
    width: 450px;
    height:300px;
    aspect-ratio: 1.5 / 1;
    object-fit: cover;    /* crops images to fill the square */ 
    display: block;
}

/* Links */

a {
    color: #7a2d1b;
    text-decoration: none;
    text-align: center;
}

a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }

    .split-section {
        flex-direction: column;
    }

    .split-section.reverse {
        flex-direction :column;
    }
}
