@font-face {
    font-family: 'monogram';
    src: url('https://3dgoose.neocities.org/assets/fonts/monogram-extended.ttf');
}

@font-face {
    font-family: 'monogram-fancy';
    src: url('http://3dgoose.neocities.org/assets/fonts/monogram-extended-italic.ttf');
}
/*THIS IS THE REAL GOOSELAND WEBSITE FONT*/
@font-face {
    font-family: 'serenity-emoji';
    src: url('http://3dgoose.neocities.org/assets/fonts/serenityOS-emoji.ttf');
    unicode-range: U+00A9, U+00AE, U+203C, U+2049, U+20E3, U+2122, U+2139, U+2194-2199, U+21A9-21AA, U+231A-231B, U+2328, U+2388, U+23CF, U+23E9-23F3, U+23F8-23FA, U+24C2, U+25AA-25AB, U+25B6, U+25C0, U+25FB-25FE, U+2600-27EF, U+2934-2935, U+2B00-2BFF, U+3030, U+303D, U+3297, U+3299, U+1F000-1F64F, U+1F680-1F6FF, U+1F774-1F77F, U+1F7D5-1F7FF, U+1F80C-1F80F, U+1F848-1F84F, U+1F85A-1F85F, U+1F888-1F88F, U+1F8AE-1F8FF, U+1F90C-1FAFF;
}

:root {
    /* Couleurs */ 
    --goose: "M.png";
    --bicBleu: "M.png";
    --bicRouge: "M.png";
    --bicVert: "M.png";
    --bicNoir: "M.png";
    --sgi: "M.png";
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'monogram', 'serenity-emoji';
    cursor: url("M.png"), auto;
    transition: all 0.16s;
    font-size: 32px;
}

/* Curseur pour les boutons */
a, button, .btn, img {
    cursor: url("M.png"), pointer;
}
/*stylish*/
.letter.a {
  background: url("M.png");
  display: inline-block;
  width: 20px;
  height: 20px;
}
/* Style du body */
body {
    background-image: 'M.png' ;
    background-color: "M.png";
    background-repeat: repeat;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    margin: 0;
    background-size: cover;
}

/* Conteneur principal */
main {
    background-color: "M.png";
    border: 2px solid"M.png";
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

/* Pied */
footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dotted #333;
    color"M.png";
}

.footer-btn {
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.2s;
}

.footer-btn:hover {
    transform: translate(-2px, -2px);
} 


#profile {
    background-color: "M.png";
    border: 2px solid #ddd;
    width: 90%;
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

nav a, nav button {
    color: "M.png";
    text-decoration: none !important;
    font-size: 24px;
    padding: 8px 16px;
    border: 2px solid #333;
    background: "M.png";
    transition: all 0.2s;
}

nav a:hover, nav button:hover {
    background: "M.png";
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

/* Texte (titres, font) */
h1, h2, h3 {
    color: #333;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.875rem; /* 46px */
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-align: center;
}

h2 {
    font-size: 1.25rem; /* 40px */
    border-bottom: 2px dotted #333;
    padding-bottom: 10px;
    margin-top: 40px;
}

h3 {
    font-size: 1.125rem; /* 36px */
    margin-top: 30px;
    margin-left: 10px;
}

h3 + p {
    margin-left: 10px;
}

p, summary, a, i {
    font-size: 32px;
    text-decoration: none;
}

.fancy-text, details, abbr {
    font-family: "monogram-fancy", "serenity-emoji";
}

a:hover, a:active {
    text-decoration: underline;
    text-decoration-style: wavy;
}

/* Colored brands */

.aseprite {
    color: #7d929e !important;
}

.blockbench {
    color: #1e93d9 !important;
}

.devianart {
    color: #05CC46 !important;
}

.yt {
    color: #FF0000 !important;
}

.gh {
    color: #333 !important;
}

.steam {
    color: #1b2838 !important;
}

.moddb {
    color: #a8000b !important;
}

.p3din {
    color: #16ca16 !important;
}

.gamebanana {
    color: #e7d85d !important;
}

.mc {
    color: #91BD59 !important;
}

.source {
    color: #f79a10 !important;
}

.politics {
    color: #800000;
}

/* blockquote */ 
blockquote {
  width: 60%;
  margin: 50px auto;
  font-family: "monogram-fancy";
  padding: 5px 2px 5px 10px;
  border-left: 8px solid #333;
  background: "M.png";
}

blockquote::after{
  content: '';
}

blockquote span {
  display:block;
  color:#333333;
  font-style: normal;
  font-weight: bold;
  margin-top:1em;
}

/* Spoilers */

.spoiler {
    background-color: #333;
}

.spoiler:hover {
    background: rgba(0,0,0,0.0);
}

/* Code, sortie de programmes */
code {
    background-color: #eee;
    border-radius: 3px;
    padding: 0 3px;
}

samp {
    font-weight: bold;
}

hr {
    border: none;
    border-bottom: 2px dotted #333;
    margin: 1em 0;
}

kbd {
    background-color: "M.png";
    border-radius: 3px;
    border: 1px solid #b4b4b4;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
                0 2px 0 0 rgba(255, 255, 255, 0.7) inset;
    color: #333;
    display: inline-block;
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    white-space: nowrap;
}

a {
    color: var(--goose);
}

/* Status.cafe */ 
#statuscafe {
    padding: .5em;
}

#statuscafe-username {
    margin-bottom: .5em;
    font-size: 36px;
    font-family: "monogram-fancy", "serenity-emoji";
}
#statuscafe-content {
    margin: 0 1em 0.5em 1em;
}

