/*****************************************************************
 style2.css
 OpenQuizzDB
 Page de style personnalisée
 (c)Copyright 2007-2024 Philippe Bresoux
 p.bresoux@openquizzdb.org
 Dernière mise à jour : 07/01/2024
******************************************************************/

/* Logo OQDB */
.logo_oqdb {
  margin-top: 60px;
  -webkit-animation: fadeout 1s linear 1 normal forwards;
}
.logo_oqdb:hover {
  margin-top: 60px;
  -webkit-animation: fadein 1s linear 1 normal forwards;
}
@-webkit-keyframes fadein {
  from { opacity: 0.6; } to { opacity: 1; }
}
@-webkit-keyframes fadeout {
  from { opacity: 1; } to { opacity: 0.6; }
}

/* PPB */
html {
  margin-bottom: 35px;
}
.ppb {
  display: inline-block;
  position: fixed;
  bottom: 0px;
  width: 100%;
  height: 55px;
  background-color: #3e2bc6;
  text-align: left;
  color: #dddddd;
  padding: 8px;
  font-family: Verdana;
  font-size: 12px;
  cursor: pointer;
  border-top: 1px solid #2c1bab;
}
.ppb:hover {
  background-color: #1c8f16;
  border-top: 1px solid #0c6608;
}
.boxppbmain {
  display: none;
}
.mainppb {
  display: none;
  margin-right: 8px;
}
@media only screen and (min-width: 600px) {
  .ppb {
    height: 35px;
  }
  .boxppbmain {
    display: inline-block;
  }
  .mainppb {
    display: inline-block;
  }
}

/* Texte penché */
.penche {
  transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
  -webkit-transform: rotate(-2deg);
  -khtml-transform: rotate(-2deg);
  -ms-transform: rotate(-2deg);
}

.photo_ins {
  border-radius: 8px;
  border: 1px solid #ffab3e;
  padding: 2px;
  box-shadow: 1px 1px 12px #555;
  margin-right: 20px;
  margin-bottom: 15px;
}

.profile-picture {
  border:1px solid #CCC;
  background-color:#FFF;
  padding:4px;
  display:inline-block;
  max-width:100%;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  box-shadow:1px 1px 1px rgba(0,0,0,.15);
  height: 100px;
  border-radius: 4px;
}

img.superpose {
   position: absolute;
}

#img_1 {
  z-index: 10;
  position: relative;
  top: 0;
  left: 0;   
  max-width: 100%;
}

#img_2 {
   z-index: 11;
   top: -20px;
   left: 0px;
}

#img_3 {
   z-index: 12;
   bottom: -10px;
   right: 0;
   width: 100px;
   height: 100px;
}

#img_4 {
   z-index: 11;
   top: 62px;
   left: 15px;
}

#img_5 {
   z-index: 13;
   bottom: -5px;
   left: 10;
   width: 100px;
   height: 100px;
}

.sco-box {
  width: 155px;
  height: 40px;
  font-family: 'Fjalla One', sans-serif;
  color: white;
  padding: 4px;
  border-radius: 14px;
  border: 4px double white;
  text-indent: 2px;
  margin-bottom: 4px;
  position: relative;
  line-height: 23px;  
}

.sco-box.blue {
  background: linear-gradient(to top right,#00669b, #d7f1ff);
}

.sco-box.green {
  background: linear-gradient(to top right,#009d07, #d7ffd9);
}

.sco-box.yellow {
  background: linear-gradient(to top right,#d7cf00, #fffedd);
}

.sco-box.mauve {
  background: linear-gradient(to top right,#7c009b, #f9e0ff);
}

.sco-num {
  display: inline-block;
  width: 25px;  
}

.sco-avatar {
  position: absolute;
  width: 32px;
  top: 0px;
  margin-left: 1px;
}

.sco-score {
  font-family: 'Baloo Chettan', cursive;
  color: #444444;
  display: inline-block;
  text-indent: 42px;
  font-size: 19px;
}

.pici {
  margin-top: 20px;
  margin-bottom: 40px;
  box-shadow:inset 0 3px 6px rgba(0,0,0,0.16), 0 4px 6px rgba(0,0,0,0.45);
  border-radius :15px;
  width: 350px;
  max-width :100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Box contributions footer */
.gradient-border {
  --border-width: 2px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
  font-size: 14px;
  line-height: 20px;
  color: #5c5c5c;
  background: white;
  border-radius: var(--border-width);
  padding: 15px;
}
.gradient-border::after {
  position: absolute;
  content: "";
  top: calc(-1 * var(--border-width));
  left: calc(-1 * var(--border-width));
  z-index: -1;
  width: calc(100% + var(--border-width) * 2);
  height: calc(100% + var(--border-width) * 2);
  background: linear-gradient(60deg, #5f86f2, #a65ff2, #f25fd0, #f25f61, #f2cb5f, #abf25f, #5ff281, #5ff2f0);
  background-size: 300% 300%;
  background-position: 0 50%;
  border-radius: calc(2 * var(--border-width));
  animation: moveGradient 4s alternate infinite;
}
@keyframes moveGradient {
  50% {
    background-position: 100% 50%;
  }
}

.qzc_slogan {
  background-color: rgba(123,98,76,0.8);
  color: white;
  padding: 6px;
  border-radius: 6px;
}

.bgmesh {
  background: #fff url(../../pics/lghtmesh.png) repeat center center;
}

.bgmesh2 {
  background: #fff url(../../media/patterns/interlaced.png) repeat center center;
}

/* CIRCLES */

.area{
  width: 100%;
  height: 186px;
  position: absolute;
  z-index: 12;
}

.circles{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 11;
}

.circles li{
  position: absolute;
  display: block;
  list-style: none;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 25s linear infinite;
  bottom: -150px;
  z-index: 10;
  
}

.circles li:nth-child(1){
  left: 25%;
  width: 80px;
  height: 80px;
  animation-delay: 0s;
}

.circles li:nth-child(2){
  left: 10%;
  width: 20px;
  height: 20px;
  animation-delay: 2s;
  animation-duration: 12s;
}

.circles li:nth-child(3){
  left: 70%;
  width: 20px;
  height: 20px;
  animation-delay: 4s;
}

.circles li:nth-child(4){
  left: 40%;
  width: 60px;
  height: 60px;
  animation-delay: 0s;
  animation-duration: 18s;
}

.circles li:nth-child(5){
  left: 65%;
  width: 20px;
  height: 20px;
  animation-delay: 0s;
}

.circles li:nth-child(6){
  left: 75%;
  width: 110px;
  height: 110px;
  animation-delay: 3s;
}

.circles li:nth-child(7){
  left: 35%;
  width: 150px;
  height: 150px;
  animation-delay: 7s;
}

.circles li:nth-child(8){
  left: 50%;
  width: 25px;
  height: 25px;
  animation-delay: 15s;
  animation-duration: 45s;
}

.circles li:nth-child(9){
  left: 20%;
  width: 15px;
  height: 15px;
  animation-delay: 2s;
  animation-duration: 35s;
}

.circles li:nth-child(10){
  left: 15%;
  width: 150px;
  height: 150px;
  animation-delay: 0s;
  animation-duration: 11s;
}

@keyframes animate {

  0%{
      transform: translateY(0) rotate(0deg);
      opacity: 1;
      border-radius: 0;
  }

  100%{
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
      border-radius: 50%;
  }

}