body {
  margin: 0;
  padding: 0;
  font-family: Verdana, sans-serif;
}


/* HEADER */

header {
  background-color: #fff;
  color: #333;
  
  text-align: center;
}

/* ICONES SOCIAL MEDIA dans Header */

.social-icons {
  position: absolute;
  top: 20px;
  right: 5%;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.social-icons a {
  color: #333;
  font-size: 20px;
  margin-left: 10px;
}

.social-icons a img {
  max-width: 20px;
}

/* LOGO dans Header */

.logo img {
	margin-top: 20px;
  max-width: 360px;
}


/* NAVIGATION dans Header*/

nav {
  background-color: #fff;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #D3D3D3;
  border-bottom: 1px solid #D3D3D3;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 70px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  color: #333;
  text-decoration: none;
}

nav ul li a:hover {
  color: #D3D3D3;
}


.fixed-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #D3D3D3;
  border-bottom: 1px solid #D3D3D3;
  display: none;
  z-index: 9999;
}

.fixed-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fixed-nav ul li {
  display: inline;
  margin-right: 20px;
}

.fixed-nav ul li:last-child {
  margin-right: 0;
}

.fixed-nav ul li a {
  color: #333;
  text-decoration: none;
}

.fixed-nav ul li a:hover {
  color: #D3D3D3;
}

nav.fixed-nav {
  font-family: Verdana, sans-serif;
  background-color: #fff;
  padding: 10px;
  text-align: center;
  border-top: 1px solid #D3D3D3;
  border-bottom: 1px solid #D3D3D3;
  display: none;
}

nav.fixed-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.fixed-nav ul li {
  display: inline;
  margin-right: 70px;
}

nav.fixed-nav ul li:last-child {
  margin-right: 0;
}

nav.fixed-nav ul li a {
  color: #333;
  text-decoration: none;
}

nav.fixed-nav ul li a:hover {
  color: #D3D3D3;
}

/* HEADER FIN */


/* MAIN */

main {
  padding: 0px;
  margin-top: 0px; 
  text-align: center;
}

/* CATEGORIES */

section {
  display: inline-block;
  margin: 50px;
  text-align: center;
  width: 300px;
  height: 300px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

section .image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
section img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.0);
  color: rgba(255, 255, 255, 0.0);
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  line-height: 285px;
  font-size: 1.5em;
  transition: background-color 0.7s, color 0.3s;
}

section:hover .caption {
  background-color: rgba(255, 255, 255, 0.8);
  color: gray;
}

section .caption h2 {
  margin: 0;
}

section .caption p {
  margin: 0;
  transition: color 0.3s;
}

section:hover .caption p {
  color: #fff;
}


section.hover-effect .caption {
  background-color: rgba(255, 255, 255, 0.8);
  color: gray;
}

section.hover-effect .caption p {
  color: #fff;
}


/* MAIN FIN */


/* FOOTER */

footer {
  background-color: #fff;
  color: #D3D3D3;
  padding: 10px;
  text-align: center;
}