:root {
    --color1: #000000;
    --color2: #EE431D;  /*#EE4411;*/
    --color3: #FFFFFF;
    --content-margin: 8px;
}

* {
    font-family: sans-serif;
}

img {
    border: 0;
}

a {
    color: var(--color3);
    text-decoration: none;
}
a:hover{
    text-decoration: underline;

}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--color3);
    background-color: var(--color1);
    font-size: 16px;
}

header{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: var(--color3);
    /* display: flex;
    justify-content: space-between; */
    align-items: center;
    text-align: center;
}


header .logo-icon{
    padding: 0 0 16px 0;
}

header .logo-icon img{
    width: 60px;
}

header .menu-bar{
    background-color: var(--color2);
    padding: 18px 0 0 0 ;
}

header .menu-bar img{
    width: 240px;
}

header nav{
    background-color: var(--color2);
    color:  var(--color3);
    padding: 12px 0 12px 0;
    font-size: 12px;
}

header nav span {
    display:inline-block;
    padding: 0 8px;
}

.bottom-spacer{
    height: 200px;
}

 /*********** homepage  ***********/

.homepage {
    background: url(/static/layout/blackboard.jpg) center center no-repeat;
    background-size: cover;
    background-color: #000000;   

    .page{
        background: url(/static/layout/plan_drawings.png) center center no-repeat;
        background-size: calc(min(max(80vw, 800px), 1350px)) auto;
        box-sizing: border-box;
        width: 100%;
        height: 100%; 
    }

    h1{
        font-size: 9vmin;
        text-align: center;
        padding-top:20vh;
        margin: 0;
        font-weight: normal;
        letter-spacing: 8px;
        text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
        font-family: futura, helvetica, sans-serif;
    }

    h2{
        text-align: center;
        font-size: 4vmin;
        font-weight: normal;
        margin: 0;
        text-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
        font-family: futura, helvetica, sans-serif;
    }

    main ul{
        list-style: none;
        padding: 0;
        margin: 0 auto;
        width: 400px;
        justify-content: center;
        width: 300px;
        padding-top: 32px;
    }

    main ul li{
        padding: 0; 
        margin: 0 0 12px 0;
    }

    main ul li a{
        display: block;
        background-color: var(--color2);
        padding: 8px 16px;
        color: var(--color3);
        text-decoration: none;
    }

    main ul li a:hover{
        background-color: var(--color1);
    }
}


 /*********** comics  ***********/


body.comics {
    background-color: #000000;   

    main {
        padding: 20px;
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 120px;
    }

    .comic img{
        width: 100%;
    }

    article{
        margin-bottom: 40px;
    }
}


 /*********** witchwarden  ***********/

body.witchwardenpage {
    background-color: #0B1D2C;

    .page {
        background: url(/witchwarden/images/background.png) center bottom no-repeat;
        background-size: calc(min(max(90vw, 800px), 1920px)) auto;
        width: 90%;
        height: 100%; 
        padding: 20px;
        margin: 0 auto;
    }

    main {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    main .logo {
        padding-top:20vh;
        text-align: center;
    }
    main .logo img{
        width: 300px;
    }   
    
    main h2{
        text-align: center;
        font-size: 4vmin;
        font-weight: normal;
        padding-top: 2vh;
        margin: 0;
        /* text-shadow: 2px 2px 0px rgba(0, 0, 0, 1); */
        font-family: futura, helvetica, sans-serif;
    }

    .download {
        padding-top: 6vh;
        margin-bottom: 50vh;
    }

    .download-link img{
        width: 150px;
    }

    .description{
        margin-bottom: 4vh
    }

    .screenshots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-bottom: 6vh;
    }

    .screenshots img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        max-width: calc(100% / 3 - var(--content-margin));
        border: 1px solid #000;
        box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
    }

    .download-bottom{
        margin-bottom: 6vh;
    }

    .bottom-links{
        margin-bottom: 6vh;
    }

    .long-text{
        margin-top: 4vh;
        text-align: left;
        margin-bottom: 6vh;
    }

    .bottom-text{
        font-size: 12px;
    }
}



 /*********** blockspinmania  ***********/

body.blockspinmaniapage { 
    background-color: #450041;

    .page {
        /* background: url(/static/witchwarden/background.png) center bottom no-repeat; */
        /* background-size: calc(min(max(90vw, 800px), 1920px)) auto; */
        width: 90%;
        height: 100%; 
        padding: 20px;
        margin: 0 auto;
    }

    main {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    main .title-hero{
        background: url(/blockspinmania/images/home-hero.png) center bottom no-repeat;
        background-size: 400px 400px ;
        text-align: center;
        height: 400px;
        /* border:1px solid #000; */
        margin-bottom: 60px;
    }

    main .logo {
        padding-top:10vh;
        text-align: center;
    }
    main .logo img{
        width: 300px;
    }   
    
    main h2{
        text-align: center;
        font-size: 4vmin;
        font-weight: normal;
        padding-top: 2vh;
        margin: 0;
        /* text-shadow: 2px 2px 0px rgba(0, 0, 0, 1); */
        font-family: futura, helvetica, sans-serif;
    }

    .download {
        padding-top: 340px;
    }

    .download-link img{
        width: 150px;
    }

    .description{
        margin-bottom: 4vh
    }

    .screenshots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-bottom: 6vh;
    }

    .screenshots img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        max-width: calc(100% / 3 - var(--content-margin));
        /* border: 1px solid #000; */
        /* box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3); */
    }

    .download-bottom{
        margin-bottom: 6vh;
    }

    .bottom-links{
        margin-bottom: 6vh;
    }

    .long-text{
        margin-top: 4vh;
        text-align: left;
        margin-bottom: 6vh;
    }

    .bottom-text{
        font-size: 12px;
    }
}

