@font-face {
    font-family: Roboto, sans-serif;
    font-style: normal;
}

@font-face { /* used for "logo" text only */
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-style: normal;
} 

:root {
    font-size: 18px;
    font-family: Roboto, monospace;
    -webkit-font-smoothing: antialiased;
    /* color vars */
    --text-purple: #6c4e6a;
    --text-grey: #414141;
    --bg-white: #fdfdfd;
    --bg-offwhite: #f1edea;
    /* size vars */
    --nav-height: 3rem;
    --home-padding: 1.2rem;
    --round-box-max-width: 65rem;
    --std-text-inc: 1.1rem;
    --round-box-width: 60%;
    }

html {
    background-image: url(images/inc-checker-bg.png);
    background-attachment: fixed;
    /*color: var(--text-purple);*/
}

/* Define audio element properties */


/* Define navbar, footer & multipurpose flexbox container first! */

.navbar {
    position: fixed;
    top: 0;
    height: var(--nav-height);
    width: 100vw;
    background: var(--bg-white);
    z-index: 100;
    margin: auto;
    letter-spacing: 0.5;
}

.navbar a{
    color: var(--text-grey);
    text-decoration: none;
}

.navbar h4 {
    font-family: Roboto, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-top: 0;
}

.container {
    display: block;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-column-gap: 10px;
    column-gap: 10px;
    gap: 10px;
    margin-top: var(--nav-height);
}

.footer {
    bottom: 0;
    height: var(--nav-height);
    -ms-flex-line-pack: center;
    align-content: center;
    text-align: center;
}

.footer h4 {
    display:inline-block;
    font-size: 2rem;
    font-family: Roboto, sans-serif;
    margin-inline: auto;
    margin-top: 2rem;
    margin-bottom: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Landing page formatting */

.title {
    margin-top: var(--nav-height);
    font-family: "yink", sans-serif;
    letter-spacing: 0.4rem;
    text-align: center;
    padding-top: -10;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100vw;
}

.title h1 {
    -webkit-margin-before: calc(var(--nav-height) - 1rem);
    margin-block-start: calc(var(--nav-height) - 1rem);
    -webkit-margin-after: var(--nav-height);
    margin-block-end: var(--nav-height);
}

.audio-preview {
    width: var(--round-box-width);
    max-width: var(--round-box-max-width);
    margin-inline: auto;
    background-color: var(--bg-offwhite);
    border-radius: 2rem;
    display: grid;
    grid-template-columns: auto;
    gap: 10px;
    padding: var(--home-padding);
    /*
    flex-direction: row;
    flex-wrap: nowrap;
    */
    justify-content: space-around;
    vertical-align: middle;
    /*gap: 1rem;*/
    margin-block: 2rem;
}

.audio-desc {
    color: var(--text-grey);
    text-align: right;
}

.audio-desc h2 {
    /*font-weight: 800;*/
    font-size: 2em;
    text-align: left;
    /*margin-bottom: var(--std-text-inc);*/
}

.audio-desc h3 {
    /*font-weight: 700;*/
    font-size: 1rem;
    text-align: left;
    /*margin-bottom: var(--std-text-inc);*/
}

.audio-desc p {
    font-size: var(--std-text-inc);
    list-style: none;
}

audio {
    width: 100%;
}

.home {
    font-size: var(--std-text-inc); 
    width: var(--round-box-width);
    max-width: var(--round-box-max-width);
    background-color: var(--bg-offwhite);
    border-radius: 2rem;
    margin-inline: auto;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -ms-flex-line-pack: center;
    text-align: justify;
    padding: var(--home-padding);
}

@media (max-width: 768px) {
    .title {
        font-size: 9.4vw;
        margin-bottom: -50;
    }

    .home {
        width: 85%;
        overflow-wrap: anywhere;
    }
    
    .audio-preview {
        width: 85%;
    }
    
    .audio-desc {
        overflow-wrap: anywhere;
    }
    
}

@media (min-width: 768px) {
    .audio-preview { /* may want to adjust min screen width */
        display: grid;
        grid-template-columns: 
            minmax(0, calc(var(--home-max-width) / 2)) 
            minmax(0, calc(var(--home-max-width) / 4)) 
    }
    .title {
        font-size: 10.7vw;
        margin-bottom: -40;
    }
    .title h1 {
        -webkit-margin-before: calc(var(--nav-height) - 1rem);
        margin-block-start: calc(var(--nav-height) - 1rem);
        -webkit-margin-after: calc(var(--nav-height) - 1rem);
        margin-block-end: calc(var(--nav-height) - 1rem);
    }
}

.tagline {
    font-size: 1rem;
    max-width: var(--home-max-width);
    flex-basis: 100%;
    text-align: center;
    margin-bottom: var(--home-padding);
}

/* 
*** Issue 01 formatting  ***
*/

[class*="col-"] {
    width: 100%;
}

.col-1 {
    margin-top: var(--nav-height);
    margin-bottom: 1rem;
}

.body h1 {
    text-align: left;
    font-family: "yink", sans-serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 3;
    color: var(--text-purple);
}

.body li {
    list-style: none;
}

a:hover {
    color: #fef;
    text-decoration: underline;
}

img {
/*    animation: colorize 1s cubic-bezier(0, 0, .78, .36) 1;*/
    background: transparent;
/*    border: 10px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;*/
    max-width: 95%;
}

/* Breakpoints for tiny screens if needed */
@media (max-width: 374px) {
    .navbar h4 {
        position: absolute; 
        left: -999em;
    }
    .col-1 h1 {
        font-size: 18vw;
    }
    .title h1 {
        font-size: 2.8rem;
    }
}