#main{
	display: flex;
	flex-direction: column;
	overflow: visible;
	width : 96%;
	border : solid #bba992;
	border-width : 4px;
	margin: 10px auto 10px auto;
	/* height: 80vh; */
}

#map_leg{
    display:flex;
    /* flex-direction:row; */
	flex-direction: column;
	align-items: center;
    gap:10px;
}
@media screen and (max-width: 1200px) {
	#map_leg{
		align-items: center;
		flex-direction: column;
	}
	
	#legend-container{
		/* width: 95% !important; */
	}
	#Info {
		margin: 40px 20px 30px 20px;
	}
}

#map-container {
    margin-top: 0px;
	margin-bottom: 20px;
    overflow: hidden;
    flex-grow: 1;
	width: 96%;
    /* min-height: 400px; */
    /* height: 60vh; */
    /* max-height: 700px; */
    border: 2px groove #7474c2;
}

#svg{
	height: auto;
	width: 100%;
	display: block;
}
#map{
    overflow:hidden;
    background-color: #c5d9f2;
    /* height: 70vh; */
    /* width: 98%; */
    height: unset;
    clip-path: inset(0 0 15% 0);
}

#legend-container{
	transform : scale(1);
	/* width: 22%; */
	padding: 10px;
	overflow: visible;
	width: auto;
	max-width: 100%;
}

#legend{
    width: 100%;
    font-size: 1rem; 
    /* height:100%; */
    align-items: center;
}

#legend text{
	fill:black !important;
}

#map path{
	fill: #ffffff; /*color of border of continents*/
	stroke-width: 0.5; /*size of the stroke*/
}

#map circle{
	stroke:#57343c; /*bordure des cercles*/
	stroke-width: 0.2; /*epaisseur de la bordure*/
}

#rect_l {
	/* background-color: violet; */
	fill:#4b4437cc;
	border-radius: 5px;
	padding: 3px 8px;
}
#text_l {
	fill: white;
	font-size: 18px;
	font-weight: 700;
    cursor: pointer;
	dominant-baseline: middle;
	text-anchor: middle;
}

#rect_l:hover {
	fill:#b07408e6;
}
#text_l:hover {
	fill:orange;
	background-color:#fff;
}

h2 {
	margin: 40px 0;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
    input#mySlider {
		transform: translate(50px, 0px);
		margin: 8px 0;
        overflow: hidden;
        width: 35%;
        height: 15px;
        -webkit-appearance: none;
        background-color: #cad2dcc9;
        border-radius: 9px;
        margin: 10px -20px;
        border: 1px groove gray;
    }
}
#legend-container {
  display: grid;
  gap: 8px 20px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  justify-items: start;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}