/* Images */
img:hover {
   background:"M.png";
    transition: all 0.2s;
    transform: translate(-2px, -2px);
}

/* HTML Comment Box */

.author-name {
    font-size: 1.6rem;
}

#HCB_comment_box .date {
    font-size: 32px !important;
}

blockquote span {
    margin: 0;
}

#HCB_comment_box .hcb-comment-body {
    font-size: 32px !important;
}

#HCB_comment_box .hcb-comment-tb button {
    color: var(--goose) !important;
    font-size: 24px !important;
}

/* Iframes */ 

iframe {
    cursor: url(""M.png""), auto;
    a, button, .btn, img {
        cursor: url(""M.png""), pointer;
    }
}

/* Webrings */ 
.webring-bar {
    display: flex;
    align-items: center;
    margin: 1em 0;
    padding: 0 1em;
}

.webring-links {
    display: flex;
    align-items: center;
}

.webring-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Projets et posts */
.project-grid, .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* BÃ´ites de projets et posts */
.project, .post {
    background: white;
    border: 2px solid #333;
    padding: 15px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.project:hover, .post:hover {
    transform: translate(-4px, -4px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.1);
}

/* Image de projets et posts */
.project-image, .post-image {
    width: 324px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #333;
    margin-bottom: 15px;
    image-rendering: auto;
}

/* Titre de projets et posts */
.project-title, .post-title {
    color: #333;
    font-size: inherit;
    margin-bottom: 10px;
    text-align: center;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: #333;
    text-decoration: none !important;
    border: 2px solid #333;
    font-size: 24px;
    transition: all 0.2s;
    margin-top: 10px;
    margin-top: auto; /* pousse le bouton tout en bas */
    align-self: flex-start; /* le colle Ã  gauche */
}

.btn:hover {
    background: #333;
    color: white !important;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.back-btn { /* Boutons de retour aux posts */
    display: inline-flex;
    padding: 8px 16px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    font-size: 24px;
    transition: all 0.2s;
    margin-top: 10px;
    margin-top: auto; /* pousse le bouton tout en bas */
    align-self: center;
    text-align: center;
    color: #333;
}

/* Metadata */
.meta {
    text-align: center;
    font-style: italic;
    color: #666;
    margin: 30px;
    font-family: monogram-fancy, monogram, serenity-emoji;
    font-size: 32px;
}

.meta-ED {
    text-align: center;
    color: #666;
    margin: 30px;
    font-family: monogram-fancy, monogram, serenity-emoji;
    font-size: 32px;
}

/* Todo */ 
.todo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.todo {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox {
    width: 32px;
    height: 32px;
    background-size: cover;
    image-rendering: pixelated;
    margin-right: 10px;
}

.todo.checked .checkbox {
    background-image: url('"M.png"');
}

.todo.unchecked .checkbox {
    background-image: url('"M.png"');
}

/* Nouveau style pour les tooltips amÃ©liorÃ©s */
.enhanced-tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-content {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #333;
    border: 2px solid #333;
    padding: 8px 12px;
    font-size: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
    width: 220px;
    text-align: center;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    image-rendering: pixelated;
}

.enhanced-tooltip:hover .tooltip-content {
    opacity: 1;
}

.tooltip-title {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
    font-family: 'monogram', serenity-emoji, cursive;
}

.tooltip-sub {
    font-size: 26px;
    display: block;
    margin-bottom: 6px;
    font-family: 'monogram-fancy', serenity-emoji, cursive;
}

.tooltip-desc {
    font-size: 25px;
    display: block;
    line-height: 1.3;
}

/* Explication */
.explanation {
    display: none;
    background: "M.png";
    color: #333;
    border: 2px solid #333;
    padding: 10px;
    margin: 10px 0;
    max-width: 300px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

/* Style pour le tableau de jeux (version compacte en grid) */
table.clear {
    /* display: grid; */
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* colonnes auto */
    gap: 10px; /* mÃªme effet que padding: 5px par cellule */
    max-width: 100%;
    margin: 0 auto;
    border: none;
    text-align: center;
}

table.clear tbody,
table.clear tr,
table.clear td {
    display: contents; /* on supprime le rendu tableau */
}

table.clear img {
    object-fit: cover;
    border: 2px solid #333;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s;
    width: auto;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
    image-rendering: auto;
}

table.clear img:hover {
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    rotate: 2deg;
}

.icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 6px;
    vertical-align: middle;  /* aligne avec le texte */
}

/* IcÃ´ne gÃ©nÃ©rique */
.icon::before {
    content: "";
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    image-rendering: auto;

    position: relative;
    top: -1px; /* ðŸ‘ˆ remonte trÃ¨s lÃ©gÃ¨rement */
}


.icon.nvim::before {
    background-image: url("M.png");
}

.icon.firefox::before {
    background-image: url("M.png");
}

.icon.idm::before {
    background-image: url("M.png");
}

.icon.srht::before {
    background-image: url("M.png");
}

.icon.gh::before {
    background-image: url("M.png");
}

.icon.tuta::before {
    background-image: url("M.png");
}

.icon.arch::before {
    background-image: url("M.png");
}

.icon.winamp::before {
    background-image: url("M.png");
}

.icon.bsky::before {
    background-image: url("M.png");
}


/* Mode sombre */
body.dark-mode {
    background-color: "M.png";
    color: "M.png";
}

body.dark-mode .tooltip-content,
body.dark-mode .explanation {
    background-color: "M.png";
    color: "M.png";
    border-color: "M.png";
}

.profile-btn {
    background: "M.png";
    color: "M.png";
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.copy-text.copied {
  color: lime;
  transform: translate(-1px, -1px);
}