@font-face {
  font-family: 'Google Sans';
  font-weight: 400;
  src: url("../Google_Sans/static/GoogleSans-Regular-vAMluty.ttf") format('truetype');
}
@font-face {
  font-family: 'Google Sans';
  font-weight: 700;
  src: url("../Google_Sans/static/GoogleSans-SemiBold-PUq690S.ttf") format('truetype');
}
@font-face {
  font-family: 'Google Sans';
  font-weight: 900;
  src: url("../Google_Sans/static/GoogleSans-Bold-NYmmdOS.ttf") format('truetype');
}

:root {
  /* 1. Palette de couleurs globale */
  --color-white: #ffffff;
  --color-dark: #000000;
  --color-primary: #333333;
  --color-primary-hover: #000000;
  --color-success: #2ecc71;

  --btn-primary-text: var(--color-white); /* Texte blanc sur fond bleu */
  
  --btn-primary-bg: var(--color-primary);
  --btn-primary-bg-hover: var(--color-primary-hover);
}

a {
  text-decoration: none;
  color:#000000;
}
.alert {
  padding:20px;
  border-radius: 8px;
  border: 1px solid transparent;
  margin:20px auto 0 auto;
}
.alert-success {
  color: #1a5336;
  background-color: #ecfdf5;
  border-color: #a7f3d0;
}


#article_chapo {
  height:100px;
}
body {
  padding:0;
  margin:0;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Google Sans", sans-serif;
}
.btn-danger {
  background-color:red !important;
}
.btn-primary {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--btn-primary-bg-hover);
}

.ck-editor__editable {
  height:300px;
}
.container {
    max-width:1000px;
    width:90%;
    margin:0 auto;
}




button {
  background-color: #000000;
  color:#ffffff;
  font-family: "Google Sans", sans-serif;
}

.cursor-pointer {
  cursor:pointer;
}



.ck-editor__editable_inline p {
    margin: 0;
    padding: 0;
}

.espace {
    height:20px;
}
.flex-page {
  display:flex;
  flex-direction: column;
  gap:20px;
}

.flex-une {
  display:flex;
  flex-direction: column;
  gap:20px;
}
.flex-une-droite {
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form-label {
  margin:0;
}
h1, h2, ul {
  all: unset;
}

h1 {
  font-weight:900;
  font-size:35px;
}
h2 {
  font-weight:900;
  font-size:25px;
}
.header {
  background-color: #000000;
  padding:20px 0;
}
.header a {
  color:#ffffff;
}
.header-droite {
  flex:1;
  display:flex;
  justify-content: end;
  gap:10px;
}
.header-gauche {
  flex:1;
  
}
.header-logo {
  flex:1;
  display:flex;
  justify-content: center;
}
img {
  font-size:0px;
}
input, textarea, select {
  width:100%;
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding:.375rem .75rem;
  font-family: "Google Sans", sans-serif;
  font-size:1rem;
}

input[type=checkbox], input[type=radio], input[type=datetime-local], select  {
  width:auto;
}

label {
  font-weight:bold;
  display: block;

}

label[for=article_image_file_delete] {
  display: inline-block;
}


.menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color:#ffffff;
  text-align: right;
  flex:1;
  
  
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




.vich-image img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}







@media (min-width: 768px) {
  .flex-page {
    flex-direction: row;
  }
  .flex-page-gauche {
    flex:2;
  }
  .flex-page-droite {
    flex:1;
  }
  .flex-une {
    flex-direction: row;
  }

  .flex-une-gauche {
    flex:2;
  }

  .flex-une-droite {
    flex:1;
  }

  .menu-toggle {
    display: none;
  }

    
    .left {
        display:none;
        
    }

  .logo {
    
    margin: 0; 
    text-align: left;
  
  }

  .nav-links {
    display: flex; 
    width: auto;
    gap: 20px;
  }

  .nav-links a {
    color: #ffffff;
  }
}
