/**
 * @author: Yoann Le Crom <yoann.lecrom@abstractive.fr>
 */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    background: var(--body-bg-color);
}

button, input, optgroup, select, textarea {
    font-family: 'Raleway', sans-serif;
}

a {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

*[onclick]:hover {
    cursor: pointer;
}

table {
    border-collapse: collapse;
}

p, ul, ol, .p {
    margin: 1.62em 0;
}

p:last-of-type {
    margin-bottom: 0;
}

iframe {
    border: none;
}

hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid var(--separator-color);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

/* Others */
*::-webkit-scrollbar {
  width: .6rem;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 2rem;
  border: none;
}

@media (max-width: 1600px) {
    html {
        font-size: 57.29%;
    }
}

@media (max-width: 1400px) {
    html {
        font-size: 52%;
    }
}
