@font-face {
    font-family: 'amor_sans_proregular';
    src: url('../fonts/amorsanspro-webfont.eot');
    src: url('../fonts/amorsanspro-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/amorsanspro-webfont.woff') format('woff'),
    url('../fonts/amorsanspro-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    height: 100%;
}

body {
    background: url('../img/background.png');
    background-size: cover;
    font-family: "amor_sans_proregular", Helvetica, Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
}

#game {
    width: 90%;
    height: 90%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

#game.cursor-paintbrush,
#game.cursor-paintbrush * {
    cursor: url("../img/cursor-paintbrush.png"), auto;
}

#game .wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

#game .wrapper .coloring-container {
    width: 100%;
    height: 100%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

#game .wrapper .coloring-container .image-container {
    text-align: center;
    font-size: 0;
    display: inline-block;
    position: relative;
}

#game .wrapper .coloring-container .image-container img {
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(30, 30, 30, 0.6);
    box-shadow: 1px 1px 3px 1px rgba(30, 30, 30, 0.6);
}

#game .wrapper .coloring-container .colors-container {
    height: 100%;
    width: 10%;
    position: fixed;
    left: 5%;
    top: 0;
    padding: 1%;
    text-align: center;
    line-height: 1;
}

#game .wrapper .coloring-container .colors-container .colors-wrapper {
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

#game .wrapper .coloring-container .colors-container .colors-wrapper .color {
    display: inline-block;
    height: 5%;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    border: 1px solid #555;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-box-shadow: 1px 1px 3px 1px rgba(30, 30, 30, 0.6);
    box-shadow: 1px 1px 3px 1px rgba(30, 30, 30, 0.6);
}

#game .wrapper .coloring-container .colors-container .colors-wrapper .color.is-active {
    border-width: 3px;
}

#game .popup-overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    opacity: 0.7;
    display: none;
}

#game .popup {
    width: 600px;
    height: 300px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

#game .popup .content {
    padding: 20px;
    background: #fff;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border: 6px solid #010165;
    width: 100%;
    height: 100%;
    text-align: center;
}

#game .popup .content p {
    font-size: 36px;
    color: #010165;
    text-align: center;
    margin-bottom: 55px;
    padding-top: 50px;
}

#game .popup.popup-instruction .start {
    width: 200px;
    font-size: 30px;
    border: 3px solid #010165;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #010165;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    line-height: 70px;
    padding: 20px;
    margin: 0 auto;
}

#game .popup.popup-instruction .start:hover {
    background-color: rgba(30, 144, 255, 0.5);
    color: #ffffff;
}

#refresh {
    position: fixed;
    background: rgba(255, 255, 255, 0.5) url("../img/refresh.png") center no-repeat;
    border: 3px solid #010165;
    border-radius: 8px;
    background-size: contain;
    width: 100px;
    height: 100px;
    right: 1%;
    bottom: 3%;
    cursor: pointer;
    z-index: 1000;
}

@media only screen and (max-width: 1280px) and (max-height: 1024px) {
    #game .wrapper .coloring-container .colors-container {
        left: -10px;
    }
}


@media only screen and (max-width: 1150px) {
    #game .wrapper {
        width: 97%;
    }
    #refresh {
        width: 60px;
        height: 60px;
    }
    #game .wrapper .coloring-container .colors-container {
        left: 0;
    }
}