/* Polices */
@font-face {
    font-family: "Snell";
    src: url("../police/SnellRoundhand.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Keira";
    src: url("../police/KeiraShabira.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
/* Variables */
:root {
  --bg-color: #ffffff;
  --font-color-1: #cc6666;
  --font-color-1-hover: #cc9966;
  --font-color-2:#d3d3d3;
  --btn-bg-color:#cc9966;
  --btn-bg-color-hover:#cc6666;
  --btn-font-color:#ffffff;
  --font0 : "Baskervville", Arial, sans-serif;
  --font1 : "Snell", Arial, sans-serif; 
  --font2 : "Keira", Arial, sans-serif; 
}
/* Base */
body {
  font-family: var(--font0);
  text-align: center;
  background-color: var(--bg-color);
  background-image: url("../img/Fleurs_GM.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-attachment: fixed;
}
h1 {
  font-family: var(--font1);
  color: var(--font-color-1);
  margin-top: 100px;
  font-size: 5rem;
}
h1.titre-diago {
  text-align: left;
  line-height: 0.8;
  display: inline-block;
}
h1 span {
  display: block;
}
h1 span#Elle {
  margin-left: 0;
}
h1 span#Et {
  margin-left: 80px;
}
h1 span#Lui {
  margin-left: 130px;
}
p, h2 {
  color: var(--font-color-2);
  font-style: italic;
  margin-bottom:30px;
}
/* Interdit */
h1.interdit{
  font-size: 3rem;
}
img.interdit {
  width: 500px;
  height: auto;
  margin-top: 20px;
  filter: sepia(0.9);
  opacity: 0.05;
}
/* Formulaire d'envoi */
.upload-btn {
  display: inline-block;
  padding: 16px 24px;
  background: var(--bg-color);
  color: var(--font-color-1);
  font-size: 18px;
  border-radius: 10px;
  cursor: pointer;
}
.upload-btn input[type="file"] {
  display: none;
}
.upload-btn:hover {
  color: var(--font-color-1-hover);
}
.send-btn {
  display: block;
  margin: auto;
  padding: 14px 24px;
  font-size: 18px;
  border-radius: 10px;
  border: none;
  font-family: var(--font0);
  background: var(--btn-bg-color);
  color: var(--btn-font-color);
  cursor: pointer;
}
.send-btn:hover {
  background: var(--btn-bg-color-hover);
}
/* Galerie */
.gallery {
    max-width: 800px;
    margin: auto;
}
.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.gallery-thumbs img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 6px;
    opacity: 0.6;
    transition: 0.3s;
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    outline: 2px solid  var(--btn-bg-color);
}
/* Petit écran */
@media screen and (max-width: 480px) {
  body {
    background-image: url("../img/Fleurs_PM.png");
  }
  h1 {
    font-size: 3rem;
    margin-top: 150px;
  }
  h1 span#Elle {
    margin-left: 0;
  }
  h1 span#Et {
    margin-left: 50px;
  }
  h1 span#Lui {
    margin-left: 70px;
  }
  h1.interdit{
    margin-top: 200px !important;
    margin-bottom: 0px !important;
  }
  img.interdit {
    width: 300px;
    margin-top: 10px;
  }
  .gallery-main img {
      height: 300px;
  }
  .gallery-thumbs img {
      width: 50px;
      height: 50px;
  }
}