html {
font-size: 0.625em;
/* fallback IE8+ */
font-size: calc(1em * 0.625);
scroll-behavior: smooth;
-webkit-tap-highlight-color: transparent;
}
/* Box sizing rules */
*,
*::before,
*::after {
box-sizing: border-box;
}
/* Remove focus for mouse users */
:focus:not(:focus-visible) {
outline: none;
}
/* Set core body defaults */
body {
min-height: 100vh;
text-rendering: optimizeSpeed;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
margin: 0;
}
/* Remove default padding */
ul[class],
ol[class] {
padding: 0;
}
/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
list-style: none;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
text-decoration-skip-ink: auto;
}
/* A elements that have a class remove underline */
a[class] {
text-decoration: none;
}
/* Make medias easier to work with */
img,
video,
audio {
max-width: 100%;
display: block;
height: auto;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
font: inherit;
}
/* Set cursor pointer */
label[for],
button,
input[type="submit"],
select {
cursor: pointer;
}
/* Remove font style on address */
address {
font-style: normal;
}
/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
/* Text meant only for screen readers. */
.screen-reader-text {
clip: rect(1px, 1px, 1px, 1px);
height: 1px;
overflow: hidden;
width: 1px;
position: absolute;
white-space: nowrap;
}
/* Image replacement technique 2012 H5BP - https://css-tricks.com/the-image-replacement-museum/ */
.ir {
font: 0/0 a;
color: transparent;
border: 0;
text-shadow: none;
}
/* Phone links active only under 36em (576px) */
a[href^="tel"] {
white-space: nowrap;
pointer-events: none;
text-decoration: none;
color: inherit;
}
@media (max-width: 576px) {
a[href^="tel"] {
pointer-events: auto;
text-decoration: underline;
}
}
/* Print external URLs */
@media print {
a {
text-decoration: underline;
}
a[href]:not([href^="#"])::after {
content: "(" attr(href) ")";
}
}
/* WARNING - Choose whether to keep or not
Natural flow and rhythm in articles by default */
article>*+* {
margin-top: 1em;
}
/* Sets your defaults */
body {
font-size: 1.6rem;
/* Base : équivalent 16px */
font-family: Arial, Helvetica, sans-serif;
line-height: 1.5;
color: var(--color-primary);
}