@font-face {
  font-family: Chimboheavy;
  src: url(/chimboheavy.ttf);
}



img{
  vertical-align: middle;
}

body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #284555;

  background-color: #6090BE;
  background-image: url('/images/chapa_tile_all.gif');
  background-repeat: repeat-x;
  background-attachment: scroll;

  margin: 0;
  scrollbar-color: #6699CC #ffffff;
  scrollbar-width: auto;
}
body::-webkit-scrollbar {width: 12px;}
body::-webkit-scrollbar-track {background: #ffffff;}
body::-webkit-scrollbar-thumb {background-color: #6699CC;border-radius: 6px;border: 2px solid #ffffff;}

main > div:nth-child(2) {
  position: relative; 
  left: -6px;
}


header{
  width: 800px;
  height: 113px;
  background-image: url('/images/header.png');
  background-repeat: no-repeat;
}

@keyframes open-chat-wave {
  from{ background-position-x: 0}
  to{ background-position-x: -952px}
}


header .open-chat{
  width: 119px;
  height: 119px;
  background: url('/images/connect.png') 0 0 no-repeat;
  float: right;
  display: block;
  position: relative;
  left: -140px;
  top: -25px;
}

header .open-chat p{
  font-family: 'Chimboheavy';
  font-size: 12pt;
  color: #fb0987;
  position: relative;
  top: 74px;
  left: 4px;
  text-align: center;
}

header .open-chat:hover{
  cursor: pointer;
  animation: open-chat-wave 0.3s backwards steps(8);
}

a {color: #6090BE;font-weight: bold;}
a:active {color: #6090BE;text-decoration: none;}
a:visited {color: #6090BE;text-decoration: none;}
a:link {color: #6090BE;text-decoration: none;}
a:hover {color: #6090BE;text-decoration: underline;}

.nav button, .nav {font: normal 10px Verdana;color: #284555;}
.nav button:hover{ text-decoration: underline;cursor: pointer;}
.nav a{padding: 0 10px;}
.nav a:link{color: #284555;font-weight: normal;}
.nav a:hover{color: #284555;font-weight: normal;}
.nav a:visited{color: #284555;	font-weight: normal;}
.nav a:active{color: #284555;font-weight: normal;}
.nav .category {color: #6090BE;font-size: 11px;font-weight: bold;padding: 0 6px;}
.nav button{ padding:0;border:none;background:transparent;outline:none;padding: 0 10px;}

main{
  position: relative;
  top: -2px;
  display: flex;
  max-width: 1200px;
  flex-flow: row;
  gap: 8px;
}

ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav .header{
  background-image: url(/images/chapa_tile_nav.gif);
  background-repeat: repeat-y;
  width: 147px;

}

.nav .top{
  background-image: url(/images/top_navbar.gif);
  background-repeat: no-repeat;
  width: 147px;
  height: 56px;
}

.nav .links{
  background-image: url(/images/chapa_tile_nav.gif);
  background-repeat: repeat-y;
  width: 147px;
}

.nav .bottom{
  background-image: url(/images/bottom_navbar.gif);
  background-repeat: no-repeat;
  width: 147px;
  height: 90px;
}

.nav .separate{
  background-image: url(/images/separator.gif);
  background-repeat: no-repeat;
  width: 147px;
  height: 13px;
}

main > div:nth-child(2){
  margin: 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sub-title{
  margin: 0;
  color: white;
  font-size: 20pt;
  font-family: Chimboheavy;
  text-shadow: 
      -1px -1px 0 #FF3399,
      1px -1px 0 #FF3399,
      -1px 1px 0 #FF3399,
      1px 1px 0 #FF3399,
      -2px 0 0 #FF3399,
      2px 0 0 #FF3399,
      0 -2px 0 #FF3399,
      0 2px 0 #FF3399;
}

.sub-title2{
  margin: 0;
  color: white;
  font-size: 15pt;
  font-family: Chimboheavy;
text-shadow: 2px 1px #0008;
}

.article-beige{
  background-color: #fff4d5;
  width: 468px;
  border-radius: 6px;
  padding: 12px;
}

.article-bleu{
  background-color: #d5e6f3;
  width: 468px;
  border-radius: 6px;
  padding: 12px;
}

.article-bleu2{
  background-color: #a9cbe4;
  width: auto;
  border-radius: 6px;
  padding: 12px;
}

.article-rose{
  background-color: #f481cc;
  width: auto;
  border-radius: 6px;
  padding: 12px;
}




.event-2006{
  background-image: url('/images/2006.gif');
  background-repeat: no-repeat;
  width: 130px;
  height: 70px;
}

.event-defaillaj{
  background-image: url('/images/defailleurs.gif');
  background-repeat: no-repeat;
  width: 130px;
  height: 70px;
}

.sub-title-beige{ margin: 2px;font-family: Arial, Helvetica, sans-serif;font-size: 14px;font-weight: bold;color: #726338;}
.sub-title-bleu{margin: 2px;font-family: Arial, Helvetica, sans-serif;font-size: 14px;font-weight: bold;color: #6090BE;}

.article-gap{
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
}

.rules,
.learn-more{ width: 168px; }
.creator-news{ width: 169px;}

.creator-news > div:last-child{
  padding: 10px;
  min-height: 100px;
  background: linear-gradient(to bottom, #81afd8, #a4c4e3);
  border-radius: 0 0 6px 6px;
}

.article-bleu-wimg > div:last-child{
  padding: 10px;
  min-height: 100px;
  background-color: #d5e6f3;
  border-radius: 0 0 6px 6px;
}

.rules > div:last-child,
.learn-more > div:last-child{
  padding: 10px;
  min-height: 100px;
  background-color: #a4c4e3;
  border-radius: 0 0 6px 6px;
}

.news-header{
  background-image: url(/images/newsdescreateurs_top.gif);
  background-repeat: no-repeat;
  width: 169px;
  height: 75px;
}

.learn-more-header{
  background-image: url(/images/ensavoirplus_top.gif);
  background-repeat: no-repeat;
  width: 168px;
  height: 37px;
}

.rules-header{
  background-image: url(/images/reglesdor_top.gif);
  background-repeat: no-repeat;
  width: 168px;
  height: 37px;
}

.rules p,
.learn-more p{ margin: 0;}

.spotlight-bg{
  width: 168px;
  height: 152px;
  background-image: url(/images/ptinew.gif);
  background-repeat: no-repeat;
}

.spotlight-bottom{
  width: 168px;
  min-height: 10px;
  text-align: center;
  background-color: #a4c4e3;
  border-radius: 0 0 6px 6px;
  padding-bottom: 10px;
  z-index: 3;
  position: relative;
}

.shopping{
  width: 457px;
  overflow: hidden;
}

.header-shopping{
  background-image: url(/images/header_fringue.gif);
  background-repeat: no-repeat;
  width: 457px;
  height: 110px;
}

.shopping > div:last-child{
  width: 457px;
  min-height: 610px;
  background-color: #fff4d5;
  border-radius: 0 0 6px 6px;
}

.shopping .home-top{
  width: 436px;
  height: 182px;
  overflow: hidden;
}

.shopping .on-the-front-background{
  background-image: url(/images/shopping_home_top.png);
  background-repeat: no-repeat;
  background-position: top;
  width: 436px;
  height: 182px;
  overflow: hidden;
}

.shopping .on-the-front-background.open{
  height: 182px;
}

.shopping .the-last{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: fit-content;
  margin: 0 auto;
}

@keyframes floatUpDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.shopping .the-last > div{
  transition: transform 0.2s ease;
}

.shopping .the-last > div:hover{
  cursor: pointer;
  animation: floatUpDown 0.6s ease-in-out infinite;
}

.on-the-front-details .pack-name{
  font-family: Chimboheavy;
  color: #FF3399;
  font-size: 24px;
}

.on-the-front-details .pack-description{
  font-family: Verdana;
  font-size: 7pt;
  height: 85px;
  max-height: 85px;
}

@keyframes pack-new-animate {
    from{background-position-x: 0;}
    to{background-position-x: -876px;}
}

.pack-about .pack-new{
  background: url(/images/shopping_new_pack.png) 0 0 no-repeat;
  width: 73px;
  height: 70px;
  animation: pack-new-animate .3s steps(12, end) forwards;
}

.shopping .pack-about{
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.shopping button.get-pack-info{
  background: url(/images/shopping_pack_infos.png) 0 0 no-repeat;
  width: 75px;
  height: 23px;
  border: none;
  outline: none;
}

.shopping button.get-pack-info:hover{
  background-position-y: -23px;
  cursor: pointer;
}

.shopping button.get-pack-info:active{
  background-position-y: -46px;
  cursor: grab;
}

.shopping button.get-this-pack{
  background: url(/images/shopping_pack_buy.png) 0 0 no-repeat;
  width: 83px;
  height: 22px;
  border: none;
  outline: none;
}

.shopping button.get-this-pack:hover{
  background-position-y: -22px;
  cursor: pointer;
}

.shopping button.get-this-pack:active{
  background-position-y: -44px;
  cursor: grab;
}

.shopping button.navigate-to{
  background-color: #78AADB;
  font-family: Verdana;
  font-size: 9pt;
  min-width: 80px;
  color: #fff;
  text-align: center;
  padding: 4px;
  border: none;
  border-radius: 20px;
}

.shopping button.navigate-to:hover{ background-color: #84B9F2; cursor: pointer;}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.on-the-front-background{
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
  animation-delay: .2s;
}

.pack-name,
.pack-description {
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
  animation-delay: .4s;
}

.pack-description {
  animation-delay: .8s;
}

.pack-about {
  opacity: 0;
  animation: slideLeft 0.6s ease-out forwards;
  animation-delay: 1s;
}

@keyframes mazo-title-animate {
  0% {transform: translate(-60%, -40%) translateX(0) translateY(0);}
  10% {transform: translate(-60%, -40%) translateX(4px) translateY(2px);}
  20% {transform: translate(-60%, -40%) translateX(-3px) translateY(-1px);}
  30% { transform: translate(-60%, -40%) translateX(5px) translateY(-3px);}
  40% { transform: translate(-60%, -40%) translateX(-4px) translateY(4px); }
  50% { transform: translate(-60%, -40%) translateX(3px) translateY(-2px); }
  60% { transform: translate(-60%, -40%) translateX(-2px) translateY(1px); }
  70% {transform: translate(-60%, -40%) translateX(4px) translateY(-4px);}
  80% {transform: translate(-60%, -40%) translateX(-5px) translateY(3px);}
  90% {transform: translate(-60%, -40%) translateX(2px) translateY(2px);}
  100% { transform: translate(-60%, -40%) translateX(0) translateY(0); }
}

@keyframes wakup-animate {
  0% {transform:  translateX(0) translateY(0);}
  10% {transform:  translateX(4px) translateY(2px);}
  20% {transform:  translateX(-3px) translateY(-1px);}
  30% { transform:  translateX(5px) translateY(-3px);}
  40% { transform:  translateX(-4px) translateY(4px); }
  50% { transform:  translateX(3px) translateY(-2px); }
  60% { transform:  translateX(-2px) translateY(1px); }
  70% {transform:  translateX(4px) translateY(-4px);}
  80% {transform:  translateX(-5px) translateY(3px);}
  90% {transform:  translateX(2px) translateY(2px);}
  100% { transform: translateX(0) translateY(0); }
}

.header-mazo{
  background-image: linear-gradient(to bottom, #3c6787, #3c6787, #d5e6f3);
  width: 493px;
  height: 113px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.header-mazo .avatar{
  margin: unset !important;
  width: 40px;
}

.header-mazo .mazo-title{
  width: 240px;
  height: 140px;
  background-image: url(/images/mazo-title.png);
  background-repeat: no-repeat;
  background-size: contain;
  animation: mazo-title-animate .5s infinite;
  position: relative;
  top: 68%;
  left: 28%;
}


.header-patojdur .patojdur-title{
  width: 458px;
  height: 96px;
  background-image: url(/images/games/header_patoj.png);
  background-repeat: no-repeat;
  background-size: contain;
}



.header-popularity .popularity-title{
  width: 620px;
  height: 118px;
  background-image: url(/images/header_popularite.gif);
  background-repeat: no-repeat;
  background-size: contain;
}

.header-groupes .groupes-title{
  width: 435px;
  height: 117px;
  background-image: url(/images/groupes/header_groups.gif);
  background-repeat: no-repeat;
  background-size: contain;
}



@keyframes mazo-won-animate {
  from{ background-position-x: 0;}
  to{ background-position-x: -2160px;}
}

.header-mazo .mazo-lost,
.header-mazo .mazo-won{
  background: url(/images/mazo-won.png) 0 0 no-repeat;
  width: 72px;
  height: 182px;
  animation: mazo-won-animate 1s infinite steps(30);
  animation-delay: 1s;
  position: absolute;
  top: -87px;
  left: -16px;
  z-index: 9999;
}

.header-mazo .mazo-lost{
  background: url(/images/mazo-lost.png) 0 0 no-repeat;
}

.book-header .header{
  background-image: url(/images/annuaire/header_annuaire.gif);
  background-repeat: no-repeat;
  background-size: cover;
  width: 492px;
  height: 187px;
}

.book-header > div:last-child{
  background-color:#fff4d5;
  border-radius: 0 0 6px 6px;
  min-height: 10px;
}

.book-bg{
  width: 468px;
  height: 400px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding-bottom: 5px;
}

.book-bg.inconnu{background: url(/images/annuaire/header_inconnu.gif) 0 0 no-repeat; height: 100%; background-color: #d5e6f3;}
.book-bg.chimbo{background: url(/images/annuaire/header_chimbo.gif) 0 0 no-repeat; height: 100%; background-color: #d5e6f3; }
.book-bg.chimbette{background: url(/images/annuaire/header_chimbette.gif) 0 0 no-repeat; height: 100%; background-color: #ff96da; }
.header-book.avatar{
    top: 58px;
    left: -142px;
    transform: scale(2) rotate(-14deg);
}


.shape-layer {
  position: absolute;
  inset: 0;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}


.btn-pink-left{
  background-image: url(/images/groupes/blason/button-left.svg);
  background-repeat: no-repeat;
  background-size: contain;
 
  height: 15px;
  width: 15px;
}

.btn-pink-right{
  background-image: url(/images/groupes/blason/button-right.svg);
  background-repeat: no-repeat;
  background-size: contain;
 
  height: 15px;
  width: 15px;
}

.btn-pink-left:hover,
.btn-pink-right:hover{
  cursor: pointer;
 filter: contrast(1) saturate(1) invert(0.1);
}

.btn-pink-left:active{
 background-image: url(/images/groupes/blason/button-left-click.svg);
}

.btn-pink-right:active{
 background-image: url(/images/groupes/blason/button-right-click.svg);
}

.btn-random{
  background-image: url(/images/groupes/blason/button-random.svg);
  background-repeat: no-repeat;
  background-size: contain;
 
  height: 15px;
  width: 15px;
}

.btn-random:hover{
  cursor: pointer;
 filter: contrast(1) saturate(1) invert(0.1);
}

.btn-random:active{
 background-image: url(/images/groupes/blason/button-random-click.svg);
}


.btn-save{
  cursor: pointer;
  position: relative;
  background: #5192d2;
    width: 56px;
    height: 18px;
    border-radius: 10px;
    color: #fff;
    padding: 2px 4px;
    border: 1px solid #5192d2;
}

.btn-save:hover{
  cursor: pointer;
 background: #93bbe2;
 border: 1px solid #fff;
}


.chztitre{
font-family: arial;
font-size: 18px;
font-style: normal;
font-weight: bold;
color: #A6003B;
text-decoration: none;
text-align: center;
}


.frame {
  background: linear-gradient(180deg, #c9a040 0%, #a4781a 50%, #c9a040 100%);
  border-radius: 10px;
  padding: 3px;
  display: inline-block;
  margin-top: 5px;
}

.inner {
  background: #60480F;
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 11px;
  color: #fff;
  line-height: 1;
  font-weight:bold;
}