body {
    /* background: #F8E483; */
    background: #F8E483;
    background-size: contain;
    height: 100vh;
    overflow: visible;
    font-family: 'Comic Relief', sans-serif;
}

body:has(.global) {
    background-image: url("elisa.jpg");
    background-repeat: repeat;
}

.buttons {
    width: 100%;
    padding: 5px;
    display: flex;
    justify-content: end;
    gap: 5px;
}

.global {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
}

.column {
    height: 800px;
    width: 220px;
    background-color: #D577A7;
    color: black;
    border-radius: 5px;
    padding: 8px;
    display: flex;
    justify-content: center;
}

.column>div {
    width: 100%;
    text-align: center;
    overflow-wrap: break-word;
}

.column h2 {
    background-color: #FBEFDE;
    width: auto;
    font-size: medium;
    margin: 8px;
    border-radius: 3px;
    text-align: center;
    color: black;
}

.column a {
    color: black;
}

.posts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 700px;
    width: 100%;
    inline-size: 600px;
    overflow-wrap: break-word;
}

:link { color: #0000EE; }
:visited { color: #551A8B; }
:link:active, :visited:active { color: #FF0000; }

@media (max-width:1024px) {
    .posts {
        margin: 0 16px;
    }
}

img, video {
    max-width: 300px;
    height: auto;
}

@media (min-width: 1024px) {
    img {
        max-width: 550px;
    }
}

.post {
    max-width: 700px;
    width: 100%;
    height: fit-content;
    border-radius: 5px;
    background-color: #FBEFDE;
    color: black;
}

.post h2 {
    background-color: #D577A7;
    width: auto;
    font-size: medium;
    border-radius: 3px 3px 0 0;
    text-align: center;
    color: #FBEFDE;
    padding: 3px;
}

.post_content {
    padding: 20px;
}

.post_infos {
    padding: 10px;
    font-size: small;
    justify-content: end;
    display: flex;
    gap: 10px;
    font-style: italic;
}


.main_photo {
    height: 150px;
    width: 150px;
}

.table_div {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.table_under_div {
    max-width: 700px;
    width: 100%;
}

table {
    margin: 0 auto;
    color: #333;
    background: white;
    border: 1px solid grey;
    font-size: 12pt;
    border-collapse: collapse;
    text-align: center;
    width: 100%;
}

table thead th,
table tfoot th {
    background: #D0C8DE;
}

table caption {
    padding: .5em;
}

table th,
table td {
    padding: .5em;
    border: 1px solid lightgrey;
}

.desktop-only {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-only {
        display: flex;
    }
}

button:not(.table_button) {
    align-items: center;
    background-clip: padding-box;
    background-color: #D0C8DE;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: black;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui, -apple-system, system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
    margin-bottom: 20px;
}

button:hover,
button:focus {
    background-color: #E1F0EF;
    box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
}

button:hover {
    transform: translateY(-1px);
}

button:active {
    background-color: #D0C8DE;
    box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
    transform: translateY(0);
}

.pagination {
    color: black;
    margin-bottom: 5px;
    margin-top: 5px;
    background-color: #D577A7;
    padding: 5px;
    text-align: center;
    width: 100%;
}

.pagination a:not(.current_page) {
    color: #FBEFDE;
}

.current_page {
    color: #E1BC61;
    font-weight: bolder;
}