body,
html,
header,
footer {
    max-width: 100%;
    margin: 10px 10px;
}

h1 {
    text-align: center;
}

header .entete {
    font-weight: bold;
    font-size: 20px;
}

.midPage {
    margin: 20px 10px 0 10px;
}

.midPage h4 {
    margin-bottom: 20px;
    margin-top: 40px;
}

.midPage h2 {
    text-align: center;
}

.midPage2 {
    margin: 0px 10px 20px 10px;
}

.midPage2 h2 {
    text-align: center;
}

.box1, h1 {
    color: white;
}

.box1 h3, .box1 h4 {
    text-shadow: 5px 3px 3px black;
}

.box1 .bgblack {
    text-shadow: 5px 2px 6px white;
    margin: 10px 0 !important;
}

a {
    text-decoration: none;
    color: inherit;

}

a:hover {
    text-decoration: none;
    color: #d3d4d5;
}

.text1,
.text2,
.text3 {
    text-align: justify;
}

.photo {
    background-image: url("../img/profil.jpg");
    background-size:contain;
    background-repeat: no-repeat;
    height: 150px;
    width: 150px;
    border: 2px solid black;
    border-radius: 50%;
}

.infos_perso {
    margin: auto;
    border-radius: 20px;
}

.infos_perso h3 {
    text-align: center;
}

.tech_helpdesk, .dwwm {
    text-align: left;
    margin-left: 150px;
}

.tiret {
    margin-left: 50px;
}

.mainList {
    list-style-type: disc;
}

.infos_helpdesk li:not(.mainList) {
    list-style-type: circle;
    list-style-position: inside;
}

.infos_helpdesk, .infos_dwwm, .infos_comp, .dipl {
    margin: 0 50px;
}

.btn:focus{
    box-shadow: none;
}

.formcontact {
    margin: 100px 0 10px 0;;
}

.age {
    vertical-align: middle;
}

.comp, .diplome {
    margin: 60px 0 60px 0 !important;
}
.open-button {
  padding: 10px 10px;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  border-radius: 20px;
  font-size: 14px;
}

.form-popup {
  display: none;
  position: fixed;
  bottom: 0px;
  right: 30px;
  border: 3px solid #f1f1f1;
  z-index: 9;
}

.form-container {
  max-width: 417px;
  padding: 10px;
  background-color: white;
}

.form-container input[type=text], .form-container input[type=email], .form-container textarea {
  width: 100%;
  padding: 10px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
}

.form-container input[type=text]:focus, .form-container input[type=email]:focus {
  background-color: #ddd;
  outline: none;
}

.form-container .btn_submit {
  background-color: #04AA6D;
  color: white;
  padding: 10px 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  width: fit-content;
  margin-bottom:10px;
  opacity: 0.5;
}

.form-container .cancel {
  background-color: red;
  border: none;
  padding: 10px 10px;
  border-radius: 20px;
  color: white;
  opacity: 0.5;
}

.form-container .btn:hover, .open-button:hover, .btn_send:hover {
  opacity: 1;
}

.form_title {
    border: 3px solid #ddd;
    border-radius: 10px;
    box-shadow: 4px 4px 4px rgb(168, 168, 168);
}



@media screen and (max-width: 1200px) {
    .tech_helpdesk, .dwwm {
        text-align: start;
        margin-left: 40px;
    }
  
}

@media screen and (max-width: 1105px) {
    .age, .permis {
        text-align: start;
        margin: 0 !important;
    }
        
}

@media screen and (max-width: 967px) {
    .bgblack {
        font-size: smaller;
        text-align: center !important;
        padding: 5px;
    }
}

@media screen and (max-width: 800px) {
    .box1 h2, .box1 h3, .box1 h4, .box1 p, .email, .linkedin {
        text-align: center !important;
    }
    .box2 h3, h4, p, a {
        font-size: 12px;
    }
    .box2 h3, .box2 h4 {
        text-align: start !important;
        margin-left:0 !important;
    }
    .box2 h2 {
        font-size: 20px;  
    }
    .box2 h3 {
        font-size: 15px;
    }
    .midPage p .mail {
        word-wrap: break-word !important;
    }
    .tech_helpdesk, .dwwm, .comp, .infos_helpdesk, .infos_dwwm, .infos_comp, .dipl, .tiret {
        text-align: start;
        margin: 0;
    }
    .btn_num, .btn_hide, .phone {
        text-align: center;
    }
    .btn {
        font-size: small;
    }

    #msg {
        width: 240px;
    }
    .mailadr:before {
        content: '\A';
        white-space: pre;
    }
    .infos_perso {
        margin: 20px 0 0 0 !important;
    }
    .form-popup {
        bottom: 40px;
    }
    .logo {
        text-align:center;
    }
    h3 {
        text-align: center;
        margin-bottom: 30px;
    }
    .btn_photo {
        width: fit-content;
        margin: auto;
    }
    .photo {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}