*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header{
    width: 100%;
    height: 100vh;
    display: flex;
    top: 0;
    left: 0;
    position: relative;
    background: linear-gradient(to top left,#92561a, #1f1000);
}
.logo img{
    position: absolute;
    top: 20%;
    left: 33%;
    width: 30%;
    animation: excalibur-draw 3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@keyframes excalibur-draw {
  0% {
    transform: translateY(120px) scale(0.8);
    opacity: 0;
    filter: brightness(0.3) drop-shadow(0 0 0px rgba(255, 215, 0, 0));
  }
  65% {
    transform: translateY(-15px) scale(1.05);
    opacity: 1;
    filter: brightness(1.8) drop-shadow(0 0 20px rgba(255, 215, 0, 0.9));
  }
  80% {
    transform: translateY(0) scale(1);
    filter: brightness(1.2) drop-shadow(0 0 35px rgba(255, 215, 0, 1));
  }
  90% {
    filter: brightness(2) drop-shadow(0 0 45px rgba(255, 255, 255, 1));
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1) drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  }
}

nav{
    width: 100%;
    display: flex;
}
nav ul{
    position: absolute;
    width: 100%;
    list-style: none;
    display: flex;
    gap: 45px;
    padding-left: 15%;
    padding-top: 3%;
}
nav ul li a{
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    color: #D4AF37;
}
nav ul li a:hover{
    color: #a4a3a3;
   
}

.logo3 img{
    opacity: 0;
    position: absolute;
    max-width: 35%;
    height: auto;
    top: 75%;
    left: 35%;
    animation: lady-lake 3.5s ease-out forwards;
}
@keyframes lady-lake {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    filter: blur(12px) brightness(0.6) drop-shadow(0 0 0px rgba(0, 191, 255, 0));
  }
  50% {
    opacity: 0.7;
    filter: blur(4px) brightness(1.3) drop-shadow(0 0 25px rgba(0, 191, 255, 0.8));
  }
  75% {
    transform: translateY(-5px) scale(1.02);
    filter: blur(0px) brightness(1.1) drop-shadow(0 0 15px rgba(0, 191, 255, 0.5));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px) brightness(1) drop-shadow(0 0 8px rgba(0, 191, 255, 0.3));
  }
}
.banderolle-parchemin {
  background: #f4e4bc;
  border-top: 4px solid #8b0000;
  border-bottom: 4px solid #8b0000;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0,0,0,0.5);
  color: #2b1d0c;
  font-family: 'Cinzel', 'Georgia', serif;
  text-align: center;
  padding: 20px;
}
#presentation{
    position: relative;
    display: block;
    width: 100%;
    height: 120vh;
    background-color: #92561a;
}
#presentation .haut{
    padding-left: 28%;
}
#presentation .haut img{
    position: absolute;
    top: 20%;
    z-index: 2;
    border-radius: 15%;
}
#presentation .bas{
    width: 100%;
}
#presentation .bas img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85vh;
    object-fit: contain;
}

#presentation h2{
    position: absolute;
    left: 33%;
    top: 5%;
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: 50px;
    text-align: center;
    text-decoration: none;
    color: #92561a;
    z-index: 2;
}
#presentation h3{
    position: absolute;
    width: 85%;
    left: 7%;
    top: 70%;
    font-family: "Cinzel Decorative", serif;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    line-height: 1.5;
    color: #D4AF37;
}
#personnages{
    display: block;
    background-color: #f4e4bc;
    width: 100%;
    height: 120vh;
    position: relative;
}
#personnages h2{
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: 50px;
    text-align: center;
    text-decoration: none;
    color: #D4AF37;
}
#personnages h4{
  position: absolute;
  left: 7%;
  writing-mode: vertical-lr;
  text-orientation:upright;
  transform: none; 
  font-family: "Cinzel Decorative", serif;
  font-weight: 200;
  font-size: 30px;
  text-decoration: none;
  color: #6B1D2F;
  letter-spacing: 2px;
}
#personnages h5{
  position: absolute;
  left: 22%;
  top: 85%;
  transform: none; 
  font-family: "Cinzel Decorative", serif;
  font-weight: 200;
  font-size: 20px;
  text-decoration: none;
  color: #6B1D2F;
  transform: rotate(-45deg);
}

:root {
  --rayon: 300px; 
}

#personnages {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 0;
}

.chevaliers {
  display: grid;
  place-items: center;
  width: 550px;
  height: 550px;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, #2a1a0e 0%, #1a1a1a 75%);
  border: 6px solid #D4AF37;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
}

.centre-table {
  grid-area: 1 / 1;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #6B1D2F;
  border: 3px solid #D4AF37;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.centre-table h2 {
  color: #D4AF37;
  font-family: 'Cinzel', serif; 
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
}
.carte-chevalier {
  grid-area: 1 / 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #D4AF37;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease;

  --angle: calc((360deg / var(--total)) * var(--i));
  transform: 
    rotate(var(--angle)) 
    translate(var(--rayon)) 
    rotate(calc(-1 * var(--angle)));
}

.carte-chevalier img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
}
.carte-chevalier .survol {
  position: absolute;
  inset: 0;
  background: rgba(107, 29, 47, 0.85); 
  color: #F4EFEA;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.carte-chevalier:hover {
  border-color: #fff;
  z-index: 10;
  transform: 
    rotate(var(--angle)) 
    translate(var(--rayon)) 
    rotate(calc(-1 * var(--angle))) 
    scale(1.25);
}

