* {
    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: #1e1e1e;
    --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);
  }

  a:hover{
    cursor:pointer;
  }
  
  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;
  }
  

  #logo {
    width:85px;
    float: left;
    transform: translate(69px, -25px);
  }
 

  /* ==================================================================================== */
  /* 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;
  } 

  /* ==================================================================================== */
/* Index */
/* ==================================================================================== */

.container .index {
  text-align:center;
  
}

.container .index img {
  width:200px;
  /* padding: 20px 0; */
}

.about {
  text-align:center; 
  margin: auto;
  width: 70%;
}

.row {
  display: flex;
  justify-content: center;
  align-items: flex-start;

}

.column {
  flex: 50%;
  padding: 0 20px;
  justify-content: center;
  text-align: center;
}


/* ==================================================================================== */
/*  contact form  */
/* ==================================================================================== */
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
  font-family: var(--text-fonts);
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: var(--hover-color);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: var(--dark-color);
}

/* Add a background color and some padding around the form */
.contact-form .container-contact {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

.container-contact {
  max-width: 1000px;
  margin: 0 auto;
  padding-right: 10px;
  padding-left: 10px;
}
  
form {
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
}

form input {
  width: 100%;
  padding: 6px 10px;
  margin-bottom: 4px;
  border-radius: 5px;
  background-color: #fff;
}

form button {
  width: 100px;
  padding: 6px 10px;
  margin-top: 8px;
  border-radius: 5px;
  background-color: #111;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

form button:hover {
  background-color: #313131;
}

  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: 30px;
    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;
  }

  .gallery .image-book {
    flex-basis: 25%;
    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));
  }



  
  .gallery-team{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .gallery-team .container {
    display: flex;
    flex-flow: row wrap;
  }
  
  .gallery-team .container::after {
    content: " ";
    flex: auto;
  }
  
  .gallery-team .image {
    flex-basis: 25%;
    min-width: 0;
    text-align: center;
  } 
  
  /* align caption box under figure*/
  .gallery-team 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-team figure figcaption { 
    margin-top: 0px;
    max-width: var(--figure-width);
  }
  
  .gallery-team figure figcaption p {  
    text-align: var(--gallery-figcaption-align);
    word-wrap: break-word;
  }
  
  .gallery-team figure img {
    width: 250px;
    aspect-ratio: 3/4;
    border-radius: 0;
    object-fit:cover;
    box-shadow: 10px 5px 5px rgb(151, 151, 151);
    border:1px solid rgb(199, 199, 199);
  }
  
  .gallery-team 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: #ffffff;
    width:100%;
  }
  
  .footer p{
    color: #333333;
    font-size: 14px;
  }
  
  .footer-row {
    display: flex;
  }
    
  .footer-column {
    flex: 25%;
    padding-top: 10px;
    padding-bottom: 10px;
  }

/* ==================================================================================== */
/*      Navbar     */
/* ==================================================================================== */
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
}

.navbar {
  background: var(--navbar-color);
  padding-top: var(--navbar-padding-top);
  padding-bottom: var(--navbar-padding-bottom);
}

/* Navbar 1 (logo and items on same line) */

/* .navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

/* Navbar 2 (logo on top, centered, and items under logo)*/

.navbar .container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: var(--navbar-logo-menu-space);
}

.navbar .logo {
  display: flex;
  justify-content: center;
}

.navbar .logo img {
  padding-left: var(--navbar-padding-left);
  width: var(--logo-width);
  height: auto;
}

.navbar .main-menu {
  padding-right: var(--navbar-padding-right);
}

.navbar .main-menu ul {
  display: flex;
  gap: var(--navbar-gap);
  justify-content: center;
}

/* Padding left only and centering right so that the last item is flush with the container */
.navbar .main-menu ul li a {
  padding: 0 10px;
  display: block;
  transition: 0.5s;
}

/* Color change on hover */
.navbar ul li a:hover {
  color: var(--hover-color); /* Change the hover color to something better */
}



.bio .container {
  display: grid;
  grid-template-columns: var(--bio-grid-template-columns);
  grid-template-rows: auto;
  grid-row-gap: 0;
  grid-column-gap: var(--bio-column-gap);
  grid-template-areas: 
    "image resume";
}

.item-a {
  grid-area: image;
  /* filter: grayscale(100%); */
  text-align: right;
  padding-left: 10px;
  padding-right: 30px;
  width: 100%;
  align-content: top;
}

.item-a img {
  box-shadow: 10px 5px 5px rgb(151, 151, 151);
  width:75%;
  border:1px solid rgb(199, 199, 199);
}

.item-b {
  grid-area: resume;
  /* padding-right: 20px; */
  margin-right: 10px;
}

.bio h1 {
  margin-bottom: 0px;
  margin-top: 0px;
}

/* Header button*/

.button2 {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 10rem;
  color: #333;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.button2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: #fff; */
  /* border-radius: 10rem; */
  z-index: -2;
}
.button2:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #ffd500;
  transition: all 0.3s;
  /* border-radius: 10rem; */
  z-index: -1;
}
.button2:hover {
  color: #fff;
}
.button2:hover:before {
  width: 100%;
}

/* ==================================================================================== */
/* hamburger button */
/* ==================================================================================== */
.hamburger-button{
  display:none;
  background: rgba(255, 255, 255, 0.50);  
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
  position: fixed;
  right:0px;
  top: 0px;
}

.hamburger-button .hamburger-line{
  width: 30px;
  height: 2px;
  background: #1e1e1e;
  margin: 6px 0;
  z-index: 1000;
}

.hamburger-button .hamburger-image{
  width: 30px;
  height: 30px;
  background: none;
  /* margin: 6px 0; */
  z-index: 1000;
}

.mobile-menu{
  position: fixed;
  top: 0;
  right: -300px;
  width: 200px;
  height: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
  right: 0px;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
  padding-left: 20px;
}
.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  font-size: 15px;
  transition: 0.3s;
}



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

  .gallery .image-book{
    flex-basis: 50%;
    /* flex-basis: 100%; */
  }

  .gallery-team .image{
    flex-basis: 100%;
  }

  .bio .container {
    grid-template-columns: 100%;
    grid-template-areas: 
      "image"
      "resume";
  }

  .item-a {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
  }
  
  .item-a img {
    box-shadow: 10px 5px 5px rgb(151, 151, 151);
    width:75%;
  }
  
  .item-b {
    grid-area: resume;
    /* padding-right: 20px; */
    margin:0;
    padding: 20px 0;
  }

  .container h1{
    padding: 20px 0;
  }

  .container{
    padding: 0 20px;
  }

  .navbar .main-menu{
    display: none;
  }
  
  .hamburger-button{
    display: block;
  }

  #logo {
    width:85px;
    float: left;
    transform: translate(25px, -35px);
  }
  
  }
