/*Dédié a un nouveau style général du site*/
/*Encore en cours de rédaction*/

/*Définition de couleur custom*/
/*Couleur avec -a indique qu'elles sont transparentes*/

@font-face {
    font-family: pixelOperator;
    src: url("../media/fonts/pixel_operator/PixelOperatorHB.ttf") format("truetype");
}

@font-face {
    font-family: pikmin;
    src: url("../media/fonts/Pikmin_Fonts/pikmin_by_theadorableoshawott-da33cfr.ttf") format("truetype");
}


/*Paramètres du body, définit également le fond de l'écran principal*/
body{
    color:white;
    font-family: 'Ycomputer-Regular';
    font-size: 13px;
    background: url("../media/pictures/PanelDePonBG.png");
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 105%;
}

/*Permet de mettre des bandes rétros en bas du sites, oui c'est débiles mais c'est génial*/
#footer {
    width: 100%;
    margin: 0 auto;
    height: 60px;
    display: flex;
    flex-direction: row;
    bottom: 0;
    position: absolute;
    justify-content: space-between;
}

/*Permet de créer une boite permettant de manière flexible (flex) plusieurs autres boites pour créer comme un grillage s'auto redimensionnant*/
#corps-flexible {
    width: 1200px;
    margin: auto !important;
    display: flex;
    flex-direction: row;
    gap: 3px;
}

/*Paramètres d'une box basique pour sa taille et son emplacement*/
.box {
    background:url(../media/pictures/placeholder.png);
    background-size:cover;
    margin: 3px;
    box-sizing: border-box;
    border-width: 2px;
    border-style: outset;
    border-radius: 3px;
    position: relative;
    overflow: scroll;
    scrollbar-width: none;
}

/*Les PrettyBox sont des boites personnalisés, elles contiennent de la couleur, des paramètres de textes etc etc, aucune n'est identique*/

.prettyBoxI {
    border-width: 7px;
    border-style: solid;
    border-image: url(../media/pictures/TemplateStamp.png) 7 fill round;
    background-image: linear-gradient(180deg, #e4fbf8, #c3f7ed, #b9fdf1, #acf7e9, #85ffe9, #a5f9e9, #96eecd);
    padding: 10px !important;
    font-family : pixelOperator;
    color: black;
}

.prettyBoxH {
    border-radius: 3%;
    border: solid 2px #99226b;
    border: black 2px ridge;
    padding: 10px;
}

.prettyBoxJ {
    overflow: revert;
    background-image: linear-gradient(180deg, #e4fbf8, #c3f7ed, #b9fdf1, #acf7e9, #85ffe9, #a5f9e9, #96eecd);
}

.photo {
    border-width: 7px;
    border-style: solid;
    background: #bdd6ff;
    border-image: url(../media/pictures/TemplateStamp.png) 7 fill round;
}

.legend {
    color: #694b51;
    font-family : pikmin;
    background: #bff590;
    border-radius: 15px;
    padding-left: 5px;
    overflow: revert;
}

/*PrettyBox*/

/*Text général pour le séparer du text du body*/
.generalText{
    font-size: 14px;
    text-shadow: 0 0 0;
}

/*Pour rendre une boite "flexible"*/
.flex {
    display: flex;
    flex-direction: row;
    gap: 3px;
}

/*Boite Main*/
.main {
    flex: 1;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0%;
}

/*Animation lorsqu'un objet est survolé*/

#marquee {
    display: inline-block;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.header {
    font-size: 35px;
    color: orangered;
    overflow: hidden;
    font-family: Daydream;
    white-space: nowrap;
    margin-top:0;
}

#introduction {
    font-size: 20px;
    color: black;
    text-align: justify;
    font-family: pixelOperator;
}

#introductionTitle {
    font-style: italic;
    text-decoration: underline dotted;
    margin-left:10px;
    margin-top:10px;
}

h5.buttonsTitle, a, .rainbow_text_animated {
    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s ease-in-out infinite;
    background-size: 400% 100%;
}

@keyframes rainbow_animation {
    0%,100% {
        background-position: 0 0;
    }

    50% {
        background-position: 100% 0;
    }
}

.pfp {
    width:90px;
    position:absolute;
    top: 13px;
    left: 256px;
    border-radius: 50%;
    border: solid 2px #99226b;
}

.troisdeRed {
    background-color: #DC2400;
    box-shadow: -2px -2px 0px 0px #FF7516;
    text-transform: uppercase;
    margin-right: 5px;
    color: #ffffff;
}

.troisdeBleu {
    background-color: #1100DC;
    box-shadow: -2px -2px 0px 0px #165BFF;
    text-transform: uppercase;
    margin-right: 5px;
    color: #ffffff;
}


/*Marquee de base*/
.marquee {
    display: inline-block;
    animation: marquee 9s linear infinite;
}

.marqueeContainer {
    overflow: hidden;
}

/*Animation du marquee*/
@keyframes marquee {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}
/*Différents éléments nécessaire au marquee*/



/*Force le redimenssionnement pour les vieux boutons*/
/*Permet d'être applé d'un div et d'être appliqué à toutes les balises img, évite des répétitions dans l'HTML*/
.oldButton > img {
    height: 31px;
    width: 88px;
}
