:root {
  --grey: #E9E4DD;
  --grass: #000;
  --bottle: #3E571F;
  --sand: #DDBA94;

  --base-width: 1200px;
  --gap-large: 32px;

  --serif: "Noto Serif", serif;
  --sans: "Noto Sans", sans-serif;
}

body {
  margin: 0;
  background: #f8f9fb;
}

h1,
h2,
h3 {
  font-family: var(--serif);
}

p {
  font-family: var(--sans);
}
.center-content {
  max-width: var(--base-width);
  margin: 0 auto;
}
.breadcrumbs {
  display: flex;
  gap: 16px;
  span:last-child {
    text-decoration: underline;
  }
}
.hero {
  background: var(--grey);
  padding: var(--gap-large);

  .container {
    max-width: var(--base-width);
    margin: 0 auto;
    display: flex;

    .left {
      display: flex;
      justify-content: flex-end;
      flex-direction: column;

      img.leaf {
        width: 126px;
      }
      img.arrow {
        height: 100px;
      }
    }
  }

  h1 {
    font-size: 48px;
    margin-top: 16px;
  }

  h2 {
    font-size: 18px;
    font-family: "Noto Sans";
    font-weight: 300;
    text-align: center;
  }


}

a {
  text-decoration: none;
  color: black;
}

a.button {
  background: var(--bottle);
  color: var(--grey);
  border-radius: 5px;
  border-style: none;
  padding: 8px 16px;
  text-decoration: none;
  font-family: var(--sans);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--base-width);
  margin: 0 auto;

  .title {
    display: flex;
    align-items: center;

    img {
      height: 100px;
      width: 100px;
    }
  }

  h1 {
    font-weight: 500;
    font-size: 15px;
    display: flex;
    flex-direction: column;

    strong {
      font-weight: 500;
      font-size: 32px;
    }
  }

  menu {
    padding: 32px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    gap: 28px;
    font-size: 18px;
    font-family: var(--sans);

  }
}

main {
  h1 {
    font-size: 32px;
  }

  a {
    color: black;
    text-decoration: underline;
    text-decoration-color: var(--sand);
    /* text-decoration-thickness: 7px; */
    /* text-underline-offset: -3px; */
  }

  .cta {
    display: flex;
    gap: 32px;
    align-items: baseline;
    font-family: var(--sans);
  }

  img {
    width: 100%;
  }

  section {
    padding: var(--gap-large);
  }

  section>div {
    display: flex;
    max-width: var(--base-width);
    margin: 0 auto;
    gap: var(--gap-large);

    >div {
      flex-basis: 50%;
    }

  }

  section.dark {
    background: var(--grey);
  }

  section.reverse>div {
    flex-direction: row-reverse;
  }
}

.testimonials {
  max-width: var(--base-width);
  margin: var(--gap-large) auto;
  padding: 0 32px;


  .heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;

    a {
      font-family: var(--sans);
      font-weight: 600;
      text-decoration: underline;
      text-decoration-color: var(--sand);
    }
  }

  ul {
    list-style: none;
    display: flex;
    gap: 55px;
  }

  ul,
  blockquote {
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;

  }

  li::before {
    content: url('/pictures/format-quote-open.svg');
    position: relative;
    left: calc(-1 * var(--gap-large));
  }

  li {
    padding-left: var(--gap-large);
    flex-basis: 30%;
  }

  p.by {
    font-weight: bold;
  }
}

ul.contact-options {
  li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }
  li.address::before {
    content: url('/pictures/map-marker.svg');
  }
  li.phone::before {
    content: url('/pictures/phone.svg');
  }
  li.mail::before {
    content: url('/pictures/email.svg');
  }
}
main ul.contact-options{
    margin: 0;
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;

li.address::before {
    content: url('/pictures/map-marker-dark.svg');
  }
  li.phone::before {
    content: url('/pictures/phone-dark.svg');
  }
  li.mail::before {
    content: url('/pictures/email-dark.svg');
  }
}

footer {
  background: var(--bottle);
  color: white;
  padding: var(--gap-large);

  .grid {
    display: flex;
    flex-wrap: wrap;
    row-gap: 32px;
    justify-content: space-around;
    max-width: var(--base-width);
    margin: 0 auto;

    section {
      flex-grow: 1;
    }
  }

  .copyright {
    max-width: var(--base-width);
    margin: 0 auto;

    p {
      font-size: 12px;
      font-family: var(--serif);
    }
  }

  h1 {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    gap: 8px;
    flex-direction: column;

    strong {
      font-size: 20px;
    }
  }
  h2 {
    font-size: 16px;
    font-weight: 600;
  }
  .list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    h2 {
      margin: 0;
    }
  }

  a.button {
    background: #516835;
  }

  a {
    color: white;
  }

  

  ul,
  menu {

    margin: 0;
    list-style: none;
    padding-inline-start: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  menu {
    font-size: 14px;
  }
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  hr {
    margin: 0;
    border: 0.5px solid #9c9c9c;
  }
}
details {
  summary {
    font-size: 24px;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    cursor: pointer;
  }
    summary::-webkit-details-marker {
    display: none;
  }
  summary::after {
    content: '';
    width: 11px;
    height: 16px;
    background: url('/pictures/arrow-detail.svg');
    background-size: cover;
    margin-left: 0;
    transition: 0.2s;
  }

  li {
    font-family: var(--sans);
  }
}
details[open] > summary::after {
  transform: rotate(90deg);
}

.formations {
  margin-bottom: 32px;
}
.map {
  padding-bottom: 32px;
  img {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero {
    img {
      display: none;
    }
  }
  .testimonials {
    ul {
      flex-direction: column;
      gap: 8px;
    }
  }
  main section.reverse>div, main section>div {
    flex-direction: column;
    gap: 0;
  }
  main section img {
    display: none;
  }
}

@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    menu {
      justify-content: start;
      padding: 0 32px;
    }
  }
  footer {
    padding: 32px;
    .grid {
      flex-direction: column;
    }
  }
  .center-content {
    padding: 0 32px;
  }
  .testimonials .heading {
    flex-direction: column;
  }
}


