/*#region COLORS */
:root {
    --opacity: 1;
    --brown: #9c6644;
    --cream: #fff5e6;
    --white: #faf8f4;
    --black: #4a4a4a;
    --pink: #ffd1dc;
    --red: #A6123B;
    --blackFooter: #4a4a4a;
    --whiteFooter: rgba(255, 255, 255, 0.8);
    --brownScrollbarTrack: #9c6644;
    --brownScrollbarThumb: #7d513a;
    --open: #347D39;
    --realBlack: rgb(0 0 0 / var(--opacity));
    --close: #8256D0;
}

[data-theme="dark"] {
    --cream: #4a4a4a;
    --black: #fff5e6;
    --red: #e52054;
}

.colorTitle {
    color: var(--red) !important;
}

.colorCream {
    color: var(--cream) !important;
}

.colorDiscord {
    color: #5865f2
}

/*#endregion COLORS */

/*#region FONTS */
.font-text {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
}

.font-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
}

/*#endregion FONTS */

/*#region BODY */
body {
    background-color: var(--cream) !important;
    transition: background-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--brownScrollbarTrack);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brownScrollbarThumb);
}

.grain {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: inherit;
}

/*#endregion BODY */

/*#region HEADER */
.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background: var(--black);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    padding: 0.75rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.dark-icon {
    display: none;
}

[data-theme="dark"] .light-icon {
    display: none;
}

[data-theme="dark"] .dark-icon {
    display: inline;
}

.sticky-header {
    position: sticky;
    top: 30px;
    z-index: 1000;
}

.nav-list {
    backdrop-filter: blur(20px) saturate(1.7);
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #243c2c;
    border-radius: 20px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
}

.nav-list li {
    margin: 0 10px;
}

.nav-list a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s, background-color 0.3s;
}

.nav-list a:hover {
    color: #00d084;
}

.nav-list li.active a {
    background-color: #1e4e3d;
    border-radius: 10px;
    padding: 5px 15px;
    color: #00d084;
}

/*#endregion HEADER */

/*#region PRESENTATION */
#presentation {
    margin-top: 4rem !important;
}

#boxDiscord {
    background-color: var(--black);
    color: var(--cream);
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
}

#animeImg {
    animation: animeImg 10s infinite;
}

.pfp {
    border-radius: 50%;
}

.dnd {
    color: #f04747;
}

.idle {
    color: orange;
}

.online {
    color: #33FF00;
}

.offline {
    color: gray;
}

@keyframes animeImg {

    0%,
    100% {
        transform: rotate(0deg);
        transform-origin: 50% 50%;
    }

    10% {
        transform: rotate(8deg);
    }

    20%,
    40%,
    60% {
        transform: rotate(-10deg);
    }

    30%,
    50%,
    70% {
        transform: rotate(10deg);
    }

    80% {
        transform: rotate(-8deg);
    }

    90% {
        transform: rotate(8deg);
    }
}

/*#endregion PRESENTATION */

/*#region PROJETS */
#projets {
    margin-top: 20rem !important;
}

.linkProjets {
    color: var(--brown) !important;
    text-decoration: none;
    color: inherit;
    text-decoration: inherit;
}

/*#endregion PROJETS */

/*#region VIEWERMYHUB */
.open {
    fill: var(--open) !important;
}

.close {
    fill: var(--close) !important;
}

.svgColor {
    fill: var(--brown) !important;
}

.font12 {
    font-size: 12px !important;
}

.aHub {
    color: inherit !important;
    text-decoration: inherit !important;
}

.textVMH {
    color: var(--black) !important;
}

/*#endregion VIEWERMYHUB */

/*#region FOOTER */
#footer {
    margin-top: 10rem !important;
}

.divSocial {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social {
    background: var(--black);
    color: var(--cream);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    backdrop-filter: blur(8px);
}

.social:hover {
    transform: translateY(-5px);
    color: var(--red);
}

/*#endregion FOOTER */

/*#region DASHBOARD*/
.cardAll {
    background-color: white;
    color: var(--black);
    border-radius: 5px 5px 5px 5px;
}

.forAWebsite {
    text-decoration: underline !important;
    color: rgb(10 88 202) !important;
}

.gauge-container {
    max-width: 300px;
    max-height: 200px;
    margin: auto;
    text-align: center;
}

.gauge-svg {
    width: 100%;
    height: auto;
}

.colorLink {
    color: #0d6efd !important;
}

.cardComment {
    background-color: var(--black);
    color: var(--white);
    border-radius: 5px 5px 5px 5px;
}

/*#endregion DASHBOARD*/