/* This CSS is for styling and defining the fonts and colours for the site */
:root{
    /* --bRed: #A6192E; */
        /* --bRed: #d94c61; */
    /* --bRed: #f4789f;
    --bWhite: white;
    --bGrey: #333333;
    --bLightGrey: #888888;
    --bBbBlue:#5dc5ee; */
    --bRed:#7f80dd ;
    --bWhite: white;
    --bGrey: #333333;
    --bLightGrey: #888888;
	--bBbBlue: #f4789f;
}

::selection{
    background: var(--bBbBlue);
}

::-moz-selection{
    background: var(--bBbBlue);
}

html {
    font-family: 'Roboto', 'Source Sans Pro', sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 5em;
    scroll-behavior: smooth;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 1.1rem;
}

h1.huge{
    font-weight: 600;
    font-size: 2rem;
    padding: 0;
    margin:0;
}

h1.name{
    padding: 0;    
    margin: 0;
}

h2{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 0.8rem;
}

h3{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 0.6rem;
}

h4{
    font-family: 'Roboto', san-serif;
    font-weight: 300;
    font-size: 0.35rem;
    line-height: 0.65rem;
    margin-top: 0;
    margin-bottom: 0;
}

h5{
    font-family: 'Roboto', san-serif;
    font-weight: 300;
    font-size: 0.25rem;
    margin-top: 0;
    margin-bottom: 0;
    color: var(--bRed);
}

a{
    color: var(--bBbBlue);
    font-weight: 400;
    text-decoration: none;
}

p{
    font-weight: 300;
    font-size: 0.2rem;
    line-height: 0.35rem;
}

figcaption{
    font-size: 0.25rem;
    font-weight: 300;
        font-style: italic;
}

p a{
    font-weight: 500;
}

/* header */
header a{
    color: var(--bBbBlue);
    font-weight: 300;
    font-size: 0.5em;
    position: fixed;
    background-color: white;
    border-style: solid;
    border-width: 0.1em;
    border-color: var(--bBbBlue);
    padding: 0.1rem;
    border-radius: 15px;
    margin: 0;
    z-index: 10;
}

header a:hover{
    background-color: var(--bBbBlue);
    color: white;
    transition: 0.5s;
}

.altLogo{
    color: var(--bRed);
    font-weight: 500;
    position: absolute;
}

header {
    z-index: 1000;
}

.btt-button{
    position: fixed;
    bottom: 0.25em;
    right: 0.75em;
    color: var(--bBbBlue);
    z-index: 10000;
}

.btt-button i{
    text-shadow: 0 0 5px white;
}

.btt-button:hover{
    transform: scale(1.2);
}


/* Media Queries */
@media(min-width:2600px){
    html{
        font-size: 8em;
    }
}

@media(max-width:2000px){
    html{
        font-size: 5em;
    }
}

@media(max-width:1600px){
    html{
        font-size: 4em;
    }
    h1{
        font-size:0.8rem;
    }
    p {
        font-size: 0.3rem;
        line-height: 0.4rem;
    }
}

@media(max-width:1279px){
    html{
        font-size: 3em;
    }
    h1{
        font-size:1rem;
    }
    figcaption{
        font-size: 0.35rem;
    }

}

@media(max-width:800px){
    html{
        font-size:3em;
    }
    h1{
        font-size: 1rem;
    }
    h4{
        font-size: 0.4rem;
        font-weight: 300;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
    p {
        font-weight: 300;
        font-size: 0.3rem;
        line-height: 0.45rem;
    }
    figcaption{
        font-size: 0.275rem;
    }
}

@media(max-width:400px){
    html{
        font-size:2em;
    }
    h1{
        font-size: 1rem;
    }
    h4{
        font-size: 0.5rem;
        font-weight: 300;
        padding-top: 1em;
    }
    p{
        font-size: 0.45rem;
        line-height: 0.5rem;
    }
}

@media(max-width:800px){
    html{
        font-size:3em;
    }
    h1{
        font-size: 1rem;
    }
    h4{
        font-size: 0.4rem;
        font-weight: 300;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
    p {
        font-weight: 300;
        font-size: 0.3rem;
        line-height: 0.45rem;
    }
    figcaption{
        font-size: 0.275rem;
    }
}

