:root {
    --main-color : #b40000;
    --second-color: #dec6c6;
    --white-space: #000;
    --font-color: #fff;

    --red:#b40000;
    --green: #2ad200;
    --blue: #007ac6;
    --yellow: #ccd300;
    --white: #fff;

    --font-3xl: 40px;
    --font-xxl: 35px;
    --font-xl: 30px;
    --font-lg: 25px;
    --font-md: 20px;
    --font-sm: 16px;
    --font-xs: 14px;
    --font-xxs: 12px;
    --font-3xs: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    font-size: inherit;
    color: inherit;
    text-decoration: none;
}

body {
    background-color: var(--white-space);
    color: var(--font-color);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
}

main {
    margin-top: 10vh;
    width: 100vw;
    min-height: 100vh; /* Changed from fixed height */
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5vh 5vw;
}

section {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
    width: 60vw;
    min-height: 89vh; /* Changed from fixed height */
    padding: 0px 2vw;
}

section h1 {
    font-size: var(--font-3xl);
}

section h2 {
    font-size: var(--font-xl);
}

section ol li {
    font-size: var(--font-md);
}

.important {
    text-decoration: underline;
    color: #9b592c;
    font-size: larger;
}

.cover {
    width: 100vw;
    height: 100vh;
    display: flex;
    gap: 0;
    position: fixed; /* Changed from absolute to fixed */
    top: 0;
    z-index: 5;
}

.cover > img {
    width: 50vw;
    min-width: 50vw;
    height: 100vh;
    transition: transform 2s cubic-bezier(0.92, 0, 0.2, 1.51), filter 0.5s;
    transform: none;
}

@media screen and (max-width: 450px){
    section {
        width: 90vw;
    }
    section h1 {
        font-size: var(--font-lg);
    }
    section ol li {
        font-size: var(--font-xs) !important;
    }
}

@media screen and (max-width: 600px){
    section {
        width: 80vw;
    }
    section h1 {
        font-size: var(--font-xl);
    }
    section ol li {
        font-size: var(--font-sm);
    }
}

@media screen and (max-width: 800px){
    section {
        width: 70vw;
        padding: 0px 4vw;
    }
}
