/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  GLOBAL: General  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/


@import url('https://fonts.cdnfonts.com/css/creato-display');
* {
  padding: 0;
  margin: 0;
  font-family: 'Creato Display', sans-serif;
}


html, body {
  height: 100vh;
  margin: 0;
  overflow-x:hidden;
  display: flex;
  flex-direction: column;
}

body {
  position: relative;
  z-index: 0;
  flex: 1;
  overflow-y: auto;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/background.png");
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  transform: scale(1.75);
  pointer-events: none;
}
body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none; /* IE and Edge */
  /*scrollbar-width: none;  /* Firefox */
}

button:hover {
  cursor: pointer;
}

button.discreet {
  background: none;
  border: none;
  color: black;
  font-size: inherit;
}

a.mouse-hover:hover {
  cursor: pointer;
}

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

input.discreet {
  background: none;
  border: none;
  color: black;
  font-size: inherit;
}
*.mouse-hover:hover {
  cursor: pointer;
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  GLOBAL: Cookie  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.cookie-popup-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #333;
  color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
}
.cookie-popup-container p {
  margin: 0 0 10px;
  text-align: center;
}
.cookie-popup-buttons {
  display: flex;
  gap: 10px;
}
.cookie-popup-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}
#cookie-accept-all {
  background-color: #4caf50;
  color: white;
}
#cookie-accept-required {
  background-color: #2196f3;
  color: white;
}
#cookie-decline {
  background-color: #f44336;
  color: white;
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  GLOBAL: Navigation  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
nav {
  user-select: none;
  width: 100%;
  height: 60px;
  top: 0;
  position: sticky;
  z-index: 5;
}
nav #navHover:hover #navBar {
  pointer-events: all;
  opacity: 1;
  top: -60;
  transform: translateY(0);
}
#navBar.scrollUp {
  pointer-events: all;
  opacity: 1;
  top: -60px;
  transform: translateY(0);
}
nav #navBar {
  opacity: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  background-color: #f76e11;
  align-items: center;
  width: 100%;
  height: 60px;
  transform: translateY(-60px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
nav #navBar div#Logo{
    
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-left: 5px;
    gap: 10px;
    color: white;
}
nav #navBar img#navLogo {
  width: 60px;
}
nav #navButton {
  display: flex;
  gap: 4px;
  align-items: center;
}
nav #navButton div#menueButton {
  position: relative;
}
nav #navButton a {
  text-decoration: none;
  color: white;
  padding: 8px;
  position: relative;
  background-color: #ff772d;
  border-radius: 60px;
  transition: color 0.5s;
  transition: background-color 0.5s;
  text-align: center;
  height: 25px;
  width: 25px;
  display: inline-block;
}
nav #navButton a.admin {
  background-color: #666;
}
nav #navButton a.last {
  margin-right: 5px;
}
nav #navButton div#menueBubble{
  position: absolute;
  background-color: rgb(0, 0, 0, 0.5);
  border-radius: 5px;
  bottom: -70%;
  padding: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  color: white;
}
nav #navButton div#menueBubble::after {
  content: '';
  position: absolute;
  top: -5px; /* Adjusts the position of the tail */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgb(0, 0, 0, 0.5); /* Color of the bubble */
}
nav #navButton a:hover:not(a#logoutButton) {
  color: #ff772d;
  background-color: white;
}
nav #navButton a:hover:not(a#logoutButton).acceuil + div#menueBubble.acceuil{
  opacity: 1;
}
nav #navButton a:hover:not(a#logoutButton).profil + div#menueBubble.profil{
  opacity: 1;
}
nav #navButton a:hover:not(a#logoutButton).publier + div#menueBubble.publier{
  opacity: 1;
}
nav #navButton a:hover:not(a#logoutButton).connection + div#menueBubble.connection{
  opacity: 1;
}
nav #navButton a i {
  font-size: 20px;
}
nav #navButton a i::before {
  vertical-align: middle;
}
nav #menueButtons {
  display: flex;
  flex-direction: row;
  justify-content: end;
  width: 157px;
}
nav #menueButtons a#dropdownBtn {
  margin-right: 5px;
  width: 19px;
}
nav #menueButtons a:hover:not(a#logoutButton) {
  color: #ff772d;
  background-color: white;
}
nav #menueButtons a {
  text-decoration: none;
  color: white;
  padding: 8px;
  background-color: #ff772d;
  border-radius: 40px;
  transition: color 0.5s;
  transition: background-color 0.5s;
  text-align: center;
}
nav #menueButtons #dropdown a {
  color: black;
  background-color: #b7b7b7;
}
nav #menueButtons div.dropdown {
  display: flex;
  position: absolute;
  background-color: white;
  flex-direction: column;
  right: 0;
  justify-content: space-between;
  top: 60px;
  height: calc(100vh - 60px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(120px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}
nav #menueButtons div.dropdown.show {
  display: flex;
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
@keyframes slideIn {
  0% {
    display: flex;
  }
  100% {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
  }
}
@keyframes slideOut {
  0% {
    opacity: 0;
    pointer-events: none;
    transform: translateX(120px);
  }
  100% {
    display: none;
  }
}
nav #menueButtons div.dropdown a {
  height: fit-content;
  margin: 8px;
}
nav #menueButtons div.dropdown div.buttons {
  display: flex;
  flex-direction: column;
}
nav #menueButtons div.dropdown div.bottom-buttons {
  display: flex;
  flex-direction: column;
}
nav #menueButtons div.dropdown div.bottom-buttons a#logoutButton {
  background: none;
  color: #ff772d;
  transition: color 0.1s;
}
nav #menueButtons div.dropdown div.bottom-buttons a#logoutButton:hover {
  color: white;
}

