﻿/* c64-startup-screen style sheet */

@font-face {
    font-family: 'C64_Pro_Mono-STYLE';
    src: url('fonts/C64_Pro_Mono-STYLE.eot');
    src: url('fonts/C64_Pro_Mono-STYLE.eot?#iefix') format('embedded-opentype'),
    url('fonts/C64_Pro_Mono-STYLE.woff2') format('woff2'),
    url('fonts/C64_Pro_Mono-STYLE.woff') format('woff'),
    url('fonts/C64_Pro_Mono-STYLE.ttf') format('truetype');
    font-weight: normal;
}

/* HTML elements */

* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2em;
}
a {
    color: #6076C5;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(96, 118, 197, 0.3);
    tap-highlight-color: rgba(96, 118, 197, 0.3);
}
a:hover {
    text-decoration: underline;
}
a:active {
    opacity: 0.8;
}

/* IDs */

#c64 {
    height: 100vh;
    min-height: 100vh;
    color: #6076C5;
    overflow-x: hidden;
}
#c64-startup {
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: #20398D;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: #6076C5 70px solid;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
#c64-startup-header {
    text-align: center;
    padding-top: 40px;
    margin: 0 auto;
    max-width: 100%;
    word-wrap: break-word;
    padding-left: 10px;
    padding-right: 10px;
}
#c64-startup-prompt {
    padding-top: 40px;
    left: 75px;
    padding-left: 10px;
    padding-right: 10px;
    word-wrap: break-word;
}
#c64-startup-footnote {
    position: fixed;
    bottom: 72px;
    right: 76px;
    text-align: right;
    font-size: 80%;
    line-height: 1.8;
    padding-right: 10px;
}
#c64-startup-footnote a {
    display: inline-block;
    min-height: 44px;
    padding: 8px 0;
}
#c64-startup-footnote i {
    margin-right: 8px;
}

/* classes */

.c64-font {
    font-family: 'C64_Pro_Mono-STYLE', 'Courier New', Courier, monospace;
    font-size: 160%;
    line-height: 100%;
}

/* layout for tablets and smaller desktops */
@media screen and (max-width: 1400px) {
    #c64-startup {
        border: #6076C5 50px solid;
    }
    #c64-startup-header {
        padding-top: 35px;
    }
    #c64-startup-prompt {
        padding-top: 35px;
        left: 55px;
    }
    #c64-startup-footnote {
        bottom: 55px;
        right: 55px;
    }
    .c64-font {
        font-size: 130%;
    }
}

/* layout for small tablets */
@media screen and (max-width: 1100px) {
    #c64-startup {
        border: #6076C5 40px solid;
    }
    #c64-startup-header {
        padding-top: 30px;
    }
    #c64-startup-prompt {
        padding-top: 30px;
        left: 45px;
    }
    #c64-startup-footnote {
        bottom: 45px;
        right: 45px;
    }
    .c64-font {
        font-size: 100%;
    }
}

/* layout for mobile devices */
@media screen and (max-width: 768px) {
    #c64-startup {
        border: #6076C5 20px solid;
    }
    #c64-startup-header {
        padding-top: 20px;
        padding-left: 15px;
        padding-right: 15px;
    }
    #c64-startup-prompt {
        padding-top: 20px;
        left: 0;
        padding-left: 25px;
        padding-right: 15px;
        position: relative;
    }
    #c64-startup-footnote {
        position: relative;
        bottom: auto;
        right: auto;
        text-align: center;
        padding: 20px 15px 30px 15px;
        line-height: 1.4;
        margin-top: 20px;
    }
    .c64-font {
        font-size: 80%;
        line-height: 120%;
    }
    body {
        font-size: 1em;
    }
    #c64-startup-footnote a {
        display: block;
        text-align: center;
        min-height: 44px;
        padding: 6px 0;
    }
}

/* layout for small mobile devices */
@media screen and (max-width: 480px) {
    #c64-startup {
        border: #6076C5 15px solid;
    }
    #c64-startup-header {
        padding-top: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }
    #c64-startup-prompt {
        padding-top: 15px;
        left: 0;
        padding-left: 20px;
        padding-right: 10px;
        position: relative;
    }
    #c64-startup-footnote {
        padding: 15px 10px 30px 10px;
        line-height: 1.3;
    }
    #c64-startup-footnote a {
        min-height: 44px;
        padding: 4px 0;
    }
    .c64-font {
        font-size: 70%;
        line-height: 130%;
    }
    body {
        font-size: 0.9em;
    }
}