@import 'https://fonts.googleapis.com/css?family=Harmattan';

::selection {
    color: #455a64;
    background: transparent;
}

::-moz-selection {
    color: #455a64;
    background: transparent;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Harmattan', sans-serif;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;;
    height: 100vh;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;

}

.section-left {
    padding: 0;
    position: relative;
    height: 100vh;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
.section-left .go-back {position: absolute; top: 20px; left: 20px; font-size: 24px; line-height: 40px;}
.section-left .go-back a {color: #00a0d2; font-family: "AraHamahHoms-Regular" !important;}

.section-right {
    text-align: center;
    position: relative;
    height: 100vh;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: url("../images/404-wall.jpg") no-repeat center center;
}
.section-wrap {
    font-family: "AraHamahHoms-Regular" !important;
    color: #FFF;
    width: 100%;
    content: '';
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    padding: 30px;
    padding-bottom: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.wrap {
    margin-left: auto;
    margin-right: auto;
}

header {
    width: 340px;
    font-size: 0;
}

canvas {
    display: none;
    border-style: solid;
    border-width: 5px;
    border-color: #455a64;
}

canvas:focus {
    outline: none;
}

/* Top Styles */
h1 {
    display: inline-block;
    width: 100px;
    font-size: 27px;
    color: #455a64;
}

.score {
    display: inline-block;
    width: 240px;
    font-size: 20px;
    color: #455a64;
    text-align: left;
}

.score_value {
    font-size: inherit;
}

/* All screens style */
#gameover a, #setting a, #menu a {
    display: block;
}

#gameover a, #setting a:hover, #menu a:hover {
    cursor: pointer;
}

#gameover a:hover::before, #setting a:hover::before, #menu a:hover::before {
    content: ">";
    margin-right: 10px;
}

/* Menu Screen Style */
#menu {
    display: block;
    width: 340px;
    padding-top: 95px;
    padding-bottom: 95px;
    font-size: 40px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #455a64;
}

#menu h2 {
    -webkit-animation: logo-ani 1000ms linear infinite;
    animation: logo-ani 1000ms linear infinite;
    margin-bottom: 30px;

}

#menu a {
    font-size: 30px;
}

@-webkit-keyframes logo-ani {
    50% {
        -webkit-transform: scale(1.3, 1.3);
    }
    100% {
        -webkit-transform: scale(1.0, 1.0);
    }
}

@keyframes logo-ani {
    50% {
        transform: scale(1.3, 1.3);
    }
    100% {
        transform: scale(1.0, 1.0);
    }
}

/* Game Over Screen Style */

#gameover {
    display: none;
    width: 340px;
    padding-top: 95px;
    padding-bottom: 95px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 30px;
    color: #FF001D;
}

#gameover p {
    margin-top: 25px;
    font-size: 20px;
}

/* Settings Screen Style */
#setting {
    display: none;
    width: 340px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 85px;
    padding-bottom: 85px;
    font-size: 30px;
    color: #455a64;
    text-align: center;
}

#setting h2 {
    margin-bottom: 15px;
}

#setting p {
    margin-top: 10px;
}

#setting input {
    display: none;
}

#setting label {
    cursor: pointer;
}

#setting input:checked + label {
    background-color: #FFF;
    color: #03a9f4;
}