@import url("https://fonts.googleapis.com/css2?family=Karla:wght@300;400&family=Sarabun:wght@200&family=Jura:wght@300&display=swap");

* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
body {
  background: #edf2f4;
}
.page {
  background: #edf2f4;
  font-family: "sarabun", sans-serif;
  width: 100vw;
  overflow-x: hidden;
}
.main_page {
  margin: 0 5% 0 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Sarabun", sans-serif;
}
a {
  text-decoration: none;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
button {
  cursor: pointer;
}
ul {
  list-style: none;
}
li {
  width: 100%;
}
p {
  font-weight: 200;
}
.btn_supprimer {
  background: #e5383b;
  padding: 0.5rem 1rem 0.5rem 1rem;
  color: #edf2f4;
}
/**********SLIDE-BAR**********/
.container_button {
  height: min-content;
  width: min-content;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 4;
}
.container_button_slide-bar {
  height: min-content;
  width: min-content;
  margin: 1rem 1rem 2rem 1rem;
}
.button {
  height: 2.3rem;
  width: 2.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  background: #edf2f4;
  border-radius: 3px;
}
.button_slide-bar {
  height: 2.3rem;
  width: 2.3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  background: #edf2f4;
  border-radius: 3px;
  transition: 1s;
}
.button_slide-bar:hover {
  background: #2b2d42;
  color: #edf2f4;
}
.bar {
  height: 3.5px;
  width: 25px;
  background: #2b2d42;
  margin: 2px 0 2px 0;
  border-radius: 5px;
}
.container_slide-bar {
  width: 15rem;
  height: 100vh;
  background: #e5383b;
  z-index: 5;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: -15rem;
  transition: 1s;
  font-family: "Sarabun", sans-serif;
}
#container_slide-bar_links.active {
  left: 0;
}
.bar_slide-bar {
  font-size: 25px;
  text-align: center;
}
.slide-bar_links {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.slide-bar_input {
  width: 90%;
  height: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 2rem 0;
}
.input_menu {
  width: 100%;
  height: 2rem;
  background: #a4161a;
  color: #edf2f4;
  border: none;
}
.btn_search {
  width: 2rem;
  height: 2rem;
  background: #edf2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.btn_search:hover {
  background: #2b2d42;
  color: #edf2f4;
  transition: 1s;
}
.slide-bar_link {
  width: 100%;
  height: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #edf2f4;
  font-family: "Sarabun", sans-serif;
  cursor: pointer;
}
.slide-bar_link:hover {
  background: #2b2d42;
  transition: 1s;
}
/**********SLIDE-BAR_ARTICLES**********/
.container_slide-bar_articles {
  width: 15rem;
  height: 100vh;
  background: #2b2d42;
  z-index: 5;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: -15rem;
  transition: 1s;
  font-family: "Sarabun", sans-serif;
}
#container_slide-bar_articles.active {
  left: 0;
}

.slide-bar_articles_title {
  font-size: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #edf2f4;
  font-family: "Sarabun", sans-serif;
  cursor: pointer;
  padding: 0.5rem 0 0.5rem 1rem;
}

.slide-bar_link_categorie {
  font-size: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #edf2f4;
  font-family: "Sarabun", sans-serif;
  cursor: pointer;
  padding: 0.5rem 0 0.5rem 1.5rem;
}

.slide-bar_link_sous_categorie {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: #edf2f4;
  font-family: "Sarabun", sans-serif;
  cursor: pointer;
  padding: 0.2rem 0 0.2rem 2rem;
}

/**********SLIDE-BAR_CONEXION**********/

.container_slide-bar_connexion {
  width: 15rem;
  height: 100vh;
  background: #2b2d42;
  z-index: 5;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: -15rem;
  transition: 1s;
  font-family: "Sarabun", sans-serif;
}
#container_slide-bar_connexion.active {
  left: 0;
}
/**********SLIDE-BAR_ADMIN**********/

.container_slide-bar_admin {
  width: 15rem;
  height: 100vh;
  background: #2b2d42;
  z-index: 5;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: -15rem;
  transition: 1s;
  font-family: "Sarabun", sans-serif;
}
#container_slide-bar_admin.active {
  left: 0;
}
