@font-face {
    font-family: "CinzelDecorative";
    src: url(ressource/font/CinzelDecorative-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}



header {
    width: 100%;
    position: relative;
    z-index: 1000;
    background-color: #000000;
}

.navbar {
    position: relative;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
  

    background-image: url("ressource/magicien_nav_bar.png");
    background-size: 575px 230px;
    background-position: center;
    background-repeat: no-repeat;
  
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;

}


/* écriture 'Mister jérome'*/
.navbar label {
  display: flex;
  align-items: center;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: "CinzelDecorative", serif, sans-serif;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 12px rgba(0, 207, 255, 0.7);
  white-space: nowrap;
  margin: 0;
  padding: 0;
}

/* haut de page*/
.navlink {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

/*bouton haut de page*/
.navlink a {
  display: flex;
  width: 100px;
  height: auto;
  padding: 10px 0 10px 0;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 2px solid #65dbf8;
  transition: all 0.3s ease;
}

.navlink a:hover {
    transform: translateY(-4px);
}


.sousMenu {
    display: none;
    position: absolute;
    top: 96%;
    left: 79%;
    margin-top: 40px;
    transform: translateX(-50%);

    background-color: rgba(0, 0, 0, 0.9);
    border-top : 4px solid #65dbf8;
    min-width: 160px;
    list-style: none;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);

}

.sousMenu::before {
    content: "";
    position: absolute;
    top: -44px;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
}

.sousMenu a {
    border: none;
    width: 100%;
}

.a-sousMenu {
    position: relative;
}

.sousMenu li a:hover {
  background: rgba(0, 210, 255, 0.2);
  color: #00d2ff;
  transform: none;
  box-shadow: none;
  
}

.a-sousMenu:hover .sousMenu{
    display: block;
}

/*menu format mobile                   ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff*/
.icone_menu {
    display: none;
    position: absolute;
    right: 0px; 

    width: 50px;
    height: 50px;
    
    margin: 25px;
    
}


/*Body  index                          ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff*/

.img-container {
    position: relative;
    width: 100%;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
        margin-bottom: -1.25%;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 95%, rgba(0, 0, 0, 0) 100%);

}

#image-acc{
    width: 100%;
    display: block;
}

.structure {
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#struct-acc{
    background-image:
        linear-gradient(to bottom, rgba(0, 0, 0, 0) 90%, #000000 100%),
        url("ressource/bgbody.png");
    background-repeat: no-repeat;
    background-size: cover;
}




.container {
    display: flex;
    flex-direction: row-reverse;
    width: 95%;
    height: 90%;
    background-color: rgba(255, 255, 255, 0.288);
    border-radius: 2em;
}
.element-text {
    height: 95%;
    width: 55%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: clamp(1rem, 2vw, 2rem);
    
}
.element-image {
    height: 95%;
    width: 40%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.element-image img {
    width: auto;
    height: 100%;
    object-fit: cover;
    border-radius: 2em;
}




/*formulaire de contact                fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff*/

.contact {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color:  black;
    padding-top: 20px;
    position:relative;
}

.contact form {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin-top: 65px;
    margin-bottom: 25px;
}

.contact h1 {
    color: #65dbf8;
    font-family: "CinzelDecorative";
    font-size: 40px;
    position: absolute;
    left : 0;
    top: 0;
    margin: 2vh 0 0 6vh;
}

.paire {
    display: flex;
    gap: 15px;
}

.input-group {
    position: relative ;
}

.input-group input,
.input-group textarea,
.input-group select {
    border: 2px solid #65dbf8;
    background: black;
    padding:  15px;
    border-radius: 0.5em;
    width: 250px;
    color: #65dbf8;
}
.input-group textarea{
    width: 100%;
    height: 100px;
}



.input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 16px;
    color:#65dbf8;
    padding: 0 5px;
    pointer-events: none;
    transition: .5s;
}


.input-group textarea ~ label{
    position: absolute;
    top: 17px;
    box-shadow: 0 0 0 transparent; 
}

.input-group input:focus~label,
.input-group input:valid~label,
.input-group textarea:focus~label,
.input-group textarea:valid~label,
.input-group select:focus~label,
.input-group select:valid~label {
    top: 0;
    font-size: 12px;
    background: black;
}

#text-bouton {
    display: flex;
    flex-direction: column;
}

.contact button {
    position: static;
    align-self: flex-end;

    padding: 15px 40px;
    font-size: 16px;
    color: #65dbf8;
    background-color: transparent;
    border: 2px solid #65dbf8;
    border-radius: 0.5em;
    cursor: pointer;

    transition: all 0.3s ease-in-out;
    
    box-shadow: 0 0 10px rgb(101, 219, 248);
    text-shadow: 0 0 5px rgb(101, 219, 248);
}

.contact button:hover {
    background-color: #65dbf8;
    color: black;
    box-shadow: 0 0 10px #65dbf8,
                0 0 25px #65dbf8,
                0 0 45px #65dbf8;
    text-shadow: none;
}

/*prestations */

.prestations-body {
    background-image: url(ressource/fond-seamless.png);
}







@media screen and (max-width: 1245px) {

    /*format tablette*/
    
    .navlink {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        background-color:rgba(255, 255, 255, 0.5);       
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
    }
    
    .navlink a{
        background-color: black;
    }

    .navlink.mobile_menu {
    right: 0;
}

    .icone_menu {
        display: block;
    }

    /*body acceuil*/

    .structure {
        height: auto;
    }

    .container {
        display: block;
        margin-top: 20px;
        padding: 25px;
    }

    .element-image {
        float: right;
        height: 300px;
        width: auto;
        margin-left: 20px;
        margin-bottom: 10px;
    }

    .element-image img {
        height: 100%;
        width: auto;
        border-radius: 1.5em;
        display: block;
    }
    
    .element-text {
        display: inline;
        width: auto;
        color: #000000;
        font-size: clamp(1rem, 2.3vw, 2rem);
        
    }

    /* formulaire contact */

    .contact {
        flex-direction: column;
    }

    .contact form {
        flex-direction: column;
        row-gap: 15px;
        position: relative;
        margin-top: 10px;
    }
    .contact h1 {
        position: static;
        display: block;

    }

    .paire {
        flex-direction: column;
    }

}

/* forma mobil                         fffffffffffffffffffffffffffffffffffffffffffffffffffff*/ 

@media  screen and (max-width : 568px){

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .element-image {
        float: none;
        width: 100%;
        max-width: 250px;
        margin: 0 auto 20px auto;
    }

    .element-text {
        display: block;
        width: 100%;
    }
}