div#postPopup {
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;

}
div#postPopup div.addPostPopup {
  pointer-events: all;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -3000px  );
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  /* transform: translateY(-500px); */
  transition: opacity 0.3s ease, transform 0.3s ease;
  resize: none;
}
div#postPopup div.addPostPopup.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}
div#postPopup div.postPopupOverlay {
  display: none;
  /* background-color: rgba(0, 0, 0, 0.25); */
  position: fixed;
  inset: 0;
  z-index: 2;
  height: 100dvh;
  backdrop-filter: blur(5px);
  pointer-events: all;
}
div#postPopup div.addPostPopup.show ~ div.postPopupOverlay {
  display: block;
}
div#postPopup div.addPostPopup form {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  gap: 15px;
}

div#postPopup div.addPostPopup form div.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  border-bottom: 2px solid #d9d9d9;
  padding-bottom: 5px;
}
/* div#postPopup div.addPostPopup form div.header h1 {
  font-size: 25px;
} */
div#postPopup div.addPostPopup form div.header i{
  color: #cccccc;
  transition: color 0.3s, background-color 0.3s;
  font-size: 25px;
}
div#postPopup div.addPostPopup form div.header i:hover{
  cursor: pointer;
  color: red;
}

div#postPopup div.addPostPopup form div.file-upload {
  background-color: #E6E6E6;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 450px;
  width: 600px;
  position: relative;

}
div#postPopup div.addPostPopup form div.file-upload input {
  display: none;
}
div#postPopup div.addPostPopup form div.file-upload label {
  background-color: #F2F2F2;
  border-radius: 25px;
  font-size: 20px;
  padding: 10px;
  font-weight: bold;

  transition: background-color 0.3s, color 0.3s;
}
div#postPopup div.addPostPopup form div.file-upload label:not(.dragged):hover {
  cursor: pointer;
  background-color: white;
}
div#postPopup div.addPostPopup form div.file-upload label.dragged {
  color: #414141;
}
div#postPopup div.addPostPopup form div.file-upload p {
  font-size: 12px;
  margin-top: 5px;
  cursor: default;
}
div#postPopup div.addPostPopup form div.file-upload img#previewImage{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  border-radius: 15px;
  background-color: #E6E6E6;
  pointer-events: none;
  display: none;
  object-fit: contain;
}
div#postPopup div.addPostPopup form div.file-upload img#previewImage.show {
  display: block;
}


