:root{
    --hauteur-menu: 60px;
  }
  
  * {
    margin: 0px;
    padding: 0px;
    font-family: 'Belanosima', sans-serif;
  }
  
  nav {
    width: 100vw;
    font-size: 1.2vw;
    position: relative;
    top: 0;
    margin-top: 20vh;
    margin-right: 32px;
  }
  
  nav > ul {
    display: flex;
    text-align: center;
    box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
    height: var(--hauteur-menu);
  }
  
  nav ul {
    list-style-type: none;
  }
  
  nav > ul > li {
    background-color: white;
    position: relative;
    height: 100%;
    flex: 1;
  }
  
  nav > ul > li:hover > a{
    color: #2169EC;
  }
  
  nav > ul > li > form {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: none;
  }

.nav_button{
  background-color: white;
  border: none;
}
  
  li a {
    text-decoration: none;
    color: black;
  }
  
  .menu-deroulant > form:after{
    content: '❯';
    
    margin-left: 0.5vw;
    display: inline-block;
  }
  
  .menu-deroulant:hover > form:after{
    animation: rotationFleche 0.2s linear forwards;
  }
  
  @keyframes rotationFleche {
    0% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(45deg);
    }
    100%{
      transform: rotate(90deg);
    }
  }
  
  .sous-menu {
    margin-top: var(--hauteur-menu);
    width: 100%;
    text-align: left;
    overflow: hidden;
    max-height: 0;
    border-radius: 2px;
    background-color: white;
  }
  
.menu-deroulant:hover > .sous-menu {
    animation: apparitionSousMenu 1s forwards;
}
  
@keyframes apparitionSousMenu {
  0% {
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0);
    border-top: 3px solid #2169EC;
  }
  30% {
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
  }
  100% {
    max-height: 50em;
    border-top: 3px solid #2169EC;
    box-shadow: 0px 3px 3px 1px rgba(0,0,0,0.3);
  }
}
  
.sous-menu > li:hover {
    background-color: rgba(33, 105, 236, 0.3);
  }
  
.sous-menu > li > a {
    align-items: center;
    display: flex;
    height: 1.75em;
    padding-left: 20px;
    width: 100%;
  }
  
.sous-menu > li:hover > a {
    color: white;
  }

.accueil {
  background-color: rgb(245, 245, 220, 0.97);
  width: 80vw;
  margin-bottom: 5vh;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  padding: 20px;
  box-shadow: 5px 5px 15px 1px;
}

 .accueil>iframe {
  display: block;
  width: 45%;
}

.car-img {
  display: block;
  height: 50vh;
  width: auto;
}

.accueil>article {
  width: 100%;
  text-align: start;
  display: flex;
  flex-direction: column;
}

.accueil>iframe {
  height: 300px;
}

h2,h3,p {
  margin-bottom: 10px;
}

h2,h3 {
  text-align: start;    
}

#mainIndex {
 
  background-image: url(../assets/AcceuilIndex/backgroundMainAcceuil.jpg);
 
}

main {
  position: relative;
  top: 20vh;
  width: 100vw;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

.mainReg {
  position: relative;
  top: 20vh;
  width: 100vw;
  padding-top: 50px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  background-size: cover;
  background-attachment: fixed;
  z-index: 1;
}

header{
  position: fixed;
  width: 100vw;
  height: 15vh;
  font-size: 4vh;
  padding-top: 2vh;
  padding-bottom: 2ph;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: black;
  background-repeat: no-repeat;
  background-size:contain;
  z-index: 10;
  background-image: url("../assets/AcceuilIndex/bannerPkmnTest.jpg");
  background-repeat: no-repeat;
  background-position:center;
  background-color: rgb(255, 85, 0);
}

body {
  background-color: white;
}

.accueil>h1{
  margin-bottom: 4vh;
  
}

h1{
  text-align: center;
  font-size: 2.5em;
}

p{
  font-size: 1.3em;
}

.accueilImg {
  background-color: rgb(245, 245, 220, 0.97);
  width: 80vw;
  margin-bottom: 5vh;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: start;
  padding: 20px;
  box-shadow: 5px 5px 15px 1px;
  text-align: center;
}

.imageRegion {
  width: 30vw;
  height: 40vh;
}

footer{
  background-color: rgb(245, 245, 220, 0.97);
  width: 80vw;
  margin-bottom: 5vh;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  box-shadow: 5px 5px 15px 1px;
}

* {box-sizing:border-box}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.textNoir {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.textNav {
  color: black;
  font-size: 2vh;
  text-align: center;
}

.mapClick{
   display: div;
   width: 30vw;
   height:40vh;
   background-size: cover;
   background-repeat: no-repeat;
}

.textRouge {
  color: red;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

.imgMap{
  
  position: relative;
  width: 80vw;
  height: 56.56vw;
  z-index: 2;
  background-size: contain;
  background-repeat: no-repeat;
}

.townPos{
  position: absolute;
  z-index: 10;
}

#pallette{
    width: 5.36vw;
    height: 4.36vw;
    top:34.22vw;
    left: 16.5vw;
}

#jadielle{
  width: 5.86vw;
  height: 4.88vw;
  top:23.44vw;
  left: 16.8vw;
}

#argenta{
  width: 5.66vw;
  height: 5.08vw;
  top:9.18vw;
  left: 17.19vw;
}

#azuria{
  width: 7.03vw;
  height: 4.88vw;
  top:7.62vw;
  left: 48.24vw;
}

#celadopole{
  width: 9.18vw;
  height: 6.64vw;
  top:16.41vw;
  left: 33.59vw;
}

#carmin{
  width: 9.77vw;
  height: 10.35vw;
  top:28.12vw;
  left: 47.66vw;
}

#safrania{
  width: 8vw;
  height: 7.04vw;
  top:16.5vw;
  left: 47.66vw;
}

#lavanville{
  width: 5.66vw;
  height: 4.49vw;
  top:18.16vw;
  left: 68.16vw;
}

#parmanie{
  width: 7.62vw;
  height: 7.03vw;
  top:38.67vw;
  left: 36.33vw;
}

#cramoisile{
  width: 8.98vw;
  height: 5.08vw;
  top:49.41vw;
  left: 13.09vw;
}

.responsiveImage {
  width: 100%;
  height: 100%;
}

.villeHover:hover{
  background-color: rgba(0, 255, 255, 0.397);
  border: solid red 2px;
}