*{
    padding: 0;
    margin: 0;
    font-family: arial;
    list-style-type: none;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    box-shadow: 1px 1px 20px 1px #5b5b5b;
}

#container {
    width: 80%;
    margin: auto;
}

h2 {
    text-align: center;
    margin: auto;
    margin-bottom: 50px;
    width: 50%;
    font-size: 26px;
}

p{
    font-size: 20px;
}

button {
    background-color: #1C2C42;
    color: white;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 15px;
    padding-left: 15px;
    width: 150px;
    margin: auto;
    border: none;
}

button:hover {
    cursor: pointer;
    background-color: #414e65;
}

#div-button {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


/*HEADER*/
header {
    display: flex;
    justify-content: space-around;
    margin-top: 75px;
    margin-bottom: 75px;
    flex-wrap: wrap;
}

header div {
    width: 35%;
}

header h1, header p {
    margin-bottom: 35px;
}

header p {
    color: #1C2C43;
}

header img {
    width: 500px;
}

#container-pourquoi-assurance{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
}

#container-pourquoi-assurance h2{
    text-align: left;
    margin: unset;
    width: unset;
}

#container-pourquoi-assurance p{
    margin-top: 35px;
}

#text-left{
    width: 40%;
}

#text-right{
    width: 40%;
}

#container-text-middle{
    margin-top: 70px;
    width: 81%;
    margin: 80px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#container-text-middle h2{
    text-align: left;
    margin: unset;
    margin-bottom: 35px;
    width: 60%;
}

#container-text-middle p{
    margin-left: 20px;
}



/*carte orange*/
.orange {
    background-color: #FF935B;
    border-radius: 10px;
    width: 200px;
    height: 200px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px;
    transition: transform 0.3s ease-in-out;
}

.orange p {
    font-size: 18px;
    margin-top: 20px;
}

.three-case {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/*carte blanche*/

#titre-demande-devis {
    margin-top: 100px;
}

.case {
    border-radius: 10px;
    width: 275px;
    /*box-shadow: 0 0px 10px 0px #ababab;*/
    box-shadow: 0px 4px 8px rgba(114, 114, 114, 0.5);
    margin: 20px;
    transition: transform 0.3s ease-in-out;
}

.case:hover, .orange:hover {
    transform: scale(0.95);
    cursor: pointer;
}

.line-orange {
    background-color: #FF935B;
    height: 10px;
    border-radius: 10px 10px 0 0;
}

.right {
    display: flex;
    justify-content: right;
    height: 125px;
}

h3 {
    font-size: 22px;
    padding-left: 10px;
    padding-top: 30px;
    padding-bottom: 15px;
    padding-right: 35px;
}

/*FOOTER*/

footer {
    text-align: center;
    color: white;
    background-color: #FF935B;
    padding: 25px;
    margin-top: 75px;
}

footer a {
    color: white;
}

@media (max-width: 1040px) {
    h2 {
        width: 100%;
    }

    header img{
        display: none;
    }

    header div {
        width: 100%;
    }

    #text-left{
        width: 100%;
    }

    #text-right{
        width: 100%;
        margin-top: 50px;
    }

    #container-text-middle{
        width: 100%;
    }

    #container-text-middle h2{
        width: 100%;
    }
}

@media (max-width: 450px) {
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 20px;
    }
}