body{
    overflow: hidden;
}

.menu{
    z-index: 100;
    position: fixed;
    text-align: end;
    top: 0%;
    right: 0%;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    padding-right: 4%;
    background-color: #00787E;
}

.menu-portable{
    display: none;
}

.logo-header{
    width: 5%;
    position: absolute; 
    left: 75px;         
    top: 10px;   
}

h1, h2{
    text-align: center;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

a{
    text-decoration: none;
    color: black;
    font-size: 23px;
    margin-right: 30px;
    margin-top: 5px;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

h1{
    font-size: 50px;
    color: #00787E;
}

h2{
    font-size: 30px;
}

p{
    margin: 25px;
    font-size: 20px;
    text-align: center;
    color: #00787E;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
}

.menu-ordi{
    transition: transform 0.3s ease-in-out;
    display: inline-block;
}

.menu-ordi:hover{
    transform: scale(1.3);
}

.maison{
    transition: transform 1s ease-in-out;
    position: relative;
    top: 4px;
}

.maison:hover{
    transform: scale(1.3);
}


.div-fond {
    width: 100vw;       
    height: 100vh;
    margin: 0;          
    padding: 0;        
    box-sizing: border-box;
    display: flex;      
    justify-content: center;
    align-items: center;    
}

.div-newsletter{
    display: grid;
    gap: 10;
    grid-template-columns: 1fr 2fr;
}
.div-texte{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;       
    align-items: center;   
}

.div-pdf{
    display: flex;
    justify-content: center;       
    align-items: center;  
}



.pdf {
    border: none;
    border-radius: 15px;
    outline: none; 
    width: 90%;
    height: 500px;
}

@media screen and (max-width: 1200px) {
    .div-newsletter{
        grid-template-columns: 1fr; /* une seule colonne */
        gap: 20px;                  /* espace entre texte et PDF */
    }

    .pdf {
        width: 100%;                /* PDF prend toute la largeur */
        height: auto;               /* hauteur adaptée */
        min-height: 300px;          /* limite minimale pour le PDF */
    }
}

@media screen and (max-width: 650px) {
    .div-newsletter{
        grid-template-columns: 1fr; /* une seule colonne */
        gap: 20px;                  /* espace entre texte et PDF */
    }

    .pdf {
        width: 90%;                /* PDF prend toute la largeur */
        height: auto;               /* hauteur adaptée */
        min-height: 500px;          /* limite minimale pour le PDF */
    }
}



@media screen and (max-width: 600px) {
    .menu-portable{
        display: inline;
        position: absolute;
        right: -10px;
        top: -0.5px;
    }
    .maison{
        display: none;
    }
    .menu-ordi{
        display: none;
    }
    .menu-portable{
        display: inline-block;
    }
    .maison-portable{
        display: inline-block;
        height: 35px;
    }
    .logo-header{
        display: none;
    }
}




/* Sidenav menu links */
.sidenav a {
    padding-top: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 25px;
    /* Changez cette ligne : */
    color: black; /* Texte du menu visible sur le fond #ccc4c4 */
    display: block;
    transition: 0.3s;
}
    

/* Sidenav menu */
/* Sidenav menu */
.sidenav {
    height: 100%;
     width: 250px;
    position: fixed;
    z-index: 1000;
    top: 0;
    /* Modifiez cette ligne : */
    right: -250px; /* Initialement hors de l'écran à droite */
    /* Supprimez ou commentez cette ligne : */
    /* left: -250px; */ 
    background-color: #00787E;
    padding-top: 70px;
    /* Modifiez cette ligne : */
    transition: right 0.5s ease; /* Transitionne la propriété 'right' */
}
.sidenav.active {
 /* Modifiez cette ligne : */
 right: 0; /* Glisse pour être visible depuis la droite */
 /* Supprimez ou commentez cette ligne : */
 /* left: 0; */
}

.sidenav ul {
list-style-type: none;
padding: 0;
margin: 0;
}

/* Close btn */
.sidenav .close {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
}







