html,
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Bangers", "Roboto", sans-serif;
  text-align: justify;
}

/* GENERAL STYLES */
.bangers-regular {
  font-family: "Bangers", system-ui;
  font-weight: 400;
  font-style: normal;
}

.story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1rem 0;
  padding: 2rem;
  border: 0.25rem dashed black;
  box-sizing: border-box;
}

.underlined {
  text-decoration: underline 1px solid black;
}

.bold {
  font-weight: bold;
}

h1 {
  padding: 0.25rem;
}

p {
  font-family: "Roboto", sans-serif;
}

.warning {
  width: 100%;
  border: 0.1rem solid black;
  border-bottom: none;
  box-sizing: border-box;
  background-color: #efad25;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.warning h2 {
  text-align: center;
}

.warning ul {
  padding: 0.2rem;
}

.centered {
  text-align: center;
}

/* END OF GENERAL STYLES */

header,
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #00243e;
  color: white;
  font-size: 2rem;
  text-align: center;
  letter-spacing: 0.2rem;
  word-spacing: 0.5rem;
  box-sizing: border-box;
}

.inbox {
  width: 100%;
  border: 0.1rem solid black;
  box-sizing: border-box;
  background-color: #efad25;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.inbox form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.inbox p {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0.7rem;
}

.inbox label {
  font-size: 1.2rem;
}

