
@font-face{
  font-family: "tageblatt";
  src: url("tageblatt_v8-Regular.woff2") format("woff2");
  font-size: x-large;
}

.cv{
  font-size: 25px;
}

p{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
}

/* début configuration du BOUTON TOP pour revenir en haut de la page*/

.btn-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: blue;
  padding: 5px 10px;
  text-decoration: none;
  font-size: 40px;
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 700;
  letter-spacing: -1pt;
  z-index: 9999;
  cursor: pointer;
}

.btn-top:hover {
  text-decoration: none;
  background-color: red;
}

/* fin configuration du BOUTON TOP pour revenir en haut de la page*/


a{
  text-decoration: none;
  color:black;
}

a:hover{
  text-decoration: none;
  color: blue;
  background-color: red;
}


body {
  font-family: Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
}

header {
  display: grid;
  grid-template-columns: repeat(2,auto);
  justify-content: space-between;
  align-items: bottom;
  margin-bottom: 60px;
  border-bottom: 1px solid black;
}

.headervar {
  display: grid;
  grid-template-columns: repeat(2,auto);
  justify-content: space-between;
  align-items: bottom;
  margin-bottom: 0px;
  border-bottom: 1px solid black;
}

footer{
  display: grid;
  background-color: red;
  color: blue;  
  grid-template-columns: repeat(2,auto);
  justify-content: space-between ;
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
  padding: 1%;
  margin-top: 1%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: start;
  margin-bottom: 5px;
}

.grid2 {
  display: grid;
  grid-template-columns: auto;
  gap: 10px;
  overflow-wrap: break-word;
  object-fit:contain;
}

.gridtriple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  overflow-wrap: break-word;
  object-fit:contain;
}

.gridquad {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow-wrap: break-word;
  object-fit:contain;
}

.grid3 {
  display: grid;
  grid-template-columns: auto;
  gap: 5px;
  overflow-wrap: break-word;
  object-fit:contain;
 }

.grid4{ 
  display: grid;
  grid-template-columns: 1fr; /* colonne flexible */
  width: 100%;                /* ne déborde plus */
  max-width: 100%;      
  gap: 5px;
  overflow: hidden;
  overflow-wrap: break-word;
  object-fit:contain;
}

img{
 display: block;
 max-width: 100%;
 }

h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -1pt;
}

h1:hover {
  background-color: red;
  color:blue
}

.subtitle{
  background-color: red;
  color: blue;
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 25px;
  width: fit-content;
  margin-bottom: 0px;
}

.apropos {
  text-decoration: none;
  color: #000;
  font-size: 8px;
  width: fit-content;
  height: fit-content;
}


.apropos:hover {
  background-color: red;
  color: blue;
  font-weight: bolder;
  cursor: pointer;
}



/* début configuration de la LISTE en page d'accueil */

main .liste {
  list-style: none;
  padding: 0;
  margin: 0;
}

main .liste li {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 5px;
  letter-spacing: 0px;
  width: fit-content;
}

.liste li:hover {
  background-color: red;
  color: blue;
  font-weight: bolder;
  cursor: pointer;
}

/* fin configuration de la LISTE en page d'accueil */

/* début configuration du SLIDER en page d'accueil */

.grid .slider-wrapper {
  margin: 0;  
  padding: 0;  
}

.slider-wrapper {
  width: 100%;
  overflow: hidden; 
  position: relative;
}

.slider-auto {
  width: 100%;
}

.slides {
  display: flex;        /* met toutes les slides sur une ligne */
  transition: transform 0.7s ease-in-out; /* pour l'animation */
}

.slide {
  flex-shrink: 0;       /* empêche la slide de rétrécir */
  width: 100%;          /* chaque slide prend toute la largeur du container */
  box-sizing: border-box;
}

.slide img {
  width: 100%;         
  display: block;
}

/* fin configuration du SLIDER en page d'accueil */


/* début configuration du DESIGN RESPONSIVE pour le format web */

@media(min-width: 768px){

  .grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    gap: 10px;
    overflow-wrap: break-word;
  }
  .gridtriple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 1000px;
    gap: 10px;
    overflow-wrap: break-word;
  }

  .gridquad {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    overflow-wrap: break-word;
  }

  .grid3 {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1000px;
    gap: 5px;
    overflow-wrap: break-word;
    object-fit:contain;
  }

  .grid4{ 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    overflow-wrap: break-word;
    object-fit:contain;
  }

  main .liste li {
    font-size: 45px;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 0px;
    width: fit-content;
  }

  h1 {
    font-size: 60px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1pt;
  }
    
  h1:hover {
    font-size: 60px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1pt;
    background-color: red;
    color:blue;
    cursor: pointer ;
  }

  .apropos {
    text-decoration: none;
    color: #000;
    font-size: 16px;
  }

  header {
    display: grid;
    grid-template-columns: repeat(2,auto);
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 60px;
  }

  .subtitle{
    background-color: red;
    color: blue;
    font-family: "helvetica-lt-pro", sans-serif;
    font-weight: 400;
    font-size: 52px;
    width: fit-content;
    margin-top: 10px;
    margin-bottom: 10px;
  }

   .liste li:hover {
    background-color: red;
    color: blue;
    font-weight: bolder;
    cursor: pointer;
    font-size: 45px;
  }
}

/* fin configuration du DESIGN RESPONSIVE pour le format web */

.projet {
  text-decoration: none;
  color: #000;
  width: fit-content;
  height: fit-content;
}

.projet:hover {
  background-color: red;
  color: blue;
  cursor: pointer;
    }


/* ajout helvetica adobe fonts*/

.light{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lightoblique{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.regular{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.oblique{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.bold{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.boldoblique{
  font-family: "helvetica-lt-pro", sans-serif;
  font-weight: 700;
  font-style: italic;
  }

/* fin ajout helvetica adobe fonts*/

.tageblatt{
  font-family:"tageblatt";
  font-size: 100px;
}

.tageblatt2{
  font-family:"tageblatt";
  font-size: 50px;
}

/* début confinguration LIGHTBOX */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
  z-index: 99999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

/* fin confinguration LIGHTBOX */

.gridtriple img {
  cursor: pointer;
}

.gridtriple img:hover{
  background: red;
  padding: 1%;
}

.gridquad img {
  cursor: pointer;
}

.gridquad img:hover{
  background: red;
  padding: 1%;
}

.grid3 img {
  cursor: pointer;
}

.grid3 img:hover{
  background: red;
  padding: 0.5%;
}

.grid2 img:hover{
  background: red;
  padding: 0.5%;
}
.grid2 img {
  cursor: pointer;
}