@media (max-width: 800px)
{

body {
    font-family: 'Montserrat', sans-serif;
    background-color: white;
    overflow-X: hidden;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

.container {
    margin: 0 auto;
    background-color: white;
    width: 100%;
}

header {
    background-color: white;
    color: white;
/*     position: fixed;
    width: 100%;
    z-index: 20; */
    border-bottom: 2px solid white;
    max-height: 170px;
}

.container {
    width: auto;
    overflow-x: hidden;
}

.logo-menu {
    display: flex;
}

.header-title {
    font-size: 1.5rem;
    padding-top: 1rem;
    text-align: center;
    font-weight: 600;
}

nav {
    display: flex;
    justify-content: center;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the items horizontally */
}

.menu__item {
    display: flex;
    justify-content: center;
    margin: 0 1.7rem;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.menu__item:hover{
    font-weight: bold;
}

.icon-bar {
    visibility: hidden;
}

.icon-bar a {
    display: block;
    text-align: center;
}

.logo-linkedin {
    height: 35px;
    width: auto;
    border-radius: 10px;
    margin-top: 16px;
    margin-left: 16px;
}

.logo-doctrine {
    height: 35px;
    width: auto;
    border-radius: 10px;
    margin-top: 16px;
    margin-left: 16px;
}

.animation-background {
    color: white;
    background-image: url(../assets/horloge.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 60%;
    height: 600px;
}

.animation-h1 {
    font-size: 2rem;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.animation-type {
    font-size: 1rem;
    padding-bottom: 18rem;
}

.container p span.cursor {
    display: inline-block;
    background-color: white;
    margin-left: 0.1rem;
    width: 3px;
    color: #326273;
    background-color: white;
    animation:1s blinker linear infinite;
    -webkit-animation:1s blinker linear infinite;
    -moz-animation:1s blinker linear infinite;
    }

    @-moz-keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
     }

    @-webkit-keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
     }

    @keyframes blinker {  
     0% { opacity: 1.0; }
     50% { opacity: 0.0; }
     100% { opacity: 1.0; }
     }

.qui-suis-je {
    border-top: 2px solid white;
    padding-bottom: 2rem;
    color: #DE9FAF;
    text-align: center;
    background-color: white;
    line-height: 1.5rem;
}

.title-qui-suis-je {
    font-size: 1.5rem;
    padding: 1rem 0;
    padding-bottom: 1.5rem;
}

.paragraphe-qui-suis-je {
    text-align: justify;
    margin: 0 1.5rem;
    font-size: 1.1rem;
}

.paragraphe-qui-suis-je::first-letter {
    font-size: 1.1rem;
}

.palais-justice {
    width: 93%;
    height: 250px;
    background-image: url(../assets/cabinet-rc2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 30% 35%;
    opacity: 0.8;
    margin: 0 auto;
    margin-top: 1rem;
    border-radius: 10px;
}

.domaines {
    border-top: 2px solid white;
    font-size: 1.5rem;
    padding-top: 1rem;
    color: #DE9FAF;
    text-align: center;
    padding-bottom: 1.5rem;
}

.thumbnail-container {
    margin: 32px 32px 16px 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.thumbnail {
    height: auto;
    margin: 0 32px 32px 32px;
    width: 90%;
    border: 1px solid #DE9FAF;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.thumbnail img {
    max-width: 50px;
    border-radius: 15px;
    margin-bottom: 16px;
    align-self: center;
}

.p-thumbnail {
    color: #DE9FAF;
    text-align: center;
    margin-bottom: 1rem;
}

.place-massena-nuit {
    width: 90%;
    height: 400px;
    background-image: url(../assets/palais-justice.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 45% 35%;
    border: 2px solid white;
    opacity: 0.8;
    margin: 0 auto;
    margin-top: 32px;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.ma-formation {
    border-top: 2px solid white;
    padding-bottom: 2rem;
    color: white;
    text-align: center;
    background-color: #5c9ead;
    min-height: 900px;
}

.title-ma-formation {
    margin: 0 auto;
    padding-bottom: 1.5rem;
    font-size: 2rem;
    padding: 1rem 0;
}

.global-formation{
    margin-top: 1rem;
}

.liste-ma-formation {
    text-align: left;
    margin: 1rem 3rem;
    font-size: 1.1rem;
    padding-bottom: 1rem;
}

.liste-ma-formation::first-letter {
    font-size: 1.5rem;
}

.honoraires {
    color: #DE9FAF;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title-honoraires {
    font-size: 1.5rem;
    padding: 1rem 0;
    padding-bottom: 1.5rem;
}

.paragraphe-honoraires {
    border-top: 2px solid white;
    padding-bottom: 2rem;
    color: #DE9FAF;
    text-align: center;
    background-color: white;
    line-height: 1.5rem;
}

.paragraphe-honoraires::first-letter {
    font-size: 1.1rem;
}

.aside-honoraires {
    visibility: hidden;
    height: 1px;
}

.title-contact {
    padding-bottom: 1.5rem;
    font-size: 1.5rem;
    padding: 1rem 0;
    text-align: left;
    margin-left: 1rem;
}

.contact {
    border-top: 2px solid white;
    background-color: #F4DEE4;
    color: white;
    height: 700px;
    display: flex;
    width: 90%;
}

.left-part {
    width: 70%;
}

.right-part {
    width: 30%;
}

.paragraphe-contact {
    text-align: justify;
    margin: 0 2rem 0 1rem;
    font-size: 1rem;
    line-height: 1.5rem;
}

.contacts-tel {
    float: left;
    font-size: 0.7rem;
    margin-left: 2rem;
    padding-top: 3rem;
    margin-right: 2rem;
}

.telephone {
    margin-top: 0;
    margin-right: 1rem;
}

.aside-contact {
    background-image: linear-gradient(to left, transparent, #F4DEE4), url(../assets/claireroussel.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 35%;
    width: 0%;
    height: 100%;
}

.bouton-valider {
    background-color: #DE9FAF;
    color: white;
    font-size: 1rem;
    width: 100%;
    margin-left: 1rem;
    float: left;
    margin-top: 1rem;
}

.emailarea {
    float: left;
    width: 100%;
    margin-left: 1rem;
    font-family: 'Montserrat', sans-serif;
    background-color: #F4DEE4;
    color: white;
    padding-left: 0.5rem;
}

.textarea {
    float: left;
    width: 100%;
    margin-left: 1rem;
    height: 200px;
    font-family: 'Montserrat', sans-serif;
    background-color: #F4DEE4;
    color: white;
    padding-left: 0.5rem;
}

input[type="submit"]{
    cursor:pointer;
   }

::placeholder {
    color: white;
}

.map {
    margin-top: 2rem;
    margin-right: 3rem;
    border-radius: 10px;
    float: left;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.footer {
    background-color: #DE9FAF;
    color: white;
/*     position: fixed;
    width: 100%;
    z-index: 20; */
    border-top: 2px solid white;
    height: 150px;
    text-align: center;
}

.paragraphe-footer {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.lien-footer{
    margin-left: 1.5rem;
}

.lien-footer-nom:hover{
    font-weight: bold;
}

.lien-footer:hover {
    font-weight: bold;
}

.ordre-avocat {
    height: 30px;
    float: right;
    margin-right: 3rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ordre-avocat-hautecoeur {
    height: 30px;
    float: right;
    margin-right: 3rem;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom: 2px solid white;
    border-left: 2px solid white;
    border-right: 2px solid white;
}

.typed-text-mail {
    margin-left: 1rem;
    color: #326273;
}

.animation-type-mail {
    padding-top: 18rem;
}

}