@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family : montserrat;
  src: url(typo/Montserrat-Light.otf);
}
@font-face { 
    font-family : "montserrat-medium";
    src: url(typo/Montserrat-regular.otf);
}

body {
    min-width: 45em;
}


.ipad-promo {
  position: fixed;
  top: 50%;
  left: 60%;
  transform: translate(170px, -50%); /* → à droite du centre, ↑ centré verticalement */
  width: 140px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10;
}


body.showDiapos .ipad-promo {
  opacity: 1;
  pointer-events: auto;
}

/* Image avec effet de zoom au survol */
.ipad-promo img {
  height: 100%;
  width: auto;
  display: block;
  margin: 0 auto 5px;
  transition: transform 0.3s ease;
}

.ipad-promo img:hover {
  transform: scale(1.06);
}

.ipad-promo p {
  font-size: 17px;
  color: #333;
  margin-top: -12px;
  margin-bottom: 7px;
  line-height: 1.2;
  text-decoration: none;
}


.buttonEtsy {
    position: relative;
	font-size: 17.9px;
    width: 10em;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
	margin: 5px;
	padding: 5px;
    background-color: #E94C2C;
    text-align: center;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

/* Responsive : adapte la position et taille pour petits écrans */
@media (max-width: 800px) {
  .ipad-promo {
    position: fixed;
    top: 80%;
    left: 40%;
    transform: translate(170px, -50%); /* → à droite du centre, ↑ centré verticalement */
    width: 90px;
  }

  .ipad-promo img {
    height: 100%;
  }
  .ipad-promo p {
  font-size: 15px;
  color: #333;
  margin-top: -12px;
  margin-bottom: 7px;
  line-height: 1.2;
  text-decoration: none;
  }
  .buttonEtsy {
    position: relative;
	font-size: 12px;
    width: 10em;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
	margin: 5px;
    background-color: #E94C2C;
    text-align: center;
    color: white;
    cursor: pointer;

    text-decoration: none;
  }
}




.linksstyle {
    text-decoration: none;
    color:  #e94c2c;
}

.textdiv {
    position: relative;
    margin-top: 6em;
    margin-bottom: 3em;
    width: 100%;
    text-align: center;
    font-family: montserrat;
    font-size: 19px;
    color:  #d9d9d9;
}

.buttonDIV {
    display: flex;
    margin-bottom: 1.5em;
    flex-wrap: wrap; /* permet de passer à la ligne sur petits écrans */
    justify-content: center; /* centre les boutons */
}

.buttonAZ {
    position: relative;
    width: 5.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 5px;
    background-color: #E94C2C;
    margin: 0 0.5em 1em; /* margin modifiée pour espacement */
    font-size: 23px;
    text-align: center;
    color: white;
    cursor: pointer;
    margin-top: 1.5em;
}
.spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 10;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.buttonAnim {
    position: relative;
    width: 2.5em;
    height: 1.5em;
    line-height: 1.5em;
    border-radius: 5px;
    background-color: #364575;
    margin: 0 1em 1em;
    font-size: 23px;
    text-align: center;
    color: white;
    cursor: pointer;
    margin-top: 1.5em;
}

.divall {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* centre les items */
}

.divall>div {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 2em 1em; /* réduit marges horizontales */
    width: 14.5em;
    height: 23em;
    cursor: pointer;
    transition: all .18s ease-in-out;
    /* left supprimé pour éviter décalage fixe */
}

.divall>div:hover {
    transform: scale(1.1);
}

.diapo {
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
    background-size: 26%;
    background-position: center;
    z-index: 100;
    background-size: 0%;
}

div.yesa {
    background-size: 0%;
}

.DCvideoo {
    position: absolute;
    top: 47.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%; 
    object-fit: contain;
}

#diaporama {
    display: none;
}

.swiper-button-prev, .swiper-button-next {
    width: 2em;
    height: 2em;
    z-index: 10;
}

.swiper-slide {
    position: relative;
    overflow: hidden; /* optionnel pour cacher tout dépassement */
}

body.showDiapos #diaporama {
    display: block;
    position: fixed;
    top: 3em;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(23,29,48,0.8);
}

.buttonDOWNLOAD {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;    
}

.buttonDL {
    position: relative;
    width: 6em;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
    background-color: #364575;
    margin: 0 1em;
    font-size: 25px;
    text-align: center;
    color: white;
    cursor: pointer;
    margin-top: -70px;
    text-decoration: none;
}

.buttonBACK {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;       
}

