/* Appliquer box-sizing: border-box globalement */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 96.8%;
    width: 98.5%;
    min-width: 450px;
    background-color: #080133;
    border: 6px solid #f1f1f1;
    padding: 3px;
    margin: 12px 10px;
    transition: background-color 0.5s, border-color 0.5s;
}

body {
    height: 98%;
    width: 98%;
    color: #f1f1f1;
    font-family: "Syne", Arial, sans-serif;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    transition: color 0.5s;
    z-index: 3;
}

h1 {
    font-size: 3.3rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    margin: 25px;
    word-break: keep-all;
    cursor: default;
}

h1 span {
    font-family: "Poppins";
    font-weight: 400;
}

h1 a {
    text-decoration: none;
    transition: color 0.3s;
    color: inherit;
    font-weight: 400;
    letter-spacing: 0.9px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
}
strong{
    font-weight: 700;
}

h1 a:hover {
    color: #ff503f;
}

ul {
    height: 64%;
    width: 83%;
    min-width: 222px;
    list-style: none;
    padding-top: 22px;
    padding-left: 0;
    /* si besoin de scroll */
    /* overflow-y: scroll; */
    display: flex;
    flex-direction: column;
}
.scroller {
    width: 100%;
    height: 64%;
    overflow-y: scroll;
    scrollbar-color: #f1f1f1 #ff503f;
    scrollbar-width: initial;
  }

li {
    display: flex;
    flex-direction: row;
    transition: padding-left 0.33s, color 0.33s;
    padding-left: 0;
    padding-top: 5px;
    font-size: 1.6rem;
    font-weight: 400;
}

li::before {
    content: "→";
    margin-right: 14px;
}

li:hover {
    padding-left: 4px;
    color: #ff503f;
}

li a {
    display: block;
    width: 100%;
    min-width: 110px;
    height: auto;
    text-align: start;
    color: #f1f1f1;
    text-decoration: none;
    letter-spacing: 1.1px;
    word-wrap: break-word;
    font-family: "Fira Sans", "Poppins", sans-serif;
}

li a:visited {
    color: #f1f1f1;
}

footer {
    display: flex;
    justify-content: start;
    align-items: start;
    width: 93%;
    padding-left: 33px;
    position: absolute;
    bottom: 14px;
    left: 0;
}

footer p {
    font-family: "Poppins", sans-serif;
    opacity: 0.12;
    transition: opacity 0.3s, color 0.3s;
    color: #f1f1f1;
    cursor: default;
}

footer:hover p {
    opacity: 1;
    color: #ff503f;
}

::selection {
    background-color: #ff503f;
    color: #f1f1f1;
  }

/*-------------------------------------------------------------------- Media Queries */
@media screen and (max-width: 1000px) {
    html {
        width: 95vw;
        max-width: 1000px;
        border: 5px solid #f1f1f1;
    }

    body {
        width: auto;
    }

    h1 {
        font-size: 3.3rem;
    }

    li {
        font-size: 1.2rem;
    }

    li a {
        font-size: 1.2rem;
}
ul {
    width: 83%;
    height: 69%;
    min-width: 200px;
    padding-top: 0;
}
.scroller {
    width: 100%;
    height: 69%;
    overflow-y: scroll;
    scrollbar-color: #f1f1f1 #ff503f;
    scrollbar-width: initial;
  }
}
@media screen and (max-width: 600px) {
    ul {
        width: 89%;
        height: 64%;
        min-width: 200px;
        padding-top: 0;
    }
    li::before{
        font-size: 1rem;
    }
    li a {
        font-size: 1rem;
    }
    .scroller {
        width: 100%;
        height: 51%;
        overflow-y: scroll;
        scrollbar-color: #f1f1f1 #ff503f;
        scrollbar-width: initial;
      }
}