﻿@import url('https://fonts.googleapis.com/css?family=Chewy');
@import url('https://fonts.googleapis.com/css?family=Roboto');
@import url('https://fonts.googleapis.com/css?family=Hind:400,700');
@import url('https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@400;700');

/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
/* EVERYTHING MUST BE IN VW UNITS, NOT px or pt! */
html {
    background-color: #6699cc;
    background: url(/images/background1.jpg) no-repeat center center fixed #6699cc;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
html, body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    height: 100%;
    font-size: 2.2vw;
    color: white;
}
.xm-button {
    background-color: royalblue;
    color: white;
    padding: 0.5vw 4vw;
    text-decoration: none;
    border-radius: 0.5vw;
    cursor: pointer;
    border-width: 0;
    font-family: inherit;
    font-size: inherit;
    margin-bottom: 0.5em;
}
    .xm-button:hover {
        background-color: mediumblue;
    }

#filesizespan {

    font-size: 1vw;
    margin: 1vw;
}
#StickyHeader {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #333;
    padding: 0 0.5vw;
    color: white;
    text-align: left;
    margin-bottom: 0.5vw;
    vertical-align: text-bottom;
    display: flex;
    flex-wrap: wrap;
    z-index: 1400;
    font-size: 1.5vw;
}
    #StickyHeader > div {
        display: inline-block;
        margin-right: auto;
    }

    #StickyHeader > nav {
        display: flex;
        flex-wrap: wrap;
    }
    #StickyHeader nav a {
        padding: 0 0.5vw;
        color: white;
        text-decoration: none;
        font-size: 1.2vw;
        vertical-align: bottom;
        margin-top: auto;
        flex-grow: 1;
    }


.header {
    color: red;
    font-size: 6vw;
    text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF, -0.2vw 0.2vw 0 #FFF, 0.2vw 0.2vw 0 #FFF;
    font-family: 'Mountains of Christmas';
    text-align: center;
    font-weight: bold;
}
.subheader {
    color: red;
    font-size: 3vw;
    text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF, -0.2vw 0.2vw 0 #FFF, 0.2vw 0.2vw 0 #FFF;
    font-family: 'Chewy';
    text-align: center;
}
.smallheader h1 {
    color: red;
    font-family: 'Chewy';
    text-align: center;
    font-size: 6vw;
    text-shadow: 0.2vw 0.2vw 0 #FFF, -0.2vw -0.2vw 0 #FFF, 0.2vw -0.2vw 0 #FFF, -0.2vw 0.2vw 0 #FFF, 0.2vw 0.2vw 0 #FFF;
    margin-top: 0;
    margin-bottom: 0;
}
.smallheader h2 {
    font-size: 2.2vw;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0 1em;
    text-align: center;
    color: black;
}

.footer {
    color: #6699cc;
    text-align: center;
    font-size: 1.6vw;
}

#clockdiv {
    font-family: sans-serif;
    color: #fff;
    display: block;
    font-weight: 100;
    text-align: center;
    font-size: 30px;
}

    #clockdiv > div {
        padding: 10px;
        border-radius: 3px;
        background: #00BF96;
        display: inline-block;
    }

    #clockdiv div > span {
        padding: 15px;
        border-radius: 3px;
        background: #00816A;
        display: inline-block;
    }

.smalltext {
    padding-top: 5px;
    font-size: 16px;
}

.centre {
    text-align: center;
}
.redline {
    font-size: 1.2em;
    color: darkred;
    font-weight: bold;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF;
}
.greenline {
    font-size: 1.2em;
    color: darkgreen;
    font-weight: bold;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF;
}

section {
    background-color: rgba(255,255,255,0.6);
    color: black;
    margin: 2vw;
    padding: 2vw;
    border-radius: 3px;
    align-items: center;
}
.main {
    text-align: center;
    margin-bottom: 20px;
}
.head {
    font-weight: 700;
    font-size: 24pt;
    font-size: 2.4vw;
    line-height: 1.2em;
}
.para {
    display: block;
    line-height: 1.2em;
    font-size: 18pt;
    font-size: 2.2vw;
    margin-bottom: 1em;
    text-align:center;
}
    .para a {
        text-decoration: none;
        color: mediumblue;
    }
