body {
    margin: 0; /* Remove default margin */
    background: url('img/bg.jpg') no-repeat;
    background-size: cover;
}

#bg {
    position: fixed; 
    top: -30%; 
    left: -50%; 
    width: 200%; 
    height: 200%;
    z-index: -1;
}
#bg img {
    position: absolute; 
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    margin: auto; 
    min-width: 50%;
    min-height: 50%;
    height: 100%;
}

.main{
    width:680px;
    margin:10px auto;
}

img {
	margin : 10 0 0 10;
    width: 120px;
}

#score{
	margin : 0 0 0 500px;
	font-size: 25px;
}

#control{
    background: url('resources/btn-control.png') no-repeat;
    background-size: 130px;
    width: 130px;
    height: 53px;
}

.reload{
    display: block;
    text-indent: -99999px;
    width: 63px;
    height: 53px;
    float: left;
}

.fechar{
    display: block;
    text-indent: -99999px;
    width: 63px;
    height: 53px;
    float: left;
}

#parabens{
    background: url('resources/btn-parabens.png');
    width: 400px;
    height: 280px;
    position: absolute;
    top: 25%;
    left: 30%;
}

.sair{
    display: block;
    text-indent: -99999px;
    position: relative;
    width: 145px;
    height: 49px;
    margin: 0 0 0 106px;
    top: 131px;
    left: -61px;
}

.jogar{
    display: block;
    text-indent: -99999px;
    position: relative;
    width: 145px;
    height: 49px;
    margin: 0 0 0 106px;
    top: 180px;
    left: 102px;
}

.button_game {
    background: -moz-linear-gradient(center top , #EDEDED 5%, #DFDFDF 100%) repeat scroll 0 0 #EDEDED;
    border: 1px solid #DCDCDC;
    border-radius: 6px 6px 6px 6px;
    box-shadow: 0 1px 0 0 #FFFFFF inset;
    color: #777777;
    display: inline-block;
    font-family: arial;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #FFFFFF;
}
.button_game:hover {
    background: -moz-linear-gradient(center top , #DFDFDF 5%, #EDEDED 100%) repeat scroll 0 0 #DFDFDF;
}
.button_game:active {
    position: relative;
    top: 1px;
}

.section {
    display: block;
	width: 400px;
	margin-left: auto;
    margin-right: auto;
    padding-top: 130px;
    padding-bottom: 50px;
}

#home{
    position: absolute;
    display: block;
    width: 60px;
    padding-left: 10px;
    padding-right: 70px;
}



@media screen and (max-width: 400px){
    .main{
        width:100%;
        margin:6% auto;
    }

    img {
        width: 21%;
    }

    #parabens{
        background-size: 300px;
        width: 300px;
        height: 210px;
        position: absolute;
        top: 26%;
    }

    .jogar{
        display: block;
        text-indent: -99999px;
        position: relative;
        width: 108px;
        height: 37px;
        margin: 0 0 0 90px;
        top: 135px;
        left: 66px;
    }

    .sair{
        display: block;
        text-indent: -99999px;
        position: relative;
        width: 108px;
        height: 37px;
        margin: 0 0 0 90px;
        top: 98px;
        left: -56px;
    }
    
    .section {
    display: block;
	width: 200px;
	margin-left: auto;
    margin-right: auto;
    padding-top: 130px;
    padding-bottom: 50px;
}

}

@media screen and (min-width: 401px) and (max-width: 679px){
    .main{
        width: 100%;
        margin:15px auto;
    }

    img{
        width: 12%;
    }

    #parabens{
        background-size: 300px;
        width: 300px;
        height: 210px;
        position: absolute;
        top: 26%;
    }

    .jogar{
        display: block;
        text-indent: -99999px;
        position: relative;
        width: 108px;
        height: 36px;
        margin: 0 0 0 90px;
        top: 85px;
        left: 66px;
    }

    .sair{
        display: block;
        text-indent: -99999px;
        position: relative;
        width: 108px;
        height: 36px;
        margin: 0 0 0 90px;
        top: 99px;
        left: -56px;
    }
    
    .section {
    display: block;
	width: 300px;
	margin-left: auto;
    margin-right: auto;
    padding-top: 130px;
    padding-bottom: 50px;
    }
}

@media screen and (min-height: 1024px){
    .main{
        width: 100%;
        margin:6%;
    }

    img{
        width: 20%;
    }
}

.noshow{
    display: none;
}