.buttonb {
    position: relative;
    width: 8em;
    height: 1.8em;
    line-height: 1.8em;
    border-radius: 5px;
    background-color: #364575;
    margin: 0 1em;
    font-size: 25px;
    text-align: center;
    color: white;
    cursor: pointer;
    margin-top: -70px;
    text-decoration: none;
}

/* Tes IDs avec images, inchangés */
#Topdresseurben_MewtwoR { background-image: url(DC/1_Pokemon/Topdresseurben_MewtwoR/Topdresseurben_MewtwoR.png); }
#Sylveon { background-image: url(DC/1_Pokemon/Sylveon_156/sylveon.png); }
#Omanyte { background-image: url(DC/1_Pokemon/Omanyte_180/Omanyte.png); }
#Poliwhirl { background-image: url(DC/1_Pokemon/Poliwhirl_176/Poliwhirl.png); }
#Raichu { background-image: url(DC/1_Pokemon/Raichu_211/Raichu.png); }
#Lisia_s_Appeal { background-image: url(DC/1_Pokemon/Lisia_s_Appeal_246/Lisia_s_appeal.png); }
#Cleffa { background-image: url(DC/1_Pokemon/Cleffa_202/cleffa.png); }
#Groudon { background-image: url(DC/1_Pokemon/Groudon_199/groudon.png); }
#Lugia { background-image: url(DC/1_Pokemon/Lugia_186/lugia.png); }
#Suicune { background-image: url(DC/1_Pokemon/Suicune_s12a/Suicune.png); }

