video#waveformbg {
    background: url('images/waveformbg.png') no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    overflow: hidden;
}

video#portraitslide {
    background: url('images/portraitslide.png') no-repeat;
    display: block;
    margin: 25vh 0 0 3vh;
    width: 100vh;
    height: 50vh;
    max-height: 80vh;
    box-sizing: border-box;
}

pre#soundgrrl {
    position: absolute;
    font-family: monospace;
    font-size: clamp(0.5rem, 0.833vw, 1.5rem);
    padding: 0 20ch;
    top: 15vh;
    color: #ffffff;
}

pre#naomivideologo {
    position: absolute;
    font-family: monospace;
    padding: 0 150ch;
    top: 23vh;
    color: #ffffff;
    font-size: clamp(0.4rem, 0.667vw, 1.2rem);
    
}

pre#watch {
    position: absolute;
    font-family: monospace;
    left: 180ch;
    top: 80vh;
    color: #ffffff;
    font-size: clamp(0.5rem, 0.833vw, 1.5rem);
    width: fit-content;
}

pre#book {
    position: absolute;
    font-family: monospace;
    left: 154ch;
    top: 80vh;
    color: #ffffff;
    font-size: clamp(0.5rem, 0.833vw, 1.5rem);
    width: fit-content;
}

pre#about {
    position: absolute;
    font-family: monospace;
    left: 124ch;
    top: 80vh;
    color: #ffffff;
    font-size: clamp(0.5rem, 0.833vw, 1.5rem);
    width: fit-content;
}

pre#watch:hover,
pre#book:hover,
pre#about:hover {
    color: #ffff00;
    text-shadow: 0 0 0px #ffff00, 0 0 0px #ffff00, 0 0 2px #ffff00;
}


@media (max-width: 768px) {
    video#waveformbg {
        background-size: cover;
        width: 100vw;
        height: 100vh;
    }

    video#portraitslide {
        margin: 10vh auto;
        width: 60vw;
        height: auto;
        max-height: 60vh;
    }

    pre#soundgrrl {
        font-size: 0.3rem;
        padding: 0 12ch;
        top: 4vh;
    }

    pre#naomivideologo {
        font-size: 0.34rem;
        padding: 0 0ch;
        top: 54vh;
    }

    pre#watch {
        font-size: 0.5rem;
        left: 0;
        padding: 0 12ch;
        top: 68vh;
    }

    pre#book {
        font-size: 0.5rem;
        left: 0;
        padding: 0 12ch;
        top: 78vh;
    }

    pre#about {
        font-size: 0.5rem;
        left: 0;
        padding: 0 12ch;
        top: 88vh;
    }

    p {
        font-size: 1.1rem;
        width: 100%;
        padding: 0 1em;
    }

    img#about-pic {
        max-width: 90%;
    }

    h2#kit-heading {
        font-size: 1.5rem;
    }

    table#work-experience {
        display: block;
        font-size: 0.8rem;
        line-height: 1.3;
        width: 100%;
        max-width: 100%;
        margin: 1em 0;
    }

    table#work-experience caption {
        font-size: 0.75rem;
    }

    table#work-experience thead {
        display: none;
    }

    table#work-experience tbody {
        display: block;
    }

    table#work-experience tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5em;
        margin-bottom: 0.75em;
        padding: 0.5em;
    }

    table#work-experience th,
    table#work-experience td {
        display: block;
        border: none;
        padding: 0.15em;
        white-space: normal;
        overflow-wrap: break-word;
    }

    ul#kit-list {
        font-size: 1rem;
        width: 90%;
        padding-left: 1.5em;
    }

    a#about-watch-link {
        font-size: 1.2rem;
    }
}



/* About page */

body#about-body {
    background: url('images/infostars3.gif') no-repeat center center;
    background-repeat: repeat;
    background-size: auto;
    font-family: 'VT323', monospace;
    color: #FFBF00;
}

p {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 70ch;
    width: 100%;
    margin: 1em auto;
    padding: 0 1em;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

img#about-pic {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 1.5em auto;
    border: 2px solid #FFBF00;
}

h2#kit-heading {
    font-size: 2rem;
    text-align: center;
    margin-top: 2em;
}

table#work-experience {
    border-collapse: collapse;
    margin: 2em auto;
    max-width: 90vw;
    font-size: 1.25rem;
}

table#work-experience caption {
    caption-side: top;
    font-size: 1.5rem;
    margin-bottom: 0.5em;
}

table#work-experience th,
table#work-experience td {
    border: 1px solid #FFBF00;
    padding: 0.4em 0.8em;
    text-align: left;
}

table#work-experience a {
    color: #ffffff;
}

a#about-watch-link {
    display: block;
    width: fit-content;
    margin: 2em auto;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: #FFBF00;
    text-decoration: none;
    border: 2px solid #FFBF00;
    padding: 0.4em 1em;
}

a#about-watch-link:hover {
    color: #000;
    background-color: #FFBF00;
}

ul#kit-list {
    max-width: 60ch;
    margin: 1em auto;
    font-size: 1.25rem;
    list-style: square;
}


/* Book page */

body#book-body {
    background-color: #000;
    font-family: 'VT323', monospace;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    box-sizing: border-box;
}

pre#contact-me {
    font-family: monospace;
    color: #ffffff;
    text-align: center;
    overflow-x: auto;
}

table#contact-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75em;
    margin: 1em auto;
    width: fit-content;
}

table#contact-table tbody {
    display: contents;
}

table#contact-table tr {
    display: contents;
}

table#contact-table td {
    padding: 0;
    text-align: center;
}

table#contact-table a {
    font-family: 'VT323', monospace;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
}

table#contact-table a:hover {
    color: #ffffff;
}

@media (max-width: 768px) {
    pre#contact-me {
        font-size: 0.54rem;
        width: 100%;
        margin: 0 auto;
    }

    table#contact-table {
        flex-direction: column;
        align-items: center;
        gap: 0.5em;
        width: 90%;
        max-width: 100%;
        margin: 1em auto;
    }

    table#contact-table a {
        font-size: 1.5rem;
    }
}