.footer a {
    text-decoration: none;
    color: blue;
}
.penguin {
    flex-grow: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    animation-name: wobble;
    animation: wobble 10s infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
}

.penguin img {
    width: 20vw;
}

@keyframes wobble {

    from {
        transform: rotate(-20deg);
    }

    to {
        transform: rotate(20deg);
    }
}

.flexp {
    display: flex;
}
.flexc {
    flex-grow: 1;
}
div[class*='stack'] {
    position: relative;
    display: grid;
    place-items: center;
    background: #333;
    color: #FFF;
}

    div[class*='stack'], div[class*='stack']:before, div[class*='stack']:after {
        border: 6px solid #FFF;
        width: 60vw;
        height: 33.75vw;
        -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
        -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
        box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    }

        div[class*='stack']:before, div[class*='stack']:after {
            background: #333;
            content: "";
            position: absolute;
            z-index: -1;
        }
.stacktwo:before {
    top: 0px;
    left: -10px;
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    transform: rotate(-5deg);
}

.stacktwo:after {
    top: 5px;
    left: 0px;
    -webkit-transform: rotate(4deg);
    -moz-transform: rotate(4deg);
    -o-transform: rotate(4deg);
    -ms-transform: rotate(4deg);
    transform: rotate(4deg);
}
.stacktwo form {
    width:80%;
}
.fileContainer {
    overflow: hidden;
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    margin: 1em auto;
    padding: 0.8vw 1.5vw;
    color: #fff;
    background-color: royalblue;
    background-size: 150% 150%;
    border-radius: 5px;
}
    .fileContainer:hover {
        background-color: mediumblue;
    }
    .fileContainer [type=file] {
        display: block;
        cursor: pointer;
        font-size: 999px;
        filter: alpha(opatown=0);
        min-height: 100%;
        min-width: 100%;
        opatown: 0;
        position: absolute;
        right: 0;
        text-align: right;
        top: 0;
    }

.thumbnail {
    max-height: 15vw;
    max-width: 15vw;
}



            /*=============================================*/
            @media all and (max-width: 600px) {
                .penguin {
                    display: none;
                }

                #StickyHeader {
                    padding: 0;
                    font-size: 3vw;
                }

                    #StickyHeader > div:first-child {
                        display: none;
                    }

                    #StickyHeader nav {
                        display: flex;
                        flex-wrap: wrap;
                    }

                        #StickyHeader nav a {
                            white-space: nowrap;
                            border: solid 1px #999;
                            padding: 2vw;
                            font-size: 6vw;
                            flex-grow: 1;
                        }
                        .footer {
                            font-size: 4vw;
                        }

                #clockdiv {
                    font-size: 20px;
                }

                    #clockdiv > div {
                        padding: 4px;
                    }

                .smalltext {
                    padding-top: 5px;
                    font-size: 10px;
                }

                .footer {
                    padding-left: 0;
                    padding-right: 0;
                }

                section {
                    padding: 0.5vw;
                    margin: 0.5vw;
                    font-size: 5vw;
                }

                .main {
                    margin-bottom: 10px;
                }

                .head {
                    font-size: 18pt;
                    line-height: 1em;
                }

                .para {
                    display: block;
                    line-height: 1.2em;
                    font-size: 18pt;
                    font-size: 5vw;
                    margin-bottom: 1em;
                }

                .header {
                    font-size: 12vw;
                }
                .smallheader h1 {
                    font-size: 10vw;
                }
                .smallheader h2 {
                    font-size: 5vw;
                }

                .sponsorlogo-l1 {
                    max-width: 100%;
                    width: 50vw;
                }
            }
            /*  End of Media Part ===================== */
