/* 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*/
    background: linear-gradient(to bottom right, black,black, var(--blue2), var(--blue)) fixed;
    background-size: cover;
    /* background-color: var(--grey); */
    height: fit-content; min-height: 80vh; max-width: 100vw;
   
    
    
}

.filters{
   filter: blur(0.5px);
    filter: brightness(110%);
}

.menu{ /*NAV BAR */
    border: 2px solid var(--black);
    background-color: var(--blue);
    border-radius: 1.5vw;
     font-size:1.3vw;

    width: 40%; height: 7%;
    top: 1%;
    right: 0.5%;
    

    display: flex;
    justify-content: space-between;

    position: fixed; z-index: 6;
    box-shadow: inset -1px -1px 2px 1px color-mix(in srgb, var(--dblue) 70%, transparent), 
                inset 2px 2px 2px 1px color-mix(in srgb, var(--white) 30%, transparent);  
                
}

/*a, a:hover, a:focus, a:active{  
    display: flex; 
    justify-content: flex-start;  
    align-items: center; 
    text-decoration: none;
      color: inherit;
      min-width: fit-content;
      
}  */


.link:hover{
  color: var(--yellow);

  text-decoration: none;
}

.link{
  margin: 0% 2% 0% 2%;
  color: var(--black);
  text-decoration: none;
  list-style-type: none;
    width: 30%;
        margin: 0px 10px 0px 10px;

  display: flex; /*flexbox, c necessaire de mettre display avant le rest en bas*/
    justify-content: flex-start;  /*decalle tout au debut, a gauche*/
    align-items: center; /*au centre, mais horizontalement*/
  
    min-width: fit-content;
    font-family: "Carter One", system-ui;
   
    display: flex ;
    justify-content: space-evenly;
}

.logo-chat{

    width: auto;
    height: 100%;
    object-fit: auto;
    
    margin-right:5px;
   
    

    /*border-radius: 50px;
    object-fit: cover;
    padding:1%;
    object-view-box: inset(15% 15% 15% 15%);*/

}

/*--------------------------------------------------------------------*/

.home{
  min-height:600px;
  margin-top: 10%;
  margin:1% 5% 0% 5%;
}


.row{
  content: "";
  display: table;
  clear: both
}
.col{
     float: left;
    width: 50%;
}


.diplo-title{
  margin: 1% 1% 0% 0%;
  
  display: flex;
  text-align: center; justify-content: center;
  width: 100%; height:100%;
 
  
}

