/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Page layout */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 200px;
}

iframe {
  flex: 1;
  width: 100%;
  border: 0;
  min-height: 600px; /* Adjust this value as needed */
}

/* Footer styles */
.footer-bottom {
  background-color: #f8f8f8;
  padding: 30px 0;
  position: relative;
  min-height: 100px;
  max-height: 50vh;
  overflow-y: auto;
}

.resize-handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 05px; /* augmenté pour plus de visibilité */
  background-color: #f0f0f0;
  cursor: row-resize;
  border-top: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resize-handle:hover {
  background-color: #e0e0e0;
}

/* Suppression du style ::before existant et ajout des nouvelles flèches */
.resize-handle::before,
.resize-handle::after {
  /* content: "↕"; Flèche bidirectionnelle */
  font-size: 10px;
  color: #666;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.resize-handle:hover::before,
.resize-handle:hover::after {
  color: #333;
}

/* Ajout d'un texte indicatif */
.resize-handle span {
  font-size: 12px;
  color: #666;
  margin: 0 20px;
  user-select: none;
}

.max-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-top {
  text-align: center;
  margin-bottom: 20px;
}

.footer-top img {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.slogan {
  font-style: italic;
  font-size: 1em;
  color: #1e4f2f;
}

.grid-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-bottom-left,
.footer-bottom-middle,
.footer-bottom-right {
  flex: 1;
  padding: 0 15px;
}

.footer-bottom-left img {
  max-width: 80px;
  height: auto;
}

.footer-copyright {
  font-size: 9px;
  color: #000;
  text-align: center;
}

.footer-bottom-rs {
  display: flex;
  justify-content: flex-end;
}

.footer-bottom-rs a {
  color: #019e5f;
  font-size: 1.5em;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.footer-bottom-rs a:hover {
  color: #f57f20;
}

@media (max-width: 767px) {
  .grid-footer {
    flex-direction: column;
  }

  .footer-bottom-left,
  .footer-bottom-middle,
  .footer-bottom-right {
    flex: 0 0 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-bottom-rs {
    justify-content: center;
  }
}

/* Header Styles */
.header {
  background-color: #f57f20;
  padding: 10px 0;
  color: white;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.agency-title {
  font-size: 0.96rem;
  font-weight: bold;
}

.cartographie-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cartographie-container i {
  font-size: 1.5em;
  margin-right: 5px;
}

.cartographie-title {
  font-size: 0.96rem;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.5em;
}

.social-icons a:hover {
  color: #019e5f;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-container,
  .cartographie-container,
  .social-icons {
    margin-bottom: 10px;
  }
}

.armoirie-image {
  width: 90%;
  margin-left: 50%;
}
