/* ----------------- Global style ----------------- */

:root {
  --color-burgundy: #780116;
  /* --color-burgundy: #6a1d1f; */
  --color-deep-red: #c32f27;
  --color-paprika: #d8572a;
  /* --color-paprika: #b45c44; */
  --color-ocre: #db7c26;
  --color-gold: #f7b538;
  /* --color-gold: #e09404; */
  --color-turquoise: #25dbc6;
  /* --color-turquoise: #017a87; */
  --color-white: #f4efe7;
  /* --color-white: #e3cfbc; */

  --space-xs: 6px;
  --space-s: 12px;
  --space-m: 24px;
  --space-l: 48px;
  --space-xl: 96px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  /* Putting default font-size to 10px */
  font-size: 0.625em; /* fallback IE8+ */
  font-size: 0.625em; /* IE9-IE11 math fixing. See http://bit.ly/1g4X0bX */
  scroll-behavior: smooth;
  min-height: 100vh;
}

body {
  font-size: 1.6em; /* base font-size is equivalent "16px" */
  background-color: var(--color-white);
  color: var(--color-burgundy);
  font-family: "Noto Sans", sans-serif;
}

a {
  color: var(--color-burgundy);
  text-decoration: none;
  font-size: clamp(1.2rem, 1.2vw, 1.5rem);
}
p {
  font-size: clamp(1.2rem, 1.2vw, 1.5rem);
  margin-top: var(--space-s);
  margin-bottom: var(--space-s);
  text-align: justify;
  text-justify: inter-word;
  max-width: 80ch;
}
.text-link {
  padding: 0.2rem;
  margin-bottom: 0.6rem;
  color: var(--color-deep-red);
  font-weight: bold;
}
.text-link:hover {
  text-decoration: dotted underline;
}
.text-link:active {
  color: var(--color-gold);
}

h2,
h1,
h3 {
  font-family: "Parisienne", sans-serif;
  font-weight: 400;
}
h1 {
  color: var(--color-ocre);
  font-size: max(10rem, 5vw);
  max-width: 18ch;
  margin: 0;
  @media screen and (max-width: 900px) {
    font-size: 6rem;
  }
  @media screen and (max-width: 600px) {
    font-size: 4rem;
    padding: 0 0.4rem;
  }
}
h2 {
  font-size: max(4rem, 4vw);
  color: var(--color-paprika);
  margin-top: var(--space-l);
}
h3 {
  color: var(--color-deep-red);
  font-size: max(4rem, 2.6vw);
  margin-top: var(--space-m);
}

.base-button {
  display: inline-block;
  text-align: center;
  flex-grow: 0;
  font-family: "Parisienne", sans-serif;
  background-color: var(--color-burgundy);
  color: var(--color-white);
  border: none;
  border-radius: var(--space-m);
  padding: var(--space-xs) var(--space-l);
  margin: var(--space-m);
  font-size: clamp(2.8rem, 4vw, 3.2rem);
  cursor: pointer;
  align-self: center;
  filter: drop-shadow(4px 8px 2px rgba(0, 0, 0, 0.3));
}

.separator {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Scrollbar
body {
  scrollbar-width: 5px;
  scrollbar-color: #000 #969696;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #0000009a #969696;
}
::-webkit-scrollbar-track {
  background: #969696;
}
::-webkit-scrollbar-thumb {
  background-color: #0000009a;
  border-radius: 5em;
}
::-webkit-scrollbar {
  width: 5px;
  background: transparent;
} */

/* ==========================================================================

                                 HEADER                               

========================================================================== */

.header {
  display: flex;
  background-color: var(--color-burgundy);
  color: var(--color-white);
}
.header-link {
  color: var(--color-white);
  display: flex;
  align-self: center;
  margin-right: var(--space-xl);
}
.header-title {
  font-family: Parisienne;
  max-width: 8ch;
  margin-left: var(--space-s);
  font-size: 3rem;
  text-align: left;
}

.header-logo-container {
  background-color: var(--color-white);
  border-radius: 100%;
  align-self: center;
  max-height: 60px;
  max-width: 60px;
  margin: var(--space-xs);
  padding-bottom: 1px;
  padding-right: 1px;
  padding-left: 1px;
}
.header-logo {
  width: 100%;
}

.header-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: auto;
  margin: 0;
  width: 100%;
}

.header-nav-list {
  flex: 1;
  align-self: center;
  max-width: 140ch;
  list-style-type: none;
  display: flex;
  justify-content: space-around;
}
.header-nav-link {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-white);
  padding: var(--space-xs);
}

.header-active {
  border-bottom: var(--color-gold) dotted 2px;
  border-top: var(--color-gold) dotted 2px;
}