div#postPopup div.addPostPopup form div.text {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  padding-top: 5px;
  border-top: 2px solid #d9d9d9;
}
div#postPopup div.addPostPopup form div.text input {
  resize: none;
  border: none;
  border-radius: 5px;
  padding: 5px;
  font-size: 16px;
  background-color: #f7f7f7;
}
div#postPopup div.addPostPopup form div.text input::placeholder{
  font-weight: bold;
  color: black;
}
div#postPopup div.addPostPopup form div.text input:focus{
  outline: 2px solid #E6E6E6;
}
div#postPopup div.addPostPopup form div.text textarea {
  resize: none;
  border: none;
  border-radius: 5px;
  padding: 5px;
  font-size: 16px;
  background-color: #f7f7f7;
}
div#postPopup div.addPostPopup form div.text textarea::placeholder{
  color: #8c8c8c;
}
div#postPopup div.addPostPopup form div.text textarea:focus{
  outline: 2px solid #E6E6E6;
}

div#postPopup div.addPostPopup form input#sendPostPopup{
  border: none;
  color: white;
  background-color: #f98c41;
  border-radius: 25px;
  font-size: 20px;
  padding: 5px;
  padding-left: 30px;
  padding-right: 30px;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 15px;
}
div#postPopup div.addPostPopup form input#sendPostPopup:hover {
  background-color: #f76e11;
  cursor: pointer;
}

/* nav #navButton div.dropdown div.sendPost{
    bottom: 0;
    margin-bottom: 20px;
    padding-right: 5px;
    padding-left: 5px;
    width: 300px;
}
nav #navButton div.dropdown div.sendPost form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
nav #navButton div.dropdown div.sendPost form div.file-upload{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3px;
}
nav #navButton div.dropdown div.sendPost form div.file-upload input{
    display: none;
}
nav #navButton div.dropdown div.sendPost form div.file-upload button#addNewPostImageBtn.selected{
    border: none;     /* Removes border 
    outline: none;    /* Removes focus outline 
}
nav #navButton div.dropdown div.sendPost form div.file-upload img#addNewPostImage{
    max-width: 100%;
} */


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  GLOBAL: Return Button  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
button#globalBackButton{
  position: fixed;
  top: 80px;
  left: 10px;
  border: none;
  color: #f98c41;
  border-radius: 30px;
  transition: color 0.3s, background-color 0.3s;
  /* padding: 5px; */
  /* padding-left: 8px; */
  /* padding-right: 8px; */
  font-size: 40px;
  z-index: 1;
}
button#globalBackButton:hover{
  color: #f76e11;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  GLOBAL: Footer  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
