/*  CSS Reset */
body, footer, header, h1, h2, h3, nav, ul, li, div, img, figure
{
    margin: 0;
    padding: 0;
    border: 0;
}

/* Variables (Light Mode) */
:root
{
    /* Body - background */
    --bs-body-bg: #f4f4f4;
    --bs-body-bg-rgb: 244, 244, 244;

    /* Primary Brand: background */
    --bs-primary: #b3adeb;
    --bs-primary-rgb: 179, 173, 235;

    /* Secondary Brand: background and accent color */
    --bs-secondary: #EBB3AD;
    --bs-secondary-rgb: 235, 179, 173;
    --bs-tertiary-bg: #adebb3;
    --bs-tertiary-bg-rgb: 173, 235, 179;

    /* Text: main, emphasis, muted */
    --bs-body-color: #1a1a1a;
    --bs-body-color-rgb: 26, 26, 26;
    --bs-emphasis-color: #000;
    --bs-emphasis-color: 0, 0, 0;
    --bs-secondary-color: #555555;
    --bs-secondary-color-rgb: 85, 85, 85;

    /* Text for use on primary color background */
    --bs-light: #F4F4F4;
    --bs-light-rgb: 244, 244, 244;
}

/* Use Box Sizing */
*
{
    box-sizing: border-box;
    /* Apply JetBrains Mono to all text */
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* All Primary Buttons use Primary Colors */
.btn-primary
{
    --bs-btn-color: var(--bs-light);
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-tertiary-bg);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-border-color: var(--bs-tertiary-bg);

}

/* Style rules for nav area */
nav ul 
{
    list-style-type: none;
    text-align: left;
    padding: 0.5em;
}

.nav-item a
{
    text-align: left;
    text-decoration: none;
}

/* Links change color when hovered over */
a:hover
{
    color: var(--bs-primary);
}

/* Style rules for body */
body
{
    background-image: url(/images/snowflake-bg.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: normal;
    padding: 0;
}

body div
{
    padding: 0.1em 0.5em;
}

/* Style rules for main */
main
{
    padding-bottom: 1em;
}

/* Style rules for hero image */
#hero-image
{
    padding: 0.5em;
    margin: 0.25em;
    border: 0.25em;
}

#hero-image img
{
    display: block;
    width: 100%;
    height: 100%;
}

/* Style rules for intro */
#intro
{
    column-gap: 0.5em;
    padding: 0.5em;
    margin: 0.25em;
    border: 0.25em;
}

#intro div
{
    display: inline-block;
    background-color: var(--bs-secondary);
    border: solid var(--bs-secondary) 5px;
    border-radius: 15px;
}

#intro h1
{
    font-size: 1em;
    padding: 0;
}

#intro p
{
    font-size: 0.75em;
    margin: 0.25em 0;
}

#intro img
{
    display: block;
    width: 100%;
    height: 100%;
}

/* Style rules for headers */
h1
{
    font-size: 1.5em;
    padding: 0.25em;
}

h2
{
    padding: 0;
    font-size: 1em;
}

/* All images have rounded corners */
img
{
    border-radius: 15px;
}

.showcase h1
{
    color: black;
}

/* Style rules for all slideshows */
.caurosel
{
    width: 100%;
    overflow: hidden;
    margin: auto;
    background-color: #adebb3;
    border-radius: 15px;
}

/* Style rules for highlight */
.carousel-item-wrapper
{
    border-radius: 15px;
}

.carousel-item h3
{
    text-align: left;
    padding: 0.5em;
}

.carousel-item p 
{
    padding: 0.1em;
    margin: 0.1em;
    font-size: 1.25em;
}

.carousel-item img
{
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 0.25em;
}

.carousel-item a
{
    text-decoration: none;
    padding: 0;
}

/* Style rules for work list */
.works
{
    padding-top: 1em;
}

.works h1
{
    padding: 0;
}

.works ol
{
    list-style: circle;
}

/* Style rules for contact block */
#contact
{
    background-color: var(--bs-secondary);
}

#contact #submit
{
    font-size: 1.2em;
    width: 100%;
    border-radius: 5px;
}

#contact fieldset
{
    padding: 1em;
}

#contact #subject
{
    width: 100%;
    height: auto;
    resize: none;
}

#contact #message
{
    width: 100%;
    height: 15em;
    resize: none;
}

/* Style rules for individual work/recording */
.individual-work .content
{
    font-size: 1.25em;
    background-color: var(--bs-secondary);
}

.individual-work iframe
{
    height: 100%;
}

/* Style rules for footer */
footer
{
    font-size: 1em;
    padding: 0.25em;
    clear: both;
}

footer ul
{
    list-style: none;
}

footer a
{
    text-decoration: none;
}

footer a:hover
{
    color: var(--bs-secondary);
}

footer img
{
    height: 20px;
}

/* Desktop/Tablet Specific CSS Styles */
@media screen and (min-width: 769px) {
    #intro h1
    {
        font-size: 2em;
    }

    #intro p
    {
        font-size: 1em;
    }

    nav li
    {
        font-size: 2em;
    }

    .individual-work
    {
        display: grid;
        grid-template-columns: repeat(2, 50%);
    }

    .individual-work img
    {
        display: block;
        margin-right: 0.25em;
        width: 100%;
        height: auto;
    }

    footer
    {
        font-size: 1.5em;
        padding: 1em;
    }
}