@font-face {
    font-family: 'open_sanslight';
    src: url('Ressources/fonts/OpenSans-Light-webfont.eot');
    src: url('Ressources/fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('Ressources/fonts/OpenSans-Light-webfont.woff') format('woff'),
         url('Ressources/fonts/OpenSans-Light-webfont.ttf') format('truetype'),
         url('Ressources/fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('Ressources/fonts/OpenSans-Regular-webfont.eot');
    src: url('Ressources/fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('Ressources/fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('Ressources/fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('Ressources/fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('Ressources/fonts/OpenSans-Semibold-webfont.eot');
    src: url('Ressources/fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('Ressources/fonts/OpenSans-Semibold-webfont.woff') format('woff'),
         url('Ressources/fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('Ressources/fonts/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	background-color: #12232E;
	font-size: 1.2em;
}

#bloc_page {
	width: 1200px;
	margin: auto;
	margin-top: 200px;
}

h1 {
	font-size: 24px;
	color: white;
	font-family: 'Roboto', -apple-system, 'open_sansregular', serif;
}
	

p, a, li, input, textarea {
	font-size: 16px;
	color: white;
	font-family: 'Roboto', -apple-system, 'open_sansregular', serif;
}

header {
	z-index: 999;
	position: fixed;
	top: 0;
	height: 140px;
	width: 100%;
	background-color: #12232E;
}

#banner {
	margin: auto;
	margin-top: 20px;
	height: 50px;
	display: flex;
	justify-content: space-around;
	position: relative;
	z-index: 1;
}

#banner p {
	line-height: 50px;
	margin-top: 0px;
	font-family: -apple-system-headline, 'open_sansregular', serif;
	font-size: 2em;
}

#follow_buttons {
	position: absolute;
	top: 20px;
	left: 20px;
}

#twitter_img {
	width: 30px;
	height: 30px;
	border-radius: 5px;
}

#nav-container  {
	display: none;
	visibility: hidden;
	position: fixed;
	height: 100vh;
	width: 100%;
}

#nav-container * {
	visibility: visible;
}

.button {
	display: flex;
	flex-direction: column;
	justify-content: center;
	-webkit-appearance: none;
	background: transparent;
	height: 50px;
	width: 30px;
	cursor: pointer;
	pointer-events: auto;
	margin-top: -2px;
	margin-left: 20px;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	outline: none;
}

.icon-bar {
	display: block;
	width: 100%;
	height: 3px;
	background: #aaa;
	transition: .3s;
}

.icon-bar + .icon-bar {
	margin-top: 5px;
}

#nav-content {
	padding: 20px;
	width: 30%;
	position: absolute;
	top: 20;
	left: -40%;
	height: calc(100% - 70px);
	background-color: #12232E;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	transition: all .8s ease-out;
}

#nav-content li {
	margin-bottom: 20px;
}

#nav-content ul {
	height: 100%;
	display: flex;
	flex-direction: column;
	list-style-type: none;
}

#nav-content li a {
	padding: 10px 5px;
	font-size: 15pt;
	color: white;
	text-decoration: none;
}

#nav-content li a:hover {
	color: #4DA8DA;
}

nav {
	margin-top: 20px;
	height: 50px;
}	

.menu {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0;
	height: 50px;
	list-style-type: none;
	overflow: hidden;
}

.menu li {
	display: inline-block;
}

#menu_home, #menu_news, #menu_applications, #menu_repo, #menu_tutorials, #menu_support, #menu_contact, #menu_account {
	margin-right: 50px;
}

.menu li a {
	display: inline-block;
	margin-bottom: 10px;
	padding: 5px 16px;
	font-family: -apple-system, 'open_sansregular', serif;
	font-size: 15pt;
	line-height: 30px;
	color: white;
	text-decoration: none;
	border-radius: 20px;
	height: 30px;
	transition: 0.5s;    
}

.menu li a:hover {
	color: #4DA8DA;
}

.dropdown {
	display: inline-block;
}

.dropdown-content  {
	height: 40px;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	margin-top: 5px;
	min-width: 160px;
	transform: translateY(-2em);
	z-index: -1;
	transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
	background-color: #007CC7;
	z-index: 1;
	text-align: center;
	border-radius: 20px;
}

