html {
	font-family : "Fira Code";
	background-color: #1c1c1c;
}
body{
	margin-right: 5%;
	margin-left: 5%;
	text-align: center;
}
header {
	margin-right: 10%;
	margin-left: 10%;
	text-align: center;
}
#menu{
	display: flex;
	text-align: center;
}
#menu a {
	flex-grow: 0.1;
	width: 30%;
}
#menu ul {
	display: flex;
	flex-grow: 2;
	margin:0;
	padding:0;
	list-style-type:none;
}
#menu li {
	flex-grow: 1;
	float: left;
	margin-top: auto;
	margin-bottom: auto;
	padding: 0;
}
#menu li a {
	display: block;
	width: 100px;
	color: #5dade2;
	text-decoration: none;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 60px;
	background-color: #1c1c1c;
	border-bottom: solid;
	border-color: #a6acaf;
}
#menu li a:hover {
	color: #a6acaf;
}
#menu ul li ul {
	display: none;
}
#menu ul li:hover ul {
	display: block;
	position: absolute;
}
#menu li:hover ul li {
	float: none;
	width: 15%;
}

#formations {
	flex-wrap: wrap;
}

#formations {
	flex-grow: 1;
}
#formations ul {
	text-align: left;
	font-size: 1.1em;
	color: #444343;
}

article {
	text-align: center;
	margin-left: 15%;
    margin-right: 15%;
    margin-top: 5%;
    margin-bottom: 5%;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    line-height: 25px;
    letter-spacing: 2px;
    color: #5dade2;
    display: flex;
}

h1 {
	text-align: center;
	font-size: 3em;
    padding-top: 2%;
    padding-bottom: 5%;
	color: #5dade2;
}

h2 {
	font-size: 2em;
   	color: #5dade2;
}

h3 {
	text-align: left;
	color: #a6acaf;
}

p {
	text-align: left;
	color: #a6acaf;
    font-size: 1.1em;
}

img {
    text-align: center;
	width: 35%;
	border-radius: 5%;
}

a {
	color: #5dade2; 
	text-decoration: none;
}
a:hover {
	color: #376996; 
	text-decoration: none;
}

section {
	flex-grow: 1;
	width: 45%;
	margin-right: 2%;
}

div {
	background-color: white;
	border-radius: 5px;
	padding-top: 5px;
	padding-bottom: 3em;
	padding-right: 3em;
	padding-left: 3em;
	margin-bottom: 15px;
}

#what {
    font-size: 2em;
	margin-top: 30px;
	margin-bottom: 5px;
	color: #5d68e9;
	font-weight: bold; 
}

#where {
    font-size: 1.4em;
	margin-top: 0px;
	margin-bottom: 0px;
	font-style: italic;
	color: #5dade2;
}

#details {
	text-align: justify;
	font-size: 1.1em;
	color: #444343;
}

footer {
	text-align: center;
	margin-left: 20%;
    margin-right: 20%;
    margin-top: 5%;
    line-height: 25px;
    letter-spacing: 2px;
    color: #5dade2;	
}

footer img {
	width: 5%;
}

footer p {
	font-size: 0.8em;
	text-align: center;
	color: #a6acaf;
}

@media only screen and (max-width: 1300px) {
  	body {
  		margin-right: 0%;
		margin-left: 0%;
	}
	#menu img {
		width: 80%;
	}
	#menu a {
		flex-grow: 0.1;
		width: 20%;
	}
	#menu li a {
		font-size: 1.2em;
	}
	h1 {
		font-size: 4em;
	}
	h2 {
		font-size: 2em;
	}
	h3 {
		font-size: 1.5em;
	}
	p {
		font-size: 1.2em;
	}
	article {
		text-align: center;
		margin-left: 10%;
    	margin-right: 10%;
    	margin-top: 5%;
    	margin-bottom: 5%;
    	border-bottom-width: 2px;
    	border-bottom-style: solid;
    	line-height: 25px;
    	letter-spacing: 2px;
    	color: #5dade2;
    }
	footer img {
		width: 18%;
	}
	footer p {
		font-size: 1em;
	}
}

@media only screen and (max-width: 800px) {
  	body {
  		margin-right: 0%;
		margin-left: 0%;
	}
	#menu img {
		width: 140%;
		margin-right: 20px;
	}
	#menu a {
		flex-grow: 1;
		width: 50%;
	}
	#menu li a {
		display: block;
		width: 100px;
		color: #5dade2;
		text-decoration: none;
		padding-top: 10px;
		padding-bottom: 10px;
		padding-right: 60px;
		background-color: #1c1c1c;
		font-size: 1.2em;
	}
	h1 {
		font-size: 2em;
	}
	h2 {
		font-size: 1.4em;
	}
	p {
		font-size: 1em;
	}
	article {
		text-align: center;
		margin-left: 10%;
    	margin-right: 10%;
    	margin-top: 5%;
    	margin-bottom: 5%;
    	border-bottom-width: 2px;
    	border-bottom-style: solid;
    	line-height: 25px;
    	letter-spacing: 2px;
    	color: #5dade2;
	}
}

#button {
  display: inline-block;
  background-color: white;
  border-style: solid;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 45px;
  color: black;
}
#button:hover {
  cursor: pointer;
  background-color: #333;
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}
