:root {
    --color-violine-9: #624AF7;
    --color-violine-8: #7b66ff;
    --color-eggshell-2: #f4f3ef;
}

@font-face {
    font-family: Moderat;
    font-weight: 400;
    src: url(../fonts/Moderat-Regular.woff2);
}

@font-face {
    font-family: Moderat;
    font-weight: 700;
    src: url(../fonts/Moderat-Bold.woff2);
}

@font-face {
    font-family: Transducer;
    font-weight: 900;
    src: url(../fonts/Transducer-Black.woff2);
}

/* Styles de base */
body, html {
    font-family: Moderat;
    background-color: white;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-family: Transducer, Arial, sans-serif;
    margin: 0;
    font-size: 40px;
    line-height: 44px;
    margin-bottom: 16px;
}

strong {
    font-weight: 700;
}

p {
    padding-top: 8px;
    font-size: 18px;
    line-height: 23px;
    margin: 0;
}


.container {
    width: 100vw;
    max-width: 1280px;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header {
    padding: 24px 0 24px 0;
    width: 100%;
    background-color: white;
}

.content {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.card {
    background-color: var(--color-eggshell-2);
    border-radius: 24px;
    gap: 64px;
    text-align: left;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
}

.primary-button {
    display: inline-block;
    border-radius: 4px;
    background-color: var(--color-violine-9);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    margin-top: 32px;
    padding: 14px 16px;
    line-height: 18px;
    word-wrap: break-word;
    text-decoration: none;
}

.primary-button:hover {
    background-color: var(--color-violine-8);
}

.block {
    display: block;
}

.message {
    gap: 32px;
}

.illustration {
    border-radius: 16px;
    overflow: hidden;
}

.illustration #background {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.illustration #waf {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.link-outlined {
    text-decoration: underline;
    font-weight: 700;
    color: black;
}

.link-outlined:hover {
    text-decoration: none;
}

@media (min-width: 1280px) {
    .container {
        width: 80vw;
    }
    .illustration {
        width: 50%;
        height: 493px;
        flex-grow: 1;
        align-items: end;
    }
    .illustration #background {
        object-position: center;
    }
    .message {
        flex-grow: 1;
        width: 50%;
    }
    .card {
        padding: 64px;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .container {
        width: 80vw;
    }
    .illustration {
        width: 100%;
        height: 384px;
        flex-grow: 1;
        align-items: end;
        order: 1;
    }
    .illustration #background {
        object-position: top;
    }
    .message {
        width: 100%;
        flex-grow: 1;
        order: 2;
    }
    .card {
        padding: 64px;
        width: inherit;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
    }
}

@media (max-width: 767px) {
    body, html {
        background-color: var(--color-eggshell-2);
        overflow-x: clip;
    }
    p {
        font-size: 16px;
        line-height: 20px;
        margin: 0;
        padding: 8px 0 0 0;
    }
    h1 {
        font-size: 24px;
        line-height: 26px;
        margin-bottom: 8px;
    }
    .header {
        padding-left: 64px;
        padding-right: 16px;
    }
    .message {
        order: 2;
        width: inherit;
    }
    .illustration {
        width: 100%;
        order: 1;
        max-height: 256px;
    }
    .illustration #background {
        object-position: top;
    }
    .primary-button {
        display: block;
        margin: 24px 0;
        text-align: center;
    }
    .card {
        padding: 16px 16px;
        gap: 32px;
        flex-direction: column;
    }
}
