.rien{
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.header{
    display: flex;
    background-color: rgb(180, 180, 255);
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    padding: 0.8rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.espace{margin-left: auto;}

.banniere{
    margin: auto;
    display: block;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.imglien{
    width: 30%;
    margin-right: 15%;
    display: inline;
    border-radius: 25px;
    border:solid black;
}
.imglien:hover{border:solid rgb(17, 0, 255);}
a{
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover{color:rgb(47, 0, 255);}
body{
    font-size: 120%;
    font-family: Verdana, Geneva, Tahoma, sans-serif, Helvetica, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
footer{
    align-items: center;
    background-color: rgb(200, 200, 200);
    text-align: center;
    border-radius: 30%;
    padding: 1.5rem;
    max-width: 220px;
    margin: 3rem auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.mid{margin: auto;}
img{border-radius: 25px; transition: all 0.4s ease;}
.moi{
    background-color: antiquewhite;
    padding-bottom: 3%;
    border-bottom: solid rgb(223, 217, 210);
}
.titre{
    background-color: antiquewhite;
    border-radius: 25px;
    max-width: 720px;
    margin: 2rem auto;
    padding: 2em 1.5em;
    border: solid rgb(160, 136, 105);
    box-shadow: 0 6px 20px rgba(160, 136, 105, 0.2);
}
.lienbanniere{
    border-radius: 10px;
    transition: all 0.3s ease;
    padding: 0.45em 0.9em;
    font-size: 0.95em;
    margin: 0.2rem 0.1rem;
}
.lienbanniere:hover{
    background-color: rgb(220, 220, 255);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nom{
    display: inline;
    font-size: 0.75em;
    background-color: transparent;
    border: none;
}
.formation{
    background-color: antiquewhite;
    border-bottom: solid rgb(160, 136, 105);
    border-top: solid rgb(223, 217, 210);
}
hr{
    height: 0;
    border-top: 1px solid rgb(160, 136, 105);
    color: rgb(160, 136, 105);
}
p{
    margin: 0.4em 5% 1.2em 5%;
    background-color: antiquewhite;
    border-left: 5px solid rgb(160, 136, 105);
    padding: 1em 1.4em;
    box-shadow: 3px 3px 8px rgba(160, 136, 105, 0.2);
    color: rgb(80, 55, 30);
    text-align: justify;
}
h2{
    text-align: left;
    margin: 1.8em 5% 0.4em 5%;
    border-left: 5px solid rgb(160, 136, 105);
    padding-left: 0.8em;
}
.start {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    margin: 1.8rem auto;
    max-width: 500px;
    display: block;
    border-radius: 20px;

}
.fin {
    display: inline-block;
    width: 46%;
    max-width: 260px;
    margin: 1.2em 1%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    transition: all 0.4s ease;
}
.fin:hover{transform: scale(1.06) rotate(1deg);}
h1 {
    background-color: antiquewhite;
    border-top: 4px solid rgb(160, 136, 105);
    border-bottom: 4px solid rgb(223, 217, 210);
    padding: 0.6em 0;
    margin: 1.5rem 0;
}
form {
    display: inline-block;
    background-color: antiquewhite;
    border: 3px solid rgb(160, 136, 105);
    border-radius: 20px;
    padding: 2em 2.5em 1.5em;
    box-shadow: 0 8px 25px rgba(160, 136, 105, 0.25);
    text-align: left;
    margin-bottom: 3em;
    width: 75%;
    max-width: 520px;
}
.contact.info {
    border: none;
    background-color: transparent;
    padding: 0;
}
input, textarea {
    border: 2px solid rgb(160, 136, 105);
    border-radius: 8px;
    padding: 0.7em;
    background-color: rgba(242, 247, 178, 0.7);
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1em;
    transition: border 0.3s;
}
input:focus, textarea:focus {
    border-color: rgb(47, 0, 255);
    outline: none;
}
.envoye {
    background-color: rgb(180, 180, 255);
    border: 3px solid rgb(100, 80, 200);
    border-radius: 12px;
    padding: 0.8em 2em;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5em;
}
.envoye:hover {
    background-color: rgb(150, 150, 255);
    color: rgb(38, 0, 255);
    transform: translateY(-4px);
}
nav.side{
    width: 190px;
    text-align: left;
    position: fixed;
    box-shadow: 3px 3px 12px rgba(160, 136, 105, 0.25);
    background-color: antiquewhite;
    border-right: 3px solid rgb(160, 136, 105);
    padding: 1.2rem 1rem;
    top: 85px;
    border-radius: 0 15px 15px 0;
    height: calc(100vh - 100px);
    overflow-y: auto;
}
nav a{
    line-height: 5em;
}
.all{margin-left: 220px; padding: 0 2rem 4rem;}  
.carousel {
  width: 100%;
  max-width: 850px;
  margin: 4rem auto 8rem;
  text-align: center;
  display: block;
  position: relative;
}
.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.9);
  opacity: 0;
}
#page1cb:checked ~ #page1,
#page2cb:checked ~ #page2,
#page3cb:checked ~ #page3 {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}
.page .imgcar {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border: solid 4px black;
  transition: all 0.4s ease;
  max-width: 400px;
  display: flex;
  margin: auto;
  align-self: center;
}
.page .imgcar:hover {
    border-color: rgb(17, 0, 255);
    transform: scale(1.03);
}
.page div {
  margin: 1.4em 0;
  font-size: 1.55rem;
  font-weight: bold;
}
.page label {
  cursor: pointer;
  background: #d9ff4f;
  padding: 1em 2.5em;
  border-radius: 14px;
  display: inline-block;
  margin-top: 1.5em;
  font-size: 1.45em;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.page label:hover{
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.footeraccueil{
    position: relative;
    margin: 40rem auto 2rem;
}
.rapport{
    margin-left: 5% ;
    margin-right: 5% ;
    text-align: left;
}
.contact.info label[for="conditions-id"] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 15px 0 20px 0;
    text-align: left;
}
.contact.info input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}
.rapport .header{
    width: 100%;
    margin: 0;

}
@media (max-width: 1024px) {
    .all{margin-left: 0; padding: 1rem 1.5rem;}
    nav.side{
        position: relative;
        width: 100%;
        max-width: 320px;
        margin:auto;
        margin-bottom: 5em;
        border-radius: 15px;
        border-right: none;
        border-bottom: 3px solid rgb(160, 136, 105);
        height: auto;
        overflow-y: visible;
    }
}
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0.7rem 1rem;
        gap: 0.5rem;
        justify-content: center;
    }
    .header > a:first-child {margin-bottom: 0;}
    .espace {margin-left: 0;}
    .fin{width: 48%;}
    p, h2{margin-left: 4%; margin-right: 4%;}
}
@media (max-width: 480px) {
    body{font-size: 102%;}
    .fin{width: 100%; max-width: none;}
    .lienbanniere{padding: 0.7em 1.1em; font-size: 0.96em;}
    .titre{margin: 1.2rem 1rem; padding: 1.5em;}
}
.maquette{width: 100%;}
.rapport p{
    background-color: white;
    border: none;
    box-shadow: none;
}
.rapport h2{
    background-color: white;
    border: none;
    box-shadow: none;
}
.rapport h1{
    background-color: white;
    border: none;
    box-shadow: none;
    text-decoration: underline;
    text-align: center;
}
.rapport .nom{background-color: transparent;}
.rapport .table{
    background-color: antiquewhite;
    border-radius: 25px;
    max-width: 720px;
    margin: 2rem auto;
    padding: 2em 1.5em;
    border: solid rgb(160, 136, 105);
    box-shadow: 0 6px 20px rgba(160, 136, 105, 0.2);
    line-height: 2.5em;
    width: 60%;
}
.finaut{
    display: inline-block;
    width: 46%;
    max-width: 260px;
    margin: 1.2em 1%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    transition: all 0.4s ease;
}
.finrap{
    width: 50%;
    max-width: 260px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    transition: all 0.4s ease;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:auto;
    margin-bottom: 1em;
}
.w3c{
    width: 75%;
    max-width: 550px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    transition: all 0.4s ease;
    align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin:auto;
}
.finaut:hover{transform: scale(1.06) rotate(1deg);}
.titreinfo {
    width: 100%;
    background-color: rgb(196, 196, 255);
    padding: 2em 0em;
    text-align: center;
    border-radius: 20px;
    transition: 0.3s;
    max-width: 400px;



}
.overlay {
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
}
.titreinfo:hover .overlay {
    opacity: 2;
    transform: scale(1.05);
}
 .titreinfo:hover{
    transform: scale(1.05);
 }
.overlay p {
    text-align: center;
    font-size: 0.8em;
    line-height: 1.5;
    background-color: transparent;
    border: none;
}
.titreinfo p{
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.gridcar{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;

}
.carousel input{display: none;}
.class{
    border:solid 1px;
    border-radius: 25px;
    margin-bottom: 5%;
    padding-bottom: 7%;
}
@media(max-width: 840px) {
    .gridcar{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 0.1em;
    }
    
    .footeraccueil{
        margin: 60rem auto 2rem;
    }
    .titreinfo{
        justify-self: center;
    }
}
.photomoi{
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    margin: 1.8rem auto;
    max-width: 400px;
    display: block;
    border-radius: 20px;
    width: 40%;
    transition: 0.3s;
}
.photomoi:hover{   
        transform: scale(1.2) rotate(2deg);
            box-shadow: 20px 30px 20px rgba(0, 0, 0, 0.438);
}
.footerrap{
    align-items: center;
    background-color: rgb(200, 200, 200);
    text-align: center;
    border-radius: 30%;
    padding: 1.5rem;
    max-width: 220px;
    margin: 3rem auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}