* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  height: 100%;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  float: none;
  line-height: 2;
  display: flex;
  flex-direction: column;
  background: #444;
  color: #fff;
  overflow-y: scroll;
}
body#bg-img {
  max-width: 1200px;
  background: url(../img_epims/background.jpg);
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-y: hidden;
}
body#bg-img:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(68, 68, 68, 0.85);
}
.headerintro {
  max-width: 1200;
  display: center;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 20px;
  font-family: Garamond, sans-serif;
  color: #eece1a;
}
.headerlb {
  display: center;
  padding: 0;
  margin-left: 40px;
  font-size: 20px;
  font-family: Garamond, sans-serif;
  color: #eece1a;
}
.site-nav {
  /*EN DE FR nav*/
  color: white;
  padding: 0.5rem;
  margin: 1rem 1rem;
  text-align: right;
  font-size: 2rem;
}
.site-nav ul {
  padding: 0;
  margin: 0;
}
.site-nav li {
  display: inline;
  margin-right: 1.5rem;
  text-align: right;
}
.site-nav a {
  color: white;
  text-decoration: none;
}
.language-link-item {
  color: #ff9900;
  text-align: right;
  padding-top: 15px;
  padding-right: 15px;
}
/*--Page2--*/
.infobox {
  text-align: justify;
  text-justify: inter-word;
  background-color: white;
  padding: 1rem;
  margin: 1rem 2rem;
  border-radius: 15px;
  line-height: 1.8;
}
.btnnext {
  width: 15%;
  background-color: #eece1a;
  border-radius: 10px;
  border: none;
  color: black;
  padding: 16px 32px;
  float: right;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin-right: 2rem;
  transition-duration: 0.4s;
  cursor: pointer;
  font-family: Garamond, sans-serif;
  z-index: 1;
}
.btnnext:hover {
  background-color: white;
  color: black;
}

/*--Page eval????????????????????????????--*/
.div1 {background-color:red;
      width: 50%;
      float:left;
}
.div2 {background-color:white;
  width: 50%;
  float:right;
}

/*--Page chef?????--*/
.btn-group button {
  font-size: 20px;
  font-family: Garamond, sans-serif;
  background-color: #eece1a; /* Green background */
  border: 1px solid black; /*  border */
  border-radius: 10px;
  color: black; /* black text */
  padding: 10px 24px; /* Some padding */
  cursor: pointer; /* Pointer/hand icon */
  width: 50%; /* Set a width if needed */
  display: block; /* Make the buttons appear below each other */
}
.btn-group button:not(:last-child) {
  border-bottom: none; /* Prevent double borders */
}
/* Add a background color on hover */
.btn-group button:hover {
  background-color: white;
}
.exit {
  width: 15%;
  background-color: #eece1a;
  border-radius: 10px;
  border: none;
  color: black;
  padding: 16px 20px;
  float: right;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin: 1rem 1.5rem;
  transition-duration: 0.4s;
  cursor: pointer;
  font-family: Garamond, sans-serif;
}
.exit:hover {
  background-color: white;
  color: black;
}
/*Login*/

main#home {
  overflow: hidden;
}
main#home h1 {
  margin-top: 20vh;
}
h1.lg-heading {
  font-family: italic;
  font-size: 9rem;
  margin: 3rem;
  font-weight: 500;
  color: #eece1a;
}
/*--LB--*/
.container {
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 20px;
  padding: 10px 10px 10px 10px;
  background-color: #fff;
  border-radius: 25px;
}
.gallery-item {
  width: 100%;
  height: 100%;
  position: relative;
}
.gallery-item .images {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
}
/* object-fit allows the element to re-size 
itself. object-position sets  the elemnt to 
focus on the center of the image instead of 
the default top left*/
.gallery-item .images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}
.gallery-item:hover .images img {
  overflow: hidden;
}
.gallery-item .title {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 30px;
  pointer-events: none;
  z-index: 4;
  /* transistion: .3s ease-in-out;
  -webkit-backdrop-filter: blur(5px) saturate(1.8);
  backdrop-filter: blur(5px) saturate(1.8);*/
  max-width: 80%;
}
.gallery-item:hover .title {
  opacity: 1;
  animation: move-down 0.3s linear;
  padding: 1em;
  width: 100%;
}
.text-block {
  text-align: justify;
  text-justify: inter-word;
  color: black;
  line-height: 1.1;
  padding: 5px;
}
/* lightbox */
#lightbox {
  position: fixed;
  z-index: 1000;
  left: 0;
  width: 80%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}
#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
}
#lightbox img {
  display: flex;
  justify-content: center;
  max-width: 90%;
  max-height: 80%;
  padding: 2px;
  background-color: gray;
  border: 3px solid black;
  border-radius: 25px;
  margin: 0 auto;
}
/*--footer section--*/
.footer-main {
  border-radius: 15px;
  text-align: left;
  background-color: #292c2f;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  padding: 5px 5px 5px 15px;
  margin-top: 1rem 2rem;
}
.footer-main .footer-copyright {
  color: #8f9296;
  font-size: 14px;
  font-weight: normal;
}
/* responsive to phone screen size */
@media screen and (max-width: 360px) and (max-height: 740px) {
  h1.lg-heading {
    font-size: 7rem;
    margin: 1.5rem;
  }
  .infobox {
    text-align: center;
    background-color: white;
    padding: 0.5rem;
    margin: 1rem;
    border-radius: 15px;
    line-height: 1.2;
  }
  .btnnext {
    width: 35%;
    background-color: #eece1a;
    border-radius: 10px;
    border: none;
    color: black;
    padding: 16px 32px;
    float: right;
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin-right: 2rem;
    transition-duration: 0.4s;
    cursor: pointer;
    font-family: Garamond, sans-serif;
    z-index: 1;
  }
  .btnnext:hover {
    background-color: white;
    color: black;
  }
  .exit {
    width: 35%;
    background-color: #eece1a;
    border-radius: 10px;
    border: none;
    color: black;
    padding: 16px 20px;
    /*float: right;*/
    text-decoration: none;
    display: inline-block;
    font-size: 20px;
    margin: 1rem 1.5rem;
    transition-duration: 0.4s;
    cursor: pointer;
    font-family: Garamond, sans-serif;
  }
  .exit:hover {
    background-color: white;
    color: black;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 auto;
    max-width: 740px;
    padding: 10px 10px 10px 10px;
  }
  .footer-main {
    display: none;
  }
}
