@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;700&family=Lato:wght@400;700&display=swap');

body {
    background-color: #fdfdf6;
    font-family: 'Lora', serif;
}

h1 {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
}

h1:focus {
    outline: none;
}

.btn-primary {
    color: #f6f6f6;
    background-color: rgba(25, 25, 112, 0.8);
}

.btn-primary:hover {
    background-color: rgb(25, 25, 112);
}

.bordure {
    border: 3px solid transparent;
    border-image: url(images/bordure-bouton2.png) 5;
}

.page-content-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-top: 40px;
}

.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.85) blur(1px);
    pointer-events: none;
    margin-top: 65px;
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(220, 220, 255, 0.7);
    z-index: 2;
    pointer-events: none;
}

.page-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: #f6f6f6;
    border-radius: 15px;
}

    .page-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

.page-content img {
    width: 100%;
    height: auto;
    margin: 15px 0;
}

.post-content img {
    width: 100%;
    height: auto;
    margin: 15px 0;
}

.page-content iframe {
    max-width: 100%;
}

.post-content table {
    width: 100%;
    border: solid 1px #ccc;    
}

.post-content table td {
    border: solid 1px #ccc;
}

.container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    .post-content table td {
        font-size: 0.9rem;
    }
}

@media (max-width: 500px) {
    .post-content table td {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .post-content table td {
        font-size: 0.6rem;
    }
}