:root {
    --font-family: 'Karrik';
    --font-text: 'Libertinus Sans';
    --title-font-size: calc(36px + (68 - 36) * ((100vw - 300px) / (1920 - 300)));
    --font-size: calc(12px + (20 - 12) * ((100vw - 300px) / ( 1920 - 300 )));
    /* --font-size: 20px; */
    --line-height: 1.4rem;
    --margin: 20px;
    --mini-margin: 4px;
    --color-fr-1: DarkSlateGray;
    --color-fr-2: Teal /*CadetBlue*/;
    --color-en-1: rgb(75, 0, 130) /*BlueViolet*/;
    --color-en-2: SlateBlue;
    --transition: all 0.2s ease-out;
}

@font-face {
    font-family: 'Karrik';
    src: url('fonts/Karrik-Italic.ttf') format('truetype'),
        url('fonts/Karrik-Italic.woff') format('woff'),
        url('fonts/Karrik-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Karrik';
    src: url('fonts/Karrik-Regular.ttf') format('truetype'),
        url('fonts/Karrik-Regular.woff') format('woff'),
        url('fonts/Karrik-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

*{
  box-sizing: border-box;
  
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size);
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: var(--color-fr-1);
}

h1,
h2,
h3,
.filterdropbtn{
    font-family: var(--font-family);
}
p, figcaption{
    font-family: var(--font-text);
}
p em,p i{
    font-style: italic;
}
p strong, p b{
    font-style: italic;
}

.hidden:not() {
  display: none;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.fr{
    color: var(--color-fr-1);
}
.fr a{
    color: var(--color-fr-2);
}

.fr figure{
    background-color: var(--color-fr-1);
    
}
.en{
    color: var(--color-en-1);
}
.en a{
    color: var(--color-en-2);
}
.en figure{
    background-color: var(--color-en-2);
  
}
