#loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: nunito;
}


body {
  background-color: #174F90;
}

main {
  width: 100%;
  height: 100%;
}

/* header css */
header {
  height: 110px;
  background-color: #FFFFFF;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

header #logo {
  width: 25vw;
  height: 100px;
  margin-left: 50px;
  margin-top: 5px;
}

header nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-right: 50px;
  gap: 40px;

}

header nav a {
  text-decoration: none;
  color: #174F90;
  font-size: 20px;
  font-weight: bold;
  /*margin-left: 40px;*/
}

#bur{
  display: none;
  padding-right: 20px;
  padding-top: 35px;
}

#bur span{
  display: block;
  width: 30px;
  height: 5px;
  background-color: #174F90;
  margin: 5px;
  position: relative;
}

#sone {
  background-image: url("../img/bgville.png");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#sone h1 {
  font-size: 50px;
  color: #FFFFFF;
  
}

#sone p {
  font-size: 20px;
  color: #FFFFFF;
  text-align: center;
  margin-top: 50px;
}

#sone button {
  background-color: #BC1768;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  margin-top: 50px;
  margin-bottom: 20px;
  cursor: pointer;
}

#stwo {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: #FFFFFF;
  width: 100%;
}

#stwo #done{
  /*background-color: #c1c3e7;*/
  width: 30%;
}
.intelimg{
  width: 60px;
  height: 60px;
}

#link{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  background-color:  #bc176731;
  border-radius: 15px;
  padding: 20px;
  margin: 20px;
  color: #BC1768;
}

#link .catego {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}

#vector {
  height: 20px;
  width: 20px;
}

#intel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: #174F90;
  
}

#intel a{
  text-decoration: none;
  color: #174F90;
}

#intel :first-child{
  display: flex;
  flex-direction: row;
  background-color: #EBEDEF;
  border-radius: 15px;
  margin: 5px;
}

#intel :nth-child(2){
  display: flex;
  flex-direction: row-reverse;
  background-color: #EBEDEF;
  border-radius: 15px;
  margin: 5px;
}

#intel :nth-child(2) div{
  display: flex;
  flex-direction: row;
}

#intel :nth-child(3){
  display: flex;
  flex-direction: row;
  background-color: #EBEDEF;
  border-radius: 15px;
  margin: 5px;
}

#stwo #dtwo{
  background-color: #cde7c1;
  width: 70%;
}

.pharma {
  display: none;
}
.boul {
  display: none;
}

.bou {
  display: none;
}

.rest {
  display: none;
}

#MapCage{
  width: 100%;
  height: 100%;
}

.catego {
  cursor: pointer;
}

.mapbtn {
  cursor: pointer;
}


/* footer */ 

footer{
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 10px;
  padding: 10px;
  gap: 15px;
}

.list-infos{
  gap: 10;
}

.list-infos a {
  font-size: 16px;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

footer div {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
}

footer div input::placeholder {
  color: #486A90;;
  text-align: center;
}

footer div input {
  width: auto;
  height: 45px;
  background-color: #10427B;
  border: none;
}

footer div a {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

footer div h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
}

footer img {
  width: 150px;
  height: 150px;
}


/* Responsive main */

@media screen and (max-width: 1024px) {
  #stwo {
    flex-direction: column;
  }
  #stwo #done{
    width: auto;
  }
  #stwo #dtwo{
    width: auto;
    height: 300px;
  }
}


@media screen and (max-width: 666px) {
  header nav a {
    font-size: 15px;
  }
  #sone h1 {
    font-size: 30px;
  }
  #sone p {
    font-size: 15px;
  }
  #sone button {
    font-size: 15px;
  }
  #intel {
    font-size: 15px;
  }
  #intel :first-child{
    font-size: 15px;
  }
  #intel :nth-child(2){
    font-size: 15px;
  }
  #intel :nth-child(3){
    font-size: 15px;
  }
  #link .catego {
    font-size: 15px;
  }
  #link {
    font-size: 15px;
  }
  #stwo #done{
    width: auto;
  }
  #stwo #dtwo{
    width: auto;
    height: 300px;
  }
  .intelimg{
    width: 35px;
    height: 35px;
  }
}


/* burguer responsive */ 

@media screen and (max-width: 500px) {
  header #nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 20px;
    top: -200px; 
  }
  header #logo {
    width: 150px;
    height: 100px;
  }
  header #bur {
    display: block;
    z-index: 10;
  }
}

