@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Jost';
    src: url('../font/Jost-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Exo';
    src: url('../font/Jost-Exo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Exo';
    src: url('../font/Exo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Exo';
    src: url('../font/Exo-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Exo';
    src: url('../font/Exo-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/* Link styles */
a {
    cursor: pointer;
    color: #000;
}
a:hover {
    color: #0074D9;
}
body.dark-theme a {
    color: #fff;
}
body.dark-theme a:hover {
    color: #0074D9;
}
/* Link styles */

body {
    font-family: 'Jost', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    text-align: center;
    font-weight: bold;
    color: #0074D9;
    font-family: 'Exo', sans-serif;
}

main {
    padding: 0px 60px 1em 60px;
    margin-bottom: 80px; /* to avoid overlap with the bottom carousel */
}


@media (max-width: 768px) {
    main {
        padding: 0px 10px 1em 10px;
        margin-bottom: 80px; /* to avoid overlap with the bottom carousel */
    }
}

/* special desccription for carousel */
.tag-list {
    margin: 0;
    padding-inline: 0;
    list-style: none;
}
.tag-list li {
    padding: 10px 1rem;
}

table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}
td, th {
    border: 1px solid #ddd;
    padding: 8px;
    border-collapse: collapse;
}
td {
    text-align: center;
}
th {
    background-color: #0074D9;
    border: 1px solid;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}

input:focus {
  background-color: lightblue;
}
textarea:focus {
  background-color: lightblue;
}

body.dark-theme {
    background: #181a1b;
    color: #e0e0e0;
}
body.dark-theme h1,
body.dark-theme h2,
body.dark-theme h3 {
    color: #4fc3f7;
}
body.dark-theme main {
    background: transparent;
    color: #e0e0e0;
}

body.dark-theme tr:nth-child(even) {
    background-color: #23272a;
}

input {
    color-scheme: light;
}

select {
    color-scheme: light;
}

button {
    color-scheme: light;
}

textarea {
    color-scheme: light;
}

body.dark-theme input {
    color-scheme: dark;
}

body.dark-theme select {
    color-scheme: dark;
}

body.dark-theme button {
    color-scheme: dark;
}

body.dark-theme textarea {
    color-scheme: dark;
}

body.dark-theme input:focus {
    color-scheme: dark;
    color: #000;
}

body.dark-theme textarea:focus {
    color-scheme: dark;
    color: #000;
}

body.dark-theme td {
    color: #e0e0e0;
}