.header-burger-button {
  display: none;
  flex: 1;
  align-self: center;
  margin: var(--space-xs);
  max-height: 60px;
  max-width: 60px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}
.header-burger-button:hover {
  transform: scale(0.9);
}
.header-burger-icon {
  width: 100%;
}

.header-close-burger-button {
  display: none;
  align-self: center;
  margin: var(--space-m);
  height: 60px;
  width: 60px;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}
.header-close-burger-button:hover {
  transform: scale(0.9);
}
.header-close-burger-icon {
  width: 100%;
}

@media screen and (max-width: 900px) {
  .header {
    justify-content: space-between;
  }
  .header-nav-list {
    display: none;
  }
  .header-burger-button {
    display: block;
    background-color: var(--color-burgundy);
    border-radius: 100%;
    border: none;
  }
  .header-close-burger-button {
    display: none;
    background-color: var(--color-burgundy);
    border-radius: 100%;
    border: none;
  }
  .header-link {
    margin-right: var(--space-m);
  }
}

.burger-display {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .header-nav.burger-display {
    height: 100dvh;
  }
}

.header-nav.burger-display .header-nav-list {
  display: flex;
  flex-direction: column;
  /* order: 4; */
  margin: 1rem;
  width: 50%;
}

.header-nav.burger-display .header-burger-button {
  display: none;
}
.header-nav.burger-display .header-close-burger-button {
  display: block;
}
/* ==========================================================================

                                 FOOTER                           
                                 
========================================================================== */

.footer {
  background-color: var(--color-burgundy);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  box-sizing: border-box;
  padding: var(--space-s);
  color: var(--color-white);
  @media screen and (max-width: 400px) {
    flex-direction: column;
  }
}
.footer-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.footer-link {
  margin: -4px;
  text-decoration: none;
  color: var(--color-white);
  padding: 0.75rem;
}
.footer-link:hover {
  color: var(--color-gold);
  .footer-link-dot {
    background-color: var(--color-gold);
  }
}
.footer-contact {
  padding: 0.75rem;
  min-width: 200px;
  cursor: pointer;
}
.footer-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0 var(--space-m);
}
.footer-icon {
  height: clamp(30px, 5vw, 50px);
  transition: all 200ms ease-in;
  border-radius: 30%;
}
.footer-icon:hover {
  transform: scale(0.9);
}
.footer-icon:active {
  transform: scale(1.3);
}
.footer-link-dot {
  height: 10px;
  width: 10px;
  background-color: var(--color-turquoise);
  border-radius: 100%;
  display: inline-block;
  margin-right: 0.625rem;
}

@media screen and (max-width: 600px) {
  .footer-credits {
    padding-top: var(--space-m);
    flex: 1;
    flex-direction: row;
    align-self: center;
    min-width: 24ch;
  }
}

/* ==========================================================================

                                 HOME                           
                                 
========================================================================== */

.home {
  @media screen and (max-width: 900px) {
    padding-top: 5rem;
  }
}
.article-base {
  display: flex;
  flex-direction: row;
  margin: var(--space-xl) var(--space-m);
  @media screen and (max-width: 900px) {
    flex-direction: column-reverse;
  }
}
.article-base-text {
  flex: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-base-picture {
  flex: 50%;
  display: flex;
  justify-content: center;
}
.round-picture-container {
  align-self: center;
  max-width: 500px;
  aspect-ratio: 1;
  position: relative;
  border-radius: 100%;
  background-color: var(--color-turquoise);
  @media screen and (max-width: 900px) {
    width: 100%;
  }
}
.round-picture {
  position: relative;
  bottom: var(--space-s);
  left: var(--space-s);
  border-radius: 100%;
  @media screen and (max-width: 900px) {
    width: 100%;
  }
  max-width: 500px;
}

.article-list-block {
  display: flex;
  margin: var(--space-xl) var(--space-m);
  @media screen and (max-width: 900px) {
    flex-direction: column;
  }
}
.article-list-block-reverse {
  @media screen and (max-width: 900px) {
    flex-direction: column-reverse;
  }
}
.article-list-picture {
  flex: 40%;
  display: flex;
  justify-content: center;
}
.article-list-text {
  flex: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#map {
  height: 400px;
  width: 100%;
  margin: 20px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.base-buttons-duo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  @media screen and (max-width: 900px) {
    flex-direction: column;
  }
}
/* ==========================================================================

                                 LEGAL MENTIONS                           
                                 
========================================================================== */

.legal-mentions {
  max-width: 108ch;
  margin: var(--space-xl) auto;
  @media screen and (max-width: 900px) {
    margin: var(--space-xl) var(--space-m);
    margin-top: var(--space-s);
  }
  h1 {
    text-align: center;
    max-width: 100%;
  }
  p {
    margin-left: var(--space-l);
    margin-right: var(--space-l);
  }
}
