:root {
    --color-main-fg: midnightblue;
    --color-link-fg: brown;
    --color-link-fg: brown;
    --color-important-bg: brown;
    --color-important-fg: brown;
    --color-code-bg: brown;
    --color-code-fg: brown;
    --color-exercice-bg: brown;
    --color-exercice-fg: brown;
    --color-example-bg: brown;
    --color-example-fg: brown;
    --color-correction-bg: brown;
    --color-correction-fg: brown;
    --color-good-fg: brown;
    --color-good-fg: brown;
    --color-warning-fg: brown;
    --color-warning-fg: brown;
    --color-bad-fg: brown;
    --color-bad-fg: brown;
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  CSS-RESET*/
/* ~~~~~  @@@@@@@ ~~~~~ */
a {
    text-decoration: none;
    color: inherit;
}

.hidden-data {
    margin: 0;
    padding: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

img,
video {
    margin: auto;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

figure {
    margin: auto;
    text-align: center;
}

audio {
    min-width: 50%;
    max-width: 100%;
}

video {
    margin: auto;
    margin-top: 0;
    padding: 0;
    border: 1px solid midnightblue;
}

@media screen and (max-width: 999px) {

    section img,
    section video {
        display: block;
        margin: auto;
        max-width: 90%;
    }

    section audio {
        min-width: 0;
        width: 100%;
    }

    section video {
        max-height: 10em;
        border: 1px solid black;
    }
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  STRUCTURE*/
/* ~~~~~  @@@@@@@ ~~~~~ */
html {
    height: 100%;
    background: rgb(255, 255, 255);
    background: linear-gradient(-90deg, rgba(125, 125, 255, 1) 0%, rgba(24, 24, 80, 1) 40%, rgba(24, 24, 80, 1) 100%);
    background-size: cover;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: flex-start;
    font-family: Garamond, serif;
}

.topper {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: White;
    /*background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(228, 238, 255, 1) 30%);*/
    z-index: 9;
}

header {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.header-page-title {
    flex: 3;
}

header > a {
    flex: 1;
    text-align: center;
}

.logo-img {
    width: 10em;
}

.nav-in-header {
    flex: 3;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: stretch;
    height: 8em;
}

@media screen and (max-width: 999px) {
    .nav-in-header {
        height: 8em;
        justify-content: center;
        align-items: baseline;
    }
}

.nav-in-header a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 0;
    padding-top: 0.6em;
    color: LightSkyBlue;
    line-height: 2em;
    font-size: 2em;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: 0.25s;
    border-top: none;
    cursor: pointer;
}

@media screen and (min-width: 999px) {
    .nav-in-header a:hover {
        margin-top: -0.5em;
        border-bottom: 0.5em solid midnightblue;
        background-color: aliceblue;
        transition: 0.25s;
    }


    .nav-logo {
        flex: 4;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .nav-to-top {
        visibility: hidden;
        flex: 0;
        width: 0;
    }
}

.nav-icon {
    width: 1.6em;
}

.test-icon {
    width: 1em;
}

.main-nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    margin-top: 8em;
    box-shadow: midnightblue 0 0 10px;
}

.main-nav a {
    padding: 0.2em 0 0.2em 0;
    line-height: 1.2em;
    font-size: 2em;
    letter-spacing: -1px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: 0.25s;
}

.nav-collection {
    flex: 4;
    transition: 0.25s;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.nav-course {
    flex: 4;
    background-color: midnightblue;
    transition: 0.25s;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1em;
}

.nav-course:hover {
    background-color: royalblue;
    transition: 0.25s;
}

.main-nav__account,
.main-nav__mark,
.main-nav__storage,
.main-nav__home,
.main-nav__to-top,
.main-nav__processus,
.main-nav__teach-mode {
    flex: 0;
    visibility: hidden;
    background: royalblue;
    transition: 0.25s;
}

.main-nav__account:hover,
.main-nav__mark:hover,
.main-nav__storage:hover,
.main-nav__home:hover,
.main-nav__to-top:hover,
.main-nav__processus:hover,
.main-nav__teach-mode:hover {
    background: LightSkyBlue;
    transition: 0.25s;
    cursor: pointer;
}

.nav-inSequence,
.nav-storage {
    flex: 1;
    background-color: royalblue;
    transition: 0.25s;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1em;
}

.nav-inSequence-subject {
    flex: 1;
    background-color: royalblue;
    transition: 0.25s;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1em;
}

.nav-inSequence-back {
    flex: 1;
    background-color: royalblue;
    transition: 0.25s;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1em;
}

.nav-inSequence-end {
    flex: 1;
    background-color: royalblue;
    transition: 0.25s;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1em;
}

.nav-inSequence:hover,
.nav-storage:hover {
    background-color: LightSkyBlue;
    transition: 0.25s;
}

.nav-inSequence-end:hover {
    background-color: royalblue;
    transition: 0.25s;
}

.nav-inSequence-subject:hover {
    background-color: LightSkyBlue;
    transition: 0.25s;
}

.nav-inSequence-back:hover {
    background-color: LightSkyBlue;
    transition: 0.25s;
}

.nav-admin:hover {
    transition: 0.25s;
}

main {
    background-color: white;
    padding-bottom: 5em;
    padding-top: 3em;
}

footer {
    color: white;
    padding: 0.5em 2em 1em 2em;
    background: linear-gradient(-90deg, rgba(125, 125, 255, 1) 0%, rgba(24, 24, 80, 1) 40%, rgba(24, 24, 80, 1) 100%);
    margin-top: -1em;
    z-index: 1;
}

.footer__shadow-box {
    width:100vw;
    height:1em;
    box-shadow: midnightblue 0px 0px 10px;
    z-index: 0;
    background: red;
}

.footer__link {
    color: darkorange;
    text-decoration: underline;
}

@media screen and (max-width: 999px) {
    header {
        height: 6.2em;
        display: flex;
        flex-direction: row;
        justify-content: center;
        font-size: 0.8em;
    }

    nav a {
        line-height: 1.6em;
        margin: 0;
        padding: 0;
    }

    .main-nav {
        min-height: 2.8em;
        margin-top: 4.8em;
        background-color: white;
    }

    .nav-in-header {
        margin: 0;
        padding: 0;
        flex: 8;
    }

    .nav-in-header a {
        height: 2.6em;
        line-height: 0.8em;
        vertical-align: middle;
    }

    header > a {
        flex: 3;
        height: 100%;
        width: 10em;
        display: flex;
        justify-content: left;
        align-items: center;
    }

    .logo-img {
        flex: 1;
        padding-left: 1em;
    }

    .topper {
        font-size: 0.6em;
        padding: 0;
        margin: 0;
        position: fixed;
        z-index: 10;
    }


    main {
        margin-top: 4em;
        font-size: 0.9em;
    }
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @SECTION@*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.section-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    height: 100%;
    margin: 0;
    padding: 0;

}

@media screen and (max-width: 800px) {
    .section-container {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: -2em;
        padding-top: 0;
    }
}

.section-content {
    max-width: 64em;
    margin: auto;
    margin-top: 4em;
    margin-bottom: 1em;
    padding: 1em 1em 2em 1em;
    border-radius: 1.2em;
    border-left: 0.3em solid royalblue;
    border-right: 0.3em solid midnightblue;
    color: black;
}

.section-tile {
    flex: 3;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    font-size: 1em;
    margin-top: 1em;
}

.section-dashboard {
    flex: 2;
    font-size: 0.9em;
}


@media screen and (max-width: 800px) {
    .section-dashboard {
        margin-bottom: 2em;
    }
}

.article-dashboard {
    padding: 0;
    margin: 0.5em;
    border-radius: 1em;
    color: midnightblue;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.2em;
    border: 0.2em solid white;
    background-color: lightsteelblue;
    transition: 0.2s;
}


.article-dashboard {
    padding: 0;
    margin: 0.2em;
    border-radius: 1em;
    color: midnightblue;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    border-radius: 1.2em;
    border: 0.2em solid white;
    background-color: lightsteelblue;
    transition: 0.2s;
}

.dashboard-icon {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.3em;
    background-color: midnightblue;
    width: 4em;
    transition: 0.2s;
}

.article-dashboard-to-do .dashboard-icon {
    background-color: darkorange;
}

.article-dashboard-to-finish .dashboard-icon {
    background-color: darkred;
}

.article-dashboard-done .dashboard-icon {
    background-color: royalblue;
}

.article-dashboard-ended .dashboard-icon {
    background-color: midnightblue;
}

.article-dashboard h4 {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.3em;
}

.article-dashboard p {
    flex: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0.3em;
}

.article-dashboard:hover {
    background-color: aliceblue;
    transition: 0.2s;
    border-color: midnightblue;
}


@media screen and (max-width: 999px) {
    .section-content {
        margin-top: 2em;
        color: black;
        border: 0;
    }

    .section-tile {
        font-size: 0.7em;
        padding: 0;
    }

    .section-dashboard {
        font-size: 0.7em;
    }

    .dashboard-icon {
        padding: 0.6em;
    }
}


/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @TUILES@*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.tile-standard,
.tile-special {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 10em;
    height: 10em;
    margin: 0.1em 0.25em 0 0.25em;
    padding: 0;
    color: black;
    border-radius: 4em 2em 4em 2em;
    transition: 0.25s;
    font-family: Arial, sans-serif;
}

.tile-standard article,
.tile-special article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    padding-top: 2em;
    margin: 0;
}

.tile-standard h3,
.tile-special h3 {
    flex: 2;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: midnightblue;
}

.tile-standard p,
.tile-special p {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}


.tile-standard p:nth-child(2n+1),
.tile-special p:nth-child(2n+1) {
    flex: 5;
}

.tile-standard:hover h3 {
    color: darkmagenta;
}

.tile-standard,
.tile-special {
    border-left: 0.6em solid royalblue;
    border-right: 0.6em solid midnightblue;
}

@media screen and (max-width: 999px) {

    .tile-standard,
    .tile-special {
        width: 9em;
        height: 9em;
        margin: 0.3em 0.1em 0.3em 0.1em;
        padding: 0;
    }

    .tile-standard h3,
    .tile-special h3 {
    }

    .tile-standard p,
    .tile-special p {
        font-size: 0.85em;
    }
}

.tile-standard:hover {
    border-left: 0.6em solid lightpink;
    border-right: 0.6em solid darkmagenta;
    border-radius: 12em;
    animation: tile-swing 2s ease-in-out infinite;
}

.tile-special {
    border-left: 0.6em solid orange;
    border-right: 0.6em solid darkred;
}

.tile-special h3 {
    font-family: Arial, sans-serif;
    font-weight: bold;
    color: darkred;
}

.tile-special:hover {
    border-left: 0.6em solid red;
    border-right: 0.6em solid darkorange;
    border-radius: 12em;
    animation: tile-swing 2s ease-in-out infinite;
}

@media screen and (min-width: 999px) {
    .tile-special:hover {
        border-left: 0.6em solid red;
        border-right: 0.6em solid darkorange;
        border-radius: 12em;
        animation: tile-swing 2s ease-in-out infinite;
    }
}

.tile-special:hover h3 {
    color: darkorange;
}

@keyframes tile-swing {
    0% {
        transform: rotate(0deg);
    }

    15% {
        transform: rotate(5deg);
    }

    30% {
        transform: rotate(-5deg);
    }

    45% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @ACCUEIL@*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.p-home {
    font-size: 1.5em;
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  @COMPTE@*/
/* ~~~~~  @@@@@@ ~~~~~ */
.section-account {
    background-color: aliceblue;
    color: black
}

.section-deco {
    background-color: aliceblue;
    margin-top: 2em;
}


.account-data {
    color: midnightblue;
    font-weight: bold;
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  @@TEST ~~~~~ */
/* ~~~~~  @@@@@@ ~~~~~ */
.p-testName {
    font-size: 1em;
}

.p-questionCount {
    color: #555;
    font-size: 0.8em;
    margin-top: -1.6em;
}

.groupe-tile-forProf-test {
    color: #555;
    font-style: italic;
    font-size: 0.5em;
    margin-top: -2em;
    margin-bottom: 2.5em;
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  QUESTION ~~~~*/
/* ~~~~~  @@@@@@ ~~~~~ */
.section-test {
    background-color: aliceblue;
}

.article-runningTest {
    border-bottom: 1px solid midnightblue;
    margin: 1em;
    padding-bottom: 1em;
}

.article-runningTest img {
    margin-top: 1em;
    margin-bottom: 1em;
}

.p-question {
    font-size: 2em;
    /*font-variant: small-caps;*/
    font-family: Garamond, serif;
    font-weight: bold;
    margin-top: -0.5em;
}

.p-instruction {
    font-size: 1.2em;
    font-style: italic;
    color: midnightblue;
}

.p-tInstruction {
    font-size: 1.2em;
    font-style: italic;
    color: midnightblue;
    margin-top: -1.5em;
}

.p-qInstruction {
    font-size: 1.4em;
    font-style: italic;
    font-weight: bold;
    color: darkgoldenrod;
    margin-top: -1em;
}

.p-fInstruction {
    font-size: 1.2em;
    font-style: italic;
    color: midnightblue;
    margin-top: 0em;
}

.p-context {
    font-size: 1.5em;
    color: blue;
    font-weight: bold;
}

.p-context a {
    text-decoration: underline;
    color: darkorange;
}

.p-answer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    color: midnightblue;
    font-size: 1.5em;
    margin: 0em;
    padding: 0.25em;
    transition: 0.1s;
}

.p-answer:nth-child(2n+1) {
    color: darkgoldenrod;
}

.code-in-question {
    color: midnightblue;
    font-size: 0.9em;
    text-align: left;
    display: flex;
    margin: auto;
    justify-content: space-around;
}

.code-in-question span {
    padding: 0.5em;
    border-radius: 0.5em;
    border: 3px solid black;
    font-family: Garamond, serif;
    font-weight: bold;
    font-size: 0.75em;
    background-color: DarkSlateGray;
    color: HoneyDew;
    font-family: "Courier New";
}

.test-submit {
    background-color: aliceblue;
    color: midnightblue;
    border-color: midnightblue;
    font-weight: bold;
    font-family: Garamond, serif;
    font-size: 1.2em;
    padding: 0.2em 0.5em 0.2em 0.5em;
    transition: 0.2s;
    margin-top: 2em;
}

.test-submit:hover {
    background-color: linen;
    color: darkgoldenrod;
    border-color: darkgoldenrod;
    transition: 0.2s;
}

.s-smallcaps {
    font-variant: small-caps;
    font-family: Garamond, serif;
    font-weight: bold;
    font-size: 1.2em;
}

@media screen and (max-width: 999px) {
    .test-text-input {
        font-size: 0.8em;
    }
}

.countdown {
    border-bottom: 1px solid midnightblue;
    margin: 0;
    padding-bottom: 1em;
}

.countdown__number {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.countdown__label {
    font-size: 3em;
}

.countdown__number--blink {
    animation: countdown-blink 1s linear infinite;
}

.countdown__number--no-cd {
    color: green;
}

@keyframes countdown-blink {
    0% {
        color: #f000;
    }
    20% {
        color: red;
    }
    80% {
        color: red;
    }
    100% {
        color: #f000;
    }
}

/* ~~~~~  @@@@@@@@ ~~~~~ */
/* ~~~~~  CORRECTION*/
/* ~~~~~  @@@@@@@@ ~~~~~ */
.section-correction {
    max-width: 64em;
    margin: auto;
    margin-top: 2em;
    padding: 0;
    box-shadow: none;
}

.article-correction-question {
    background-color: aliceblue;
    width: 100%;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 1em 1em 2em 1em;
    border-radius: 0.5em;
    border-left: 0.3em solid royalblue;
    border-right: 0.3em solid midnightblue;
}

.p-correction-question-type {
    font-size: 1.5em;
    font-style: italic;
    color: #555;
    margin-top: -1em;
    font-variant: small-caps;
    font-family: Garamond, serif;
    font-weight: bold;
}

.p-goodAnswer {
    color: green;
    font-family: Garamond, serif;
    font-weight: bold;
}

.p-scorePlus {
    color: green;
    font-style: italic;
}

.p-badAnswer {
    color: red;
    text-decoration: line-through;
}

.p-scoreNull {
    color: midnightblue;
    font-style: italic;
}

.p-scoreMinus {
    color: red;
    font-style: italic;
}

.p-userAnswer {
    font-family: Garamond, serif;
    font-weight: bold;
    padding: 0.2em 1em 0.2em 1em;
    line-height: 1.4em;
    background-color: #e9cd05;
}

.p-skipedAnswerResume {
    color: midnightblue;
    font-style: italic;
}

.p-goodAnswerResume {
    color: green;
    font-style: italic;
}

.p-badAnswerResume {
    color: darkred;
    font-style: italic;
}

.p-averageBadAnswerResume {
    color: red;
    font-style: italic;
}

.p-averageGoodAnswerResume {
    color: MediumSeaGreen;
    font-style: italic;
}

.p-averageAnswerResume {
    color: darkorange;
    font-style: italic;
}

.p-result {
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 2em;
    font-family: Garamond, serif;
    font-weight: bold;
    color: midnightblue;
    font-variant: small-caps;
}

.p-comment {
    margin-top: 2em;
    margin-bottom: 2em;
    font-size: 2em;
    font-style: italic;
    color: midnightblue;
}

.p-details {
    font-style: italic;
    margin-top: -0.5em;
}

.p-score {
    font-size: 1em;
    color: midnightblue;
}

@media screen and (max-width: 999px) {
    .article-correction-question {
        width: 80%;
    }
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  @@FORM ~~~~~ */
/* ~~~~~  @@@@@@ ~~~~~ */
.article-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2em;
}

.form-item {
    display: flex;
    justify-content: end;
    align-items: stretch;
    flex-direction: column;
    flex: 1;
    margin-bottom: 1em;
}

.form-item-mini {
    display: flex;
    flex-direction: row;
    padding: 0.1em;
}

.form-item-mini > input {
    flex: 1;
    text-align: center;
}

.form-item-textarea {
    display: flex;
    margin-bottom: 1em;
    width:46em;
    height:10em;
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  @@TEXT ~~~~~ */
/* ~~~~~  @@@@@@ ~~~~~ */
.p-error {
    color: red;
    font-family: Garamond, serif;
    font-weight: bold;
}

.p-success {
    color: green;
    font-family: Garamond, serif;
    font-weight: bold;
}

.p-info {
    color: midnightblue;
    font-family: Garamond, serif;
    font-style: italic;
}

.p-info-link {
    color: midnightblue;
    text-decoration: underline;
    font-family: Garamond, serif;
    font-style: italic;
}

.p-info-link:hover {
    color: darkorange;
    text-decoration: underline;
}

.p-info-success {
    color: green;
    font-family: Garamond, serif;
    font-style: italic;
}

.p-info-error {
    color: red;
    font-family: Garamond, serif;
    font-style: italic;
}

.upload-error {
    color: red;
    font-family: Garamond, serif;
    word-break: break-all;
}

.upload-success {
    color: green;
    font-family: Garamond, serif;
    word-break: break-all;
}

.account-course {
    border: 1px solid darkorange;
    border-radius: 2px;
    padding: 0 3px 0 3px;
}

.mail-address {
    text-decoration: underline;
    color: darkorange;
}

.discord {
    color: LightSkyBlue;
}

.twitch {
    color: darkorange;
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    font-variant: small-caps;
    font-family: Garamond, serif;
    font-weight: bold;
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @ANALYSE@*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.section-analyse {
    background-color: aliceblue;
    max-width: None;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-analyse {
    padding-bottom: 1em;
}

.super-table {
    padding: 0.5em;
    overflow: auto;
    border-radius: 0.2em;
    margin: auto;
    font-size: 0.8em;
}

.table-analyse {
    margin: auto;
}

.table-analyse tr {
    padding: 0;
    margin: 0;
}

.table-analyse tr:nth-child(2n) {
    background-color: PowderBlue;
}

.table-analyse tr:nth-child(2n+1) {
    background-color: lavender;
}

.table-analyse tr:first-child {
    background-color: DarkSlateGray;
    color: white
}

.table-analyse td,
.table-analyse th {
    padding: 0.2em;
    margin: 0;
    width: 1.4em;
    font-weight: normal;
}

.case-name {
    min-width: 12em;
}

.gain {
    color: green;
    font-family: Garamond, serif;
    font-weight: bold;
}

.mediumGain {
    color: MediumSeaGreen;
    font-family: Garamond, serif;
    font-weight: bold;
    font-weight: 999;
}

.littleGain {
    color: darkorange;
    font-family: Garamond, serif;
    font-weight: bold;
    font-weight: 999;
}

.loss {
    color: red;
    font-family: Garamond, serif;
    font-weight: bold;
}

.subLoss {
    color: darkred;
    font-family: Garamond, serif;
    font-weight: bold;
}

.even {
    color: darkorange;
    font-family: Garamond, serif;
    font-weight: bold;
}

.section-processus select {
    max-width: 30em;
}

@media screen and (max-width: 999px) {
    .section-analyse {
        margin-top: 1em;
        width: 100%;
        padding: 0;
        padding-bottom: 1em;
    }

    .section-processus select {
        max-width: 16em;
    }
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  PROCESSUS*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.process-container {
    width: 80em;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.process-container:first-child {
    margin-top: 3em;
}

.section-processus {
    background-color: aliceblue;
    margin-top: 1em;
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 999px) {
    .process-container {
        width: 100%;
        margin: auto;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .section-processus {
        margin-top: 1em;
        width: 100%;
        padding: 0;
        padding-bottom: 1em;
    }

    .section-processus select {
        max-width: 16em;
    }
}

.odt-uplaoder {
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 5em;
    background-color: royalblue;
    border: 3px solid midnightblue;
    border-radius: 1em;
    margin-bottom: 0.5em;
}

.odt-uplaoder * {
    flex: 1;
    margin: auto;
}

/* ~~~~~  @@@@@ ~~~~~ */
/* ~~~~~  @WATCH@*/
/* ~~~~~  @@@@@ ~~~~~ */
.section-watch {
    background-color: aliceblue;
    width: 64em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.h4-activity {
    padding-bottom: 0;
    margin-bottom: 0;
}

#super-tacle-activity {
    margin-top: 0;
    margin-bottom: 2em;
}

.watch-alert {
    margin-top: 0;
}

@media screen and (max-width: 999px) {
    .section-watch {
        margin-top: 1em;
        width: 100%;
        padding: 0;
        padding-bottom: 1em;
    }

    .section-watch select {
        max-width: 16em;
    }
}

/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  SÉQUENCE*/
/* ~~~~~  @@@@@@ ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @@@LOG@ ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @STORAGE@*/
/* ~~~~~  @@@@@@@ ~~~~~ */
.p-fileTitle {
    font-size: 1em;
}

.p-fileExtension {
    color: #555;
    font-size: 0.8em;
    margin-top: -1.6em;
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @@NUAGE ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
.p-cloudName {
    font-size: 0.8em;
}

.section-cloud {
    background-color: aliceblue;
}

.article-runningCloud {
    margin: 1em;
    padding-bottom: 1em;
}


@media screen and (max-width: 999px) {
    .test-text-input {
        font-size: 0.8em;
    }
}

.section-cloudView {
    margin: auto;
    padding: 0;
    background-color: white;
    box-shadow: none;
    margin-top: 2em;
    border: 0;
}

#cloud {
    margin-top: 0;
}

.link-perm {
    color: midnightblue;
    font-family: Garamond, serif;
    font-weight: bold;
}

.cloud-name {
    font-variant: small-caps;
    font-size: 2em;
    color: royalblue;
}

.p-sentWord {
    font-size: 1em;
    margin-top: -1.5em;
    font-style: italic;
    color: midnightblue;
}

.groupe-tile-forProf-cloud {
    color: #555;
    font-style: italic;
    font-size: 0.5em;
    margin-top: -2em;
}

img {
    max-width: 90%;
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  SONDAGE ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */

.article-synthesis-issue {
    background-color: aliceblue;
    margin: auto;
    margin-top: 1em;
    margin-bottom: 1em;
    padding: 1em 1em 2em 1em;
    border-radius: 0.5em;
    border-left: 0.3em solid royalblue;
    border-right: 0.3em solid midnightblue;
    width: 60em;
}

@media screen and (max-width: 999px) {
    .article-synthesis-issue {
        width: 80%;
    }
}


.synthesis-canvas {
    max-height: 70vh;
    max-width: auto;
}

@media screen and (max-width: 999px) {
    .synthesis-canvas {
        max-height: auto;
        max-width: 70vh;
    }
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~  SONDAGE MANAGER ~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
.surveyIssue {
    border-style: solid;
    border-color: midnightblue;
    border-width: 1px;
    border-radius: 0.5em;;
    padding: 1em;
    margin-bottom: 0.5em;
}

.addIssueButton {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: royalblue;
    width: 1em;
    height: 1em;
    font-size: 1.5em;
    border-radius: 0.25em;
    padding: 0.25em;
    transition: 0.25s;
    margin: auto;
    color: white;
}

.addIssueButton:hover {
    background-color: darkorange;
}

/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  @@FRAME ~~~~~ */
/* ~~~~~  @@@@@@@ ~~~~~ */
iframe {
    width: 80%;
    margin: auto;
    border: none;
    overflow: scroll;
    padding: 1em;
}

.iframe-container {
    overflow: hidden;
    padding-top: 50%;
    position: relative;
}

.iframe-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.trinket-iframe-flat {
    height: 15em;
    width: 90%;
}

.trinket-iframe {
    height: 25em;
    width: 90%;
}

.trinket-iframe-tall {
    height: 35em;
    width: 90%;
}

/* ~~~~~  @@super-section-support ~~~~~ */
#super-section-support {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    background: white;
}

.section-course-sep {
    flex: 1;
}

@media screen and (max-width: 999px) {
    #super-section-support {
        flex-direction: column-reverse;
        width: 100%;
    }

    .section-course-sep {
        flex: 0;
    }
}

/* ~~~~~  @@SUPPORT NAV ~~~~~ */
#support_nav {
    position: sticky;
    top: 5em;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 16em;
    min-width: 12em;
    margin-top: 3em;
    background-color: royalblue;
    text-align: left;
    border-radius: 0.5em;
    color: white;
    overflow: auto;
    max-height: 80vh;
    z-index: 8;
}

#support_nav *:last-child *:last-child {
    margin-bottom: 1.5em;
}

.support_nav_back {
    margin: 0;
    margin-left: -1.2em;
    padding: 0;
    font-family: Garamond, serif;
    font-weight: bold;
    font-variant: small-caps;
    text-align: center;
    font-size: 0.7em;
}

.support_nav_back:last-of-type {
    margin-bottom: 1em;
}

#support_nav h1 {
    font-family: Garamond, serif;
    font-weight: bold;
    font-variant: small-caps;
    margin: 0.5em 0 0 0;
    text-align: center;
    padding-right: 0.5em;
}

#support_nav h2 {
    font-size: 0.85em;
    margin: 0;
    padding-left: 0.5em;
    font-family: Garamond, serif;
    font-weight: bold;
    font-variant: small-caps;
    padding-top: 0.25em;
    background-color: midnightblue;
    color: white;
    padding-right: 0.5em;
    overflow: hidden;
}

#support_nav h3 {
    font-size: 0.85em;
    margin: 0;
    padding-left: 1em;
    font-family: Garamond, serif;
    font-weight: normal;
    padding-top: 0.25em;
    background-color: #3939ca;
    color: white;
    padding-right: 0.5em;
    overflow: hidden;
}

#support_nav h4 {
    font-size: 0.75em;
    margin: 0;
    padding-left: 2em;
    font-family: Garamond, serif;
    font-weight: normal;
    padding-right: 0.5em;
    overflow: hidden;
}

#support_nav h2:hover,
#support_nav h3:hover,
#support_nav h4:hover {
    background-color: lightpink;
    color: black;
}

#support_nav h5:hover {
    color: midnightblue;
}

@media screen and (max-width: 999px) {
    #support_nav {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-top: -3em;
        max-height: 1.7em;
        border-radius: 0 0 1em 1em;
        min-width: None;
    }

    #support_nav h1 {
        margin: 0;
        padding: 0;
        background-color: royalblue;
        color: white;
    }
}

/* ~~~~~  @@IMAGE ZOOMER ~~~~~ */
#image-zoomer {
    position: fixed;
    top: 0;
    left: 0;
    background-color: aliceblue;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0;
    transition: 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#image-zoomer img {
    margin-top: 10vh;
    max-height: 90vh;
}

.innerImageZoomer {
    object-fit: scale-down;
    transition: 1s;
}

@media screen and (min-width: 999px) {
    .innerImageZoomer {
        height: 98vh;
        width: 98vw;
    }
}

@media screen and (max-width: 799px) {
    .innerImageZoomer {
        height: 98vh;
        width: 98vw;
    }

    #image-zoomer img {
        margin-top: 5vh;
        max-height: 90vh;
    }
}

.image-zoomer_controller-container {
    position: fixed;
    margin: 0;
    padding: 0;
    text-indent: 0;
    list-style-type: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

@media screen and (min-width: 999px) {
    .image-zoomer_controller-container {
        top: 0;
        border-radius: 0 0 1em 1em;
        overflow: hidden;
    }
}

@media screen and (max-width: 799px) {
    .image-zoomer_controller-container {
        top: 0;
        right: 0;
        flex-wrap: wrap;
        width: 6.3em;
        overflow: hidden;
    }
}

.image-zoomer_control {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    font-size: 1em;
    background-color: royalblue;
    list-style: none;
    transition: 0.25s;
    overflow: hidden;
    white-space: pre;
    user-select: none;
}

@media screen and (max-width: 799px) {
    .image-zoomer_control {
        width: 1.5em;
        height: 1.5em;
        font-size: 2em;
        border-right: 2px solid aliceblue;
        border-bottom: 2px solid aliceblue;
    }
}

@media screen and (min-width: 999px) {
    .image-zoomer_hidden {
        width: 2em;
        height: 2em;
        border-left: 3px solid aliceblue;
        border-radius: 0 0 0.2em 0.2em;
    }
}

@media screen and (max-width: 799px) {
    .image-zoomer_hidden {
        visibility: hidden;
        height: 0;
        width: 1.5em;
        border-radius: 0 0 0.2em 0.2em;
    }
}

.image-zoomer_control:hover {
    background-color: lightpink;
}

.image-zoomer_closer,
.image-zoomer_burger {
    background-color: midnightblue;
    color: white;
}

@media screen and (min-width: 999px) {
    .image-zoomer_burger {
        visibility: hidden;
        width: 0;
    }
}

.image-zoomer_closer:hover,
.image-zoomer_burger:hover {
    background-color: darkmagenta;
    color: white;
}


/* ~~~~~  Thanks ~~~~~ */
.section__thanks {
    margin: auto;
    text-align: justify;
    max-width: 40em;
    padding: 1em;
}

.section__thanks ul:first-line {
    text-indent: -1em;
}

.thanks__name {
    color: midnightblue;
    font-weight: bold;
}

.section__thanks h1 {
    font-size: 2.4em;
    font-variant: small-caps;
    color: midnightblue;
    text-align: center;
    font-weight: bold;
    margin: 0 0 0.8em;
}

@media (max-width: 999px) {
    .section__thanks h1 {
        font-size: 1.8em;
    }
}



/* ~~~~~  @@@@@@@ ~~~~~ */
/* ~~~~~  PAD           */
/* ~~~~~  @@@@@@@ ~~~~~ */
.section-pad {
    border:none;
}

.pad__info {
    padding: 1em 1em;
    margin : 1em 0;
    text-align: left;
    font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    border-radius: 0.3em;
    background-color: black;
    color: HoneyDew;
}

.pad__info h2 {
    padding: 0;
    margin:0;
}

.pad__code {

}