body {
    font-family: var(--font-text);
    font-weight: var(--weight-lt);
    color: var(--fifth-color);
}

h1 {
    font-family: var(--font-title);
    font-size: var(--font-size-title);
    font-weight: var(--weight-bld);
}

h2 {
    font-family: var(--font-title);
    font-size: var(--font-size-title2);
    font-weight: var(--weight-smb);
}

h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: var(--weight-smb);
}

p {
    font-family: var(--font-text);
    font-size: var(--font-size-text);
    font-weight: var(--weight-lt);
}

.italic {
    font-style: italic;
}

a {
    text-decoration: none;
    font-family: var(--font-text);
    font-size: var(--font-size-text);
    font-weight: var(--weight-md);
    color: var(--fourth-color);
}

.lien-actif {
    position: relative;
    color: var(--fourth-color);
}

.lien-actif::after {
    content: "";

    position: absolute;
    left:0;
    bottom:0;

    display: inline-block;

    width: 100%;
    height: 1px;

    background-color: var(--fourth-color);
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    z-index: 2000;

    padding: var(--space-sm) var(--space-lg);
    background-color: var(--fourth-color);
    color: var(--second-color);
    border-radius: 0 0 var(--bd-rad-md) 0;

    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

img {
    width: 80%;
    height: auto;
}

video {
    object-fit: cover;
}


/* #region Gestion Javascript Formulaires */

input.error {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgb(255,0,0);
}

select.error {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgb(255,0,0);
}

textarea.error {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgb(255,0,0);
}

#id_consentement.error {
    background-color: rgba(255, 0, 0, 0.2);
    border: 1px solid rgb(255,0,0);   
}

#consent-label.error {
    display: inline-block;
    border: 1px solid rgb(255,0,0);
    border-radius: var(--bd-rad-md);
}

/* #endregion */