footer {
  width: 100%;
  margin-top: auto; /* Push the footer to the bottom */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px; /* Optional: Add padding */
  gap: 20px;
}
footer div.socials{
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
footer div.socials a{
  color: black;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer div.socials a:hover{
  color: #f76e11;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  ACCUEIL: Publication Card  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
body div.acceuilPage div.page {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
div.acceuilPage div.page div.profil {
  width: 25%;
}
div.acceuilPage div.page div.publications {
  width: 35%;
}
div.acceuilPage div.page div.news {
  width: 30%;
}
div.acceuilPage div.page div.news h1.title {
  text-align: center;
}
div.acceuilPage div.page div.news div.newsCard {
  background-color: #cccccc;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* align-items: end; */
}
div.acceuilPage div.page div.news div.newsCard div.content {
  gap: 10px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}
div.acceuilPage div.page div.news div.newsCard div.content h1 {
  text-align: center;
  /* display: flex;
    flex-direction: column;
    align-items: center; */
}
div.acceuilPage div.page div.news div.newsCard div.content div.infos p.date {
  font-size: 13px;
  font-style: italic;
  text-align: end;
  /* display: flex;
    flex-direction: column;
    align-items: center; */
}
div.acceuilPage div.card {
  background-color: #cccccc;
  padding-right: 5px;
  padding-left: 5px;
  margin: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* align-items: end; */
}
div.acceuilPage div.card div.content {
  /* width: 100%; */
  height: 100%;
  width: calc(calc(100% - 404px) - 25px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 3px;
}
div.acceuilPage div.card h1 {
  font-family: Georgia;
  font-size: 30px;
}
div.acceuilPage div.card p:not(.author) {
  padding-top: 15px;
  font-family: "Open Sans", sans-serif; /* or any readable font */
  font-size: 16px; /* Adjust for screen size */
}
div.acceuilPage div.card div.image {
  width: 216px;
  background-color: white;
}
div.acceuilPage div.card img {
  width: 216px;
  object-fit: contain;
}
div.acceuilPage div.card p.author {
  /* text-align: right; */
  /* width: calc(100% - 5px); */
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  color: #666;
}
div.acceuilPage div.card label {
  height: 100%;
  width: 25px;
  padding-bottom: 5px;
  align-self: end;
  text-align: center;
}
div.acceuilPage div.card input[type="checkbox"] {
  display: none;
}
div.acceuilPage div.card div.checkbox-img {
  cursor: pointer;
  width: 20px; /* Set the size of your image */
  height: 20px; /* Set the size of your image */
  background-image: url("img/unlike.png"); /* Your unchecked image */
  background-size: cover;
  display: inline-block;
}
div.acceuilPage div.card input[type="checkbox"]:checked + div.checkbox-img {
  background-image: url("img/like.png");
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  LOGIN: Login Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div.loginPage {
  padding: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
div.loginPage form {
  width: 250px;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  background-color: #f76e11;
}
div.loginPage form input {
  margin: 5px;
  border: none;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  ADMIN-USERS: Admin Users Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div#adminUsersPage  {
  padding: 20px;
  font-family: Arial, sans-serif;
}
div#adminUsersPage h1 {
  text-align: center;
  margin-bottom: 20px;
}
div#adminUsersPage .dropdown {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}
div#adminUsersPage .dropdown-toggle {
  width: 100%;
  padding: 10px;
  background-color: #f4f4f4;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
div#adminUsersPage .dropdown-toggle:hover {
  background-color: #e0e0e0;
}
div#adminUsersPage .user-info {
  font-size: 14px;
  color: #666;
}
div#adminUsersPage .dropdown-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  border-top: 1px solid #ccc;
  padding: 0 10px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
div#adminUsersPage .dropdown.open .dropdown-content {
  max-height: 500px;
  padding: 10px;
}
div#adminUsersPage .form-group {
  margin-bottom: 10px;
}
div#adminUsersPage .form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}
div#adminUsersPage .form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
div#adminUsersPage .ips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
div#adminUsersPage .ip-item {
  background-color: #f1f1f1;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
}
div#adminUsersPage .form-actions {
  display: flex;
  justify-content: space-between;
}
div#adminUsersPage .form-actions button {
  padding: 8px 12px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
