/*#4a6da7*/

* {
    margin: 0;
    overflow-x: hidden;
}

.fond {
    background-color: rgb(243, 243, 243);
}

body {
    background-color: rgb(243, 243, 243);
    font-family: 'Montserrat', sans-serif;
}

h1 {
    padding-left: 5%;
    font-size: 40px;
}

.box_titre {
    background-color: #4A6DA7;
    width: 100%;
    margin-bottom: 20px;
}

.box_titre h2 {
    font-size: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

@media (max-width:850px) {
    .box_titre h2 {
        font-size: 30px;
    }
}


/*----------------------------------Image categorie--------------------------------------------*/

.boximagecategorie {
    position: relative;
    width: 100%;
    height: 30vh;
    display: flex;
    justify-content: left;
    align-items: center;
    overflow: hidden;
    background-color: rgb(54, 55, 61);
}

.boximagecategorie img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.boximagecategorie .boxtextecategorie {
    position: relative;
    max-width: 80%;
    padding-left: 10%;
    text-align: left;
}

.boximagecategorie .boxtextecategorie h2 {
    color: #fff;
    font-size: 60px;
    text-align: left;
}

.boximagecategorie .boxtextecategorie .separateurcategorie {
    height: 5px;
    width: 40px;
    background-color: #4A6DA7;
}

.boximagecategorie .boxtextecategorie p {
    color: #fff;
    font-size: 18px;
    padding-top: 15px;
    z-index: -1;
}

@media (max-width:900px) {
    .boximagecategorie .boxtextecategorie h2 {
        font-size: 40px;
    }
    .boximagecategorie .boxtextecategorie p {
        font-size: 14px;
    }
}

@media (max-width:450px) {
    .boximagecategorie .boxtextecategorie h2 {
        font-size: 30px;
    }
    .boximagecategorie .boxtextecategorie p {
        font-size: 12px;
    }
}


/*----------------------------------Box QRCode--------------------------------------------*/

.box__qrcode {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 30px;
}

.box__qrcode .bx__left {
    width: calc(50% - 2px);
    text-align: center;
}

.box__qrcode .bx__left img {
    width: 50%;
}

.box__qrcode .bx__center {
    background-color: #4A6DA7;
    width: 4px;
}

.box__qrcode .bx__right {
    width: calc(50% - 42px);
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.box__qrcode .bx__right .btn__link {
    font-size: 18px;
    font-weight: 600;
    color: #4A6DA7;
    text-decoration: none;
}

.box__qrcode .bx__right .btn__link:hover {
    text-decoration: underline;
}

.separateur {
    height: 4px;
    width: 80%;
    background-color: #4A6DA7;
    margin: auto;
}

@media (max-width:700px) {
    .box__qrcode {
        flex-direction: column;
        font-size: 14px;
    }
    .box__qrcode .bx__left {
        width: 100%;
    }
    .box__qrcode .bx__left img {
        width: 50%;
    }
    .box__qrcode .bx__center {
        display: none;
    }
    .box__qrcode .bx__right {
        width: calc(100% - 40px);
    }
    .box__qrcode .bx__right .btn__link {
        font-size: 16px;
    }
}


/*----------------------------------Box formulaire--------------------------------------------*/

.box form {
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
    padding-bottom: 30px;
}

.box input {
    position: relative;
    margin: auto;
    justify-content: center;
    display: block;
    box-sizing: border-box;
}

.box input[type="text"] {
    background: #4A6DA7;
    width: 600px;
    height: 50px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.box input[type="text"]::placeholder {
    color: #e0e0e0;
}

.box input[type="submit"] {
    position: relative;
    height: 50px;
    width: 200px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    background-color: #ffffff;
    color: black;
    border: solid 3px #4A6DA7;
}

.box input[type="submit"]:hover {
    background: #4A6DA7;
    color: #ffffff;
}

@media (max-width:1000px) {
    .box input {
        font-size: 14px;
    }
    .box input[type="text"] {
        width: 500px;
        height: 40px;
    }
    .box input[type="submit"] {
        height: 40px;
        width: 150px;
    }
}

@media (max-width:450px) {
    .box input[type="text"] {
        width: 90%;
    }
    .box input[type="submit"] {
        width: 70%;
    }
}