#A_Dusty_Memory { background-image: url(DC/A_Dusty_Memory/_use/A_Dusty_Memory.png); }
#A_Sea_of_Blue { background-image: url(DC/A_Sea_of_Blue/_use/A_Sea_of_Blue.png); }
#Audacity { background-image: url(DC/Audacity/_use/Audacity.png); }
#Azure_Rage { background-image: url(DC/Azure_Rage/_use/Azure_Rage.png); }
#Beauty_Through_Death { background-image: url(DC/Beauty_Through_Death/_use/Beauty_Through_Death.png); }
#Bowyer_s_Dream { background-image: url(DC/Bowyer_s_Dream/_use/Bowyer_s_Dream.png); }
#Broken_Truce { background-image: url(DC/Broken_Truce/_use/Broken_Truce.png); }
#Brother_s_Gift { background-image: url(DC/Brother_s_Gift/_use/Brother_s_Gift.png); }
#Brother_s_Stash { background-image: url(DC/Brother_s_Stash/_use/Brother_s_Stash.png); }
#Buried_Treasure { background-image: url(DC/Buried_Treasure/_use/Buried_Treasure.png); }
#Coveted_Possession { background-image: url(DC/Coveted_Possession/_use/Coveted_Possession.png); }
#Desperate_Crusade { background-image: url(DC/Desperate_Crusade/_use/Desperate_Crusade.png); }
#Dialla_s_Subjugation { background-image: url(DC/Dialla_s_Subjugation/_use/Dialla_s_Subjugation.png); }
#Earth_Drinker { background-image: url(DC/Earth_Drinker/_use/Earth_Drinker.png); }
#Echoes_of_Love { background-image: url(DC/Echoes_of_Love/_use/Echoes_of_Love.png); }
#Emperor_of_Purity { background-image: url(DC/Emperor_of_Purity/_use/Emperor_of_Purity.png); }
#Endless_Night { background-image: url(DC/Endless_Night/_use/Endless_Night.png); }
#Ever_Changing { background-image: url(DC/Ever_Changing/_use/Ever_Changing.png); }
#Further_Invention { background-image: url(DC/Further_Invention/_use/Further_Invention.png); }
#Gemcutter_s_Mercy { background-image: url(DC/Gemcutter_s_Mercy/_use/Gemcutter_s_Mercy.png); }
#Harmony_of_Souls { background-image: url(DC/Harmony_of_Souls/_use/Harmony_of_Souls.png); }
#Jack_in_the_Box { background-image: url(DC/Jack_in_the_Box/_use/Jack_in_the_Box.png); }
#Keeper_s_Corruption { background-image: url(DC/Keeper_s_Corruption/_use/Keeper_s_Corruption.png); }
#Left_to_Fate { background-image: url(DC/Left_to_Fate/_use/Left_to_Fate.png); }
#More_is_Never_Enough { background-image: url(DC/More_is_Never_Enough/_use/More_is_Never_Enough.png); }
#Prejudice { background-image: url(DC/Prejudice/_use/Prejudice.png); }
#Prometheus_Armoury { background-image: url(DC/Prometheus_Armoury/_use/Prometheus_Armoury.png); }
#Rain_Tempter { background-image: url(DC/Rain_Tempter/_use/Rain_Tempter.png); }
#Shard_of_Fate { background-image: url(DC/Shard_of_Fate/_use/Shard_of_Fate.png); }
#Soul_Quenched { background-image: url(DC/Soul_Quenched/_use/Soul_Quenched.png); }
#The_Academic { background-image: url(DC/The_Academic/_use/The_Academic.png);}
#The_Aesthete { background-image: url(DC/The_Aesthete/_use/The_Aesthete.png);}
#The_Avenger { background-image: url(DC/The_Avenger/_use/The_Avenger.png);}
#The_Bitter_Blossom { background-image: url(DC/The_Bitter_Blossom/_use/The_Bitter_Blossom.png);}
#The_Blessing_of_Moosh { background-image: url(DC/The_Blessing_of_Moosh/_use/The_Blessing_of_Moosh.png);}
#The_Brawny_Battle_Mage { background-image: url(DC/The_Brawny_Battle_Mage/_use/The_Brawny_Battle_Mage.png);}
#The_Calling { background-image: url(DC/The_Calling/_use/The_Calling.png);}
#The_Celestial_Justicar { background-image: url(DC/The_Celestial_Justicar/_use/The_Celestial_Justicar.png);}
#The_Conduit { background-image: url(DC/The_Conduit/_use/The_Conduit.png);}
#The_Cursed_King { background-image: url(DC/The_Cursed_King/_use/The_Cursed_King.png);}
#The_Deep_Ones { background-image: url(DC/The_Deep_Ones/_use/The_Deep_Ones.png);}
#The_Doctor { background-image: url(DC/The_Doctor/_use/The_Doctor.png);}
#The_Dreamland { background-image: url(DC/The_Dreamland/_use/The_Dreamland.png);}
#The_Emptiness { background-image: url(DC/The_Emptiness/_use/The_Emptiness.png);}
#The_Endless_Darkness { background-image: url(DC/The_Endless_Darkness/_use/The_Endless_Darkness.png);}
#The_Long_Watch { background-image: url(DC/The_Long_Watch/_use/The_Long_Watch.png);}
#The_Lunaris_Priestess { background-image: url(DC/The_Lunaris_Priestess/_use/The_Lunaris_Priestess.png);}
#The_Messenger { background-image: url(DC/The_Messenger/_use/The_Messenger.png);}
#The_Nurse { background-image: url(DC/The_Nurse/_use/The_Nurse.png);}
#The_Pack_Leader { background-image: url(DC/The_Pack_Leader/_use/The_Pack_Leader.png);}
#The_Pact { background-image: url(DC/The_Pact/_use/The_Pact.png);}
#The_Patient { background-image: url(DC/The_Patient/_use/The_Patient.png);}
#The_Porcupine { background-image: url(DC/The_Porcupine/_use/The_Porcupine.png);}
#The_Sacrifice { background-image: url(DC/The_Sacrifice/_use/The_Sacrifice.png);}
#The_Scarred_Meadow { background-image: url(DC/The_Scarred_Meadow/_use/The_Scarred_Meadow.png);}
#The_Shortcut { background-image: url(DC/The_Shortcut/_use/The_Shortcut.png);}
#The_Sword_King_s_Salute { background-image: url(DC/The_Sword_King_s_Salute/_use/The_Sword_King_s_Salute.png);}
#The_Tireless_Extractor { background-image: url(DC/The_Tireless_Extractor/_use/The_Tireless_Extractor.png);}
#The_Wrath { background-image: url(DC/The_Wrath/_use/The_Wrath.png);}
/* ----- Media Queries pour responsive ----- */

@media (max-width: 900px) {
body {
min-width: 100%;
}
.divall {
flex-direction: column;
align-items: center;
}
.divall>div {
width: 90vw;
height: calc(90vw * 1.58); /* ratio 14.5 / 23 ≈ 0.63 inverse donc 1.58 */
margin: 1em 0;
background-size: contain !important;
background-position: center !important;
}
.buttonDIV {
flex-wrap: wrap;
justify-content: center;
}
.buttonAZ, .buttonAnim {
width: auto;
padding: 0 1em;
font-size: 18px;
margin: 0.5em;
}
}

@media (max-width: 500px) {
.textdiv {
font-size: 16px;
margin-top: 3em;
}
.buttonAZ, .buttonAnim {
font-size: 16px;
width: 40vw;
height: 2.5em;
line-height: 2.5em;
margin: 0.4em auto;
}
.divall>div {
width: 90vw;
height: calc(90vw * 1.58);
margin: 1em auto;
}
}
