/*
Dear Future me: Media queries are listed at the bottom of this file
*/

hr
{
    border-top: 2px solid #adb9b8;
    border-left: 2px solid #adb9b8;
    border-bottom: 2px solid #6b6f72;
    border-right: 2px solid #6b6f72;

    width: 90%;
}

body
{
    background-color: #1a1e2d;
    background-image: url("img/background.png");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;

    font-family: sans-serif;

    scrollbar-color: #1a1e2d #284e43;
}

.adventurer_body
{
    background-image: url("img/adventurer_dlc/background.png");
}

.island_body
{
    background-image: url("img/island_dlc/background.png");
}

.craewall_body
{
    background-image: url("img/craewall_dlc/background.png");
}

.dlc_link
{
    color: #fff8e1;
}

.dlc_link a
{
    font-size: 12px;
    font-weight: normal;
    text-decoration: underline;
}

a
{
    color: #fff8e1;
    font-weight: bold;
    text-decoration: none;
}

q
{
    color: #fff8e1;
    margin-bottom: -18px;
}

.store_links
{
    background-color: #65432f;
    
    border-top-style: solid;
    border-bottom-style: solid;
    border-width: 3px;
    border-top-color: #7e6d37;
    border-bottom-color: #50282f;
}

.store_links p, q
{
    margin-left: auto;    
    margin-right: auto;
    display: block;

    height: 20px;
    margin-top: 3px;

    font-size: 16px;
}

.store_links img
{
    width: 120px;
    height: 31px;
}

.store_links a
{
    float: right;
    font-weight: normal;
}

.store_links_background
{
    background-image: url('img/check.png');
    border-top-style: solid;
    border-top-color: #50282f;

    border-bottom-style: solid;
    border-bottom-color: #7e6d37;

    margin-top: 4px;
    margin-bottom: 4px;
}

.div_main
{
    width: 960px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color:#284e439f;
}


/*
Yes this should cascade but SDFJKDSDSFHKSDF
*/
.div_main_dlc
{
    width: 960px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color:#3f544b9f;
}

.text_container
{
    padding: 2px 20px 10px 20px;
}

.div_sshot
{
    overflow: auto;
    white-space: nowrap;
}

.div_sshot img
{
    width: 240px;
    height: 135px;
}

.div_float
{
    position: fixed;
    width: 100%;
    height: 100%;
    bottom: 0%;
    left: 0%;

    background-color: #0000007f;

    z-index: 10;

    display: none;

}

.div_float_border
{
    position: fixed;
    left: 10%;
    bottom: 35%;
    width: 80%;
    height: 30%;

    background-color: #65432f;
    
    border-style: outset;
    border-color: #7e6d37;
    border-width: 6px;
    border-radius: 18px;

    z-index: 20;
}

.div_float_inner
{
    background-image: url('img/check.png');
    margin: 8px;
    border-style: solid;
    border-bottom-color: #7e6d37;
    border-right-color: #7e6d37;
    border-top-color: #50282f;
    border-left-color: #50282f;
    border-width: 3px;
}

.div_float_inner p
{
    margin-left: 20px;
}

.div_float_inner img
{
    margin: 12px;
}

.title
{
    text-align: center;
    font-weight: bold;
    font-size: 4vw;
}

.close_button
{
    position: absolute;
    bottom: 0px;
    font-size: 4vw;
}

.close_button a
{
    color: #f2cf5c;
    border-width: 2px;
}



.button_container
{
    display:grid;
    grid-template-columns:25% 25% 25% 25%;

    position: fixed;
    bottom: 0%;
    width: 960px;

    font-size: 1vw;

    border-top-style: solid;
    border-color: #adb9b8;
    border-width: 4px;
}


.grey_button
{
    background-color: #6b6f72;
}

.grey_button a
{
    /*color: #b83530;*/
    color: #adb9b8;
}

.grey_button p
{
    color: #3a3941;
    font-weight: bold;
}

h1, h2, h3, h4, h5, h6
{
    color: #f2cf5c;
}



@media screen and (orientation: portrait)
{
    p, ul
    {
        color: #fff8e1;
        font-size: 3vw;
    }

    h1, h2, h3, h4, h5, h6
    {
        font-size: 3vw;
        line-height: 0.4;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    q
    {
        font-size: 2.4vw;
        font-style: italic;
    }

    .store_links img
    {
        width: 240px;
        height: 62px;
    }

    .store_links p
    {
        font-size: 4vw;
        margin-bottom: 12px;
        margin-top: 8px;
        height: 60px;
    }

    .store_links q
    {
        margin-bottom: 24px;
    }

    .button_container
    {
        font-size: 3vw;
        border-width: 6px;
    }

    .grey_button
    {
        background-color: #6b6f72;
        padding-left: 2px;
    }

    .div_sshot img
    {
        width: 480px;
        height: 270px;
    }

    .div_float img
    {
        width: 128px;
        height: 128px;
    }

    .dlc_link a
    {
        font-size: 28px;
    }
}

@media screen and (orientation: landscape)
{
    p, ul
    {
        color: #fff8e1;
        font-size: 2vw;
    }

    h1, h2, h3, h4, h5, h6
    {
        font-size: 2vw;
        line-height: 0.4;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    q
    {
        font-size: 1.6vw;
        font-style: italic;
    }

    .title, .close_button
    {
        font-size: 30px;
    }

    .close_button
    {
        bottom: -18px;
    }

    .button_container
    {
        height: 56px;
    }

    .grey_button img
    {
        width: 80px;
        height: 33px;

        margin-top: -12px;
    }

    .grey_button
    {
        padding-left: 80px;
    }

    .div_float_border
    {
        position: fixed;
        left: 10%;
        bottom: 10%;
        width: 80%;
        height: 80%;

        background-color: #65432f;
        
        border-style: outset;
        border-color: #7e6d37;
        border-width: 2px;
        border-radius: 6px;

        z-index: 20;
    }
}


@media screen and (min-width:1281px)
{
    p, ul
    {
        color: #fff8e1;
        font-size: 16px;
    }

    h1, h2, h3, h4, h5, h6
    {
        font-size: 1vw;
        line-height: 0.4;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    q
    {
        font-size: 0.8vw;
        font-style: italic;
    }

    .div_sshot img
    {
        width: 240px;
        height: 135px;
    }

    .div_float_border
    {
        position: fixed;
        left: 30%;
        bottom: 35%;
        width: 40%;
        height: 30%;

        background-color: #65432f;
        
        border-style: outset;
        border-color: #7e6d37;
        border-width: 2px;
        border-radius: 6px;

        z-index: 20;
    }

    .title, .close_button
    {
        font-size: 30px;
    }

    .close_button
    {
        bottom: -26px;
    }

    .button_container
    {
        height: 60px;
    }

    .grey_button img
    {
        width: 120px;
        height: 50px;

        margin-top: -12px;
    }

    .grey_button
    {
        padding-left: 60px;
    }
}