.dropdown-content a  {
	display: block;
	padding: 5px 16px;
	height: 30px;
	text-decoration: none;
	border-radius: 20px;
}

.dropdown-content a:hover  {
	background-color: #4DA8DA;
	color: white !important;
}

.dropdown:hover .dropdown-content  {
	visibility: visible;
	opacity: 1;
	z-index: 1;
	transform: translateY(0%);
	transition-delay: 0s, 0s, 0.3s;
}

.card {
	margin-top: 30px;
	padding-top: 2px;
	padding-bottom: 10px;
	background-color: #203647;
	border-radius: 20px;
	/*-moz-box-shadow: 0px 5px 50px 0px #203647;
	-webkit-box-shadow: 0px 5px 50px 0px #203647;
	-o-box-shadow: 0px 5px 50px 0px #203647;
	box-shadow: 0px 5px 50px 0px #203647;
	filter:progid:DXImageTransform.Microsoft.Shadow(color=#203647, Direction=180, Strength=50);*/
}

.card h1 {
	margin-left: 20px;
	margin-right: 20px;
}

.card #bloc_logo {
	margin-top: 20px;	
	width: 100%;
	text-align: center;
}

.card #logo {
	height: 87px;
	width: 87px;
	border-radius: 20px;
}

.card p {
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 20px;
	word-wrap: break-word;
}


@media all and (max-width: 1300px) {
	#bloc_page {
		width: 95%;
	}
}

@media all and (max-width: 1100px) {
	#follow_buttons {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		position: static;
		margin: auto;
		margin-left: 20px;
		margin-top: 20px;
	}

	#banner {
		margin-top: -35px;
	}

	.menu {
		display: none;
	}	

	#nav-container  {
		display: block;	
	}
}

@media all and (max-width: 650px) {
	header {
		height: auto;
	}

	#follow_buttons {
		display: flex;
		flex-direction: row;
		justify-content: center;
		margin: auto;
		width: auto;
	}

	#twitter_img {
		margin-top: 20px;
	}

	#banner {
		margin: auto;
	}
}

@media all and (max-device-width: 480px){
	h1 {
		font-size: 2.5em;
	}

	p, li {
		font-size: 2em;
		line-height : 1.5;
	}

	a {
		font-size: 1.2em;
		line-height : 1.5;
	}

	.button {
		height: 310px;
		width: 60px;
	}

	.icon-bar {
		height: 5px;
	}

	.icon-bar + .icon-bar {
		margin-top: 10px;	
	}

	#nav-container {
		margin-top: -225px;
	}

	#nav-content {
		left: -80%;
		width: 70%;
	}

	#nav-content li a {
		font-size: 1.3em;
	}

	#nav-content li {
		margin-bottom: 50px;
	}
	
	header {
		flex-direction: column;
		align-items: center;
		height: 310px;
	}

	#bloc_page {
		margin-top: 370px;
	}

	#follow_buttons {
		display: flex;
		flex-direction: row;
		justify-content: center;
		margin: auto;
		margin-top: 20px;
		position: static;
		width: 100px;
	}

	#twitter_img {
		margin-top: 20px;
		width: 80px;
		height: 80px;
		border-radius: 20px;
	}

	#banner {
		margin-top: 20px;
		width: 200px;
	}
	
	#banner p {
		width: 200px;
		text-align: center;
	}

	#img_banner {
		display: none;
	}

	#img_banner_max {
		display: block;
		max-width: 100%;
	}
	
	.menu  {
		display: none;
	}	

	#nav-container  {
		display: block;	
	}

	.card {
		padding-top: 4px;
		padding-bottom: 20px;
	}

	.card h1 {	
		font-size: 3em;
		margin-left: 60px;
		margin-right: 60px;
	}
	
	#bloc_logo {
		margin-top: 60px;
	}

	#bloc_logo #logo {
		height: 120px;
		width: 120px;
	}

	.card p {
		margin-left: 60px;
		margin-right: 60px;
		margin-top: 60px;
	}
}