div#adminUsersPage .deleteButton {
  background-color: #f44336;
  color: white;
}
div#adminUsersPage .updateButton {
  background-color: #2196f3;
  color: white;
}
div#adminUsersPage .createButton {
  background-color: #4caf50;
  color: white;
}
div#adminUsersPage .user-card.new-user {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  margin-top: 20px;
  background-color: #e8f5e9;
}
div#adminUsersPage .user-card.new-user h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 18px;
  color: #333;
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  ACCOUNT: Account Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div.accountPage form {
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
div.accountPage form div {
  width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  /* background-color: #F76E11; */
}
div.accountPage form img {
  width: 150px;
  object-fit: contain;
}
div.accountPage form div#errorMessage {
  color: red;
  display: none;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  SETTINGS: Settings Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div.settingsPage form {
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 10px 5px 5px #666;
  background-color: #cccccc;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  padding-left: 35%;
  gap: 10px;
}
div.settingsPage form div {
  width: 46%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  /* background-color: #F76E11; */
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  ADMIN-NEWS: Admin News Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* div.adminNewsPage {
  padding: 10px;
  padding-right: 15px;
}
div.adminNewsPage h1 {
  text-align: center;
  margin-bottom: 20px;
}
div.adminNewsPage div.new {
  background-color: #cccccc;
  border-radius: 3px;
  box-shadow: 10px 5px 5px #666;
  margin-top: 10px;
}
div.adminNewsPage div.new form {
  display: flex;
  gap: 20px; 
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: end;
}
div.adminNewsPage div.new form div:not(div.buttons) {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
div.adminNewsPage div.new form button {
  border-radius: 5px;
  height: 50%;
  background-color: #f76e11;
  padding: 5px;
  margin-bottom: 1px;
  align-items: center;
  justify-content: center;
}
div.adminNewsPage div.new form label {
  margin-bottom: 5px;
  font-weight: bold;
}
div.adminNewsPage div.new form input,
textarea {
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
}
div.adminNewsPage div.new form textarea {
  height: 150px;
}
div.adminNewsPage div.new form div.buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
} */

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  PROFIL: Profil Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* div.profilPage form{
    margin: 10px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 10px 5px 5px #666;    
    background-color: #CCCCCC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 35%;
    gap: 10px;

} */
div.profilPage {
  display: flex;
  flex-direction: column;
  align-items: center;
}
div.profilPage div.profil {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: space-between;

  width: 788px;
  margin-top: 10px;
  padding: 10px;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}
div.profilPage div.profil div.userInfos {
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  gap: 10px;
  width: 100%;
}
div.profilPage div.profil div.userInfos div.userInfosText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  width: 100%;
}
div.profilPage div.profil div.userInfos div.userInfosText textarea {
  border: none;
  padding: 0;
  background-color: inherit;
  resize: none;
  overflow: scroll;
  scrollbar-width: none;  /* Firefox */
  pointer-events: none;
  width: 100%;
  font-size: 12px;
  font-weight: bold;
  height: 60px;
  -ms-overflow-style: none; /* IE and Edge */
  &::-webkit-scrollbar { /* Chrome, Safari and Opera */
    display: none;
  };
}
div.profilPage div.profil div.userInfos div.userInfosText div.userInfosStats {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
div.profilPage div.profil div.followButtons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 5px;
  height: 100%;
  padding: 5px 5px 0px 0px;
  
}
div.profilPage div.profil div.followButtons div.buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  position: relative;
}
div.profilPage div.profil div.followButtons .optionsBubble {
  position: absolute;
  opacity: 0%;
  pointer-events: none;
  top: 50%;
  left: 100%;
  /* transform: translateX(-50%); */
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
  background-color: #f76e11;
  border-radius: 10px;
  width: 100%;
}
div.profilPage div.profil div.followButtons .optionsBubble.show {
  opacity: 100%;
  pointer-events: all;
}
div.profilPage div.profil div.followButtons .optionsBubble a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  color: white;
  text-decoration: none;
}
div.profilPage div.profil div.followButtons button{
  background-color: #f76e11;
  border: none;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  padding: 7px;
  border-radius: 30px;
  font-size: 20px;
  color: white;
  transition: color 0.3s, background-color 0.3s;

}
div.profilPage div.profil div.followButtons button.unfollowBtn{
  background-color: #ddd;
  color: #333;
}
div.profilPage div.profil img {
  width: 100px;
  border-radius: 100%;
  transition: filter 0.2s ease;
}
div.profilPage div.publications {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
div.profilPage div.publications div.profilCard {
  background-color: #cccccc;
  /* padding: 10px; */
  padding-top: 0px;
  margin: 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  /* align-items: end; */
  height: 200px;
  width: 177px;
  position: relative;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
}
div.profilPage div.publications div.profilCard div.content {
  gap: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* align-items: center; */
}
div.profilPage div.publications div.profilCard div.content h6,
div.profilPage div.publications div.profilCard div.content h5 {
    text-align: center;
    color: white;
  /* display: flex;
    flex-direction: column;
    align-items: center; */
    /* display: none; */
    text-decoration: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
    opacity: 0;
}
div.profilPage div.publications div.profilCard div.content i {
  transition: opacity 0.2s ease, visibility 0.2s ease;
  visibility: hidden;
  opacity: 0;
  color: white;
} 
div.profilPage div.publications div.profilCard a:hover i,
div.profilPage div.publications div.profilCard a:hover h5,
div.profilPage div.publications div.profilCard a:hover h6{
    /* opacity: 100%;  */
    display: block;
    visibility: visible;
    opacity: 100%;
}
div.profilPage div.publications div.profilCard a:hover img {
    filter: brightness(75%);
}
div.profilPage div.publications div.profilCard div.content div.img {
  width: 100%;
  height: 201px;
  /* background-color: black; */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
div.profilPage div.publications div.profilCard div.content img {
  /* max-width: 100%; */
  object-fit: cover;
  transition: filter 0.2s ease;
  /* display: flex;
    flex-direction: column;
    align-items: center; */
  width: 177px;
  height: 200px;
  border-radius: 10px;
}
div.profilPage div.publications div.profilCard div.content div.publiText {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: absolute;
  justify-content: space-between;
    bottom: 10px;
    width: 177px;
}
div.profilPage div.publications div.profilCard div.content div.publiText div.infos {
  display: flex;
  flex-direction: column;
  align-items: start;
  margin-left: 5px;
}
div.profilPage div.publications div.profilCard div.content div.publiText div.likes {
  margin-right: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}
div.profilPage .modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
div.profilPage .modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
div.profilPage .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}
div.profilPage .modal-header h2 {
  margin: 0;
  font-size: 18px;
}
div.profilPage .modal-header .close {
  font-size: 20px;
  cursor: pointer;
}
div.profilPage .search-bar {
  margin: 10px 0;
}
div.profilPage .search-bar input {
  width: calc(100% - 16px);
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
div.profilPage .elements-list {
  max-height: 300px;
  overflow-y: auto;
}
div.profilPage .element-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}
div.profilPage .element-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}
div.profilPage .element-info {
  flex: 1;
  margin-left: 10px;
}
div.profilPage .element-username {
  font-weight: bold;
  margin: 0;
  font-size: 14px;
}
div.profilPage .element-name {
  margin: 0;
  font-size: 12px;
  color: #555;
}
div.profilPage .follow-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  background-color: #f98c41;
  color: white;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.3s, background-color 0.3s;
}
div.profilPage .follow-btn.following {
  background-color: #ddd;
  color: #333;
  cursor: default;
}
div.profilPage .follow-btn:hover:not(.following) {
  background-color: #f76e11;
}
div.profilPage .modal-body {
  padding-top: 10px;
}
div.profilPage .modal-body .elements-list::-webkit-scrollbar {
  width: 5px;
}
div.profilPage .modal-body .elements-list::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 5px;
}
div.profilPage .modal-body .elements-list::-webkit-scrollbar-thumb:hover {
  background-color: #aaa;
}

