:root{
  /* --color-box-f:  rgb(243, 204, 118);
  --color-box-m:  rgb(245, 179, 36);
  --color-box-s:  rgb(165, 117, 11); */
  --color-box-f:  rgb(213, 97, 242);
  --color-box-m:  rgb(213, 97, 242);
  --color-box-s:  rgb(213, 97, 242);
}

html {
  scroll-behavior: smooth;
}

#info{
  text-align: center;
  margin-top: 50px;
}

header{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 4%;
  margin-left: 2%;
  margin-right: 2%;
  padding: 3%;
  border: solid black 2px;
  border-radius: 5px;
}

header img{
  width: 50px;
  height: auto;
}

header p{
  margin-left: 5%;
  /* font-family: "Avenir Next", "Avenir", sans-serif; */
  text-align: center;
  font-size: large;
}

#nav{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#nav>button{
  text-decoration: none;
  padding: 3%;
  margin: 2%;
  width: 125px;
  height: 55px;
  background: rgb(5, 5, 169);
  background: linear-gradient(0deg, rgb(5, 5, 169) 50%, rgba(154,164,255,1) 100%);
  border-radius: 5px;
}

#nav{
  margin-top: 10%;
}

#nav a{
  text-decoration: none;
  color: white;
}

#acceuil{
  padding: 3%;
  color: rgb(5, 5, 169);
}

h1{
  font-size: 1.5em;
  font-weight: 500;
  color: rgb(5, 5, 169);
}


#apiculteur a{
  text-decoration: none;
  color: white;
}

#text-api h1{
  padding: 3%;
  font-weight: normal;
}

#text-api span{
  font-weight: bold;
}

h2{
  font-size: 1.3em;
}

#apiculteur p{
  padding: 3%;
  background: rgb(5, 5, 169);
  background: linear-gradient(0deg, rgb(5, 5, 169) 50%, rgba(154,164,255,1) 100%);
  border-radius: 5px;
}


section{
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 2%;
    margin-bottom: 5%;
}


#img-container img{
  width:175px;
}



body
{
  margin: 0;
  padding: 0;
  
  /* make it look decent enough */
  background:white;  
  color: black;
  font-family: "Avenir", "Avenir", sans-serif;
}


#apiculteur{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#btn-map{
  cursor: pointer;
  padding: 3%;
  background: rgb(5, 5, 169);
  background: linear-gradient(0deg, rgb(5, 5, 169) 50%, rgba(154,164,255,1) 100%);
  border-radius: 5px;
  color: white;
  margin-bottom: 5%;
}

#mapid{
  display: none;
  width: 90%;
  height: 300px;
}

* { box-sizing: border-box; }

body { 
  font-family: sans-serif; 
  background-image: url('img/background.png');
  color:rgb(5, 5, 169);
  background-size: 100% 500px;
}

#box-container{
  display: flex;
  flex-direction: column;
  padding: 2%;
  text-align: center;
}

#qualite h6{
  font-size: 0.8em;
  font-weight: 600;;
}

#box-container p {
  margin-top: 10%;
  font-weight: 700;
}

#box-container span{
  font-weight: 500;
}

#i_nom{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 7%;
}

.box-f{
  width: 75px;
  height: 20px;
  background-color: var(--color-box-f);
  border:  solid black 1px;
  border-radius: 10px;
}

.box-m{
  width: 75px;
  height: 20px;
  background-color: var(--color-box-m);
  border:  solid black 1px;
  border-radius: 10px;
}

.box-s{
  width: 75px;
  height: 20px;
  background-color: var(--color-box-s);
  border:  solid black 1px;
  border-radius: 10px;
}

.box{
  width: 75px;
  height: 20px;
  border:  solid black 1px;
  border-radius: 10px;
}

progress[value]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 90%;
  height: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-moz-progress-bar { 
  border-radius: 10px;
  background-color: var(--color-box-m);
}
progress::-webkit-progress-value{
  border-radius: 10px;
  background-color: var(--color-box-m);
}
progress::-webkit-progress-bar{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 20px;
  background: rgb(228, 219, 219);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}

#qualite{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-size: 1.5em;
}

#qualite img{
  width: 50%;
  height: auto;
  margin-top: 3%;
}




