/**
 * Theme Name: Coder Facile - Theme
 * Theme URI: https://github.com/timber/
 * Description: Un thème customisé fabriqué avec Timber
 * Author: Le Nekomancien
 */

/* Déclaration de Audiowide */
@font-face {
    font-family: 'Audiowide';
    src: url('fonts/Audiowide-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Déclaration de Slabo 13px */
@font-face {
    font-family: monospace;
    src: url('fonts/Slabo13px-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #284B63;
    /*Indigo Dye*/
    --secondary-color: #3C6E71;
    /*Caribbean Current*/
    --white-color: #D9D9D9;
    /*Platinium*/
    --black-color: #353535;
    /*Jet*/
}

html {
    margin: 0px;
    scroll-behavior: smooth;
}

body {
    font-family: monospace, serif;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: 'Audiowide', sans-serif;
}

h1 {
    padding: 0;
    margin: 0;
}

nav ul { list-style: none;}
ul {
    list-style:inside;
    list-style-type: square;
    padding: 0;
}

a {
    text-decoration: none;
}

main a {
    color: #7ec699;
    font-weight: 600;
}
main a:hover {
    color: var(--secondary-color);
}

.copy-code-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #444;
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.copy-code-btn:hover {
    opacity: 1;
}

pre {
    position: relative;
}