/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  PUBLI: Publication Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/

div.publiPage {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
div.publiPage div.publication {
  padding: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  background-color: white;

  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}
div.publiPage div.publication div.img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  /* border: #a8a8a8 1px solid; ; */
  gap: 10px;
  width: 889px;
  box-sizing: content-box;
}
div.publiPage div.publication div.img img {
  width: 889px;
  /* height: 500px; */
  object-fit: contain;
  background-color: white;
}
div.publiPage div.publication div.img div.infos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 889px;
  background-color: white;
  /* border: #a8a8a8 1px solid; ; */
}
div.publiPage div.publication div.img div.infos div.like {
  display: flex;
  flex-direction: row;
  gap: 5px;
  padding-right: 5px;
  align-items: center;
  justify-content: center;
}
div.publiPage div.publication div.img div.infos div.like p {
  font-size: 20px;
}
div.publiPage div.publication div.img div.infos button.like {
  /* background: none; */
  border: none;
  box-shadow: none;
  background-color: white;
}
div.publiPage div.publication div.img div.infos button.like:hover {
  cursor: pointer;
}
div.publiPage div.publication div.img div.infos button.like i {
  color: red;
  font-size: 20px;
}
div.publiPage div.publication div.img div.infos div.head {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
div.publiPage div.publication div.img div.infos div.head img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: #a8a8a8 1px solid; 
}
div.publiPage div.publication div.img div.infos div.head div.author {
  position: relative;
}
div.publiPage div.publication div.img div.delete {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  height: 66px;
}
div.publiPage div.publication div.img div.delete button{
  background-color: red;
  border-radius: 5px;
  border: none;
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
  color: white;
  

}
div.publiPage div.publication div.separator_V {
  width: 2px;
  height: 100%;
  background-color: black;
  opacity: 10%;
}
div.publiPage div.publication div.content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 300px;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
div.publiPage div.publication div.content div.commentsSection {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
}
div.publiPage div.publication div.content div.commentsSection div.comments {
  height: 100%;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
  /* background-color: #f76e11; */
  border-radius: 5px 5px 0px 0px;
  overflow-y: scroll;
  height: 608px;
  scrollbar-width: none;
  color: #292929;
  height: calc(100% - 60px);
}
div.publiPage div.publication div.content div.commentsSection div.commentsList p {
  color: black;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList p {
  font-size: 15px;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList p .commentAuthor {
  font-size: initial;
  color: black;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.comment div.commentInfos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.comment div.commentInfos small {
  color: #bfbfbf;
  font-size: 12px;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.comment div.commentInfos button {
  background-color: #bfbfbf;
  border: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  transition: background-color 0.2s ease;

}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.comment div.commentInfos button:hover {
  cursor: pointer;
  background-color: #292929;
}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.comment div.commentInfos i{
  font-size: 12px;
  color: white;
  transition: color 0.2s ease;

}
div.publiPage div.publication div.content div.commentsSection div.commentsList div.separator_H {
  width: 100%;
  height: 2px;
  background-color: black;
  opacity: 10%;
}
div.publiPage div.publication div.content div.commentsSection div.addComment {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 40px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border-radius: 5px;
}
div.publiPage div.publication div.content div.commentsSection div.addComment form{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
div.publiPage div.publication div.content div.commentsSection div.addComment input {
  border: none;
  border-radius: 5px 0px 0px 5px;
  padding: 5px;
  padding-right: 0;
  margin-left: 5px;
  height: 50%;
  width: 100%;
  background-color: #e5e1d5; 
}
div.publiPage div.publication div.content div.commentsSection div.addComment button {
  border: none;
  border-radius: 0px 5px 5px 0px;
  padding: 5px;
  /* width: 75%; */
  background-color: #e5e1d5; 
  height: 75%;
  margin-right: 5px;
}
div.publiPage div.publication div.content div.commentsSection div.addComment button:hover {
  cursor: pointer;
}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  CONNECTION: Connection Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div#connectionPage {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding-bottom: 60px;
}
div#connectionPage div.page {
  /* margin-top: 25px; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  height: 60%;
  width: 100vh;
}
div#connectionPage div.bar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 10vh;
  background-color: #ededed;
  border-radius: 10px 10px 0px 0px;
}
div#connectionPage div.bar button {
  width: 100%;
  border: none;
  background-color: #ededed;
  height: 100%;
  font-size: 30px;
  color: #8e8e8e;
  border-radius: 10px 10px 0px 0px;
  transition: background-color 0.5s ease, color 0.5s ease;
}
div#connectionPage div.bar button.active {
  transition: background-color 0.5s ease, color 0.5s ease;
  background-color: white;
  color: black;
}
div#connectionPage div.form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
div#connectionPage div.form div.login, div#connectionPage div.form div.register {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}
div#connectionPage div.form div.login form, div#connectionPage div.form div.register form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 50vh;
  /* gap: 1vh; */
}
div#connectionPage div.form div.login form div.input, div#connectionPage div.form div.register form div.input {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  gap: 1vh;
}
div#connectionPage div.form div.login form input:not(.hide), div#connectionPage div.form div.register form input:not(.hide) {
  color: white;
  transition: color 0.5s ease;
}
div#connectionPage div.form div.login form input:not(.hide)::placeholder, div#connectionPage div.form div.register form input:not(.hide)::placeholder {
  opacity: 0;
  transition: opacity 0.5s ease;
}
div#connectionPage div.form div.login form input.active, div#connectionPage div.form div.register form input.active {
  color: black;
  transition: color 0.5s ease;
}
div#connectionPage div.form div.login form input.active::placeholder, div#connectionPage div.form div.register form input.active::placeholder {
  opacity: 1;
  transition: opacity 0.5s ease;
}
div#connectionPage div.form div.login form input.hide, div#connectionPage div.form div.register form input.hide {
  
  transition: opacity 0.5s ease;
  opacity: 0;
}
div#connectionPage div.form div.login form input.hide.show, div#connectionPage div.form div.register form input.hide.show {
  opacity: 1;
  transition: opacity 0.5s ease;
}
div#connectionPage div.form div.login form input, div#connectionPage div.form div.register form input {
  /* height: 100%; */
  width: 100%;
  padding: 1.3vh;
  border-radius: 15px;
  border-color: #777777;
  border: 1px solid #777777;
  font-size: 20px;
}
div#connectionPage div.form div.login form button, div#connectionPage div.form div.register form button{
  background-color: #f98c41;
  border: none;
  color: #f98c41;
  padding: 15px;
  border-radius: 30px;
  font-size: 20px;
  width: 25vh;
  margin-bottom: 2vh;
  transition: background-color 0.2s ease, color 0.5s ease;
  opacity: 1;

}
div#connectionPage div.form div.login form button.active, div#connectionPage div.form div.register form button.active{
  color: white;
}
div#connectionPage div.form div.login form button:hover, div#connectionPage div.form div.register form button:hover{
  background-color: #f76e11;
  color: white;

}


