/* COLOR PALLETTE */
:root{   
    --blue: #5A63A3; /*#5A69A3,   #4E528F*/
    --blue2: #323270;
    --dblue: #241E50; /*#323770*/

     --yellow2:#E8A83A;
    --yellow:#CFA96B;

    --black:#140D23;
    --white:#f3e9e8; /*#E3D4BE */
    --grey:#1E1E1E;

    --red:#870700;
    --red2:#A83F35;

    --green:#527267;
    --green2:#689083;
   
    /* --roboto-mono: Roboto Mono; */
}

/*    font-family: "Amaranth", sans-serif;     font-family: "Raleway", sans-serif;    */

*{
    margin:0;
    padding:0;
    outline:0;
    border:0;
    border-spacing: 0;
    box-sizing: border-box;
}

body{
background-image: linear-gradient(to top, white,#7784A7, #394770, #616E91, #D0D3DB, #DEE1EB),
                radial-gradient(73% 88% at -4% 60%, #26C6DA 0% 33%, transparent 100%);


}



/* ------ */

/* The side navigation menu */
.sidenav {
display: grid;
grid-template-rows: 6vh 93vh;


  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 2; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;

  text-decoration: none;
  font-family: carter one;
 

  border: solid 1px black;
  background-color: #394770; /* Black*/

  overflow-x: hidden; /* Disable horizontal scroll */
  
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

.sidenav-cent{
  
  margin: 30% 8% 8% 9%;

}

/* The navigation menu links */
.nav-button {
  
  text-decoration: none;
   font-size: 1.3rem;
  
  color: #ffffff;
  transition: 0.3s;

  padding: 20px ;
  margin-bottom: 10px;
  line-height: 2.5rem;

}


/* When you mouse over the navigation links, change their color */
.nav-button:hover {
  color: #DBB983;
  font-size: 1.4rem;
  
}




/* Position and style the close button (top right corner) */
.closebtn {
  color: #ffffff;
  margin: 5%;
  position: absolute;
  text-decoration: none;
  top: 0;
  right: 0;
  font-size: 1.3rem;
  margin-left: 5rem;
  transition: 0.3s;
}

.closebtn:hover {
  color: #A83F35;
  font-size: 1.4rem;
  transition: 0.3s;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 100vh) {
  .nav-button{padding-top: 1.5vh;}
  .nav-button {font-size: 1.3rem;}
}




.button-map{
   background-color: white;
    color: black;
    border: solid black 2px;

    position: absolute;
    left: 0;
    top: 0;
    margin:0.5%;
    z-index: 2;
    
    padding:0.5%;
    border-radius: 50px;
    pointer-events: auto;
    cursor: pointer;
transition: 0.3s;
}

.button-map:hover{
  transform: scale(1.1);
background-color: #DBB983;
transition: 0.3s;
}




.socials{
  display: flex;
  align-items: center;
  justify-content: start;
  width: 10%;
  text-decoration: none;
  margin: 10% 3%;
  
}

.text-secondary{
  color: #CFA96B;
  font-size: 80%;
  text-decoration: none;
  transition: 0.3s;

}

.text-secondary:hover{ /*socials hover*/
  color:#E8A83A;
  filter: drop-shadow(0 0 0.90rem rgba(255, 255, 255, 0.5));
  transition: 0.3s;
}





.sidenav-poke{

  width:100%; height: 1px;

  display: flex;       align-items: end;justify-content: center;
  flex-wrap: wrap;

}




.pokebag{
  display: flex;
  align-items: end;
  justify-content: center;

  width: 100%;
  height: 5em;
   

}

.pokemon{
  margin:1%;
  overflow:show;
  z-index: 4;
 
  position: relative;
  top:-4.5vw;
  
transition: 0.3s;
}

.pokemon:hover{
filter: drop-shadow(0 0 0.20rem var(--yellow));
transition: 0.3s;
}




.center-cadriage{

display: flex;
align-items: center;
justify-content: center;
width: 100%;
    
    position: absolute; bottom:0;
    z-index: -5;
}

.cadriage{
  
    bottom:0;
    width: 100%;
    height: 45vh;

}


.blur{
    
backdrop-filter: blur(1.01) ; 

background: radial-gradient(circle,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0) 100%);
/* background-color: #140d23ac; */

position: fixed; top: 0;
height: 100vh;
   width:100%;

}

.shadow{
  /* backdrop-filter: blur(5px) ; */
background: #000000;
background: radial-gradient(circle,rgba(0, 0, 0, 0.144) 45%, rgba(163, 125, 75, 0.084) 60%,
                                     rgba(4, 4, 7, 0.913) 70%,rgba(5, 5, 8, 0.927) 90%, rgb(7, 7, 10) 100% );


position: fixed; top: 0;
height: 100vh;
   width:100%;
  pointer-events: none; 
}

.shadow2{
  /* backdrop-filter: blur(5px) ; */
/* background: radial-gradient(circle,rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.49) 70%,
                                     rgba(0, 0, 0, 0.829) 86%,rgb(0, 0, 0) 90%, rgb(0, 0, 0) 100% ); */

background: radial-gradient(circle,rgba(0, 0, 0, 0.169) 0%,rgba(0, 0, 0, 0.402) 40%,
                                     rgba(0, 0, 0, 0.913) 70%,rgba(0, 0, 0, 0.927) 90%, rgb(0, 0, 0) 100% );
z-index: -4;

position: fixed; top: 0;
height: 100vh;
   width:100%;
  pointer-events: none; 
}

.light{

backdrop-filter: brightness(150%);
background: radial-gradient(circle,rgba(198, 140, 64, 0) 0%, rgba(154, 197, 239, 0) 50%, rgba(148, 187, 233, 0) 100%);


position: fixed; top: 0;
height: 100vh;
width:100%;
  pointer-events: none;
}


@keyframes flicker2 {
0% {
opacity: 1.2;
}

48% {
opacity: 1.2;
}
49% {
opacity: 0.4;
}
50% {
opacity: 1;
}

54% {
opacity: 1.2;
}
55% {
opacity: 0.2;
}
57% {
opacity: 1;
}
59% {
opacity: 0.9;
}
100% {
opacity: 0.3;
}
}

.flickers{
  animation: flicker2 7s infinite;
}


.center{
   
    margin: auto;

    position: relative;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    width:100%;
}


.scroll{
    height: 55%;

    width: 100vw;

    display: flex;
  
    align-items: center;
    font-size: 0px;
   

    /* vertical-align:baseline; */
   
}

.badge{
    max-width:30vw; 
    margin-right:15%;
   
    filter: drop-shadow(0rem 1.5rem 1rem #10101453);
    transition: all 0.3s ease;
}

.badge2{
    max-width:30vw; height: 20vh;
    margin-right:15%;
    pointer-events: none;

    filter: drop-shadow(0rem 1.5rem 1rem #10101453);
    
}


.badge:hover{
    
    z-index: 2;
    transform: scale(1.1);
     transition: all 0.3s ease;
   
}

/*--  */

/* HTML: <div class="tooltip">This is the same as #5 but with another shape for the tail </div> */
.bubble {
  color: #000000;
  font-size: 18px;
  max-width: 28ch;
  text-align: center;

  position: absolute;
    z-index: 10;
    right: 0;
    margin: 1%;
    border: solid 3px black;
    font-family: carter one;
    font-size: 1rem;
}
.bubble {
  /* tail dimension */
  --b: 3em;   /* base */
  --h: 1.8em; /* height */
  --t: .6;    /* thickness (from 0 to 1) */

  --p: 50%;  /* main position (0%:left 100%:right) */
  --r: 1.2em; /* the radius */

  padding: 1em;
  border-radius: var(--r) var(--r) min(var(--r),100% - var(--p) - (1 - var(--t))*var(--b)/2) min(var(--r),var(--p) - (1 - var(--t))*var(--b)/2)/var(--r);
  background: #ffffff; /* the main color */
  position: absolute;
}
.bubble:before {
  content: "";
  position: absolute;
  top: 100%;
  left: clamp(0%,var(--p) - (1 - var(--t))*var(--b)/2,100% - (1 - var(--t))*var(--b));
  width: var(--b);
  height: var(--h);
  background: inherit;
  border-bottom-left-radius: 100%;
  -webkit-mask: radial-gradient(calc(var(--t)*100%) 105% at 100% 0,#0000 99%,#000 101%);
}

/* -- */


/* .bubble{
  
    width: fit-content;
    background-color: rgb(255, 255, 255);
    border: solid 2px black;
    border-radius: 1rem 1rem 0rem 1rem ;
    padding: 1.5%;
    margin: 1%;
    font-family: carter one;

    position: absolute;
    z-index: 10;
    right: 0;
} */


/* -------- ECRAN --------- */

.crt::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
      linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  z-index: 20;
  background-size: 100% 3px, 2px 100%;
  pointer-events: none;
  opacity: 85%;
}


@keyframes flicker {
  0% {
  opacity: 0.2;
  }
  5% {
  opacity: 0.3;
  }
  10% {
  opacity: 0.4;
  }
  15% {
  opacity: 0.3;
  }
  20% {
  opacity: 0.1;
  }
  25% {
  opacity: 0.4;
  }
  30% {
  opacity: 0.2;
  }
  35% {
  opacity: 0.3;
  }
  40% {
  opacity: 0.4;
  }
  45% {
  opacity: 0.3;
  }
  50% {
  opacity: 0.5;
  }
  55% {
  opacity: 0.0;
  }
  60% {
  opacity: 0.2;
  }
  65% {
  opacity: 0.3;
  }
  70% {
  opacity: 0.4;
  }
  75% {
  opacity: 0.5;
  }
  80% {
  opacity: 0.3;
  }
  85% {
  opacity: 0.2;
  }
  90% {
  opacity: 0.5;
  }
  95% {
  opacity: 0.4;
  }
  100% {
  opacity: 0.2;
  }
}


.crt::after {
  content: " ";
  display: block;
  position: absolute;

  width: 100%; height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  animation: flicker 0.15s infinite;
}

/* ------ ECRAN ------ */

.filters{
  filter: blur(0.4px);
  /* backdrop-filter: brightness(110%); */

  opacity: 100%;
  position: fixed;
  width: 100%; height: 100%;
  z-index: 30;
  pointer-events: none;

}

/* ----------- */

.shelf-button{
 background-color: white;
    color: black;
    border: solid black 2px;

    position: absolute;
    left: 0; left: 3.5vw;
    top: 0;
    margin:0.8%;
    
    padding:0.5%;
    border-radius: 50px;
    pointer-events: auto;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1;
}

.shelf-shad{
 
    width: 100%; height:100%;

    position: fixed; 
    top: 0;
    z-index: 35;

    background-color: rgba(0, 0, 0, 0.742);

    display: none;

  
}

.shelf-cent{

  display: flex;
    justify-content: center;
    align-items: center;


}

.shelf{
  background-color: rgba(255, 255, 255, 0.489);
  border: solid 3px black;
  width:70vw;height:100vh;
  border-radius: 1rem;

  overflow-y: scroll;
 scrollbar-width: none;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
    align-items: center;

}



.pot{

    display: flex;
    justify-content: center;
    align-items: center;

    width: 20vw; height:20vw;
    
}

