
@font-face {
font-family: Boogaloo;
src: url('http://brpr.freeboxos.fr/SNT/fichiers/fonts/Boogaloo-Regular.ttf') format('truetype') ;
}
@font-face {
font-family: Chewy;
src: url('http://brpr.freeboxos.fr/SNT/fichiers/fonts/Chewy-Regular.ttf') format('truetype');
}

.btn-toggle {
    position: absolute;
    top: auto;
    right: 10%;
    width: 60px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

}

.avatar {
  width: 80px;
  height: 80px;
  box-sizing: border-box;
  border: 0px white solid;
  border-radius: 60%;
  overflow: hidden;
  box-shadow: 0 5px 10px 0px rgba(0, 0, 0, 0.4);
  transform: translatey(15px);
  animation: float 6s ease-in-out infinite;
   margin-bottom:5px;

}
.avatar img {
  width: 80px;
  height: 80px;
  margin-top:10px;
  margin-bottom:0px;

}
.avatar2 img {
  width: 70px;
  height:auto;
  margin-top:0px;
  margin-bottom:0px;

}

body.light {
    margin-left: 0px;
    ackground-clip: ;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-size: cover;
    %background-position: center;
    ackground-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(0,0,0,0.5)),url("http://brpr.freeboxos.fr/SNT/fichiers/img/fond7.jpg");
    background-image: url("http://brpr.freeboxos.fr/SNT/fichiers/img/fond7.webp");
}
body.light .btn-toggle {
    background: #333;
    color: #f1f1f1;
}

body.light .titre_accueil h1 {
        text-align: center;
        font-family: Chewy;
        color: #2b6486;
        font-size: 3vw;
        letter-spacing: 4px;
        margin-top: 70px;
        margin-bottom: 5px;
        text-decoration:none
}
body.light .titre_accueil h2 {
        text-align: center;
        font-family: Boogaloo;
        margin:5px;
        color: rgb(199, 30, 13);
        letter-spacing: 1px;
        font-size: 2vw;
}
body.light .titre_accueil h4 {
        text-align: center;
        font-family: Boogaloo;
        margin-top:0;
        margin-bottom:2px;
        color: #2b6486;
        font-size: 2.5vw;
        letter-spacing: 2px;
}

body.light .contenu_accueil {
        border-style: solid;
        border-color: #2b6486;
        border-width: 0px;
        border-radius: 20px 20px 20px 20px;
        letter-spacing: 1px;
        font-family: Comic Sans MS;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 10px;
        padding-top: 10px;
        position: relative;
        width:max-content;
        color: #2b6486;
        font-size: 1vw;
        margin-top: 20px ;
        animation: anim-lineUp  2s ease-in 0s 1 normal none;
        animation-delay: 0s;
        background: rgba(255, 255, 255, 0.1);
}
body.light .contenu_accueil h2{
        border-style: solid;
        border-color: white;
        border-width: 0px;
        letter-spacing: 1px;
        font-family: Comic Sans MS;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 0px;
        padding-top: 10px;
       position: relative;
        width:max-content;
        color: white;
        font-size: 1vw;
        margin-top: 5 ;
        margin-bottom: 1;
}

body.light .texte_niveau {
        color: #000;
        text-decoration: none;
        font-size: 18px;
        text-align: center;
        font-family: Comic Sans MS;
        margin-top: -40px;
        padding:  0px 0px 0px 10px;
        font-size: 1.5vw;
        letter-spacing: 2px;

}
body.light .envoi {
    text-align: center;
    font-family: Chewy;
    color: #A8C345FF;
    margin:10px;
    background: #18445103;
    font-size: 2vw;
    border-width: 0px;
    cursor: pointer;
    padding: 0px;
    border-radius: 10%;
    animation: myAnim 2s ease-in 0s 1 normal none;
    animation-delay: 0s;

}

.envoi:hover {
  transform: scale(1.1);
 }
.envoi:active{
  transform: translatey(.3em) ;
}
input[type="text"] {
        color: rgb(199, 30, 13);
        text-align: center;
}


.titre_accueil h4 {
        text-align: center;
        font-family: Boogaloo;
    margin-top:0;
        color: white;
        font-size: 4vw;
        letter-spacing: 2px;
}
.imgtitre{
    margin-top: 4px;
    width: 5vw;
    margin-bottom: 4px;
    opacity: 1;
        -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;

}
.imgtitre:hover {
  width: 5vw; /* on affiche l'image au carré */
  height: auto;
  -webkit-transform: scale(1.4);
        transform: scale(1.4);
   opacity: 1;

}


footer {
        margin-top:10px;
        position: relative;
        bottom: -40px;
        text-align: center;
        width: auto;
}
footer p {
        position: absolute;
        bottom: 0;
        right: 1%;
}
footer_logo{
    margin-top:150px;
}

.face {
  margin-top:10px;
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97)  ;
  transform: translate3d(0px, 0px, 0px);
  backface-visibility: hidden;
  perspective: 1000px;
  animation-delay: 10s;
  animation-iteration-count: 2;
}

select{text-align: center; margin-top: 10px;}

@keyframes anim-lineUp {

  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
  }
  60% {
    opacity: 0.8;
   }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}
@keyframes pulse {
  from {
    box-shadow: 0 0 0 0 rgba(3, 149, 229, 0.4);
  }
  to {
    box-shadow: 0 0 0 10px rgba(3, 149, 229, 0);
  }
}
@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
@keyframes myAnim {
    0% {
        animation-timing-function: ease-in;
        opacity: 0.5;
        transform: translateY(-8px);
        visibility: visible;
    }

    24% {
        opacity: 0.8;
    }

    40% {
        animation-timing-function: ease-in;
        transform: translateY(-8px);
        opacity: 1;
    }

    65% {
        animation-timing-function: ease-in;
        transform: translateY(-8px);
    }

    82% {
        animation-timing-function: ease-in;
        transform: translateY(-6px);
    }

    93% {
        animation-timing-function: ease-in;
        transform: translateY(-4px);
    }

    25%,
    55%,
    75%,
    87% {
        animation-timing-function: ease-out;
        transform: translateY(0px);
    }

    100% {
        animation-timing-function: ease-out;
        opacity: 1;
        transform: translateY(0px);

    }
    visibility: visible;
}

/* lineup class and keyframes */
.lineUp {
  animation: 5s anim-lineUp ease-out ;
}
@keyframes anim-lineUp {

  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.3;
  }
  40% {
    opacity: 0.5;
  }
  60% {
    opacity: 0.8;
   }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}
