* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  :root {
    --text-fonts: 'Assistant', sans-serif; 
  
    --light-color: #f6f5eb;
    --dark-color: #1e1e1e;
    
    /* Text color */
    --text-color: #1e1e1e;
    
    /* Navbar parameters */
    --logo-width: 300px;
    --navbar-text-color: #1e1e1e; /* Can be set to var(--text-color) */
    --hover-color: #a7a7a7;
    --navbar-gap: 10px; /* note that there is a 10px padding between items already*/
    --navbar-color: #fff;
    --navbar-padding-top: 40px;
    --navbar-padding-bottom: 35px;
    --navbar-padding-left : 12px;
    --navbar-padding-right: 8px;
    --navbar-logo-menu-space: 10px;
  
    /* Index and Category */
    --figure-width : 340px;
    --aspect-ratio : 4/3;
    --image-per-row-percent: 50%;         /*(1/number-images-per-row)%, 33% = 3 images, 25% = 4 images, etc.*/
    --gallery-figure-padding: 0 15px 15px 15px; /*top, right, bottom, left */
    --gallery-background-color: #ffffff;
    --image-zoom-hover: 1.0;                   /* 1.0 for no zoom, 1.05 looks nice*/
    --image-opacity-hover: 0.4;                 /* between 0 and 1, 0 = transparent, 1 = no change */
    --image-brightness-hover: 1;                /* between 0 and 1 to darken */
    --gallery-figcaption-align: left;           /* left, center, right */ 
  
    /* Oeuvre */
    --art-grid-template-columns: 45% 55%; /* left : image, right: text*/
    --art-padding-image-text: 20px;       /* space between image and text columns*/
  
    /* Images on art page */
    --image-art-per-row-percent: 50%;
    --image-art-aspect-ratio: 1/1;
    --image-art-row-gap: 20px; 
    --image-art-padding-top: 30px;
  
    /* Bio */ 
    --bio-grid-template-columns: 50% 50%;
    --bio-column-gap: 10px;
  
    /* Footer text color */
    --footer-height: 50px;
    --footer-img-width: 30px;
    --footer-padding-top: 5px;
    --footer-padding-bottom: 5px;
    --footer-text-color: rgb(124, 124, 124);
    --footer-background-color: #fff;
    --copyright-padding-right: 15px;
    --footer-img-padding-left: 10px;
  }
  
  body {
    font-family: var(--text-fonts);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.5;
    background: #ffffff;
    margin: 0;
    min-height: 100vh;
  }
  
  a {
    text-decoration: none;
    color: var(--navbar-text-color);
  }
  
  h3 a:hover {
    /* text-decoration: underline;
    color: #6000c0; */
    color: #ffffff;
    background-color: #1e1e1e;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid #1e1e1e;
  }

  h4 a:hover {
    /* text-decoration: underline;
    color: #6000c0; */
    color: #ffffff;
    background-color: #1e1e1e;
    padding: 5px;
    border-radius: 10px;
    border: 2px solid #1e1e1e;
  }

  p a:hover {
    color: #ffffff;
    background-color: #1e1e1e;
    padding: 2px;
    border-radius: 8px;
    border: 1px solid #1e1e1e;
  }

  ul {
  list-style: none;
  }
  
  img {
    max-width: 100%;
  }
  
  figcaption {
    font-size: 14px;
    margin-top: 8px;
  }

  strong {
    font-weight: bold;
  }
  

