body {
    --epita-blue-background: #004563;
    --epita-cyan-light: #06ace8;
    --epita-dark-blue: #112d69;
    --epita-dark-magenta: #b80e80;
    --epita-blue-dragee: #d4e6f7;
    --bulma-body-family: Outfit;
    --bulma-title-strong-weight: 700;
    --bulma-title-weight: 700;
    --bulma-title-color: var(--epita-dark-blue);
    --bulma-link-text: var(--epita-dark-magenta);
    --bulma-subtitle-weight: 500;
    --bulma-link: var(--epita-dark-magenta);
    --bulma-body-weight: 400;
    --bulma-title-family: "Chakra Petch";
}

.hero.is-dark {
    background-color: var(--epita-blue-background);
}

h1, h2, h3, h4, h5, h6, .title {
    --bulma-title-family: "Chakra Petch";
    font-family: var(--bulma-title-family);
}

.content {
    --bulma-content-heading-weight: 700;
}

.card {
    --bulma-card-radius: .25em;
    --bulma-border-weak: rgb(0,0,0,.125);
    border: 1px solid var(--bulma-border-weak);
}

.hidden {
    display: none;
    visibility: hidden;
}

.accordion-section {
    overflow:hidden;
    transition: max-height 300ms ease-in-out;
    height:auto;
    max-height: 100vh;
}

.navbar-dropdown a.navbar-item:not(.is-active, .is-selected) {
    color: var(--bulma-link-text);
}

.is-spinning {
    animation-name: spin;
    animation-duration: 5000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

.accordion-section.collapsed {
    max-height:0;
}

.user-content p:has(img) {
    text-align: center;
}

.is-rounded {
    border-radius: 9999px;
}

.statistic {
    text-align: center;
}

.statistic .subtitle {
    text-transform: uppercase;
}

div.divider {
    margin: 1em 0;
    border-top: 1px solid var(--epita-blue-dragee);
    width: 100%;
}

.hero .hero-body .subtitle {
    max-width: 50em;
}

.tag.is-Event {
    color: white;
    background-color: #9173c8;
}

.tag.is-Blog {
    color: white;
    background-color: #b38c39;
}

.tag.is-Publication {
    color: white;
    background-color: #ca5777;
}

.tag.is-Seminar {
    color: white;
    background-color: #5ea46d;
}

@media (prefers-color-scheme: dark) {
    div.divider {
        border-top: 1px solid rgba(255, 255, 255, 0.25);
    }

    .card {
        --bulma-border-weak: rgb(255, 255, 255, .33);
    }

    #search-container th {
        background-color: #14161a !important;
    }
}

.card.is-hoverable:hover {
    transform: translateY(-5px);
    transition: transform 100ms linear;
}

.is-disabled {
    pointer-events: none;
    opacity: 0.5 !important;
}

.card-footer.is-fullwidth {
    width: 100%;
}

.card.is-fullheight {
    height: 100%;
}

.is-fullheight {
    height: 100%;
}

.is-position-absolute.is-bottom {
    bottom: 0;
}

.is-cover-fit {
    object-fit: cover;
}

.is-position-absolute.is-top-right {
    top: 0;
    right: 0;
}

.is-position-absolute.is-top-left {
    top: 0;
    left: 0;
}

.media-content.is-center {
    align-self: center;
}

.measure {
    max-width: 30em;
}

.measure-wide {
    max-width: 34em;
}

.measure-narrow {
    max-width: 20em;
}

.trigger {
    cursor: pointer;
}

.is-halfwidth {
    width: 50%
}

img.is-fullheight {
    height: 100%;
}

.menu {
    border-radius: .25em;
    padding: 1em;
}

.menu, .menu .menu-label {
    color: white;
    background-color: #b80e80;
}

.menu a {
    color: white;
    background-color: rgba(0, 0, 0, .1);
    margin-bottom: .25em;
}
.menu a:hover {
     color: white;
     background-color: rgba(0, 0, 0, .25);
     margin-bottom: .25em;
 }

.is-link.button {
    background-color: #b80e80 !important;
    color: white;
    border: 0;
}

a[href=""] {
    color: unset;
    cursor: default;
    pointer-events: none;
}

strong {
    color: unset !important;
}

.subtitle.is-link {
    color: #b80e80;
}

.small-after ~ * {
    font-size: .8em;
}

.content p:has(img) {
    text-align: center;
}

.vis-item {
    background: none;
}

.vis-item.professor {
    border-color: #b75fb3;
}
.vis-item.associate-professor {
     border-color: #c987c6;
}
.vis-item.assistant-professor {
    border-color: #dbafd9;
}
.vis-item.researcher {
    border-color: #69a75b;
}
.vis-item.associate-researcher {
    border-color: #8fbd84;
}
.vis-item.assistant-researcher {
    border-color: #b4d3ad;
}
.vis-item.postdoctoral-researcher {
    border-color: #d9e9d6;
}
.vis-item.phd-student {
    border-color: #6885d0;
}
.vis-item.intern {
    border-color: #8ea3dc;
}
.vis-item.research-student {
    border-color: #b3c2e7;
}
.vis-item.student {
    border-color: #d9e0f3;
}
.vis-item.support {
    border-color: #bc8d3d;
}
.vis-item.research-engineer {
     border-color: #cfaa6b;
 }
.vis-item.expert-teacher {
    border-color: #cc5658;
}
.vis-item.guest {
    border-color: #cccccc;
}