@font-face {
    font-family: Duncan;
    src: url(../fonts/DUNCAN.TTF);
    font-weight: 400;
}
@font-face {
    font-family: Brick;
    src: url(../fonts/BRICKLET.TTF);
    font-weight: 400;
}
@font-face {
    font-family: Skript;
    src: url(../fonts/PALSCRI.TTF);
    font-weight: 400;
}
@font-face {
    font-family: Pica;
    src: url(../fonts/Pica10_.ttf);
    font-weight: 400;
}
@font-face {
    font-family: Rocks;
    src: url(../fonts/ROCKS__.TTF);
    font-weight: 400;
}


@keyframes titre {
    from{
        margin-left: 0;
    }
    to {
        margin-left: 100px;
    }
}
@keyframes titre2 {
    from{
        margin-right: 0;
    }
    to {
        margin-right: 100px;
    }
}@keyframes titre3 {
     from{
         margin-top: 100px;
     }
     to {
         margin-top: 0;
     }
 }
@keyframes TXTBody {
    from {
        opacity: 95%;
    }
    to {
        opacity: 58%;
    }
}

body {
    text-align: center;
    font-family: Duncan, "Comic Sans MS", fantasy;
    font-size: 1rem;
    margin: 2%;
    line-height: 150%;
    background-color: rgba(255, 228, 196, 0.66);
}
.ACCEUIL {
    background-image: url('../img/3Dapswil.png');
    background-repeat: repeat;
}

.ACCEUILVIH {
    background-image: url('../img/FondVIH.png');
    background-repeat: repeat;
}
aside {
    color: maroon;
    position: page;
    background: rgba(255, 255, 0, 0.76);
    padding: 1px;
    border: 1px solid rgba(255, 0, 0, 0.67);

}
li {
    list-style-type: none;
    font-size: 1.22rem;
}
.BLOG {
    max-width: 100%;
}

.stat {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 18%;
    border: none;
    overflow: hidden;
    animation: TXTBody 1.66s infinite alternate ease;
}
.disp {
    position: fixed;
    left: 11.099%;
    top: 18.099%;
    width: 88%;
    height: 80%;
    border: none;
}
.men {
    position: fixed;
    left: 0px;
    top: 18.099%;
    width: 11%;
    height: 80%;
    border: none;
    overflow: hidden;
}
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.CONTENER {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes de taille égale */
    gap: 10px; /* Espacement entre les éléments */
    width: 100%;
    height: 100vh; /* Hauteur de l'écran */
    border: dotted 3px black;
    padding: 10px; /* Ajout de padding autour de la grille */
    box-sizing: border-box; /* Inclure le padding dans la taille totale de l'élément */
    overflow: auto; /* Pour permettre le défilement si nécessaire */
}
.CONTENER2 {
    width: 99%;
    min-height: 66%;
    display: inline-table;
    alignment: center;
    border: dotted 1px black;
    position: relative;
    clear: both;
}

.MESSAGE {
    display: block;
    padding: 1.2%;
    border: 1px solid #457800;
    border-radius: 25%;
    box-shadow:  #87C38F 2px 2px 6px;
    margin: 0.22%;
    background-color: rgba(247, 230, 194, 0.62);
    margin-bottom: 10px; /* Space between messages */
}


.ENTETE {
    background-color: rgba(251, 230, 198, 0.68);
    width: 95%;
    text-align: center;
    display: block;
}
.PROFIL {
    display: block;
    float: left;
    width: 30%;
    padding: 1.2%;
    border: 1px solid #e1ad3c;
    box-shadow: #813e18 2px 2px 6px ;
    border-radius: 50%;
    margin: 0.22%;
    background-color: rgba(251, 230, 198, 0.68);
}
.PROFILR {
    display: block;
    float: left;
    width: 30%;
    padding: 1.2%;
    border: 1px solid #e1ad3c;
    box-shadow: #813e18 2px 2px 6px ;
    border-radius: 50%;
    margin: 0.22%;
    background-color: rgba(251, 230, 198, 0.68);
    animation: TXTBody 2.2s infinite alternate ease;
}
.ONLINE {
    animation: TXTBody 0.44s infinite alternate ease;
}


div .RETOUR {
    background: rgba(251, 163, 29, 0.41);
    border-radius: 25%;
    border: 2px solid rgba(248, 91, 3, 0.84);
    box-shadow:  rgba(195, 176, 135, 0.66) 2px 2px 6px ;
}
.recherche {
    font-family: Pica, sans-serif;
    display: block;
    width: 25%;
    margin: 0.22%;
    padding: 1.2%;
    float: left;
    background-color: rgba(248, 231, 149, 0.76);
}
.tri {
    font-family: Pica, sans-serif;
    display: block;
    width: 33%;
    margin: 0.22%;
    padding: 1.2%;
    float: right;
    background-color: rgba(248, 202, 149, 0.76);
}
.PIED {
    font-family: Pica, sans-serif;
    clear: both;
    background-color: rgba(246, 182, 86, 0.6);
}
.MENU{
    font-family: Pica, serif;
    padding: 0.5%;
    margin: 0.2%;
    line-height: 80%;
    font-size: 1rem;
}

