:root {
    --active-colour: #B7472A;
    --direct-colour: #333333;
    --soft-colour: #f1f1f1;
}

@font-face {
  font-family: Ubuntu-Light;
  src: url(fonts/Ubuntu-Light.ttf);
}

@font-face {
    font-family: Ubuntu-Regular;
    src: url(fonts/Ubuntu-Regular.ttf);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: Ubuntu-Light;
    color: var(--direct-colour);
}

html {
    background-color: var(--soft-colour);
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
  
a:-webkit-any-link:not(.header-link){
    color: var(--active-colour);
}

header {
    position: fixed;
    width: 100%;
    top: 2.8em;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    text-align: center;    
    font-size: 1.6em;
    font-family: Ubuntu-Regular;
}

.header-content {
    color: var(--direct-colour) !important;
    width: fit-content;
    margin: auto;
}

.header-link {
    padding-left: 2vw;
    padding-right: 2vw;
    text-decoration: none;
    text-wrap: nowrap;
    cursor: pointer;
    color: var(--direct-colour);
}

h1 {
    text-align: center;
    color: var(--active-colour);
}

h3 {
    font-size: small;
    margin-top: 0;
    text-align: center;
}

.home, .back {
    cursor: pointer;
}

.back-link {
    display: inline-block;
    margin-top: 1.5em;
    padding: 10px 25px;
    background-color: lightgray;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    color: var(--active-colour);
    
    a {
        color: var(--active-colour);
    }
}

.td-center {
    text-align: center;
}

.back-link:hover {
    background-color: rgb(204, 201, 201);
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
    .header-link:hover, .home:hover, .back:hover  {
        text-decoration: none;
        color: var(--active-colour);
    }
}

.home-banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-banner {
    font-weight: bold;
    border: 2px solid var(--direct-colour);
    box-shadow: 10px 5px 10px 0px #aaaaaa;
    z-index: 2;

    max-width: 720px;
    width: 65%;
    padding: 20px;
    text-align: center;
    font-size: 1em;
    margin-bottom: 2.5em;

    min-height: 0;
    overflow: auto;
}

.center-container {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    h1 {
        margin-top: 0;
    }
}

.container-element-left-aligned {
    text-align: left;
    text-wrap: nowrap;
    width: fit-content;
    margin: auto;
    font-size: 1.2em;
    line-height: 1.4em;
    display: flex;
}

.do-banner {
    display: -webkit-inline-box;
    margin-bottom: 1.5em;
}

.contact-details {
    align-self: center;
    list-style-type: none;
    margin-left: 4em;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}

.fa-li {
    margin-top: 4px;
}

.contactImage {
    height: 12em;
    border: 2px solid white;
    border-radius: 45%;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: left;
    margin: 0.5em;
    font-size: 1.2em;
    color: var(--active-colour);
    display: flex;
    justify-content: space-between;
}

.homelogo {
    position: absolute;
    bottom: 5;
    right: 5;
    cursor: pointer;
}

.footerlogo {
    margin-bottom: -4px;
    margin-right: 1em;
    cursor: pointer;
}

.faq-button {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 18px;
}

@media (max-width: 600px) {
    
    .home-banner {
        top: 63%;
    }

    .center-banner {
        width: 80%;
        margin-top: 1em !important;
    }

    .always-keep {
        display: block !important;
    }

    header {
        display: none;
        text-align: left;
        top: 4.5em;
    }

    .header-link {
        padding: 0;
        line-height: 1.7em;
    }

    .header-link::after {
        content: "\a";
        white-space: pre;
    }

    .contactImage {
        height: 10em;
    }

    .contact-details { 
        margin-left: 0 !important;
        margin-top: 1em;
    }

    .container-element-left-aligned {
        display: block;
        text-align: center;
    }
}

#morphText1,
#morphText2 {
    position: absolute;
    display: inline-block;
    text-align: left;
    user-select: none;
}