:root {
    --color-background: #2A0321;
    --color-text: whitesmoke;
    --color-chill: #3366ff;
    --marquee-font-size: min(max(12px, 2vw), 22px);
    --headline-font-size: min(max(40px, 6vw), 70px);
    --paragraph-font-size: min(max(16px, 4vw), 22px);
    --section-heading-font-size: min(max(30px, 4vw), 50px);
    --duration: 300ms;
    --ease: cubic-bezier(0.33, 1, 0.68, 1);
}

* {
    box-sizing: border-box; 
}

body {
    background-color: var(--color-background);
    /* font-family: "Inter", sans-serif; */
    font-family: 'Alegreya Sans SC', sans-serif;
    color: var(--color-text);
    width: 100%;
    transition: background-color var(--duration) var(--ease);
}

.retour {
	color: #ffffff;
	margin: 60px 0 0 67px;
	display: flex;
	align-items: center;
	text-decoration: none;
}
.retour p {
	color: #ffffff;
    font-weight: 700;
    padding: 0 0 30px 14px;
}
.retour img {
	width: 2.7%;
	margin: 0 0 30px 5px;
}

.deux-parties {
    display: flex;
    align-items: center;
}

.texte {
    width: 60%;
}

.image {
    width: 40%;
}
.image img {
    width: 110%;
}

.gif-section img {
    width: 100%;
}

.page-content ul {
    font-size: 1.2rem;
}
.page-content ul > li {
    margin-top: 0;
    line-height: 2rem;
}

.page-content {
    max-width: 100ch;
    padding: 4rem;
    margin: 8rem auto;
    margin-top: 50px;
}
.page-content * + * {
    margin-top: 2.5rem;
}
.page-content a {
    color: var(--color-chill);
}
.page-content h1 {
    font-size: var(--headline-font-size);
    font-weight: 700;
    line-height: 1.2;
}
.page-content h2 {
    margin-top: 6rem;
    font-size: var(--section-heading-font-size);
    font-weight: 700;
    line-height: 1.2;
}
.page-content em {
font-style: italic;
}
.page-content p {
    font-size: var(--paragraph-font-size);
    line-height: 1;
    letter-spacing: 0.0125rem;
}

.page-content__section {
    transition: opacity var(--duration) var(--ease);
}
.page-content__section h2 {
    transform-origin: 50% 100%;
}

.page-content__section.active {
    opacity: 1;
}
.page-content__section.active h2 {
    -webkit-animation: activate calc(var(--duration) * 2) var(--ease) forwards;
            animation: activate calc(var(--duration) * 2) var(--ease) forwards;
}
@-webkit-keyframes activate {
    25% {
    color: var(--color-chill);
    transform: translateY(-12px);
}
    40% {
    transform: translateY(2px);
}
    50% {
    transform: translateY(-4px);
}
    60% {
    color: var(--color-text);
    transform: translateY(1px);
}
    65%, 100% {
    opacity: 1;
    transform: translateY(0);
}
}
@keyframes activate {
    25% {
    color: var(--color-chill);
    transform: translateY(-12px);
}
    40% {
    transform: translateY(2px);
}
    50% {
    transform: translateY(-4px);
}
    60% {
    color: var(--color-text);
    transform: translateY(1px);
}
    65%, 100% {
    opacity: 1;
    transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
    .page-content__section.active h2 {
    -webkit-animation: none;
            animation: none;
    }
}

.marquee-container {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-weight: 700;
    /* font-family: "Karla", sans-serif; */
    font-family: 'Alegreya Sans SC', sans-serif;
    z-index: 1;
}

.marquee {
    position: absolute;
    font-size: var(--marquee-font-size);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 0.25rem;
    overflow: hidden;
    padding: 2vmin 0;
    min-width: 100%;
    -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-color: var(--color-background);
    box-shadow: var(--color-background) 0 2vmin 2vmin 1vmin;
    transition: background-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.marquee--top {
    top: -1px;
}
.marquee--left {
    left: -1px;
    bottom: -6vmin;
    transform: rotate(-0.25turn);
    transform-origin: 0 0;
}
.marquee--right {
    left: calc(100% + 1px);
    top: 0;
    transform: rotate(0.25turn);
    transform-origin: 0 0;
}
.marquee--bottom {
    bottom: -1px;
    right: 0;
    transform: rotate(0.5turn);
}
.marquee div {
    opacity: 1;
    transition: opacity var(--duration) var(--ease);
}
.marquee div.active {
    opacity: 0; 
}

/* --------------------------------- */
/* ----------MEDIA QUERIES---------- */
/* --------------------------------- */

@media only screen and (min-width: 320px) and (max-width: 750px) {
}
.retour img {
    width: 10%;
}
    span {
        font-size: 7px;
    }
    .image img {
        width: 120%;
    }
    .gif-section img {
        width: 122%;
        margin-left: -20px;
    }
}