@import url("modules/fonts.css");
@import url("modules/vars.css");


body {
    margin: 40px 60px;
    padding: 0;
    background-color: black;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: calc(45vw - 60px) calc(45vw - 60px);
    grid-template-rows: calc(100vh - 80px);
    column-gap: 150px;
    color: var(--text-color);
    font-family: var(--font-text);
    font-size: var(--text-size);
}

::-webkit-scrollbar {
    width: 1vw;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(244, 240, 247);
}

@keyframes rotate {
    0% {
        font-variation-settings: "rttx" 0;
        animation-timing-function: cubic-bezier(0.5, 0.0, 1, 0.5);
    }

    25% {
        font-variation-settings: "rttx" 90;
        animation-timing-function: cubic-bezier(0.0, 0.5, 0.5, 1);
    }

    50% {
        font-variation-settings: "rttx" 180;
        animation-timing-function: cubic-bezier(0.5, 0.0, 1, 0.5);
    }

    75% {
        font-variation-settings: "rttx" 270;
        animation-timing-function: cubic-bezier(0.0, 0.5, 0.5, 1);
    }

    100% {
        font-variation-settings: "rttx" 360;
    }
}


h2 {
    font-family: var(--font-titles);
    font-size: var(--titles-size);
    animation: rotate 2s infinite;
    letter-spacing: -0.1em;
    margin: 0;
    padding: 0;
    line-height: 1.1;
}

div {
    display: inline;
    line-height: 1.6;
    text-wrap: pretty;
}

a {
    text-decoration: none;
    width: max-content;
    height: max-content;
    box-shadow: none;
    border: none;
    text-align: center;
    line-height: 1.6;
    font-size: .85em;
    font-style: italic;
    color: rgb(244, 240, 247);
    cursor: cell;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: .8px;
}

.left-column {
    grid-column: 1/2;
    width: calc(45vw - 60px);
    padding: 0;
}

.right-column {
    grid-column: 2/3;
    width: calc(45vw - 60px);
    padding: 0;
}

span {
    display: inline;
    width: max-content;
    color: rgb(244, 240, 247);
}

#steps>span {
    font-family: var(--font-titles);
    font-size: 2.8em;
    position: absolute;
}

#step1 {
    display: block;
    /* margin-bottom: 75px; */
}

#step2 {
    display: block;
    top: 145px
}

#step3 {
    display: block;
    top: 310px
}

#step4 {
    display: block;
    top: 580px;
}

.tuto-text {
    margin-left: 70px;
    margin-bottom: 35px;
}

.imp,
.cases,
#warning {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .9em;
    font-style: normal;
}

a.imp,
a#memoire,
a#pagedJS {
    text-decoration: underline solid 1.2px;
    text-underline-position: under;
}

#warning {
    font-size: .65em;
    line-height: 1.2;
}

.cases {
    border: solid 1px var(--text-color);
    padding: 2px 5px;
}

#fleche {
    position: absolute;
    top: 615px;
    right: -115px;
    width: 20%;
    height: 20%;
}

#pliage {
    position: absolute;
    top: 730px;
    left: 70px;
    width: 50%;
}

#pliage>svg {
    width: 180%;
    margin-bottom: 80px;
}

footer {
    position: fixed;
    z-index: 999;
    bottom: 0px;
    padding-bottom: 30px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: black;
}

#HOME,
#print {
    border: solid 1px rgba(244, 240, 247);
    padding: 1px 8px;
}

#print {
    margin-right: 120px;
}

@media screen and (min-width: 1251px) and (max-width: 1400px) {

    /* MAIN TITLE */
    h2 {
        font-size: 4.5em;
        margin-top: 0px;
    }

    body {
        margin: 30px 60px;
    }
}