html {
    scroll-behavior: auto;
}

body {
    background: #222;
    color: #ddd;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Roboto Slab;
    line-height: 1.5em;
    font-weight: 300;
    margin: 40px;
}

b {
    font-weight: 700;
}

p {
    text-align: left;
}

h1 {
    color: #ffc300;
    font-size: 36px;
    font-weight: 700;
    margin: 40px 20px;
}

h2 {
    color: #ffc300;
    font-size: 30px;
    font-weight: 700;
    margin: 60px 0px;
}

h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 18px 0px;
}

h4 {
    font-size: 20px;
    margin: 5px 0px;
    font-weight: 700;
}

.small {
    font-size: 10px;
}

table {
    text-align: center;
    border-collapse: collapse;
}

th {
    background: #303030;
    font-weight: bold;
}

th,
td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
}

.hollowTable table td,
.hollowTable table tr {
    border: 0px;
}


.karnaughLetter {
    color: #222;
    background-color: #777;
    border: 0px;
}


.tableCarree {
    display: flex;
    align-self: center;
    margin: 0px;
    padding: 0;
    border-collapse: collapse;
}

.tableCarree tr,
.tableCarree th,
.tableCarree td {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    min-width: 35px;
    height: 35px;
}

.TableLatex th,
.TableLatex td {
    padding: 20px 40px;
}

.TableCarree {
    display: flex;
    align-self: center;
}

.TableCarree th,
.TableCarree td {
    font-weight: bold;
    width: 35px;
    height: 35px;
    padding: 0px;
    vertical-align: middle;
}

.row,
.rowCentered,
.col, 
.colCentered {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: fit-content;
    height: fit-content;
    align-items: flex-start;
    justify-content: flex-start;
}

.row {
    flex-direction: row;
}

.col {
    flex-direction: column;
}

.rowCentered,
.colCentered {
    align-items: center;
}

.memoCard,
.memoCardLeft {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: fit-content;
    text-align: center;
}

.memoCardLeft { 
    text-align: left;
    align-items: start;
}

.latex {
    width: fit-content;
}

#menu {
    position: absolute;
    position: fixed;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    background-color: #222;
}

.menuBouton {
    color: #ddd;
    background-color: #222;
    text-decoration: none;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
}

section {
    padding-left: 10px;
    border-left: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 100px;
}

.code {
    font-family: Roboto Mono;
    font-weight: 400;
    color: #aaa;
    background-color: #111;
    padding: 0px 10px;
    border-radius: 5px;
}