@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&family=Scope+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    background: #fff;
}

header {
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

tr.even {
    background-color: rgba(125, 125, 125, 0.1);
}

.historique {
    color: #333;
    margin-bottom: 30px;
}

.historique::after {
    display: table;
    width: 100%;
    content: " ";
    margin-top: -1px;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #333;
}

.histo-version {
    color: #333;
}

.histo-version::after {
    display: table;
    width: 100%;
    content: " ";
    margin-top: 0px;
    border-bottom-width: 2px;
    border-bottom-style: dotted;
    border-bottom-color: #333;
}

.version h2 {
    width:100%;
    background: rgba(0, 255, 0, 0.2);
    border-radius: 8px 8px 0 0;
    padding-left: 25px;
    line-height: 2.2rem;
}

.version ul li span {
    background: rgb(220, 220, 220);
    padding: 0 5px;
    border-radius: 8px;
}

.deprecation {
    margin: 1em;
    background: #fbe9e9;
    border-left: #f99 solid 4px;
    padding: 0em 0.5em;
}

.deprecation p {
    margin: 0.5em 0;
}

.deprecation p::before {
    content: "Note de dépréciation \2014\00A0 ";
    font-style: italic;
}

/* Barre de progression */
#progress {
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#progress-value {
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}

.content-body {
    font-size: 0.8rem;
}

.header .title {
    font-size: 0.8rem;
    font-weight: 700;
}

.content {
    margin-top: 20px;
}

.content .image img{
    min-width: 300px;
    max-width: 80vh;
    height: auto;
}

.logo {
    height: 50px;
    width: auto;
}

.image {
    margin-top: 10px;
}

.wrapper.active-popup {
    transform: scale(1);
}

.note > :first-child::before {
    content: 'NOTE \2014\00A0';
    font-style: italic;
    font-size: 0.7rem;
}

div.sourceCode {
    background-color: rgba(0, 0, 0, 0);
    color: #1f1c1b;
    margin: 1rem 0;
}
pre.sourceCode {
    background-color: #ececec;
    margin: 0;
    white-space: pre-wrap;
    font-size: 0.9rem;
}

.pre > code.sourceCode > span {
    line-height: 1.25;
    text-decoration: none;
}

code span.va {
    color: #0057ae;
}

pre code {
    font-size: 0.6rem;
}

pre > code.sourceCode {
    white-space: pre;
}

code span.cf {
    color: #1f1c1b;
    font-weight: bold;
}

code span.ch {
    color: #924c9d;
}

code span.co {
    color: #898887;
}

.info-text {
    font-size: 0.8rem;
}

.popup {
    display: none;
}

.popup.active {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 50px;
    width: 100vw;
    height: 100vh;
    user-select: none;
    z-index: 100;
    background: transparent;
}

/* Barre de recherche */
.searchBar {
    position: relative;
    border: 1px solid #898887;
    border-radius: 10px;
}

.searchBar input {
    width: 55px;
    height: 36px;
    margin: 2px 0;
    outline: none;
    border-radius: 10px;
    border: none;
    transition: 0.5s;
    background: transparent;
}

.searchBar input:hover {
    width: 200px;
}

.searchBar i {
    font-size: 28px;
    color:#898887;
    position: absolute;
    top: 5px;
    left: 5px;
}

.searchZone {
    backdrop-filter: blur(2px);
    position:absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(125, 125, 125, 0.3);
    z-index: 1000;
}

.searchCadre {
    width: 100%;
    height: 400px;
    background-color: red;
    position: absolute;
    top: 65px;
    left: 0;
    border-radius: 20px;
}

.searchClose {
    position: absolute;
    background: transparent;
    top: 0;
    right:0;
    text-decoration: none;
    padding: 5px 10px 5px 15px;
    font-size: 2rem;
    border-left: 1px solid #898887;
    border-bottom: 1px solid #898887;
    border-bottom-left-radius: 10px;
    color: #898887;
}

.searchClose:hover {
    color: white;
}

.inputZone {
    position: absolute;
    background: #898989;
    color: white;
    font-size: 2rem;
    top: 10px;
    left: 10px;
    right: 55px;
    line-height: 2rem;
    padding-left: 15px;
    border-radius: 10px;
    outline: none;
}

/* form login */
.wrapper{
    position: relative;
    width: 400px;
    height: 440px;
    background: transparent;
    border: 2px solid rgba(22, 22, 22, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 0.5s ease;
    transform: scale(0);
}

.wrapper.active {
    height: 550px;
}

.wrapper .form-box.login {
    transition: transform .18s ease;
    transform: translateX(0);
}

.wrapper.active .form-box.login {
    transition: none;
    transform: translateX(-400px);
}

.wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.wrapper.active .form-box.register {
    transition: transform .18s ease;
    transform: translateX(0);
}


.wrapper .icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 1;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.form-box h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
    user-select: none;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;
}

.remember-forgot {
    font-size: .9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
}

.remember-forgot a {
    color: #162938;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: transparent;
    border: 2px solid #162938;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    transition: 0.3s;
}

.btn:hover {
    background: #162938;
    color: white;
}

.login-register {
    font-size: .9em;
    color: #162938;
    text-align: center;
    margin: 25px;
}

.login-register p a {
    color: #162938;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

.dropdown {
    margin: 5px 0;
}

h1 {
    font-size: 160%;
    font-weight: 500;
}

h2 {
    font-size: 120%;
    font-weight: 500
}

table {
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-collapse: collapse;
}

table th {
    padding: .2rem 1em;
    background-color: #eee;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    text-align: center;
}

blockquote {
    color: #666666;
    margin: 0;
    padding-left: 1.5rem;
    border-left: 0.5rem #eee solid;
}

.header-section-number {
    opacity: 0.5;
}

.header-section-number::after {
    content: ". ";
}

/* Formulaire de contact */
.form-contact {
    margin-top: 25px;
    font-family: 'Roboto', sans-serif;
    width: 320px;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 10px;
}

form .separation {
    width: 100%;
    height: 1px;
    background-color: #747cdf;
}

form .corps-formulaire {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

form .corps-formulaire .groupe {
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

form .corps-formulaire .gauche .groupe input {
    margin-top: 5px;
    padding: 10px 5px 10px 30px;
    border: 1px solid #c9c9c9;
    outline-color: #747cdf;
    border-radius: 5px;
}

form .corps-formulaire .gauche .groupe i {
    position: absolute;
    left: 0;
    top: 35px;
    padding: 9px 8px;
    color: #747cdf;
}

form .corps-formulaire .droite {
    margin-left: 40px;
}

form .corps-formulaire .droite .groupe {
    height: 100%;
}

form .corps-formulaire .droite .groupe textarea {
    margin-top: 5px;
    padding: 10px;
    background-color: #f8f8f8;
    border: 2px solid #747cdf;
    outline: none;
    border-radius: 5px;
    resize: none;
    height: 72%;
}

.infoMessage {
    display: flex;
    width: 300px;
    border: 1px solid #747cdf;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}

.infoMessage h3 {
    font-size: 1em;
}

.infoMessage i{
    font-size: 3em;
    color: green;
    margin-right: 20px;
}

@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .info-text {
        font-size: 1rem;
    }
    pre code {
        font-size: 1rem;
    }

    .searchCadre {
        background: #000;
        width: 400px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Formulaire de contact */
    .form-contact {
        width: 600px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (min-width: 1028px) {
    .content-body {
    font-size: 1rem;
    }

    .header .title {
        font-size: 1.5rem;
        font-weight: 700;
    }
}