body,html{
    font-family: helvetica;
    margin: 0px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none;
}

html,body{
    height: 100%;
}

body{
    min-height: 100%;
    background: black;
}

div#preload{
    opacity: 0;
}

.button{
    display: inline-block;
    padding: 5px;
    margin-bottom: 10px;
    background: white;
    text-align: center;
    border-radius: 10px;
    font-size: 30px;
    box-shadow: 0px 5px rgb(200,200,200);
    position: relative;
    color: black;
}

.buttonSmallHeight{
    padding-bottom: 0px;
}

.pressedButton, .selectedButton{
    box-shadow: none !important;
    top: 5px;
}

.arrowButton{
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0px;
    padding: 0px;
    background-size: cover;
}

#settingsButton{
    position: fixed;
    bottom: 0px;
    left: 0px;
    margin: 5px;
    background-image: url('/img/gear.svg');
    background-size: cover;
    width: 40px;
    height: 40px;
    z-index: 500;
    background-size: 25px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

#settingsCloseButton{
    position: absolute;
    top: 0px;
    right: 0px;
    background-image: url('/img/exitCross.svg');
    background-size: cover;
    width: 50px;
    height: 50px;
}

#settingsWindow{
    z-index: 300;
    position: absolute;
    background: black;
    font-size: 20px;
    color: white;
    height: 100%;
    width: 100%;
    padding: 0px;
}

#setNameField{
    display: block;
    width: 100%;
    height: 50px;
    margin: 0px;
    border: 0px;
    padding: 0px;
    font-size: 30px;
    border-radius: 0px;
    margin-bottom: 5px;
    -webkit-appearance: none;
    outline: 0;
}

#setNameForm{
    display: inline-block;
    margin: 0px;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 600;
}

.whiteTextDiv h1, .whiteTextDiv p, .whiteTextDiv span{
    font-size: 20px;
    color: white;
    margin: 10px;
}

.whiteTextDiv span{
    margin: 0px;
}

.whiteTextDiv h1{
    font-size: 35px;
}

.whiteTextDiv a{
    color: white;
}

.centered{
    text-align: center;
}

.gameScreen{
    display: none;
    left: 0px;
    position: fixed;
    left: 0px;
    width: 100%;
    height: 100%;
    bottom: 0px;
}

#arrowControls{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
    z-index: 200;
}

#swipeControls{
    width: 100%;
    height: 100%;
    z-index: 250;
}

.emptySpace{
    display: inline-block;
    width: 70px;
    height: 70px;
    position: relative;
}

#dedImgSvg, #trophySvg{
    width: 100%;
    max-height: 300px;
}

.fullCheckBoxDiv{
    padding: 5px;
}

.checkBoxWrapper{
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
}

.checkBoxLabel{
    font-size: 20px;
    color: white;
    display: inline-block;
    width: calc(100% - 60px);
    vertical-align: middle;
    text-align: left;
}

#livesBox{
    display: none;
    position: fixed;
    left: 50%;
    bottom: 0px;
    transform: translate(-50%, 0px);
    -webkit-transform: translate(-50%, 0px);
    -moz-transform: translate(-50%, 0px);
    -o-transform: translate(-50%, 0px);
    pointer-events: none;
    background: white;
    border-radius: 5px 5px 0px 0px;
}

.heart{
    width: 50px;
    margin: -12px;
    margin-top: -20px;
    position: relative;
    top: 11px;
    display: inline-block;
    pointer-events: none;
}

#memoryCanvasTools{
    display: fixed;
    text-align: center;
    /*height: 58px;
    overflow-x: scroll;
    white-space: nowrap;
    text-align: center;*/
}

#memoryCanvas{
    background: white;
    width: 300px;
    height: 300px;
    position: fixed;
    bottom: 0px;
    transform-origin: 0% 100%;
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
}

#uploadImageColors{
    text-align: center;
}

.memoryButton{
    margin-top: 5px;
    margin-bottom: 5px;
    width: 40px;
    height: 40px;
    vertical-align: top;
}

#memorySend{
    background-image: url('/img/sendImage.svg');
    background-size: cover;
}

#memoryErase{
    background-image: url('/img/eraser.svg');
    background-size: cover;
}

#memoryColors{
    background-image: url('/img/colorPicker.svg');
    background-size: cover;
}

#memoryColor1{
    background: rgb(245, 86, 86);
    box-shadow: 0px 5px rgb(196, 69, 69);
}

#memoryColor2{
    background: rgb(245, 86, 205);
    box-shadow: 0px 5px rgb(196, 69, 164);
}

#memoryColor3{
    background: rgb(192, 86, 245);
    box-shadow: 0px 5px rgb(154, 69, 196);
}

#memoryColor4{
    background: rgb(107, 86, 245);
    box-shadow: 0px 5px rgb(86, 69, 196);
}

#memoryColor5{
    background: rgb(86, 160, 245);
    box-shadow: 0px 5px rgb(69, 128, 196);
}

#memoryColor6{
    background: rgb(86, 216, 245);
    box-shadow: 0px 5px rgb(69, 173, 196);
}

#memoryColor7{
    background: rgb(86, 245, 136);
    box-shadow: 0px 5px rgb(69, 196, 109);
}

#memoryColor8{
    background: rgb(181, 245, 86);
    box-shadow: 0px 5px rgb(145, 196, 69);
}

#memoryColor9{
    background: rgb(245, 205, 86);
    box-shadow: 0px 5px rgb(196, 164, 69);
}

#memoryColor10{
    background: rgb(245, 125, 86);
    box-shadow: 0px 5px rgb(196, 100, 69);
}

#memoryBlack{
    background: black;
    box-shadow: 0px 5px rgb(50,50,50);
}

#memorySize1{
    background-image: url('/img/circle1.svg');
    background-size: cover;
}

#memorySize2{
    background-image: url('/img/circle2.svg');
    background-size: cover;
}

#memorySize3{
    background-image: url('/img/circle3.svg');
    background-size: cover;
}

#memoryUpload{
    background-image: url('/img/camera.svg');
    background-size: cover;
}

#memoryUploadInput{
    display: none;
    /*opacity: 0;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;*/
}

#memoryImagePreview{
    position: absolute;
    top: 0px;
    left: 0px;
    width: 900px;
    height: 900px;
    display: block;
    pointer-events: none;
}

.memoryImage{
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: white;
}