.bandaid-warning{
  margin-top:10%;
  background-color: #d2a68e;
  border-radius: 3vw;
  border: solid 3px #ad7f6e;
   font-size:1vw;
 
  padding: 1% 2% 1% 2%;
  width:80%; height: 20%;

  display: flex;
  flex-wrap: wrap; justify-content: center;
  
  transform: rotate(10deg);
  background-image: radial-gradient(circle at 1vh 1vh, #ad7f6e 0.2vw, transparent 0);
  background-size: 25px 25px;
  
  position:relative;
  left:20px;
}

.warning{
  
  background-color: #d6b3a0;
  border-radius: 2vw;
  width:fit-content;
  max-width: 50%;
 border: solid 3px #ad7f6e;
  padding: 1% 2% 1% 2%;
  width:100%;

  display: flex;
  justify-content: center; 
  text-align: center;

    color: var(--red);
  font-family: "Carter One";
  box-shadow: inset -1px -1px 2px 1px color-mix(in srgb, var(--blue) 40%, transparent), 
                inset 2px 2px 2px 1px color-mix(in srgb, var(--white) 50%, transparent);  
}




/*-----------------------------------------------------------------------------------------------------------*/


.con{
   display: grid;
   grid-template-columns: 50% 50% ;
   margin: auto;
   

   margin-top: 6%;

}

.linkcard:hover{
    text-decoration: none;
}

.Story{
    
    border-radius: 2vw;
    margin: 1vw;
    padding: 1vw;

    height: 18vw;
    

    display: flex;
    border: solid 3px black;
   
   

}
.Story:hover{
    transform: scale(1.02);
    filter: drop-shadow(0 0 0.90rem rgba(232, 169, 82, 0.664));
    transition: all 0.5s ease;

}

.image-story{
    object-fit:cover;
    max-width:  16vw;
    height: 16vw ;
    border-radius: 2vw;
    border: solid 2px black;

}

.resume{
    overflow-wrap: break-word; 
    word-break: break-word;
    font-size: 1vw;
    font-family: "Raleway", sans-serif; font-weight: 600;
    color: black;

    padding: 0vw 1vw 0vw 1vw;
    width: 100%;

}

.chara-story{
    border-radius: 30vw;
    width: 4vw;
    height: 4vw;
    object-fit:cover;
    margin: 0vw 0vw 0.5vw 0.5vw;
    border: solid 2px black;

}

.card1{
    background-color: var(--red2);
}

.card2{
    background-color: var(--blue);
}
.card3{
    background-color: var(--yellow);
}
.card4{
    background-color: var(--green2);
}



































/*-------------------------------------------------------FOOTER------------------------------------*/



.weird-div-footer{
  border-radius: 2vw;
  width:95%; 
  height: 0.7%;
  border: solid 3px var(--blue);

  margin: auto;
  margin: 1%;

  padding: 0.5% 2% 0.5% 2%;
  color: var(--black);
  font-family: "Carter One";
  font-size:1vw;
  
  display: flex;
  justify-content: space-evenly;

  position: relative;
  z-index:0;
}


.pokebag{
  display: flex;
  align-items:end;
  justify-content: center;

  width: 35%;
  height: 4em;
 

}

.pokemon{
  margin:1%;
overflow:show;
 

}

.pokemon:hover{
filter: drop-shadow(0 0 0.20rem var(--yellow));

}

.socials{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
  text-decoration: none;
  
}

.text-secondary{
  color: var(--yellow2);
  font-size:1.1vw;
  text-decoration: none;

}

.text-secondary:hover{ /*socials hover*/
  color:var(--green2);
  filter: drop-shadow(0 0 0.90rem rgba(243, 184, 57, 0.5));
  
}

.ownership{
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow2);
  font-family: "Carter One", system-ui;
   width: 25%;
    font-size:1.1vw;
}






.crt::before {
  content: " ";
  display: block;
  position: fixed;
  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: -2;
  background-size: 100% 3px, 2px 100%;
  pointer-events: none;
  opacity: 85%;
}

@keyframes flicker {
  0% {
  opacity: 0.27861;
  }
  5% {
  opacity: 0.34769;
  }
  10% {
  opacity: 0.23604;
  }
  15% {
  opacity: 0.90626;
  }
  20% {
  opacity: 0.18128;
  }
  25% {
  opacity: 0.83891;
  }
  30% {
  opacity: 0.65583;
  }
  35% {
  opacity: 0.67807;
  }
  40% {
  opacity: 0.26559;
  }
  45% {
  opacity: 0.84693;
  }
  50% {
  opacity: 0.96019;
  }
  55% {
  opacity: 0.08594;
  }
  60% {
  opacity: 0.20313;
  }
  65% {
  opacity: 0.71988;
  }
  70% {
  opacity: 0.53455;
  }
  75% {
  opacity: 0.37288;
  }
  80% {
  opacity: 0.71428;
  }
  85% {
  opacity: 0.70419;
  }
  90% {
  opacity: 0.7003;
  }
  95% {
  opacity: 0.36108;
  }
  100% {
  opacity: 0.24387;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  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;
}







.floating{
  position: relative;
            animation: float 3s ease-in-out infinite;
            

}

@keyframes float {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-10px);
                 
            }

            100% {
                transform: translateY(0);
            }
        }




.floating2{
  position: relative;
            animation: float 3s ease-in-out infinite;
            animation-delay: -0.7s;

}

@keyframes floating2 {
            0% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-5px);
                 
            }

            100% {
                transform: translateY(0);
            }
        }


.shine{
   filter: drop-shadow(0 0 0.90rem rgba(94, 90, 216, 0.4));
   
}

.shine2{
   filter: drop-shadow(0 0 0.90rem rgba(236, 183, 114, 0.388));
   
}

.shine3{
   filter: drop-shadow(0 0 0.90rem rgba(190, 23, 23, 0.388));
   
}

.shine4{
   filter: drop-shadow(0 0 0.90rem rgba(99, 177, 92, 0.388));
   
}