html,
body,
#background,
#foreground {
    margin: 0;
    height: 100%;
    width: 100%;
    padding: 0
}

html,
body,
h1,
div,
a,
span {
    outline: none
}

body {
    font-size: 100%;
    font-family: 'Montserrat', sans-serif
}

#background {
    background-image: url(../img/salve-tribal-bg.webp);
    background-position: top center;
    background-size: cover;
    z-index: 0;
    height: 130%;
    width: 130%
}

#foreground {
    background-image: url(../img/salve-tribal-mask.png);
    z-index: 1
}

h1 {
    background-repeat: no-repeat;
    background-position: top center;
    left: 50%;
    top: 50%;
    margin: 0;
    position: absolute;
    width: 389px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: 2
}

h1 svg {
    padding-bottom: 4.35em
}

h1 a {
    border-bottom: 1px solid #fff;
    color: #fff;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.64em;
    font-weight: bold;
    letter-spacing: 0.009em;
    margin-bottom: 0.69em;
    padding-bottom: 0.66em;
    text-decoration: none
}

h1 a:hover {
    color: #f16622
}

h1 span {
    color: #fff;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.469em;
    font-weight: bold;
    line-height: 1.3963em
}

@media screen and (max-width: 500px) {
    h1 svg {
        width: 70%;
        display: block;
        margin: 0 auto
    }

    h1 a,
    h1 span {
        margin: 0 auto;
        width: 70%
    }

    h1 a {
        font-size: 0.54em;
        margin-bottom: 0.69em;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale
    }

    h1 span {
        font-size: 0.369em;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale
    }
}

.mouse-bg {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    position: fixed
}
