@font-face {
    font-family: "Kidult";
    src: url("../fonts/DKLemonYellowSun.otf");
}

:root {
    --picolor: #5f47a3;
}

body {
    background-color: #fff;
    
    /*background-color: #e9e4de;*/
    background-image: url("../img/grains.png");
    
    background-attachment: fixed;
    font-size: 16px;
    font-family: Calibri, system-ui, "Segoe UI Emoji", "Noto Color Emoji", "Apple Color Emoji", sans-serif;
}

section {
    padding-top: 3rem;
    padding-bottom: 3rem;
    position: relative;
}

h2 {
    color: var(--picolor);
    font-size: 2em;
    font-family: "Kidult";
    margin: auto;
    margin-top: 2rem;
    margin-bottom: -.3rem;
    width: fit-content;
    text-align: center;
}

h3 {
    font-size: 1em;
    font-weight: bold;
    display: flex;
    gap: .25rem !important;
}

.underline {
    height: 6px;
    display: block;
    margin: auto;
    margin-bottom: 3rem;
    opacity: 0;
}

@media (min-width: 768px) {
    .underline {
        opacity: 1;
    }
}

a, a:hover, a:focus {
    color: var(--picolor);
}

a {
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
}

p {
    text-align: justify;
}

small, .small {
    font-size: .9em;
    color: #5c5b59;
}

.logo {
    width: 360px;
    max-width: 100%;
    margin: auto;
    display: block;
    margin-top: 80px;
    margin-bottom: 5rem;
}

.list-group-item {
    padding: 2rem 0;
}

.list-group-item p {
    margin-bottom: .5rem;
}

/* Photos */
.photo {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background-size: cover;
}

/* Nombres */
#nombres {
    background-image: url('../img/nombres.png');
    background-attachment: fixed;
    background-size: cover;
    font-size: 1.25em;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.nombres h2 {
    font-size: 2.5em;
}

.nombres p {
    text-align: center;
}

/* Carte */
.map-container {
    position: relative;
    display: inline-block;
}

.click-zone {
    position: absolute;
    cursor: pointer;
    transition: 0.2s;
    aspect-ratio: 1/1;
    /*border: solid 2px #fa0;
    background-color: rgba(67, 255, 100, 0.5);*/
}

.date {
    color: #fff;
    background-color: var(--picolor);
    padding: .5em;
    width: fit-content;
    font-size: .6em;
    font-weight: bold;
}

.rhino-top {
    width: 100px;
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    transition: all ease-in-out .5s;
    z-index: 500;
}

.rhino-top-scrolled {
    top: 1rem;
}

.rhino {
    width: 128px;
    display: block;
    margin: auto;
}

#ateliers .rhino {
    width: 156px;
    position: absolute;
    right: -12rem;
    top: 10rem;
}

/* Partenaires */
.swiper-slide img {
    width: 64px;
}


/* Archives */
#archives .rhino {
    position: absolute;
    left: -11rem;
    top: 20rem;
}

.affiches img {
    height: 100%;
    width: 80px;
}

.affiche-big {
    display: block;
    width: 150px !important;
    margin: auto;
    margin-bottom: 1rem;
}

.modal-header {
    padding: 1.5rem;
}

.modal-title {
    text-align: center;
    margin: auto;
    position: absolute;
    width: 100%;
    left: 0;
    font-size: 1.5em;
}

.btn-close {
    z-index: 900;
}

/* Animations */
.bounce{
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}