@font-face{
    font-family:"Play";
    src:url('font/play.woff');
}

@font-face{
    font-family:"script";
    src:url('font/script.ttf');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    -webkit-tap-highlight-color:transparent;
}

html,
body{
    height:100%;
    overflow:hidden;
    font-family:"Play",sans-serif;
    background:#0f172a;
    color:#fff;
}

body{
    background:
    linear-gradient(
    180deg,
    #0f172a,
    #1e293b
    );
}

.slider-taux{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:12px;
/*    padding-bottom:10px;*/
    -webkit-overflow-scrolling:touch;
/*    scrollbar-width:none;*/
}

.slider-taux::-webkit-scrollbar{
    display:none;
}

.taux-item{
    flex:0 0 85%;
    scroll-snap-align:center;
    text-align:center;
    padding:20px;
    border-radius:15px;
    background:
    rgba(255,255,255,0.08);
}

.taux-item .label{
    color:#ddd;
    font-size:16px;
    margin-bottom:10px;
}

.taux-item .valeur{
    font-size:42px;
    font-weight:bold;
    color:#4CAF50;
}

.app{
    height:100vh;
    padding:15px;
}

.titre{
    text-align:center;
    font-family:"script";
    font-size:clamp(28px,7vw,52px);
/*    margin-bottom:15px;*/
    animation:respiration 4s infinite;
}

.titre-card{
    max-width:600px;
    margin:10px auto 15px auto;
    padding:10px;
    text-align:center;
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.carte{
    background:
    rgba(255,255,255,.1);
    border-radius:18px;
    backdrop-filter:blur(8px);
    padding:15px;
    margin-bottom:12px;
}

/*.carte h2{ /*------NON UTILISE-------------*/
    font-size:20px;
    margin-bottom:10px;
}*/

input{
    width:100%;
    height:52px;
    border:none;
    border-radius:12px;
    margin-bottom:10px;
    padding:10px;
    font-size:16px;
    text-align:center;
}

.input-card.pulse{/*------NON UTILISE-------------*/
animation:pulse 0.6s ease-in-out; /*0.25s ease*/
}

.grille-saisie{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;		/*10px*/
    max-width:600px;
    margin:8px auto;	/*15px auto*/
}

.input-card{
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(8px);
    border-radius:15px;
    padding:6px;	/*12*/
    text-align:center;
    border:1px solid rgba(255,255,255,0.15);
    margin-bottom:10px;
    transition:transform 0.15s ease;
    cursor:pointer;
}

.input-label{
    font-size:12px;	/*14*/
    color:#ddd;
    margin-bottom:8px;
    min-height:auto;	/*35px*/
    display:flex;
    align-items:center;
    justify-content:center;
}

.input-card input{
    width:100%;
    border:none;
    background:transparent;
    text-align:center;
    color:white;
    font-size:clamp(22px,6vw,32px);	/*28px,6vw,40px*/
    font-weight:bold;
    line-height:1;
    padding:0;
    outline:none;
}

.resume{ /*------NON UTILISE-------------*/
    text-align:center;
    margin-top:10px;
}

#PourcPres{
    font-size:48px;
    font-weight:bold;
    color:#4ade80;
}

#PourcAbs{
    font-size:48px;
    font-weight:bold;
    color:#4ade80;
}

/*.barre{ /*------NON UTILISE-------------*/
    width:100%;
    height:18px;
    background:#334155;
    border-radius:20px;
    overflow:hidden;
    margin-top:10px;
}*/

#barrePresence{ /*------NON UTILISE-------------*/
    width:0;
    height:100%;
    background:#4ade80;
    transition:.4s;
}

.ligne{
    display:flex;
    justify-content:space-between;
    padding:5px 0;
}

@keyframes pulse{ /*------NON UTILISE-------------*/
0%{

	transform:scale(1);
  }
  50%{
	transform:scale(1.5);	/*1.05*/
  }
  100%{
	transform:scale(1);

  }
}

@keyframes respiration{
    0%{transform:scale(1);}
    50%{transform:scale(1.03);}
    100%{transform:scale(1);}
}

#EleveInscrit{
    color:#81C784;
/*    color:#4FC3F7;*/
}

*#NbJrTravail{
    color:#81C784;
}*

#NbAbsAM,
#NbAbsPM{
/*    color:#FFB74D;*/
}

