/* Base styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0% 2%;
  min-width: 450px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #f5f5f5;
}

.App {
  text-align: center;
    background-color: white;

}

/* Header styles */
.header {
  background-color: #10b5c7;
  padding: 10px 5px;
}

.titre {
  text-align: center;
  font-family: monospace;
}

#nom {
  font-family: sans-serif;
}

.pic {
  max-width: 25%;
  border-radius: 10px;
}

nav a {
  margin-right: 20px;
}

/* Main content */
.texte {
  line-height: 3;
  margin-bottom: 10px;
}

/* Buttons */
button, #custom {
  border-radius: 20px;
  padding: 10px;
  margin: 5px;
  border-color: #00e5ff;
  background-color: #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover, #custom:hover {
  background-color: #1bb4c6;
  color: #fff;
  transform: scale(1.05);
}

/* Timeline */
.timeline-container {
  margin: 20px;
}

.timeline-event {
  display: flex;
  margin-bottom: 20px;
  text-align: justify;
}

.timeline-date {
  width: 110px;
  text-align: right;
  margin-right: 10px;
  border-right: 2px solid #000;
  padding-right: 10px;
  position: relative;
}

.timeline-date::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #000;
  border: 2px solid #fff;
}

.timeline-content {
  flex: 1;
}

.image-gallery img {
  margin-right: 10px;
  width: 450px;
  transition: transform 0.5s ease;
  cursor: pointer;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

.image-gallery img:active {
  transform: scale(1.7);
  transition: transform 0.5s ease;
  cursor: pointer;
}

/* Email link */
.email-link {
  text-decoration: none;
  color: #10b5c7;
}

.email-link:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  text-align: center;
  margin: 10px;
  line-height: 1.5;
  padding: 20px;
  background-color: #f0f0f0;
}

/* Status indicator */
.status-indicator::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: green;
  border-radius: 50%;
  margin-right: 8px;
}

.status-text {
  font-size: 16px;
  color: #333;
}

/* Icon container */
.icon-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background-color: #4CAF50;
  border-radius: 50%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.messaging-icon {
  font-size: 30px;
  color: #fff;
}

.icon-container a {
  text-decoration: none;
  color: inherit;
}

/* Chat window styles (if needed) */
.chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  font-size: 14px;
  color: #333;
}

.chat-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-footer input {
  width: 80%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
}

.chat-footer button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 5px;
}

.chat-footer button:hover {
  background-color: #45a049;
}

.chat-body p {
  padding: 8px;
  margin: 5px 0;
  border-radius: 4px;
  background-color: #f1f1f1;
  max-width: 80%;
  word-wrap: break-word;
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  width: 400px;
  margin: 10px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

label {
  font-size: 16px;
  margin-bottom: 8px;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}

textarea {
  resize: vertical;
}

/* Responsive */
@media screen and (max-width: 768px) {
  body {
    margin: 0% 1%;
    min-width: auto;
  }

  .image-gallery img {
    width: 100%;
    max-width: 300px;
  }

  .timeline-event {
    flex-direction: column;
    text-align:justify;
  }

  .timeline-date {
    width: auto;
    text-align: left;
    margin-bottom: 10px;
    border-right: none;
    border-bottom: 2px solid #000;
    padding: 10px 0;
  }

  .timeline-date::after {
    right: auto;
    bottom: -8px;
    top: auto;
  }

  form {
    width: 90%;
  }

  .icon-container {
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
  }

  .messaging-icon {
    font-size: 24px;
  }
}