html {
    height: 100%;
}

a:link, a:visited, a:hover, a:active{
    text-decoration: none;
}

body {
    font-family: "Averia", "SF Pro Text", "Helvetica", "Arial", sans-serif;
    font-size: 1em;
    margin: 0px;
    overflow-x: hidden;
    background-color: #1f1b1b;
    background-image: url("../images/tiling-leaves.png");
    background-position: center;
    background-repeat: repeat;
    background-size: 50%;
}

#wondercrab-tag {
    display: block;
    position: absolute;
    margin: 0 auto;
    right: 40px;
    top: -3px;
    height: calc(576px/4);
    width: calc(528px/4);
    background-image: url("../images/wondercrab-tag.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1000;
    transition: 0.1s;
}

#wondercrab-tag:hover   {
    top: 0px;
    transition: 0.1s;
}

#bonus-content-button   {
    margin: 0 auto;
    margin-bottom: -122px;
    position: relative;
    top: 436px;
    left: -375px;
    display: block;
    height: 120px;
    width: 120px;
    z-index: 10000;
}

#header-banner {
    display: block;
    position: relative;
    height: 628px;
    background-image: url("../images/Torril-Site-BG-WIDE.jpg");
    background-position: calc(50% - 0px);
    background-repeat: repeat-x;
    background-size: cover;
    position: relative;
    top: 0px;
    margin-bottom: 0px;
}

#hero-panel {
    display: block;
    position: relative;
    width: calc(2030px/2);
    height: calc(1203px/2);
    background-image: url("../images/hero-panel.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 45px;
    left: -40px;
    margin: 0 auto;
    z-index: 100;
}

#available-link-container {
    display: block;
    width: 420px;
    height: 106px;
    position: relative;
    top: 342px;
    left: 237px;
    margin: 0 auto;
    z-index: 1000;
}

.available-link {
    width: calc(256px/2);
    height: calc(80px/2);
    position: relative;
    top: 60px;
    margin-left: 2px;
    z-index: 10000;
}

.available-link:link {
    position: relative;
    box-shadow: none;
    transition: 0.1s;
}

.available-link:visited {
    position: relative;
    transition: 0.1s;
}

.available-link:hover {
    position: relative;
    top: 58px;
    box-shadow: 0px 0px 12px 0px rgb(255, 225, 169);
    transition: 0.1s;
}

.available-link:active {
    position: relative;
    top: 60px;
    box-shadow: none;
    transition: 0.1s;
}

/*newsticker*/

.newsticker ul li {
    width:730px;
    height:30px;
    overflow:hidden;
    white-space:nowrap;
    display:none;
    overflow: visible;
}

.content-block {
    display: block;
    position: relative;
    flex: 0 1 425px;
    z-index: 100;
}

#content-body   {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 40px;
}

.text-block {
    position: relative;
    z-index: 500;
}

h1 {
    font-family: "Alpaca";
    font-size: 1.8em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: normal;
    color: #ffe9c9;
    font-weight: 100;
    letter-spacing: 0.02em;
    margin-top: 20px;
    text-align: center;
}

h2 {
    font-size: 0.95em;
    text-transform: uppercase;
    text-decoration: none;
    margin: 0px;
    font-weight: normal;
    color: #734;
}

p {
    font-size: 1.15em;
    line-height: 1.4em;
    letter-spacing: -0.05em;
    text-transform: none;
    text-decoration: none;
    margin: 0px;
    margin-bottom: 0.8em;
    font-weight: 80;
    color: #e0c285;
    padding: 0px;
    text-align: justify;
    text-align-last: center;
}

.caption    {
    font-style: italic;
    color: #3a9086;
}

.footer-divider {
    margin-top: 10px;
    width: 50%;
    color: #ffe9c9;
}

#content-footer {
    display: block;
    background-position: center;
    background-repeat: repeat-x;
    background-size: 750px 280px;
    position: relative;
    height: 130px;
    z-index: 1000;
    margin-top: 0px;
    font-weight: 100;
}

#content-footer p {
    text-transform: uppercase;
    font-size: 1em;
    color: #e0c285;
    text-align: center;
    margin: 0 auto;
    padding-top: 18px;
    width: 100%;
}

