@import url('https://fonts.cdnfonts.com/css/roboto');
@import url('https://fonts.cdnfonts.com/css/lora-4');

/* - - Kalopsia - -*/
@import url('https://fonts.cdnfonts.com/css/ofl-sorts-mill-goudy-tt');
/* - - - - - - - - */

.serif {
    font-family: 'Lora', serif;
}

.sans-serif {
    font-family: 'Roboto', sans-serif;
}

.monospace {
    font-family: monospace;
}

/* some resetting stuff */

* {
  margin: 0;
  padding: 0;
}

input,
button,
select,
textarea {
  font: inherit;
}

img,
svg,
video,
canvas,
picture {
  display: block;
  max-width: 100%;
}

/* flex sticky footers developed from https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/Sticky_footers */
html {
    height: 100%;
    box-sizing: border-box;
}
* {
    box-sizing: inherit;
}
body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}        
header {
    flex-shrink: 0;
}
main {
    flex-grow: 1;
}
footer {
    flex-shrink: 0;
}
/* - - - - - - - - */

html {
    background: #f0f0f0;
}

body {
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    color: #000000;
    font-size: 1.0rem;
}

header, main, footer {
    background: #ffffff;
    color: #000000;
}

header {
    font-size: 2.4rem;
    font-weight: 800;
}

main {
    padding: 8px;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.25rem 0;
}
h6 {
    font-size: 1.0rem;
}
h5 {
    font-size: 1.2rem;
}
h4 {
    font-size: 1.4rem;
}
h3 {
    font-size: 1.6rem;
}
h2 {
    font-size: 1.8rem;
}
h1 {
    font-size: 2.0rem;
}

p {
    margin: 0 0 0.25rem 0;
}

footer {    
    padding: 8px 0 8px 0;
    text-align: center;
    font-size: 0.8rem;
}

/* - - nav - - */
nav > ul {
    
    display: flex;
    flex: 1;
    justify-content: space-around;
    
    width: 100%;
    
    list-style: none;  
    
}
nav > ul > li {
    
}
nav > ul > li > a {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 800;
    text-decoration: none;
}
/* - - - - - - - - */

/* Kalopsia */

body {
    background: transparent;
}

html {
    background: url(../../images/kalopsia_newsprint_01.png) no-repeat top center fixed; 
    background-position: center top;
    background-size: 100% auto;
}

header {
    
    position: relative;
    
    height: 160px;
    
    /*
    background-color: #151515;;
    background-image: url(../../images/kalopsia_01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    */
    
    background: transparent;
        
    font-family: 'OFL Sorts Mill Goudy TT', monospace;
    
    text-shadow: #000000 2px 2px 0px;
    
}
header > div:first-child {
    margin: 60px 0 0 0;
}
header > div:first-child > div.heading {
    color: #ffffff;
    text-align: center;
    font-size: 4.0rem;
    font-weight: 800;
    line-height: 4.0rem;
}
header > div:first-child > div.sub-heading {
    color: #ffffff;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.8rem;
}

nav {
    z-index: 99;
    padding: 8px;
    text-shadow: #000000 2px 2px 0px;
}
nav > ul > li > a {
    color: #ffffff;
}

main {
    background-color: rgba(255,255,255,0.8);
    border-radius: 8px;
}

footer {
    background: transparent;
    color: #ffffff;
}

div.links {
    display: flex;
    flex-direction: row;
    position: absolute;
    right: 8px;
    top: 8px;
    width: fit-content;
    margin: 0 0 8px 0;
}

div.links > a {
    display: inline-block;
    background-size: contain;
    background-color: rgba(255, 255, 255, 0.2);
    background-blend-mode: overlay;
    width: 32px;
    height: 32px;
    margin: 0 8px 0 0;
    filter: invert(1); /* background icon images are black and background white - invert colours here */
}
div.links > a:last-child {
    margin: 0 0 0 0;
}
div.links > a:hover {
    background-color: rgba(255, 255, 255, 0.0);
}
div.links > a.www {
    background-image: url(../../images/icons/www.png);
}
div.links > a.amazon {
    background-image: url(../../images/icons/amazon.png);
}
div.links > a.apple {
    background-image: url(../../images/icons/apple.png);
}
div.links > a.bandcamp {
    background-image: url(../../images/icons/bandcamp.png);
}
div.links > a.facebook {
    background-image: url(../../images/icons/facebook.png);
}
div.links > a.instagram {
    background-image: url(../../images/icons/instagram.png);
}
div.links > a.spotify {
    background-image: url(../../images/icons/spotify.png);
}
div.links > a.tiktok {
    background-image: url(../../images/icons/tiktok.png);
}
div.links > a.youtube {
    background-image: url(../../images/icons/youtube.png);
}

@media only screen and (width < 960px) {
    
    header {
        height: 200px;
    }
    header > div:first-child {
        bottom: 32px;
    }
    header > div:first-child > div.heading {
        font-size: 2.0rem;
        line-height: 2.0rem;
    }
    header > div:first-child > div.sub-heading {
        font-size: 1.2rem;
        line-height: 1.2rem;
    }
    
}





