@font-face {
    font-family: "piratefont";
    src: url("/static/fonts/blog/Iglesia.ttf");
}

@font-face {
    font-family: "typewriter";
    src: url("/static/fonts/blog/typewriter.otf");
}

body {
    letter-spacing: 2px;
    background-color: #39404A !important;
    color: mintcream;
}

:root {
    --primary-color: #E35865;
    --secondary-color: #bbb;
    --tiertiary-color: #464646;
    --background-color: #39404A;
    --font-first-title: "piratefont";
    --font-title: "typewriter";
    --font-body: "helvetica", sans-serif;
}

.styl-input {
    color: #ffffff;
    background: none;
    outline: none;
    letter-spacing: 1px;
    word-spacing: 10px;
    line-height: 25px;
}

.styl-input::placeholder {
    color: #ffffff4b;
}

.text-saumon {
    color: var(--primary-color);
}

.font-typewriter {
    font-family: var(--font-title), serif;
}

.border-saumon {
    border: 3px solid var(--primary-color);
}

.first-title {
    font-family: var(--font-first-title);
    color: var(--primary-color);
    font-size: 70px;
}

.title {
    font-family: var(--font-title);
    color: var(--primary-color);
    font-size: 50px;
}

.small-title {
    font-size: 30px;
}

.logo {
    filter: invert(56%) sepia(83%) saturate(4085%) hue-rotate(324deg) brightness(97%) contrast(83%);
    max-width: 325px;
    max-height: 325px;
}

.outline-0 {
    outline: none;
}

input:focus {
    outline: transparent;
}


.page-link {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    /* saumon */
    color: white !important;
    /* contraste clair sur fond saumon */
    border-color: var(--primary-color);
}

.post-content{
    font-family: var(--font-body);
    line-height: 1.6;
}

.page-item.disabled .page-link {
    cursor: not-allowed;
    opacity: 0.5;
}

.post-card {
    background: #484f58 !important;
}

.zoom-element {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoom-element:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}


.post-list-image-wrapper {
    width: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    align-items: stretch;
}

.post-list-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.post-list-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 0.5rem;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 0));
}

.post-image-wrapper {
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 50%);
    mask-image: linear-gradient(to bottom, black 10%, transparent 50%);
    height: 377px;
}

.post-image-brick {
    width: 100%;
    height: 115px;
}

.banner-img-fluid {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: translateY(-25%);
}

.floating-menu {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1050;
    border-radius: 0.5rem;
}

.floating-menu .nav-link {
    color: var(--primary-color);
    background: var(--secondary-color);
    border-radius: 50%;
    width: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.floating-menu .nav-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}