@font-face {
    font-family: 'Pretendo';
    src: url('pretendo-webfont.woff2') format('woff2'), url('pretendo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cont';
    src: url('cont.woff2') format('woff2'), url('cont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background-color: #72a0ba;
    pointer-events: none;
}

body * {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

@-moz-document url-prefix() {
    #volume-knob-info {
        display: none;
    }
}

@media(max-width: 1000px) {
    #wrapper {
        margin-top: 100px !important;
    }

    #volume-knob-info {
        transform: scale(0.5);
        right: -200px !important;
        top: 140px !important;
    }
}

@media(max-width: 700px) {
    #volume-knob-info {
        display: none;
    }
}

#volume-knob-info {
    position: absolute;
    right: -280px;
    top: 150px;
    font-family: 'Nanum Pen Script', cursive;
    font-size: 3em;
}

#volume-knob-info:before {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    top: -80%;
    left: -65%;
    z-index: -1;
    background-image: url("https://image.flaticon.com/icons/svg/64/64818.svg");
    background-size: 100% 100%;
    -webkit-transform: rotate(150deg);
    transform: rotate(150deg);
}

#info {
    position: absolute;
    left: 10px;
    top: 10px;
    font-family: "Lato";
    font-size: 2em;
    font-weight: 700;
}

#info p {
    margin: 0;
}

.made-by {
    margin-top: 20px !important;
    font-size: 0.5em;
    pointer-events: all;
}

#wrapper {
    position: relative;
    width: 400px;
    margin: 0 auto;
    pointer-events: none;
    margin-top: 50px;
}

#case {
    transform: scale(1);
    margin: 0 auto;
    width: 400px;
    height: 660px;
    background-color: #dad8da;
    border-radius: 15px 15px 90px 15px;
    position: relative;
}

#volume-knob {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 70px;
    right: -16px;
    z-index: -1;
    pointer-events: all;
}

#screen {
    width: 340px;
    height: 260px;
    background-color: #43434d;
    border-radius: 12px 12px 60px 12px;
    margin: auto;
    left: 0;
    right: 0;
    top: 50px;
    position: absolute;
}

#monitor {
    height: 190px;
    width: 200px;
    background-color: #92b75e;
    border: 2px solid #000;
    border-radius: 2px;
    right: 0;
    left: 0;
    top: calc(50% - (190px / 2));
    position: absolute;
    margin: auto;

    user-drag: initial;
    user-select: initial;
    -moz-user-select: initial;
    -webkit-user-drag: initial;
    -webkit-user-select: initial;
    -ms-user-select: initial;
    pointer-events: all;
}

#monitor img {
    width: 100%;
    height: 100%;
}

#logo {
    color: #020868;
    top: 310px;
    left: 30px;
    position: absolute;
}

.nintendo {
    font-family: 'Pretendo';
}

.gameboy-logo {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 30px;
    font-style: italic;
}

.tm {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 10px;
}

.thumb {
    background-color: #121220;
    position: absolute;
    border-radius: 5px;
}

#thumb-1 {
    width: 100px;
    height: 35px;
    left: 30px;
    bottom: 192px;
}

#thumb-2 {
    width: 35px;
    height: 100px;
    left: 63px;
    bottom: 160px;
}

#thumb-circle {
    width: 26px;
    height: 26px;
    border-radius: 13px;
    background-color: #262534;
    left: 67px;
    bottom: 198px;
    position: absolute;
}

.button {
    box-shadow: 1px 2px #000 inset;
    background-color: #87003a;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    position: absolute;
    pointer-events: all;
}

#button-a {
    right: 30px;
    bottom: 208px;
}

#button-b {
    right: 96px;
    bottom: 178px;
}

.trigger-text {
    font-family: 'Cont';
    font-size: 18px;
    font-weight: 200;
    text-align: center;
    color: #000066;
    top: 55px;
    left: 40px;
    position: absolute;
    -ms-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
    transform: rotate(-25deg);
}

.speaker-grill {
    height: 70px;
    width: 8px;
    background-color: #bab8ba;
    border-radius: 4px;
    margin-right: 12px;
    display: inline-block;
}

.speaker-grill:not(:first-child) {
    box-shadow: 2px 0px #000 inset;
}

.speaker-grill:not(:first-child):after {
    content: '';
    width: 8px;
    border-radius: 0px 0px 4px 4px;
    height: 20px;
    bottom: 3px;
    background: #bab8ba;
    position: absolute;
}

#grill-container {
    right: 20px;
    bottom: 40px;
    position: absolute;
    -ms-transform: rotate(-30deg);
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
}

.start-select {
    box-shadow: 0px 1px #000 inset;
    background-color: #7c7a83;
    width: 50px;
    height: 12px;
    border-radius: 12px;
    -ms-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
    transform: rotate(-25deg);
    position: absolute;
    bottom: 120px;
    pointer-events: all;
}

#select-button {
    left: 120px;
}

#start-button {
    left: 190px;
}

.button-text {
    font-family: 'Cont';
    font-size: 18px;
    font-weight: 200;
    text-align: center;
    color: #000066;
    top: 12px;
    left: -10px;
    position: absolute;
    width: 70px;
}

#top {
    height: 30px;
    border-bottom: 4px solid #b9b8b9;
    position: relative;
}

#top .lines {
    height: 100%;
    width: 4px;
    background-color: #b9b8b9;
    position: absolute;
}

#line-1 {
    left: 30px;
}

#line-2 {
    right: 30px;
}

#on-off {
    width: 80px;
    height: 16px;
    border-radius: 8px;
    background-color: #b9b8b9;
    text-align: center;
    font-family: 'Lato', sans-serif !important;
    font-weight: 400;
    font-size: 12px;
    color: #d0ced0;
    left: 46px;
    top: 7px;
    position: absolute;
}