.inbox input {
  height: 2rem;
  width: 60%;
  border-radius: 5px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.inbox button {
  width: 60%;
  height: 4rem;
  border-radius: 5px;
  font-size: 1.5rem;
  font-weight: bold;
  word-spacing: 0.2rem;
  background-color: white;
  border: 0.3rem dashed black;
  font-family: "Bangers", sans-serif;
}

.inbox button:hover {
  cursor: pointer;
}

.inbox button:focus {
  background-color: #efad25;
  border: 0.3rem dashed black;
}

/* TESTIMONIALS */
.testimonials {
  width: 100%;
  border: 0.1rem solid black;
  box-sizing: border-box;
  background-color: #efad25;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
}

.testimonials h2 {
  font-size: 3rem;
  text-align: center;
}

.quote {
  flex-direction: row;
  border-left: 0.3rem solid black;
  font-size: 1.2rem;
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.quote p {
  padding: 1.5rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.quoteId {
  margin-top: 0;
  padding-left: 1.5rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.quoteId p {
  text-align: justify;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  padding-top: 0rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

footer {
  padding: 2rem;
}

footer p {
  font-family: "Bangers", Arial, Helvetica, sans-serif;
  line-height: 3rem;
}

/* MAIN SECTION */
main {
  width: 100%;
}

/* SERVICES */
.services ul {
  width: 100%;
  box-sizing: border-box;
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.services ul li {
  font-size: 2rem;
  padding: 2rem;
  text-align: center;
}

.services ul li a {
  text-decoration: none;
  color: black;
  font-weight: normal;
}

.services ul li a:hover {
  text-decoration: underline black 2px;
}

.services ul li a:visited {
  color: black;
}

/* EDITO SECTION */

.edito {
  border-top: 1px solid black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 2rem;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.wrap {
  width: 120%;
  background-color: #efad25;
  text-align: center;
  box-sizing: border-box;
  padding: 1.5rem;
  margin: 1.5rem 0rem;
}

.edito p {
  width: 100%;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-align: justify;
  font-size: 1.25rem;
  margin: 0.7rem;
}

.edito .title p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-decoration: underline 0.05rem;
}

p.noSpaceUp {
  margin-top: 0;
  margin-bottom: 0;
}

.noSpaceDown {
  margin-bottom: 0;
  padding-bottom: 0;
}

.edito ul {
  width: 100%;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  text-align: justify;
  font-size: 1.25rem;
  padding-left: 0;
  margin: 0.2rem;
}

.edito ul li {
  padding: 0.5rem;
  margin: 0.3rem;
}

.edito a {
  color: black;
  text-decoration: underline overline dashed 0.1rem #efad25;
  text-underline-offset: 0.25rem;
}

.edito a:visited {
  color: black;
}

.edito a:hover {
  border: none;
  text-decoration: none;
  color: #efad25;
}

/* WARNING SECTION IN EDITO */
.edito .warning {
  width: 120%;
  margin: 0.5rem 0;
  border: 0.1rem solid black;
  box-sizing: border-box;
  background-color: #efad25;
  font-size: 1.25rem;
  font-weight: bold;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.edito .warning p {
  width: 80%;
  text-align: center;
  font-size: 1.25rem;
}

.warning a {
  color: black;
  text-decoration: underline overline dashed 0.1rem black;
  text-underline-offset: 0.25rem;
}

.warning a:visited {
  color: black;
}

.warning a:hover {
  border: none;
  text-decoration: none;
  color: black;
}

/* FONDS DOCUMENTAIRE */
.docList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  max-width: 75rem;
  margin: auto;
  margin-bottom: 3rem;
}

.card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10rem;
  border: 2px solid black;
  margin: 1rem;
  padding: 1rem;
  text-align: left;
  background-color: #00243e;
  color: white;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background-color 0.4s,
    color 0.4s;
}

.card:visited {
  background-color: #00243e;
  color: white;
}

.card:hover {
  background-color: white;
  color: #00243e;
  cursor: pointer;
  transform: translateY(-4px);
}

/* EXPERTS-COMPTABLES */
.productIntro {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.25rem dashed #00243e;
  margin: 1rem 0;
}

.warranty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  border: 0.25rem solid black;
  padding: 1rem;
  margin: 1rem;
}

.checkout {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5rem;
  border: 0.2rem solid black;
  color: white;
  background-color: #00243e;
  font-weight: bold;
  font-size: 1.5rem;
  border-radius: 0.5rem;
  padding: 0.2rem;
  margin: 1rem;
}

.checkout:hover {
  background-color: white;
  color: #00243e;
  cursor: pointer;
  transition:
    background-color 0.4s,
    color 0.4s;
}

.checkout a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
  padding: 3rem;
  color: white;
}

.checkout a:visited {
  color: white;
}

.checkout a:hover {
  color: #00243e;
}

/* FOOTER */
footer ul {
  box-sizing: border-box;
  width: 100%;
  list-style-type: none;
  display: grid;
  grid-template-rows: 25%;
}

footer ul li {
  padding: 1rem;
  text-align: center;
}

footer ul li a {
  text-decoration: none;
  color: white;
  font-weight: normal;
}

footer ul li a:hover {
  text-decoration: underline white 2px;
}

footer ul li a:visited {
  color: white;
}

/* @media */
@media (min-width: 300px) {
  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .inbox p {
    font-size: 1rem;
  }

  .inbox button {
    font-size: 1rem;
  }

  .services ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .services ul li {
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  .edito p {
    font-size: 1rem;
  }

  .edito .warning p {
    font-size: 1rem;
  }

  .warning p {
    font-size: 1rem;
  }

  .edito .story p {
    font-size: 1rem;
  }

  .edito ul li {
    font-size: 1rem;
  }

  .edito .story {
    padding: 0.5rem;
  }

  .testimonials {
    h2 {
      font-size: 2rem;
    }

    p {
      font-size: 1rem;
    }
  }

  footer ul li {
    font-size: 1.3rem;
  }
}

@media (min-width: 350px) {
  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .inbox p {
    font-size: 1rem;
  }

  .inbox button {
    font-size: 1.15rem;
  }

  .services ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .services ul li {
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  .edito p,
  .warning p,
  .story p {
    font-size: 1rem;
  }

  .edito ul li {
    font-size: 1rem;
  }

  .edito .story {
    padding: 0.5rem;
  }

  .testimonials {
    h2 {
      font-size: 2rem;
    }

    p {
      font-size: 1rem;
    }
  }

  footer ul li {
    font-size: 1.3rem;
  }
}

@media (min-width: 667px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .inbox p {
    font-size: 1.2rem;
  }

  .inbox button {
    font-size: 1.3rem;
  }

  .services ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .services ul li {
    font-size: 2rem;
    padding: 0.5rem;
  }

  .edito p {
    font-size: 1.3rem;
  }

  .edito .warning p {
    font-size: 1.3rem;
  }

  .edito .story p {
    font-size: 1.3rem;
  }

  .edito ul li {
    font-size: 1.3rem;
  }

  .edito .story {
    padding: 0.8rem;
  }

  .testimonials {
    h2 {
      font-size: 2.5rem;
    }

    p {
      font-size: 1.3rem;
    }
  }

  footer ul li {
    font-size: 1.8rem;
  }
}

@media (min-width: 768px) {
  h1 {
    font-size: 2rem;
    padding: 1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .inbox p {
    font-size: 1.2rem;
  }

  .inbox button {
    font-size: 1.3rem;
  }

  .services ul {
    width: 100%;
    box-sizing: border-box;
    list-style-type: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  .services ul li {
    font-size: 2rem;
    padding: 1rem;
  }

  .edito p {
    font-size: 1.3rem;
  }

  .edito .warning p {
    font-size: 1.3rem;
  }

  .edito .story p {
    font-size: 1.3rem;
  }

  .edito ul li {
    font-size: 1.3rem;
  }

  .edito .story {
    padding: 0.8rem;
  }

  .testimonials {
    h2 {
      font-size: 2.5rem;
    }

    p {
      font-size: 1.3rem;
    }
  }

  footer ul li {
    font-size: 2rem;
  }
}

@media (min-width: 1300px) {
  h1 {
    font-size: 2.5rem;
  }

  .services ul {
    width: 100%;
    box-sizing: border-box;
    list-style-type: none;
    padding: 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }
}
