/*
Theme Name: Overmood Thème
Author: Julien Dauphin
Version: 1.0
Description: Thème personnalisé pour réseau social
*/
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}
@font-face {
  font-family: 'Roboto';
  src: url('fonts/roboto/Roboto-Italic-VariableFont_wdth,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}
:root {
  --background-color: #fdfdfd;
  --background-white: white;
  --text-color: #516377;
  --menu-bg-color: #f4f4f4;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
}


::-webkit-scrollbar {
    width: 8px;
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #888;
}

html {
  background-color: #eff0f4;
  font-size : 14px;
  overflow-x: hidden;
 overflow-y: scroll; /* Activer le scroll vertical */
    -ms-overflow-style: none;  /* Pour Internet Explorer */
    scrollbar-width: none;  /* Pour Firefox */
}
body {
  margin : 0 auto;
  padding: 8px;
  background-color: var(--background-white);
  color: #516377;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  border-radius: 15px 15px 0 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  box-sizing: border-box;
   overflow-y: scroll; /* Activer le scroll vertical */
    -ms-overflow-style: none;  /* Pour Internet Explorer */
    scrollbar-width: none;  /* Pour Firefox */
}
header{
  padding : 8px 16px 8px 8px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 15px 15px 0 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}
#header{
  align-items: center;
  background-color: #fdfdfd;
}
#header a{
  text-decoration: none;
}
#header i{
  font-size: 20px;
  color : #666;
}
#header-container-right{
  height: 32px;
}
#header-container-right img{
  height: 32px;
  width : 32px;
}
/* Boutons */
button{
  background-color: #5173ee;
  color : white;
  border: none;
  padding : 8px 16px;
  cursor : pointer;
}
/* Display */
.flex {
  display: flex;
}
.between{
  justify-content: space-between;
}
/* Shadow */
.shadow{
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}
/* Height */
.h24{
  Height : 24px;
}
/* Background */
.white{
background-color : white;
}
/* Border */
.rounded{
  border-radius: 10px;
}
/* Gap */
.gap16{
  gap : 16px;
}
/* Main */
main {
  background: linear-gradient(
    to bottom right,
    #fafbfd,
    #f9fafc,
    #f8f9fb
  );
  width: 100%;
  min-height: 100vh;
justify-content: center;
  padding: 36px;
  gap : 36px;
  box-sizing: border-box;
}
#main-left, #main-right {
  display: none;
  flex-direction: column;
  flex: 1.2;
  gap : 24px;
  box-sizing: border-box;
}
.p24{
  padding : 24px;
}
.profile-picture{
    border-radius: 50%;
    width: 48px;
    height: 48px;
    object-fit: cover;
}
#main-center {
  display: flex;
  flex-direction: column;
  flex: 2.6;
  gap : 8px;
  box-sizing: border-box;
}
/* Menu */
nav{
  display: flex;
  justify-content: center;
}
nav ul{
  padding-inline-start: 0;
  list-style-type: none;
  width: 100%;
}
nav li{
  padding: 16px 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
  cursor: pointer;
}
nav li:first-child {
  padding-top: 0;
}
nav a {
  text-decoration: none;
  display: flex;
  align-items: center;
}
nav a span{
  color : #516377;
  font-size: 1rem;
  font-weight: 600;
  margin-left : 16px;
}

nav li:hover span{
  color : #5173ee;
}
nav i{
color : #c8cdd0;
font-size: 24px;
}
#menu-mobile{
  position: fixed;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  background: white;
  color: black;
  text-align: center;
  transition: transform 0.3s ease;
  z-index: 998;
  margin-bottom : 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
}
.notifications a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.big-item-menu svg {
  transform: translateY(-12px) scale(1.8);
}
@media (min-width: 1024px) {
  #main-right {
    display: flex;
  }
}
@media (min-width: 768px) {
  #menu-mobile {
    display: none;
  }
 
  #main-left {
    display: flex;
  }
}
@media (max-width: 768px) {
  .p24{
       padding : 16px; 
}
 #logo img{
      width : 150px;
      height : 50px;
  }
#menu-mobile{
       padding : 8px; 
}
nav a span{
  color : #516377;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left : 0px;
}
nav a {
  flex-direction : column;
}
  nav ul{
  display: flex;
  justify-content: space-around;
  margin : unset;
}
 nav ul li{
  padding : unset;
  border-bottom: unset;
}
#menu-mobile .fa-plus-square{
  color : #5173ee;
}
.hide-text, #header-container-right button{
  display: none;
}
#main-center, #header, .storie-container {
  max-width: 100vw;
  }
.storie-container {
  padding : 0 8px;
}
}
@media screen and (max-device-width : 480px) {
main{
    padding : 8px;
}}