/*■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■  ADMIN-IPS: Admin-Ips Page  ■■■■■■■■■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
div#adminIpsPage {
  padding: 20px;
  font-family: Arial, sans-serif;
}
div#adminIpsPage h1 {
  text-align: center;
  margin-bottom: 20px;
}
div#adminIpsPage .dropdown {
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}
div#adminIpsPage .dropdown-toggle {
  width: 100%;
  padding: 10px;
  background-color: #f4f4f4;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}
div#adminIpsPage .dropdown-toggle:hover {
  background-color: #e0e0e0;
}
div#adminIpsPage .ip-count {
  font-size: 14px;
  color: #666;
}
div#adminIpsPage .dropdown-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  border-top: 1px solid #ccc;
  /* padding: 0 10px; */
  transition: max-height 0.3s ease;
}
div#adminIpsPage .dropdown-content .ip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
}
div#adminIpsPage .dropdown-content .ip-item:last-child {
  border-bottom: none;
}
div#adminIpsPage .dropdown-content .ip-item.even {
  background-color: #f9f9f9;
}
div#adminIpsPage .dropdown-content .ip-item.odd {
  background-color: #ffffff;
}
div#adminIpsPage .dropdown-content .ip-item.current-ip {
  background-color: #ffeb3b;
  font-weight: bold;
}
div#adminIpsPage .ban-unban-btn {
  padding: 5px 10px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}
div#adminIpsPage .ban-unban-btn[data-banned="true"] {
  background-color: #f44336;
  color: white;
}
div#adminIpsPage .ban-unban-btn[data-banned="false"] {
  background-color: #4caf50;
  color: white;
}
div#adminIpsPage .dropdown.open .dropdown-content {
  display: block;
}
