*{
    --size-bande-noire : 4vh;
    --bezier : cubic-bezier(.49,.33,.35,1.02);

    /* Theme colors */
    --main-text-color: #ffffff;
    --hovered-text: #ffdb7c;
    --desc-text-color: #755888;
    --theme-light: #fff4fe;
    --theme-median: #daacd6;
    --theme-dark: #753f70;
    --theme-darker: #341732;

    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin: 0;
    padding: 0;
    cursor: default;
    text-decoration: none;

    transition: all;
    transition-duration: 250ms;
    transition-timing-function: var(--bezier);
}
*::selection{
    background-color: var(--theme-darker);
    color: var(--theme-median);
}
body{
    overflow-x: hidden;
}
h1{
    /*margin-bottom: 5vw;*/
    font-size: 3em;
    font-weight: 400;
    letter-spacing: 5px;
    text-shadow: 2px 2px 0px black;
    background-image: linear-gradient(to right, var(--theme-light),var(--theme-median),var(--theme-dark),var(--theme-dark),var(--theme-darker));
    margin-left: calc(-2 * var(--padding-left));
    text-align: center;
    padding: 2vw;
    color: var(--theme-light);
    font-family: "Kanit", sans-serif;

    box-shadow: 0px 0px 20px 5px var(--theme-darker);
}
.bold{
    font-weight: 500;
}
.extra-bold{
    font-weight: 800;
    text-shadow: 1px 1px 0px var(--theme-darker);
}
header{
    #header-img{
        width: 100vw;
        transform: translateY(-200px);
        position: absolute;
        z-index: -1;
    }
    #bande-noire{
        height: var(--size-bande-noire);
        width: 100vw;
        background-color: #1d1f1f;
        /*background-image: linear-gradient(to left, white, black, black, white);*/
        display: flex;
        justify-content: space-between;
        position: fixed;
        top: 0;
        z-index: 10;

        box-shadow: 0px 0px 10px black;
    }
    p{
        color: white;
        margin: 0;
        text-align: center;
        line-height: var(--size-bande-noire);
        height: var(--size-bande-noire);
        justify-self: center;
    }
    #user-conf{
        width: fit-content;
        display: flex;
        margin-right: 2vw;
    }
    #bande-noire img, header #bande-noire div img {
        height: 100%;
        margin-left: 1vw;
        cursor: pointer;

        transition-duration: 500ms;
    }
    #more-tabs:hover{
        transform: scale(110%);
        transform: rotate(135deg);
    }
    #login:hover{
        transform: scale(80%);
    }
    #inversion-couleur{
        /*background-image: linear-gradient(to left, black, white, black);*/
        background-color: white;
        width: 100vw;
        height: var(--size-bande-noire);
        position: absolute;
        top: 0;
        mix-blend-mode: difference;
        pointer-events: none;

        transform: scaleX(0%);

        transition: all;
        transition-duration: 500ms;
        transition-timing-function: var(--bezier)
    }
    #bande-noire:hover #inversion-couleur{
        transform: scaleX(100%);
    }
    #tabs{
        margin-top: 8vh;
        margin-bottom: 15vh;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: space-around;
        backdrop-filter: blur(2px);
        height: 15vh;
        align-items: center;
        list-style-type: none;

        box-shadow: 0px 10px 5px rgba(0, 0, 0, 0.35);

        a{
            height: 100%;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        li{
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            border-bottom: 1px solid white;
            height: 100%;
            text-align: center;
            line-height: 100%;
            width: 15vw;
            background-color: rgba(0, 0, 0, 0);
            cursor: pointer;
            p{
                color: white;
            }
        }
        li *{
            font-weight: 400;
            letter-spacing: 5px;
            line-height: 1.5em;
            cursor: pointer;
        }
        li:hover{
            background-color: rgba(255, 255, 255, 0.25);
            transform: scaleX(102%);
            *{
                color: var(--hovered-text);
            }
        }
    }
}