:root {
  --hoverColor: rgb(181, 255, 146);
}


* {
  box-sizing: border-box;
  margin:0;
  font-family: 'Work Sans', sans-serif;
  color: #000000;
  font-size: 18px;
  
}
/* General -----------------------*/
html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  
}
.container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
 
}
.wrapper {
  flex: 1;
}

footer {
  padding: 20px 60px 20px 60px;
}

.p-footer {
  font-style: italic;
  font-size: 0.8em;
  line-height: 1.4em;
}

h1 {
  font-weight: 400;
  font-size: 2em;
}

h3 {
  margin-top: 1em;
  font-weight: 600;
  font-size: 1em;
}


.collection-Header {
  text-align: center;
  padding: 20px;
  margin: 40px 60px 0 60px;

  border-top: 1px solid rgb(216, 216, 216);
  /*border-bottom: 1px solid rgb(216, 216, 216);*/
 
}




/* HEADER & NAV -----------------------*/

header {
  
  padding:60px 60px 0 60px;
  display: flex;
  justify-content:space-between;
  align-items: center;
 
}

#home {
 
  font-weight: 400;
  font-size: 2em;
  text-decoration: none;
  color: rgb(0, 0, 0);
}
#home:hover {
  text-decoration: underline;
}

#home:visited {
  text-decoration: none;
  color: black;
}

nav {
  
  width: 55%;
  text-align: right;
  font-weight: 400;
}

nav > a {
  text-decoration: none;
  color: black;
  padding: 10px 0px 10px 20px;
  
}
nav > a:hover{
  text-decoration: underline;
  color: rgb(0, 0, 0);
  background-color: var(--hoverColor);
}




/* Home content -----------------------*/


#home-Content {
  padding:80px;
 
}

#home-Content-Image {
  margin:auto;
  padding: 30% 0;
  /*background-image: url("/resources/images/2020_Resistance/ExotiqueGenetique2021.jpg");*/
  background-color: rgb(245, 147, 101);
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size:cover;
  width: 80%;
  height: 100%;
  text-align: center;
 
}

mark {
  background-color: rgb(245, 147, 101);
  font-size: 4em;
  margin-left: -60px;
  margin-right: -60px;
}

/* Collections Page -----------------------*/
.oeuvres {
  margin: 50px 50px;
  vertical-align: top;
}

.oeuvres > img {
  background-color: rgb(0, 81, 255);
  max-width: 550px;
  max-height: 550px;
  cursor: pointer;
}

.collections {
  padding:120px 60px 0 60px;

}

article {
  margin-bottom: 2em;
  
}

.collectionTitle {
  
    font-weight: 300;
    font-size: 1.8em;
    line-height: 1.2em;
    text-decoration: underline;
  
}

.collectionTitle:hover {
  
  background-color: var(--hoverColor);

}
.collectionP  {
  margin-top: 1em;
  font-size: 1em;
  line-height: 1.2em;
}

p.materiaux {
  font-weight: 300;
  font-size: 0.8em;
  font-style: italic;
}


#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:rgba(255, 254, 254, 0.95);
  
}
#lightbox > img {
  max-width:100%;
  max-height: 100%;
  /*border: 10px solid red;*/
}

/* A propos Page -----------------------*/

#apropos-content {
  padding:120px 60px 0 60px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  

}

#apropos-left {
  width: 60%;
}

#apropos-left > p {
  font-weight: 300;
  font-size: 2em;
  line-height: 1.2em;
  margin-bottom: 10px;
}
#apropos-right {
  width: 500px;

}

.apropos-contact-link {
  font-size: 0.8em;
}
.apropos-contact-link {
  text-decoration: none;
  background-color: var(--hoverColor);
}

#apropos-content-bio > a:hover{
  background-color: var(--hoverColor);
}

/* Mobile -----------------------*/

@media only screen and (max-width:805px){

  header {
    padding:20px 20px 0 20px;
  }


  #home {
    font-size: 1.4em;
    
  }
  nav > a {
    display: block;
    padding-bottom: 10px;
  }

  #home-Content {
    padding: 20px;
   
  }

  #home-Content-Image {
    
    width: 100%;
    height: 550px;
    text-align: center;
   
  }

  mark {
    font-size: 2em;
    margin: auto;
    /*margin-left: -30px;
    margin-right: -30px;*/
  }

  footer {
    padding: 20px 20px 20px 20px;
  }
  .p-footer {
    font-style: italic;
    font-size: 0.6em;
    line-height: 1.4em;
  }

  .oeuvres > img {
    background-color: rgb(0, 81, 255);
    max-width: 80vw;

    cursor: pointer;
  }

  #apropos-right {
    width: 100%;
  
  }

  #apropos-left {
    width: 100%;
  }
  
#apropos-content-bio {
  padding-bottom: 40px;
}

  #apropos-left > p {
    font-weight: 300;
    font-size: 1.2em;
    line-height: 1.4em;
    
  }

  .apropos-contact-link {
    font-size: 1em;
  }
  
}