* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;   
}


body {
    font-family: 'Oswald', sans-serif;
    background: #ebebeb;
    background: url('../imgs/bg.png') no-repeat bottom center fixed;
    background-size: cover;
    font-weight:300;
}

nav {
    margin: 25px 20%;   
    
}
nav input {
    font-size: 25px;
    height: 70px;
    width: 100%;
    border: none;
    background: white;
    padding: 10px 20px;
    border-radius: 5px;
    outline: 0;
    text-align: center;
    font-family: 'Oswald', sans-serif;

}


.referent {
    display: inline-block;
    cursor: pointer;
    border-radius: 5px;
    position: relative;
    background: white;
    margin: 25px;
    width: 200px;
    height: 200px;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.referent:hover {
    opacity: 1;   
}
.referent .infos {
    padding: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    background:rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    
}

.referents {
    text-align: center;   
}

.game {
    border-radius: 20px;
    border: 3px solid black;
}

.text-center
{
	margin-top: 6%;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.2);
}

.text-center img
{
	height: 250px;
	margin: 2%;
	
}
.text-center img:hover
{
	padding-bottom : 5px;
	border-bottom: 2px solid dimgrey;
}

.titreIcon
{
	text-align:center;
	margin-top: 2%;
	
}

.titreIcon img
{
	height: 150px;
}

#back_ref img
{
	height: 20px;
}

button.level {
    vertical-align:top;
    cursor: pointer;
    display: inline-block;
    height:70px;
    line-height: 60px;
    background: #47ad4b;
    border: 1px solid green;
    border-bottom-width: 6px;
    border-radius: 10px;
    font-size: 40px;
    padding: 0 25px;
    margin-bottom: 20px;
    outline: 0;
    transition: all 0.2s;
}
button.level:hover {
    border-bottom-width: 4px;
}
button.level:active {
    border-bottom-width: 2px;
}

.abso {
    position:absolute;
    width:100%;
    height:100%;
    
}

.homeTitle {
    font-weight:300;
}


.game {
    background:rgba(255, 255, 255, 0.5);
    margin:20px;
    display:inline-block;
    width:200px;
    height:200px;
    border:5px solid rgba(0, 0, 0, 0.55);            
    padding:5px;
    border-radius:8px;   
}
.game:hover, .game.active{
    background:white;
    cursor:pointer;
    border:5px solid rgba(0, 0, 0, 0.95);                
}
.game img {
    width:100%;
    height:100%;
}

#imgRef {
    display: inline-block;
    border-radius:50%;
    height:100px;
    width:100px;
    margin:40px;
    cursor:pointer;
    background-position: center center;
    background-size:cover;
}
#imgRef:active {
    cursor:wait;
}