/** Fonts */
@font-face {
    font-family: Avenir;
    src: url(../assets/fonts/AvenirNextWorld-Bold.ttf);
}

/* 
    Allows for the background to cover the whole of the text area and be scrollable
    Portrait mode also takes up a percentage of the screen to stop the text area becoming too small
*/
@media screen and (orientation: portrait) {
    #wrapper {
        position: absolute;
        margin-top: 0;
        left: 0;
        right: 0;
        width: 86%;
        min-height: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 237px;
        margin-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        background-color: rgba(0, 0, 0, 0.75);
    }
}

@media screen and (orientation: landscape) {
    #wrapper {
        position: absolute;
        left: 0;
        right: 0;
        width: 86%;
        min-height: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-top: 237px;
        margin-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
        background-color: rgba(0, 0, 0, 0.75);
    }
}

/* Styles the background so that it doesn't scroll and takes up the whole screen */
html,
body {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    position: fixed; /* absolute */ /* This line was switched out as it causes issues with the scrolling of the page */
    margin: 0;
    top: 0;
    left: 0;
    overflow: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top left;
    /* background-attachment: fixed; */ /* This line is commented out as it causes issues with the scrolling of the page */
    overscroll-behavior: contain;
}

body {
    background-image: url(external_help.jpg);
    color: white;
}

ul {
    line-height: 1.2;
}

li {
    font-size: 18px;
    font-family: Avenir, Helvetica, sans-serif;
    line-height: 1.33;
}

.header {
    font-family: Avenir, Helvetica, sans-serif;
    text-align: left;
    font-size: 30px;
    font-weight: bolder;
    background: -webkit-linear-gradient(#FFD80E 50%, #D86700 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Styles the main body of the text to be centred */
.centered {
    text-align: center;
}

.leftAligned {
    text-align: left;
}

.noBullet {
    list-style-type: none;
    list-style-position: inside;
}

.withBullet {
    list-style-type: disc;
    list-style-position: outside;
}

.listSpacer {
    padding-bottom: 20px;
}

#bagtable {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

#bagtable, th, td {
    border: 1px solid white;
    text-align: center;
    vertical-align: middle;
    font-family: Avenir, Helvetica, sans-serif;
}

#bagtable th {
    font-size: 22px;
}

.moneybag {
    background-image: url(moneybags-hd.webp);
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 2px;
}

.multitext {
    width: 300px;
    font-size: 18px;
}

/** Below are the sprite positions and sizes of each bag on the moneybags sprite sheet */
#bag1 {
    background-position: -178px -78px;
    width: 75px;
    height: 63px;
}

#bag2 {
    background-position: -1px -151px;
    width: 81px;
    height: 67px;
}

#bag3 {
    background-position: -1px -82px;
    width: 81px;
    height: 67px;
}

#bag4 {
    background-position: -94px -78px;
    width: 82px;
    height: 74px;
}

#bag5 {
    background-position: -94px -1px;
    width: 89px;
    height: 75px;
}

#bag6 {
    background-position: -1px -1px;
    width: 91px;
    height: 79px;
}