/* (C) Tom Gwyrfai Cartwright 2021 */

@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300");

html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', Helvetica, sans-serif;
    min-height: 100%;
    height: 100%;
}

/* Background */
body{
    /*	background-color: #000000;*/
    background: white; /* Browsers that do not support gradients */
    /*background: -webkit-linear-gradient(-90deg, red, yellow); /* For Safari 5.1 to 6.0 */
    /*background:      -o-linear-gradient(-90deg, red, yellow); /* For Opera 11.1 to 12.0 */
    /*background:    -moz-linear-gradient(-90deg, red, yellow); /* For Firefox 3.6 to 15 */
    background:           linear-gradient(45deg, #ffffff, #acc7dc, #d6dde3); /* Standard syntax */
    height: 100%;
    min-height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
    border: 0;
}

/* Main Section - Box in centre of page */
main{
    /* White Box */
    background: #ffffff;
    border-radius: 4px; 
    
    /* Position box in middle of page, and up a bit */
    top: calc(50vh - 250px);
    
    /* Box size */
    width: 400px;
    height: 400px;
    margin: auto;
    position: relative;
    
    /* Text */    
    text-align: center;
}

h1 {
    /* Text */
    font-size: 25pt;
    line-height:70pt;
    vertical-align: middle;
    margin: 0;
}

p {
    /* Text */
    font-size: 18pt;
}

a {
    text-decoration: none;
    outline: none;
}

footer{
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}

footer p{
    font-size: 10pt;
    color: #000000;
}

hr {
    width: 80%;
    border-top: 1px solid black;
}

/* Mobile Phone Screen CSS */
@media only screen and (max-width: 450px), screen and (max-height: 540px){
    main{
        /* White Box */
        background: #ffffff;
        
        /* Box size */
        width: 80%;
        height: 80%;
        top: 10%;
        
        /* Text */    
        text-align: center;
    }

    h1 {
        /* Text */
        font-size: 18pt;
    }
    p {
        /* Text */
        font-size: 14pt;
    }

    footer{
        text-align: center;
        position: relative;
        width: 100%;
        bottom: 0;
    }
}