.carte-chevalier:hover .survol {
  opacity: 1;
}
.galerie-taverne {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  background: #191614; 
  padding: 40px;
}
.carte-taverne {
  background: #2b221d;
  border: 6px solid #D4AF37;
  box-shadow: 0 10px 20px rgba(0,0,0,0.8), inset 0 0 15px rgba(0,0,0,0.5);
  padding: 15px;
  width: 300px;
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; 
  box-sizing: border-box; 
  transform: rotate(-2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.carte-taverne:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}
.cadre-photo {
  width: 50%;
  height: 180px; 
  overflow: hidden; 
  border: 3px solid #1a130e;
  border-radius: 4px;
}
.cadre-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.carte-taverne h3 {
  margin: 8px 0 2px 0;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #d4af37;
}

.titre-officiel {
  font-size: 11px;
  font-style: italic;
  color: #a89377;
  margin-bottom: 5px;
}
.ardoise {
  background: #1e2421;
  border: 2px solid #D4AF37;
  color: #e0e0e0;
  font-family: 'Caveat', cursive;
  font-size: 14px;
  line-height: 1.2;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  overflow: hidden; 
}
.ardoise p {
  margin: 3px 0;
}
#galerie{
    position: relative;
}
#galerie h2{
    position: absolute;
    left: 40%;
    transform: translateY(-7vh);
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: 40px;
    text-align: center;
    text-decoration: none;
    color: #92561a;
    z-index: 2;
}
#contact{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    background: url(photos/carte_de_kaamelott.jpg);
    background-repeat: no-repeat; 
    background-size: cover;   
    background-position:center;
}
#contact h2{
    position: absolute;
    left: 7%;
    transform: translateY(-6vh);
    font-family: "Cinzel Decorative", serif;
    font-weight: 400;
    font-size: 30px;
    text-align: center;
    text-decoration: none;
    color: #92561a;
    z-index: 2;
}
#contact h3{
    position: absolute;
    left: 5%;
    font-family: "Cinzel Decorative", serif;
    font-weight: 600;
    font-size: 45px;
    text-align: center;
    text-decoration: none;
    color: #f4e4bc;
}

  .contact-form {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 500px;
  }

  .field {
    margin-bottom: 22px;
  }

  label {
    display: block;
    font-variant: small-caps;
    font-size: 18px;
    margin-bottom: 6px;
    color: #f4e4bc;
  }

  input[type="text"],input[type="email"],textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: "Cinzel Decorative", serif;
    font-size: 18px;
    color: #888;
    border: 1px solid #999;
    padding: 6px 8px;
    background: #f4e4bc;
  }
  textarea {
    height: 260px;
    resize: vertical;
  }

  button {
    font-family: "Cinzel Decorative", serif;
    font-size: 18px;
    background: #f4e4bc;
    border: 1px solid #999;
    padding: 6px 18px;
    cursor: pointer;
  }

  button:hover {
    background: #ddd;
  }
  main{
    background-image: url(photos/logo.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    height: 170vh;
    position: relative;
    z-index: 1;
}
#kaa{
    width: 100%;
    height: 140vh;
    background-color: #1e2421;
    position: relative;
}
#kaa h2{
    position: absolute;
    font-family: "Uncial Antiqua", system-ui;
    font-weight: 600;
    font-size: 40px;
    left: 0;
    right: 0;
    text-align: center;
    top: 5%;
    color: #f4e4bc;
}
#kaa h3{
    position: absolute;
    font-family: "Uncial Antiqua", system-ui;
    font-weight: 600;
    font-size: 40px;
    left: 0;
    right: 0;
    text-align: center;
    top: 10%;
    color: #f4e4bc;
}
#kaa img{
    position: absolute;
    top: 10%;
    width: 50%;
    height: 95vh;
    left: 25%;
    border-radius: 25%;
    object-fit: cover;
    object-position: top center;
}
#kaa h4{
    max-width: 95%;
    position: absolute;
    font-family: "Cinzel Decorative", serif;
    font-weight: 300;
    font-size: 14px;
    text-align: center;
    top: 80%;
    padding-left: 2%;
    color: rgb(243, 235, 235);
    line-height: 1.6 ;
}
main h3{
    position: absolute;
    font-family: "Uncial Antiqua", system-ui;
    font-weight: 600;
    font-size: 75px;
    left: 40%;
    top: 90%;
    z-index: 5;
    color: #f4e4bc;
}
main h5{
    position: absolute;
    left: 45%;
    transform: translateY(-50px);
    width: 100px;
    height: 50px;
    background-color: #f4e4bc;
}
.gal2 h6{
    position: absolute;
    top: 10%;
    text-align: center;
    font-family: "Cinzel Decorative", serif;
    font-size: 25px;
    width: 100%;
    height: 150px;
    color: #f4e4bc;
}
main h5 a{
    display: flex;
    color: #8b0000;
    font-family: "Cinzel Decorative", serif;
    font-size: 20px;
    text-decoration: none;
    padding-top: 10px;
    justify-content: center;
    
}
.gal2{
    display: grid;
    background-color: #191919;
    height: 70vh;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: (1fr);
    position:relative;
    padding-left: 12%;
    padding-top: 10%;
    gap: 100px;
}
.gal2 img{
    display: flex;
    top: 10%;
    width: 55%;
    height: 30vh;
    object-fit: cover;
    object-position: 50% 0;
    border: 1vh solid #f4e4bc; 
    border-radius: 25%;
}

 
