/* ----------------------------- OpenDyslexic 3 ----------------------------- */

@font-face {
    font-family: "OpenDyslexic Three";
    src: url("./OpenDyslexic3-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "OpenDyslexic Three";
    src: url("./OpenDyslexic3-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

/* ----------------------------- OpenDyslexic 2 ----------------------------- */

@font-face {
    font-family: "OpenDyslexic Two";
    src: url("./OpenDyslexic-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "OpenDyslexic Two";
    src: url("./OpenDyslexic-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "OpenDyslexic Two";
    src: url("./OpenDyslexic-BoldItalic.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "OpenDyslexic Two";
    src: url("./OpenDyslexic-Italic.otf") format("opentype");
    font-weight: normal;
    font-style: italic;
}

/* ----------------------------- OpenDyslexic Alta ----------------------------- */

@font-face {
    font-family: "OpenDyslexic Alta";
    src: url("./OpenDyslexicAlta-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "OpenDyslexic Alta";
    src: url("./OpenDyslexicAlta-Bold.otf") format("opentype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "OpenDyslexic Alta";
    src: url("./OpenDyslexicAlta-BoldItalic.otf") format("opentype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "OpenDyslexic Alta";
    src: url("./OpenDyslexicAlta-Italic.otf") format("opentype");
    font-weight: normal;
    font-style: italic;
}

/* ----------------------------- OpenDyslexic Mono ----------------------------- */

@font-face {
    font-family: "OpenDyslexic Mono";
    src: url("./OpenDyslexicMono-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* ----------------------------- Custom Elements ----------------------------- */

html {
    background-color: #1f2120;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}

body {
    background-color: #2f3742;
    width: 60%;
    height: 100%;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 18%;
    padding: 4% 4%;
    border-radius: 2px;
    box-shadow: 0px 0px 1px #000000;
    color: white;
}

body > * {
    transition: background-color 0.5s ease;
}

/* ----------------------------- Speaking ----------------------------- */

.speaking {
    background-color: rgb(250, 216, 26) !important;
    padding: 2px 8px;
    border-radius: 8px;
    color: black;
}

/* ----------------------------- Scrollbar ----------------------------- */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1f2120;
}

::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    border-radius: 4px;
    transition: background 0.5s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #777777;
}