.checkbox-container {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  margin-right: 15px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

/* Hide the default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #ccc;
}

/* Show checkmark when checked */
.checkbox-container input:checked ~ .checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

/* Create the checkmark/indicator (hidden by default) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}



  /* ==================================================================================== */
  /* Utility Calsses */
  /* ==================================================================================== */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px;
    /* padding-right: 10px;
    padding-left: 10px; */
    background: rgba(255, 255, 255, 0.267);
  }

  .main-columns{
    background: var(--gallery-background-color);
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .main-columns .container {
    display: flex;
    flex-flow: row wrap;
  }
  
  .main-columns .container::after {
    content: " ";
    flex: auto;
  }
  
  .main-columns .col {
    flex-basis: var(--image-per-row-percent);
    min-width: 0;
    text-align: center;
  } 

  .main-columns .col img {
    box-shadow: 10px 5px 5px rgb(151, 151, 151);
    border:1px solid rgb(199, 199, 199);
  }

  input[type=text] {
    width: 75%;
    padding: 5px 5px;
    margin: 5px 5px;
    box-sizing: border-box;
    border-style: solid;
    border-color: #7d7d7d;
    border-width: thin;
  }

  input[type=password] {
    width: 75%;
    padding: 5px 5px;
    margin: 5px 5px;
    box-sizing: border-box;
    border-style: solid;
    border-color: #7d7d7d;
    border-width: thin;
  }

  textarea{
    width: 75%;
    padding: 5px 5px;
    text-align: left;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-style: solid;
    border-color: #7d7d7d;
    border-width: thin;
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
  }

  input[type=submit] {
    /* width: 75%; */
    /* padding: 12px 20px; */
    /* margin: 8px 0; */
    color: #fff;
    background: #1e1e1e;
    box-sizing: border-box;
  }

  input[type=submit]:hover {
    color: #fff;
    background: #5e5e5e;
    box-sizing: border-box;
  }

  .gallery{
    background: var(--gallery-background-color);
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .gallery .container {
    display: flex;
    flex-flow: row wrap;
  }
  
  .gallery .container::after {
    content: " ";
    flex: auto;
  }
  
  .gallery .image {
    flex-basis: 33.33333333333%;
    min-width: 0;
    text-align: center;
  } 
  
  /* align caption box under figure*/
  .gallery figure{
    display: inline-block;
    padding: var(--gallery-figure-padding);
  }
  
  /* make sure that the max-width matches the width of the figure from .gallery figure img {} */
  .gallery figure figcaption { 
    margin-top: 0px;
    max-width: var(--figure-width);
  }
  
  .gallery figure figcaption p {  
    text-align: var(--gallery-figcaption-align);
    word-wrap: break-word;
  }
  
  .gallery figure img {
    width: var(--figure-width);
    /* aspect-ratio: var(--aspect-ratio); */
    /* aspect-ratio: 3/4; */
    object-fit:cover;
    box-shadow: 10px 5px 5px rgb(151, 151, 151);
    border:1px solid rgb(199, 199, 199);
  }
  
  .gallery figure img:hover {
    filter: none;
    -webkit-filter: grayscale(0);
    /* filter: hue-rotate(360deg); */
    -webkit-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
    opacity: var(--image-opacity-hover);
    transform: scale(var(--image-zoom-hover));
    filter:brightness(var(--image-brightness-hover));
  }

  
.footer {
  background-color: #1e1e1e;
  height: 50px;
  color: rgb(161, 161, 161);
  display: flex;
  flex-flow: row wrap;
  /* margin-top: auto; */
  /* position: relative; */
  /* top: 100%;
  transform: translateY(calc(-100%-50px)); */
  /* top: 20vh; */
}

.footer .col {
  flex-basis: 33%;
  min-width: 0;
  text-align: center;
  padding:0 10px;
}

.footer .col a {
  position: relative;
  top: 25%;
}

.footer .col img{
  filter: invert(1);
  width: 20px;
}

.footer .col p{
  position: relative;
  top: 25%;
}



/* ici */
.admin {
  display: flex;
  flex-flow: row wrap;
}

.admin .col {
  flex-basis: 50%;
  min-width: 0;
  text-align: center;
  padding:0 10px;
}



@media screen and (max-width:800px) {
  .main-columns .col {
    flex-basis: 100%;
    min-width: 0;
    text-align: center;
  }
  
  .gallery .image{
    flex-basis: 100%;
  }

  .admin .col {
    flex-basis: 100%;
  }

  }