#battery {
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 10px;
    color: #8c8c96;
    left: 10px;
    top: 90px;
    position: absolute;
}

#battery #dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: #04004a;
    left: 10px;
    bottom: 20px;
    position: absolute;
}

#battery #dot.turnedOn {
    background: #FF0000;
}

#display-info {
    background-color: #43434d;
    background: linear-gradient(to bottom, #75064b 0%, #75064b 33.33%, transparent 0, transparent 66.66%, #04004a 0);
    top: 13px;
    width: 100%;
    height: 9px;
    position: absolute;
}

#display-info #text {
    background-color: #43434d;
    font-family: 'Lato', sans-serif;
    padding-left: 6px;
    padding-right: 6px;
    font-weight: 400;
    font-size: 10px;
    color: #8c8c96;
    right: 62px;
    top: -2px;
    position: absolute;
}

#button-container {
    width: 140px;
    height: 70px;
    background-color: #cdcbcd;
    border-radius: 35px;
    right: 17px;
    bottom: 182px;
    box-shadow: 0 0 8px 8px rgba(192, 191, 192, 0.5) inset;
    position: absolute;
    -ms-transform: rotate(-25deg);
    -webkit-transform: rotate(-25deg);
    transform: rotate(-25deg);
}

#thumb-container {
    height: 120px;
    width: 120px;
    background-color: #cdcbcd;
    border-radius: 60px;
    left: 20px;
    bottom: 150px;
    box-shadow: 0 0 8px 8px rgba(192, 191, 192, 0.5) inset;
    position: absolute;
}

.menu,
.window,
.menubar {
    display: none;
}

body>div#fullscreenContainer {
    position: absolute;
    /*Fallback here if fixed isn't supported*/
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0px;
    background-color: rgb(0, 0, 0);
    display: none;
    z-index: 100;
}

body>div#fullscreenContainer>canvas#fullscreen.maximum {
    position: static;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body>div#fullscreenContainer>canvas#fullscreen.minimum {
    position: absolute;
    height: 144px;
    width: 160px;
    top: 50%;
    left: 50%;
    margin: -72px 0 0 -80px;
    padding: 0;
}

.cartridgeContainer {
    width: 300px;
    height: 340px;
    background-color: #3244b3;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    margin-right: 12px;
    margin-left: 12px;
    margin-top: 20px;

    pointer-events: all;
}

.cartridgeContainer:hover {
    opacity: 0.9;
    cursor: pointer;
}

.cartridgeContainer:active {
    position: relative;
    top: 2px;
}

.cartridgeLines {
    position: absolute;
    top: 20px;
    width: 300px;
    height: 60px;
    background: linear-gradient( to bottom, transparent 0%, transparent 10%, #1c2663 10%, #1c2663 20%, transparent 20%, transparent 30%, #1c2663 30%, #1c2663 40%, transparent 40%, transparent 50%, #1c2663 50%, #1c2663 60%, transparent 60%, transparent 70%, #1c2663 70%, #1c2663 80%, transparent 80%, transparent 90%, #1c2663 90%, #1c2663 100%);
    left: 0;
    right: 0;
    margin: auto;
}

.cartridgeLogo {
    top: 15px;
    height: 65px;
    width: 230px;
    background-color: #1c2663;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    border-radius: 40px;
    border: 5px solid #3244b3;
    text-align: center;
}

.cartridgeTextContainer {
    top: 15px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
}

.cartridgeLogo span {
    margin-top: 30px;
    text-shadow: 0px 1px #000;
}

.cartridgeNintendo {
    font-family: 'Pretendo';
    font-size: 14px;
}

.cartridgeGameboy {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    font-style: italic;
}

.cartridgeGame {
    background-color: #3244b3;
    border: 5px solid #595757;
    width: 220px;
    height: 190px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 5px;
    top: 94px;
}

.cartridgesIndent {
    background-color: #1c2663;
}

.cartridgeGame img {
    height: 100%;
    width: 100%;
}

.cartridgeIndents {
    width: 10px;
    height: 200px;
    bottom: 0;
    position: absolute;
}

.cartridgeIndents.left {
    left: 0;
    border-radius: 0px 0px 0px 5px;
}

.cartridgeIndents.right {
    right: 0;
    border-radius: 0px 0px 5px 0px;
}

.triangle {
    position: relative;
    text-align: left;
    background-color: #1c2663;
}

.triangle:before,
.triangle:after {
    content: '';
    position: absolute;
    background-color: inherit;
}

.triangle,
.triangle:before,
.triangle:after {
    width: 1em;
    height: 1em;
    border-top-right-radius: 30%;
}

.triangle {
    transform: rotate(120deg) skewX(-30deg) scale(1, .866);
}

.triangle:before {
    transform: rotate(-135deg) skewX(-45deg) scale(1.414, .707) translate(0, -50%);
}

.triangle:after {
    transform: rotate(135deg) skewY(-45deg) scale(.707, 1.414) translate(50%);
}

.triangleContainer {
    position: relative;
    padding-top: 310px;
    padding-left: 140px;
}

#cartridges {
    text-align: center;
    width: 720px;
    margin: 0 auto;
}

.dropzone.dz-clickable {
    cursor: pointer;
}

.dropzone {
    border-radius: 0px;
    min-height: 150px;
    color: #FFF;
    background: #92b75e;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;

    position: absolute;
    left: 0;
    top: 0;
}

.dropzone span {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.5em;
    display: block;
}

.dropzone span.added-game {
    margin-top: 10px;
    font-size: 1.3em;
    font-weight: 400;
}

.dz-preview {
    display: none;
}