#content-footer a {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 1em;
    color: #3a9086;
    position: relative;
    top: 0px;
    transition: 0.2s;
    letter-spacing: -0.05em;
}

#content-footer a:visited {
    color: #3a9086;
}

#content-footer a:hover {
    color: #5ab0a6;
    position: relative;
    transition: 0.2s;
}

#content-footer a:active {
    color: #3a9086;
}



/* ------------------------------------------------------------------- */

@media only screen and (min-device-width: 350px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) {

    #wondercrab-tag {
        display: block;
        position: absolute;
        margin: 0 auto;
        right: 25px;
        height: calc(576px/2.3);
        width: calc(528px/2.3);
        background-image: url("../images/wondercrab-tag.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1000;
    }
 
    #header-banner {
        display: block;
        position: relative;
        height: calc(728px*1.85);
        background-image: url("../images/Torril-Site-BG-WIDE.jpg");
        background-position: center top;
        background-repeat: repeat-x;
        background-size: cover;
        position: relative;
        top: -100px;
        margin-bottom: -70px;
    }
    
    #hero-panel {
        display: block;
        position: relative;
        width: 900px;
        height: 1106px;
        background-image: url("../images/hero-panel-MOBILE-OFFICIAL.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        top: 100px;
        left: 0px;
        margin: 0 auto;
        z-index: 100;
    }
    
    #bonus-content-button   {
        margin: 0 auto;
        margin-bottom: -122px;
        position: relative;
        top: 550px;
        left: 265px;
        display: block;
        height: 220px;
        width: 220px;
        z-index: 10000;
    }  
    
    .content-block {
        display: block;
        position: relative;
        flex: 0 1 800px;
        z-index: 100;
    }
    
    #content-body   {
        display: flex;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
        gap: 70px;
        flex-wrap: wrap;
        margin-bottom: 40px;
    }

    #available-link-container {
        display: block;
        width: calc(420px*2);
        height: calc(106px*2);
        position: relative;
        top: 910px;
        left: 0px;
        margin: 0 auto;
        z-index: 1000;
    }
    
    .available-link {
        width: calc(256px*1);
        height: calc(80px*1);
        position: relative;
        top: 60px;
        margin-left: 14px;
        z-index: 10000;
    }
    

    .text-block {
        position: relative;
        z-index: 500;
    }
    
    h1 {
        font-family: "Alpaca";
        font-size: 3.4em;
        text-transform: uppercase;
        text-decoration: none;
        font-weight: normal;
        color: #ffe9c9;
        font-weight: 100;
        letter-spacing: 0.02em;
        margin-top: 20px;
        text-align: center;
    }
    
    h2 {
        font-size: 0.95em;
        text-transform: uppercase;
        text-decoration: none;
        margin: 0px;
        font-weight: normal;
        color: #734;
    }

    p {
        font-size: 3em;
        line-height: 1.6em;
        letter-spacing: -0.05em;
        text-transform: none;
        text-decoration: none;
        margin: 0px;
        margin-bottom: 1.8em;
        font-weight: 80;
        color: #e0c285;
        padding: 0px;
        text-align: justify;
        text-align-last: center;
    }
    
    .caption    {
        font-style: italic;
        color: #3a9086;
    }
    
    .footer-divider {
        margin-top: 100px;
        width: 80%;
        color: #ffe9c9;
    }

    #content-footer {
        display: block;
        background-position: center;
        background-repeat: repeat-x;
        background-size: 750px 280px;
        position: relative;
        height: 130px;
        z-index: 1000;
        margin-top: 0px;
        padding-bottom: 300px;
        font-weight: 100;
    }
    
    
    
    #content-footer p {
        text-transform: uppercase;
        font-size: 2.5em;
        color: #e0c285;
        text-align: center;
        margin: 0 auto;
        padding-top: 48px;
        width: 100%;
    }
    
    #content-footer a {
        text-transform: uppercase;
        text-decoration: underline;
        font-size: 1em;
        color: #3a9086;
        position: relative;
        top: 0px;
        transition: 0.2s;
        letter-spacing: -0.05em;
    }
    
    #content-footer a:visited {
        color: #3a9086;
    }
    
    #content-footer a:hover {
        color: #5ab0a6;
        position: relative;
        transition: 0.2s;
    }
    
    #content-footer a:active {
        color: #3a9086;
    }
    
        

}
