@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&display=swap');

/*All :*/
body {
  min-height: 100vh;
  position: relative;
  background-color: #0c0d0f;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
  max-width: 800px;
}

/*Barre Navigation :*/
nav {
  background-color: #0c0d0f;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
}
nav a.active:not([href="#"]) img:not([src="../img/icons/icon.png"]) {
  filter: invert(50%) sepia(75%) saturate(7500%) hue-rotate(235deg) brightness(90%) contrast(80%);
}
nav a:hover:not(.active) img:not([src="../img/icons/icon.png"]) {
  filter: invert(50%) sepia(75%) saturate(7500%) hue-rotate(235deg) brightness(90%) contrast(80%);
}
ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: 0rem;
}
li {
  margin: 0 10px;
  padding: 0 15px;
}
a {
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
}
img {
  height: 25px;
  margin-bottom: 5px;
}
img[src="img/icons/icon.png"] {
  height: 60px !important;
  margin-bottom: 5px;
}

/*Footer :*/
html, body {
  height: 100%;
  margin: 0;
}
.wrapper {
  min-height: 100%;
  margin-bottom: -100px;
}
.footer, .push {
  height: 100px;
}
footer {
  background-color: #040406;
  color: #ffffff;
  padding: 20px;
  margin-top: 20px;
  font-family: "Space Grotesk", sans-serif;
  margin-top: auto;
  display: flex;
  align-items: center;
}
#server-logo {
  height: 50px;
  width: 50px;
  background-color: #040406;
  display: inline-block;
  margin-right: 10px;
  background-image: url("../img/icons/icon.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.license-info {
  font-size: 14px;
  margin: 0;
}
.push {
  clear: both;
}

/*Index.html :*/

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

#presentation {
	background-color: #0c0d0f;
	color: #fff;
	padding: 10px;
	text-align: center;
}

#presentation h1 {
	font-size: 40px;
	margin-bottom: 20px;
}

#presentation p {
	font-size: 20px;
}

#presentation a {
	display: inline-block;
	background-color: #4f4f4f;
	color: #fff;
	padding: 10px 20px;
	border-radius: 5px;
	font-size: 18px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

#presentation a:hover {
	background-color: #7d7e82;
}

section {
	margin-bottom: 10px;
}

section h1,
section h2 {
	text-align: center;
	margin-bottom: 20px;
  font-size: 30px;
  color: #724bf2;
}

section h3 {
	margin-bottom: 10px;
	font-size: 20px;
}

section p {
	margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
}

.box {
	background-color: #1c1e22;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  margin: 20px;
}

.box img {
	display: block;
	margin: 0 auto;
	margin-bottom: 10px;
  width: 600px;
  height: auto;
}

form {
	display: flex;
	flex-direction: column;
	max-width: 500px;
	margin: 0 auto;
}

label {
	margin-bottom: 10px;
	font-size: 18px;
}

input,
textarea {
	padding: 10px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  }
  
  input[type="submit"] {
  background-color: #4f4f4f;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  }
  
  input[type="submit"]:hover {
  background-color: #7d7e82;
  }
  
  @media (max-width: 768px) {
  nav ul {
  flex-direction: column;
  align-items: center;
  }

  nav li {
    margin-bottom: 10px;
  }
  
  nav a {
    font-size: 16px;
  }
  
  form {
    max-width: 100%;
  }
}

/*Cybersécurité.html and Informatique.html :*/

.ytb{
  text-align: center;
	margin-bottom: 20px;
  font-size: 25px;
  color: #724bf2;
}

.explicatif{
  text-align: center;
	margin-top: 20px;
  font-size: 25px;
  color: #724bf2;
}

main {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
	background-color: #121316;
	padding: 20px;
	margin-bottom: 20px;
	border: 1px solid #0c0d0f;
}

/* Styles des titres */
.title {
	font-size: 36px;
	font-weight: bold;
	margin-top: 0;
}

.subtitle {
	font-size: 24px;
	font-weight: bold;
	margin-top: 0;
}

/* Styles des listes */
.advantages-list,
.disadvantages-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.advantage,
.disadvantage {
	margin-bottom: 10px;
}

.advantage:before {
	content: "+";
	color: green;
	font-weight: bold;
	margin-right: 5px;
}

.disadvantage:before {
	content: "-";
	color: red;
	font-weight: bold;
	margin-right: 5px;
}

.explicatif {
	margin: 30px 0;
}

.p-explicatif {
  color: #FFFFFF;
  font-size: 15px;
}

.image-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 30px 0;
}

.image-container img {
	width: 600px;
	height: auto;
	margin-right: 20px;
}

.image-caption {
	flex: 1;
}

.image-caption p {
	margin: 0;
	padding: 10px;
	background-color: #0c0d0f;
	border: 1px solid #121316;
	border-radius: 5px;
}

/*Comparaison.html :*/
.box__layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  flex-wrap: wrap;
  display: flex;
  justify-content: center;
}
.h1-comparaison {
  text-align: center;
  margin-top: 20px;
	margin-bottom: 10px;
  font-size: 34px;
  color: #724bf2;
}
.box1 {
  width: 550px;
  height: 270px;
  margin: 17px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #5236cf;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  background-color: #0a0a0d;
  font-size: 13px;
}
.box2 {
  width: 550px;
  height: 270px;
  margin: 17px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #85ad50;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  background-color: #0a0a0d;
  font-size: 13px;
}
.box3 {
  width: 1200px;
  height:350px;
  margin: 17px 17px 40px 17px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #ba3f54;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  background-color: #0a0a0d;
  font-size: 13px;
}
.h2-comparaison {
  font-size: 2rem;
  color: #5236cf;
  margin-bottom: 10px;
}
.h3-comparaison {
  font-size: 2rem;
  color: #85ad50;
  margin-bottom: 10px;
}
.h4-comparaison {
  font-size: 2rem;
  color: #ba3f54;
  margin-bottom: 10px;
}