:root {
  --bg-color: #161616;
  --btn-color: #346751;
  --title-color: #c84b00; /*#c84b31; #ff9900*/
  --text-color: #ecdbba;
  --slider-width: 65rem;
  --slider-height: 45rem;
}


body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 2px solid var(--title-color);
}

h1 {
	font-family: 'Nova Square',display;
	font-size: 32px;
	padding: 5px;
}

h2 {
	font-family: 'Nova Square',display;
	font-size: 30px;
	border-bottom: 1px solid var(--title-color);
	padding: 5px;
}

p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: left; /* Alignement du texte à gauche */
  padding: 5px;
}

.logo {
  font-size: 46px;
  font-weight: bold;
  color: var(--title-color);
  font-family: Papyrus, cursive;
}
/*
Papyrus
Segoe Script
Lucida Calligraphy
Lucida Handwriting
Bradley Hand
Brush Script MT
Comic Sans MS
chiller
*/

nav {
  text-align: right;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 15px;
  font-family: 'Lucida Console',display;
  font-size: 18px !important;
}

nav a:hover {
  color: var(--title-color);
}

section {
	width : 80%;
	margin : auto;
}
/* sections style */

#home {

  background-image: url('vue-vieux-port.jpg');
  background-size: cover;
  background-position: top -100px right 0px;
  padding: 100px 0;
  position: relative; /* Ajout d'une position relative */
  
  /*height:30em;*/
}

#home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Couleur de fond transparente */
}

#home h1 {
  position: relative; /* Ajout d'une position relative */
  z-index: 1; /* Superpose le texte par-dessus */
  border-bottom: none;
}

#home p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: left;
  position: relative; /* Ajout d'une position relative */
  z-index: 1; /* Superpose le texte par-dessus */
}

#motivation {
  background-color: #333;
  color: var(--title-color);
  text-align: center !important;
  padding: 20px 0;
  border-radius: 20px 20px 20px 20px;
	overflow: hidden;
	border-width: 3px;
	font-family: 'Lucida Console',display;
	font-size: 30px !important;
}

#motivation p{
	text-align: center !important;
	font-size: 30px !important;
}

#services {
  padding: 30px 0;
}


#services ul {
  text-align: left; /* Liste centrée */
}

#portfolio {
  background-color: var(--bg-color);
  padding: 30px 0;
}


#contact {
  padding: 30px 0;
  text-align: left;
}

/* image slicer style */

.image-slicer {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.image-slicer img {
  width: 30%;
  border: 2px solid var(--title-color);
}

/* image carousel*/
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slideshow-img {
  display: none;
}

.slideshow-img img{
  max-height : var(--slider-height);
  /*height: var(--slider-height);*/
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 36px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* slider style */

.slider_container {
  position: relative;
  height: var(--slider-height);
  width: var(--slider-width);
  margin: auto;
  max-width: 100%;
}
.slider_image {
  position: absolute;
  height: var(--slider-height);
  width: var(--slider-width);
  border-radius: 0.4rem;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  max-width: 100%;
}
.slider_image img {
  /*height: var(--slider-height);
  width: var(--slider-width);*/
  object-fit: cover;
}
.compare_slider {
  position: absolute;
  z-index: 1;
  height: var(--slider-height);
  background: #121212;
  border: 2px solid rgba(255, 255, 255, 0.1);
  cursor: ew-resize;
  transition: border-color 0.2s;
}
.compare_slider:active {
  border: 0.1rem solid rgba(255, 255, 255, 0.3);
  cursor: grabbing;
}

/* contatc style */

.contact-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /*align-items: center;*/
  justify-content: center;
  margin: 20px auto;
  max-width: 1200px;
}

.map {
  flex: 1;
  margin: 10px;
}

.contact-info {
  flex: 1;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item span {

  margin: 5px;
  color: var(--title-color);
  font-size: 42px;
}

.contact-text {
  flex: 1;
  margin: 10px;
  text-align: left; /* Alignement du texte à gauche */
}

.contact-form {
  flex: 1;
  margin: 10px;
}

.contact-form form {
  text-align: left; /* Alignement du formulaire à gauche */
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: var(--title-color);
  color: var(--text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #000000;
  color: var(--title-color);
  border: 2px solid var(--title-color);
  padding: 8px 18px;
}

footer {
  background-color: #111;
  color: var(--text-color);
  text-align: center;
  padding: 20px 0;
}

footer p{
  text-align: center;
}

@media screen and (max-width: 600px) {
	.logo {
		font-size: 30px;

	}
}
