
.button-4.active-button,.button-4.inactive-button {
    height: 56px;
    outline: none;
}
.button-4.login-button {
    width: 100%;
}
.button-4 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 64px;
    padding: 0;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 4px;
    background-image: -webkit-linear-gradient(270deg, #fcd860, #e67d1c);
    background-image: linear-gradient(180deg, #fcd860, #e67d1c);
    box-shadow: inset 0 -2px 0 0 #cc6e16;
    font-family: Baloo, sans-serif;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(51, 51, 51, .4);
}
div.buttons-container {
    display: flex;
    align-items: center;
}
div.buttons-container button.active-button{
    margin: 40px auto auto;
    width: 60%;
    font-family: 'Baloo', cursive;
    text-transform: uppercase;
}
div.buttons-container button.inactive-button{
    margin: 40px auto auto;
    width: 30%;
    background-image: -webkit-linear-gradient(270deg, #fbfbfb, #e8e7eb);
    background-image: linear-gradient(180deg, #fbfbfb, #e8e7eb);
    box-shadow: inset 0 -2px 0 0 #B3B0B8;
    color: #7E6E72;
    font-family: 'Baloo', cursive;
    text-transform: uppercase;
}
div.separator {
    display: block;
    height: 1px;
    background-color: #E1E1E2;
    width: calc(100% + 40px);
    margin-top: 25px;
    margin-right: -20px;
    margin-left: -20px;
}

div.register-contaienr {
    margin: 100px 0;
}

div.login-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 24px;
}

div.login-container > div.content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-width: 1280px;
    margin: 0px auto auto;
}

div.login-container > div.content > div {
    margin: auto;
}
div.login-container div.form-container {
    position: relative;
    margin-top: 100px !important;
    display: flex;
    align-items: center;
    flex-direction: column;
}

div.login-container div.form-container div.logo-title {
    font-family: 'Baloo', cursive;
    font-size: 21px;
    color: #303133;
    text-align: center;
    width: 220px;
}

div.login-container div.form-container div.input-container{
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 70px 20px 20px;
}

div.login-container div.form-container div.input-container form {
    min-width: 260px;
    width: 100%;
    text-align: left;
}

div.login-container div.form-container div.input-container input[type="submit"], form {
    width: 100%;
}
div.login-container div.form-container div.input-container button.signup-section{
    margin-top: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    text-transform: uppercase;
    width: 100%;
}

div.login-container div.hero-container {
    height: 465px;
    width: 381px;
}

div.logo-container{
    background: url('../images/logos/hash-dragon-logo_1x.png') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 266px;
    height: 141px;
    position: absolute;
    top: -80px;
}

div#login-form {
    width: 381px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

div.story-container {
    margin: 30px 5%;
}

div.story-container div.story-content {
    margin: auto;
    padding: 15px;
    max-width: 1024px;
    background-color: white;
    border-radius: 14px;
}

div.story-content h1 {
    font-family: 'Baloo', cursive;
    color: #303133;
}

div.story-content p {
    text-align: center;
    font-family: 'Baloo', cursive;
    font-size: 18px;
    color: #303133;
    padding: 5px;
}

div.story-content p.resources {
    margin: auto;
    text-align: center;
}

img.resource-icon {
    display: inline-block;
    transform: scale(.5);
}

div.story-content p.dragons {
    margin: auto;
    text-align: center;
}

span.dragon-silhouette {
    display: inline-block;
    border-radius: 50%;
    background-color: gray;
    width: 250px;
    margin: 10px;
}

span.dragon-silhouette img {
    width: 100%;
    padding: 20px;
    opacity: .7;
    display: inline-block;
    transform: scale(.7);
}

div.story-content p.screenshot {
    display: block;
    width: 100%;
    text-align: center;
}

div.story-content p.screenshot img {
    display: inline-block;
    max-width: 300px;
    border-radius: 50%;
}

/* Regular desktop */
@media
only screen and (min-width: 767px) {
    body {
        background: url('../images/backgrounds/Desktop/background-desktop_1x.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    div.login-container div.hero-container{
        background: url('../images/characters/characters_1x.png') no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    div.story-content p.screenshot img {
        max-width: 500px;
    }    
}

/* Regular mobile */
@media
only screen and (max-width: 767px) {
    body {
        background: url('../images/backgrounds/Mobile/background-mobile_1x.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    div.register-contaienr {
        margin: 0;
    }

    div.login-container div.hero-container {
        display: none;
    }

    div#login-form {
        width: 250px;
    }

    div.logo-container {
        background-size: 80%;
        top: -56px;
    }

    div.login-container > div.content > div {
        margin: auto 24px;
    }

    div.form-container {
        width: 100%;
    }

    div.login-container div.input-container{
        width: 100%;
    }

    div.login-container {
        margin: 0;
        padding: 0;
    }

    div#login-form {
        width: 100%;
    }
}

/* Retina desktop */
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 767px),
only screen and (   min--moz-device-pixel-ratio: 2) and (min-width: 767px),
only screen and (   -o-min-device-pixel-ratio: 2/1) and (min-width: 767px),
only screen and (        min-device-pixel-ratio: 2) and (min-width: 767px),
only screen and (           min-resolution: 192dpi) and (min-width: 767px),
only screen and (            min-resolution: 2dppx) and (min-width: 767px) {
    body {
        background: url('../images/backgrounds/Desktop/background-desktop_2x.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    div.login-container div.hero-container{
        background: url('../images/characters/characters_2x.png') no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    div.logo-container{
        background-image: url('../images/logos/hash-dragon-logo_2x.png');
    }
}

/* Retina mobile */
@media
only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 767px),
only screen and (   min--moz-device-pixel-ratio: 2) and (max-width: 767px),
only screen and (   -o-min-device-pixel-ratio: 2/1) and (max-width: 767px),
only screen and (        min-device-pixel-ratio: 2) and (max-width: 767px),
only screen and (           min-resolution: 192dpi) and (max-width: 767px),
only screen and (            min-resolution: 2dppx) and (max-width: 767px) {
    body {
        background: url('../images/backgrounds/Mobile/background_2x.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    div.logo-container{
        background-image: url('../images/logos/hash-dragon-logo_2x.png');
    }
}

@media
only screen and (max-width: 1024px) {
    div.login-container div.hero-container {
        background-size: 80%;
    }
}