* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: entr1l, sans-serif;
}

.mz-entreprise-heading {
    font-size: 24px;
    margin-bottom: 10px;
    padding-left: 143px;
}

.mz-entreprise-description {
    margin-bottom: 20px;
    padding-left: 143px;
}

/* Container holding the search elements */
.mz-entreprise-search-container {
    display: flex;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    margin-left: 139px;
    padding: 5px;
    gap: 52px;
    margin-bottom: 30px;
}

/* Styling the dropdown */
.mz-entreprise-dropdown {
    border: 1px solid #87A2B1;
    border-radius: 5px;
    padding: 8px;
    min-width: 150px;
    background-color: #fff;
}

/* Styling the search input */
.mz-entreprise-search-input {
    flex-grow: 1;
    border: 1px solid #87A2B1;
    border-radius: 5px;
    padding: 8px;
    height: 59px;
}

/* Container for the companies section */
.mz-companies-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(4,1fr);
    gap: 2em;
    width: 80%;
}
.mz-center-container{
    display: flex;
    justify-content: center;
   
}

/* Individual company block */
/* .mz-company {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 30%;
    height: 15em;
    padding: 10px;
    text-align: center;
    background-image: url(entr1BG\ 1.png);
    background-repeat: no-repeat;
    background-size: 28em;
} */

.mz-company img {
    max-width: 30%;
    height: 30%;
    margin-bottom: 10px;
}

.mz-entreprise-span {
    color: #ffffff;
    font-size: 14px;
    background-color: #4D869C;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    position: absolute;
    right: 0;
    top: 12px;
    height: 2.5em;
    width: 16em;
    padding-top: 9px;
}


.entr1{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 10px;
    text-align: center;
    background-image: url(../images/imges/ariaBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 28em;
}

.entr2{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 10px;
    text-align: center;
    background-image: url(../images/imges/axaBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 28em;
}

.entr3{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/background3\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
}

.entr4{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/bmciBG\ 2.png);
    background-repeat: no-repeat;
    background-size: 30em;
}

.entr5{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/bnk-afrikaBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
}

.entr6{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/bnk-afrikaBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
    
}

.entr7{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/concentrixBG\ 2.png);
    background-repeat: no-repeat;
    background-size: 30em;

}

.entr8{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/deloitteBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;

}

.entr9{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/renaultBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
    
}
.entr10{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/renaultBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
    
}
.entr11{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/renaultBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
    
}

.entr12{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    width: 100%;
    height: 15em;
    padding: 5px;
    text-align: center;
    background-image: url(../images/imges/renaultBG\ 1.png);
    background-repeat: no-repeat;
    background-size: 30em;
    
}

.entr1{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr3{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr4{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr5{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr6{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr7{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr8{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.entr9{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}
.entr10{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}
.entr11{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}
.entr12{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
}

.mz-entreprise-scroll{
    width: 100%;
    height: 3em;
    padding: 3em;
}

.mz-entreprise-scroll{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.mz-entreprise-scroll-left{
    height: 2em;
    width: 2em;
    background-color: brown;
    border-radius: 50%;
    border: none;
    background: #D9D9D9;
}

.mz-entreprise-scroll-midle-continer{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    width: 3em;
    height: 3em;
    border-radius: 50%;
    border: none;
    background-color: #D9D9D9;
}

.mz-entreprise-scroll-midle-continer button{
    width: 2em;
    height: 2em;
    border-radius: 50%;
    border: none;
    background: #4D869C;
    color: #ffffff;
}

.mz-entreprise-scroll button:hover{
    transform: scale(1.1);
}


@media (max-width:600px){
    .mz-companies-container {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        grid-template-rows: repeat(12,1fr);
        gap: 2em;
        width: 90%;
    }
    .mz-entreprise-heading{
        font-size: 24px;
        margin-bottom: 10px;
        padding-left: 25px;
    }
    
    .mz-entreprise-description{
        margin-bottom: 20px;
        padding-left: 25px;
    }
    .mz-entreprise-search-container {
        display: flex;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 5px;
        gap: 10px;
        margin-bottom: 30px;
    }
}

@media (min-width:600px) and (max-width:1000px){
    .mz-companies-container {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(6,1fr);
        gap: 2em;
        width: 90%;
    }
    h1 {
        font-size: 24px;
        margin-bottom: 10px;
        padding-left: 25px;
    }
    
    p {
        margin-bottom: 20px;
        padding-left: 25px;
    }
    .mz-entreprise-search-container {
        display: flex;
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        padding: 5px;
        gap: 10px;
        margin-bottom: 30px;
    }
}