:root {
  --background-grey: #ffffff;
  --main-yellow: #ffc800;
  --transparent-white: #f4f4f4d9;
  --primary-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
}

html,
body {
  width: 100%;
  margin: 0px;
  padding: 0px;
  /* « clip » et non « hidden » : « hidden » sur html et body empêche le menu de rester en haut (position: sticky). */
  overflow-x: clip;
}

body {
  background-color: var(--background-grey);
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

a {
  color: #000;
}
a:hover {
  color: #000;
}

button,
a[type="button"],
a[role="button"] {
  border-radius: 8px;
}

.bg-yellow {
  background-color: var(--main-yellow);
}

.ff-bitter {
  font-family: "Bitter", sans-serif;
}

.ff-inter {
  font-family: "Inter", sans-serif;
}

.fs-40 {
  font-size: 40px;
}

.fs-20 {
  font-size: 20px;
}

.fw-400 {
  font-weight: 400;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.bg-white {
  background-color: white;
}

.fw-700 {
  font-weight: 700;
}

.m-2em {
  margin: 2em;
}

.ms-2em {
  margin-left: 2em;
}

.mt-14px {
  margin-top: 14px;
}

.br-display {
  display: unset;
}

.search-button {
  border: none;
  background-color: gray;
  color: white;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}

@media screen and (min-width: 768px) {
  .m-md-2em {
    margin: 2em;
  }
}

@media screen and (max-width: 1440px) {
  .ms-2em {
    margin-left: 0;
  }

  .m-2em {
    margin: 0;
  }

  .side-profil {
    display: block !important;
  }

  .side-content {
    flex-wrap: wrap;
  }

  .br-display {
    display: none;
  }
}

.br-0 {
  border-radius: 0;
}

.br-5 {
  border-radius: 5px;
}

.c-gray {
  color: gray;
}

.text-transform-capitalize {
  text-transform: capitalize;
}

.custom-tooltip {
  --bs-tooltip-bg: #007bff;
  --bs-tooltip-color: var(--bs-white);
  --bs-tooltip-max-width: 300px;
}

.nav-search {
  border: none;
  background-color: #808080;
  color: white;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.c-main-header {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#c-logo-img {
  padding: 20px;
  max-width: 90%;
}

.c-menu-and-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100vh;
}

#c-humberger-menu {
  display: none;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

.c-icon-wrapper {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  width: 45px;
  height: 40px;
}

.c-user-menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cursor-pointer {
  cursor: pointer;
}

.custom-link {
  color: gray !important;
}

.custom-link:hover {
  text-decoration: underline !important;
  text-decoration-color: gray !important;
}

.c-canvas-menu-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-menu-btn {
  background-color: var(--transparent-white);
  border-radius: 5px;
  padding: 10px 20px;
  /* transition: margin 1s; */
}

/* .c-menu-btn:hover {
    margin: 1px;
} */

.c-sign-in-btn {
  background-color: white;
  padding: 10px 20px;
}

.c-sign-up-btn {
  background-color: var(--main-yellow);
  padding: 10px 20px;
}

.c-header-menu {
  flex-grow: 1;
  padding-top: 20px;
}

.c-menu-button-wrapper {
  margin-right: 20px;
  display: inline;
}

.c-header-content {
  flex-grow: 2;
}

.c-user {
  cursor: pointer;
  text-align: center;
  font-weight: 800;
  margin-top: 0.25rem !important;
  color: white;
  margin-right: 5em;
  margin-left: 1em;
  text-transform: capitalize;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 1);
}

.c-header-content-text {
  width: 65vw;
  height: calc(60%);
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-left: 120px;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.c-header-text {
  margin-bottom: 0 !important;
}

.c-sub-header-text {
  margin-top: 10px !important;
  color: #5a5a5a;
  /* overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; */
}

.c-header-button {
  color: #000000;
  background-color: var(--main-yellow);
  padding: 10px 0;
  width: 200px;
  box-shadow: var(--primary-shadow);
}

.fa-bars {
  color: var(--background-grey);
  font-size: 28px;
}

.fa-bell {
  color: #808080;
  cursor: pointer;
  font-size: 1.6rem;
  margin: 0 !important;
}

/* Seach */

.c-big-title {
  width: 70%;
  text-align: center;
}

.c-section {
  margin: 50px 0;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.c-search-bar {
  position: relative;
  width: 60%;
}

.c-search-box {
  width: 100%;
  margin: 20px 0;
  border-radius: 30px;
  border-width: 0px;
  border: none;
  padding: 10px 30px;
  box-shadow: 0 2px 4px rgb(0, 0, 0, 0.2);
}

.c-search-box:focus {
  outline: none;
}

.c-search-icon {
  position: absolute;
  right: 25px;
  top: 35px;
  cursor: pointer;
}

/* Footer */

.c-footer {
  background-color: black;
  height: 300px;
  width: 100vw;
  padding-top: 30px;
}

.c-footer-upper {
  display: flex;
  justify-content: space-between;
  margin: 0 3rem;
  color: #c1c1c1;
}

.c-footer-menu-item {
  color: #c1c1c1 !important;
}

.c-footer-lower {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.text-pdc {
  size: 1.2em;
}

.bouton-topbar {
  display: inline;
}

.bouton-topbar-ecran {
  display: none;
}

.side-profil {
  display: flex;
}

.other-side-profil-first {
  display: flex;
}

.other-side-profil-second {
  display: none;
}

.conversation-profil-ecran {
  display: none;
}

.conversation-profil {
  display: inline;
}

.sidebar-base-publication {
  margin-left: 2em;
}

.button-filtre-pdc {
  display: none;
}

.pe-base-pub-2 {
  display: none;
}
.pe-base-pub-1 {
  display: inline-block;
}

.a_coter {
  display: inline-block;
}

/* MD Size */
@media only screen and (max-width: 780px) {
  #c-logo-img {
    max-width: 200px;
  }
  .c-header-content-text {
    padding-left: 50px;
    margin-top: 120px;
    width: 80vw;
  }
}

/* MD Size */
@media only screen and (max-width: 1200px) {
  #c-humberger-menu {
    display: inline-block;
  }

  .a_coter {
    display: inline;
  }

  .c-menu-btn {
    display: none;
  }

  .c-sign-in-btn {
    display: none;
  }

  .text-pdc {
    size: 2em;
  }

  .c-sign-up-btn {
    display: none;
  }

  .filtre-pdc {
    display: none;
  }

  .button-filtre-pdc {
    display: inline;
  }

  .bouton-topbar {
    display: none;
  }

  .bouton-topbar-ecran {
    display: inline;
  }

  .other-side-profil-first {
    display: none;
  }

  .other-side-profil-second {
    display: flex;
  }

  .conversation-profil-ecran {
    display: inline;
  }

  .conversation-profil {
    display: none;
  }

  .tbd-profil-ecran {
    display: none;
  }

  .sidebar-base-publication {
    margin-bottom: 3em;
  }

  .pe-base-pub-1 {
    margin-bottom: 2em;
    margin-left: 8em;
  }
  .pe-base-pub-2 {
    display: inline-block;
  }
}
