/* =================== Présentation ==================== */
.presentation {
    display: flex;
    height: 718px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
}

.introduction {
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    flex: 1 0 0;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    align-self: stretch;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    align-self: stretch;
}

.presentation img {
    width: 540px;
    height: 540px;
    aspect-ratio: 1/1;

    border-radius: 270px;
}

/* =================== Statistiques ==================== */
.informations {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.informations .title {
    display: flex;
    justify-content: space-between;
    align-items: first baseline;
    align-self: stretch;
    margin-bottom: 40px;
}

/* Grille 3 colonnes : joueurs en ligne | membres Discord | citoyens recensés */
.infos-content {
    display: inline-grid;
    row-gap: 10px;
    column-gap: 30px;
    align-self: stretch;
    grid-template-rows: repeat(1,fit-content(100%));
    grid-template-columns:    fit-content(100%) minmax(0,1fr) minmax(0,1fr);
}

.infos-content .card {
    width: 488px;
    height: 307.851px;
    transform: rotate(-3deg);
    aspect-ratio: 149/94;
}

.info {
    display: flex;
    padding: 0 10px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    align-self: stretch;
    justify-self: stretch;
}

.info .etude {
    width: 236px;
    height: 179px;
    aspect-ratio: 236/179;
}

.info .travail {
    width: 236px;
    height: 179px;
    aspect-ratio: 236/179;
}

.info p {
    color: var(--text-secondary);
    text-align: center;
    font-family: Baskervville;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0;
}

/* =================== Carrousel Projets ==================== */
.projects {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    align-self: stretch;
}

.projects-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1420px;
    height: 500px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transform-origin: center top;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.carousel-title {
    color: var(--accent-light);
    font-family: Baskervville;
    font-size: 56px;
    font-weight: 700;
    white-space: nowrap;
}

.carousel-image {
    max-width: 780px;
    width: 60vw;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px var(--shadow-img);
}

.carousel-slide.is-center {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    z-index: 3;
}

.carousel-slide.is-prev {
    transform: translate(calc(-50% - 300px), 40px) scale(0.7);
    opacity: 0.55;
    z-index: 1;
}

.carousel-slide.is-next {
    transform: translate(calc(-50% + 300px), 40px) scale(0.7);
    opacity: 0.55;
    z-index: 1;
}

.carousel-slide.is-hidden {
    transform: translate(-50%, 0) scale(0.4);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.projects-content .navigation {
    justify-content: center;
}