*{
	box-sizing: border-box;	
}

/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 0;
    width: 100vw;
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: right bottom; 
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 5%; /* 25% from the top */
    width: 100vw; /* 100% width */
    text-align: justify; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	padding: 60px;
}
.overlay-content  h1 {
	text-align: center;
	font-family: Merriweather;
	font-size: 6em;
	margin:0;
	padding: 0;
	line-height: 1em;
	margin-top: -30px;
	color: #ddd;
}
.overlay-content  p {
	font-size: 1.5em;
	padding: 0;
	color: #ddd;
}


/* Position the close button (top right corner) */
.overlay .closebtn {
	text-decoration: none;
	color: white;
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

#overlay_help tr td{
	min-width:10vw;
	display: inline-block;
	font-size: 0.8em;
	text-align: center;
}

.help_icon{
	height:10vw;
	width: 10vw;
}

/* Mobils */
@media screen and (max-height: 768px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }

	.overlay-content {
		position: relative;
		top: 5%; /* 25% from the top */
		width: 100vw; /* 100% width */
		text-align: justify; /* Centered text/links */
		margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
		padding: 20px;
	}

	.overlay-content  h1 {

		font-size: 2em;
		margin:0;
		padding: 0;
		line-height: 1em;
		margin-top: -90px;
		color: #ddd;
	}
	.overlay-content  p {
		font-size: 0.8em;
		padding: 0;
		color: #ddd;
	}
	#overlay_help{
		width: 100%;
		margin: 5px;
	}
	#overlay_help tr td{
		font-size: 0.5em;
	}	
	.help_icon{
		height:18vw;
		width: 18vw;
	}
}