html {
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-size: min(max(0.75rem, 2vw), 1.25rem);
    font-family: Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', Arial, sans-serif;
    color: white;
    line-height: 130%;
    overflow: auto;
    background-image: url("../SVG/grain.svg");
    background-repeat:repeat;

}
ul { 
    list-style-type: none;
    margin-block: 0;
    padding-inline: 0;
}

.container {
    box-sizing: border-box;
    overflow-y: auto;
    width: min(max(15rem, 98%), 75rem);
    margin-left:auto;
    margin-right:auto;
}            

#masthead {
    display: flex;
    justify-content: space-between;
    text-align: left;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0 2rem 0 2rem;
}

/*
#video-box {
}

#player {
}
*/

.navbar-menu {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-menu-item {
    margin-left: 1rem;
    white-space-collapse: collapse;
    font-weight: bold;
    font-size:1.2rem;
}

#logo {
    height:1.2rem;
}

a {
    color: white;
    text-decoration: none;
    padding: 2px 5px;
    transition: all 0.5s ease;
    border-radius: 4px;
}

#furtherbox a {
    color: white;
    text-decoration: underline;
}

a:hover, #furtherbox a:hover {
    background-color: white;
    text-decoration: none;
    color: black;
}

p {
    margin: 0.5rem 0 1rem 0;
}

ul {
    margin: 0.5rem 0 1rem 0;
    list-style: none;
    padding-left: 0;
}

li::before {
    content: "";
    margin: 0;
	position: absolute;
    display:inline-block;
	left: 0;
	top: 6px;
	width: 1rem;
	height: 1rem;
	background-repeat: no-repeat;
	background-image: url(/SVG/edgyastshape.svg);
}

li {
    margin: 0.5rem 0 1rem 0rem;
    position:relative;
    padding-left: 2.5rem;
}

h2 {
    display:block;
    font-size:1.2rem;
    padding:0;
    margin-block-start: 0;
    margin-block-end: 0;
    white-space: nowrap;
}

hr {
    border: none;
    height: 0.2rem;
    background-color: #fff;
    margin: 0.5rem 2rem;
}

.playlist-background {
    transition: background-image 2s ease;
    margin:0;
    padding:0;
}

#videostorybox {
    display: flex;
    padding: 0 0;
}

#aboutbox, #furtherbox {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 0;
}

#aboutsection {
    padding-top: 1rem;
}

#shopsection {
    padding-top: 1rem;
}

#shopgrid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    padding: 0 2rem;
}

.shopitem {
    flex: 1;
    border: 1px solid white;
    padding:0;
    text-align: center;
}

.shopitem img {
    margin: 2rem;
}

.svgdivider {
    padding: 0 2rem;
}

.glyphdivider {
    padding: 5rem 2rem;
    display: flex;
    justify-content: center;
}

.sub-heading {
    display: flex;
    box-sizing: border-box;
    padding: 0 2rem;
    text-wrap: wrap;
}

.text-box {
    flex: 2 0 0;
    box-sizing: border-box;
    max-width: 66%;
    padding: 0 3rem 0 2rem;
    margin-bottom: 2rem;
    text-wrap: wrap;
}

.background-box {
    flex: 1 0 0;
    flex-shrink: 2;
    box-sizing: border-box;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    margin: 0 2rem 2rem 0;
}

@media (max-width: 700px) {
    .text-box {
        max-width:100%;
        width:100%;
    }

    .background-box {
        display:none;
    }
}