table {
    width: 98%;
    padding: 1%;
    border-style:none;
    text-align: center;
}

h1 {
    text-shadow: #5B5B5B 3px 3px 10px;
    color: rgba(8, 8, 66, 0.62)
}
h2 {
    text-shadow: #5B5B5B 3px 3px 10px;
    color: rgba(6, 2, 115, 0.64)
}
h3 {
    text-shadow: #5B5B5B 3px 3px 10px;
    color: rgba(3, 3, 119, 0.66)
}
span {
    color: maroon;
    background-color: rgba(252, 179, 22, 0.75);
}

h1 + p {
    color: maroon;
    background-color: rgba(232, 145, 145, 0.82);
}

a {
    font-family: Rocks, "Comic Sans MS", cursive;
    color: rgba(2, 89, 136, 0.82);
}

a:hover {
    -webkit-filter:contrast(88);
    filter:contrast(88);
}
a:active {
    text: yellowgreen;
}


#Kestufela a {
    -webkit-animation: titre 3s infinite alternate ease;
    animation: titre 3s infinite alternate ease;
    font-family: Rocks, sans-serif;
    color: rgba(2, 96, 57, 0.81);
}

#Keskife a {
    -webkit-animation: titre2 3s infinite alternate ease;
    animation: titre2 3s infinite alternate ease;
    font-family: Rocks, sans-serif;
    color: rgba(245, 73, 2, 0.81);
}
#Keskece a {
    -webkit-animation: titre2 3s infinite alternate ease;
    animation: titre2 3s infinite alternate ease;
    font-family: Rocks, sans-serif;
    color: rgba(2, 91, 145, 0.81);
}

#Keskifon a {
    -webkit-animation: titre 3s infinite alternate ease;
    animation: titre 3s infinite alternate ease;
    font-family: Rocks, sans-serif;
    color: rgba(35, 92, 157, 0.81);
}
.ENTETE li {
    font-size: 1.1rem;
    list-style: none;
}
.ENTETE a{
    color: rgba(35, 3, 131, 0.68);
}
footer {
    text-align: justify-all;
    vertical-align: text-bottom;
    color: rgba(116, 55, 55, 0.815);
    font-size: .8rem;
    font-family: Pica, sans-serif;
}
div.invisible  {
    display: none;
    width: 0;
    height: 0;
}
input.invisible {
    display: none;
    width: 0;
    height: 0;
    color: rgba(255, 255, 255, 0);
    border-style: none;
}
input, textarea, select {
    border-radius: 10px; /* Vous pouvez ajuster la valeur selon vos préférences */
    padding: 0.5rem;
    border: 1px solid rgba(197, 74, 4, 0.8);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.12);
}
.STATUT {
    font-family: Pica, serif;
}
/* Définir une animation de clignotement */
@keyframes clignoter {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Appliquer l'animation à la div .total */
div .TOTAL {
    animation: clignoter 1s infinite; /* Durée de l'animation 1 seconde, boucle infinie */
}

div .newmessage{
    line-height: 133%;
}
.figure {
    float: right;
    margin-bottom: 0.5em;
    margin-left: .11111111111111%; /* 1px / 900px */
    width: 33.33333333333333%; /* 300px / 900px */
}

img {
    max-width: 100%;
}

q {
    font-family: Skript,sans-serif;
    font-size: 2.5rem;
    color: #2d3943;
    background-color: rgba(252, 179, 22, 0.64);
}
iframe {
    display: block;
    margin-bottom: 20px; /* Espace entre les iframes et le contenu PHP */
}

#content {
    clear: both; /* Assurez-vous que le contenu commence après les iframes */
}

/* Media Query pour les petits écrans (moins de 600px de large) */
@media screen and (max-width: 600px) {
    .CONTENER {
        grid-template-columns: 1fr; /* Une seule colonne */
    }

    body {
        line-height: normal;
    }
    a{
        line-height: normal;
    }
    .LOGO{
        width: 50%;
        padding: 4.9%;
    }
    .stat {
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 15%;
        border: none;
        overflow: hidden;
    }
    .disp {
        position: fixed;
        left: 0px;
        top: 15.1%;
        width: 100%;
        height: 58%;
        border: none;
    }
    .men {
        position: fixed;
        left: 0px;
        top: 78.1%;
        width: 100%;
        height: 20%;
        border: none;
        overflow: hidden;
    }
    .PROFIL {
        display: block;
        float: left;
        width: 80%;
        padding: 1.2%;
        border: 1px solid #e1ad3c;
        box-shadow: #813e18 2px 2px 6px ;
        border-radius: 50%;
        margin: 0.22%;
        background-color: rgba(251, 230, 198, 0.88);
    }
    .MESSAGE {
        display: block;
        float: left;
        width: 90%;
        padding: 1.2%;
        border: 1px solid #457800;
        border-radius: 25%;
        box-shadow:  #87C38F 2px 2px 6px ;
        margin: 0.22%;
        background-color: rgba(247, 230, 194, 0.88);
    }

}
