@font-face {
    font-family: Chillax;
    src: url(../assets/fonts/Chillax-Variable.ttf),  url(../assets/fonts/Chillax-Variable.woff) format('woff'),  url(../assets/fonts/Chillax-Variable.woff2) format('woff2');
}
@font-face {
    font-family: Avenir-Light;
    src: url(../assets/fonts/Avenir-Light.woff2);
}
@font-face {
    font-family: Avenir-Book;
    src: url(../assets/fonts/Avenir-Book.woff2);
}
@font-face {
    font-family: Avenir;
    src: url(../assets/fonts/Avenir-Medium.woff2);
}
@font-face {
    font-family: Avenir-Roman;
    src: url(../assets/fonts/Avenir-Roman.woff2);
}

h1{
    font-family: Chillax, serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
}
h2{
    font-family: Chillax, serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 0;
}
h3{
    font-family: Chillax, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 28px;
}
h4{
    font-family: Chillax, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 26px;
}
p, .form-check-label{
    font-family: Avenir-Roman, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 0;
}

.p-heavy{
    font-family: Avenir-Roman, sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 26px;
}
label{
    font-family: Avenir-Roman, sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
}
.emphasis-small{
    font-family: Avenir-Roman, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
}
.emphasis-big{
    font-family: Chillax, sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 56px;
}

a{
    font-family: Avenir-Roman, sans-serif;
    font-size: 16px;
}
.text-small{
    font-family: Avenir-Roman, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
}
.text-small-danger{
    font-family: Avenir-Roman, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #FF6F6B
}
.font-bold{
    font-weight: 800;
}
.pagination{
    font-family: Avenir-Light, sans-serif;
    font-weight: 400;
    font-size:18px;
    line-height:34px;
}
.checkboxes-form{
    #link-cgu, #link-confidential{
        margin-inline: 0.3rem;
        text-decoration: underline;
    }
}

.form-check .form-label{
    font-size: 0.9rem;
}
.text-small-caps{
    font-variant: small-caps;
}

@media (max-width: 768px) {
    .img-height-custom {
        height: calc(100vh - 65% - 4rem);
    }
}

@media only screen and (max-device-width: 1200px) {
    h2{
        font-size: 30px;
    }
}


@media (max-width: 1024px) {
    p{
        font-size:14px;
    }
    .text-small{
        font-size:12px;
    }
    a{
        font-size:14px;
    }
    h2{
        font-size:30px;
    }
    button.p-heavy, .btn-light-green, .btn-red.p-heavy, .left-btn-create-form-layout.p-heavy{
        line-height: 18px;
    }
}

@media (max-width: 768px) {
    p{
        font-size:12px;
    }
    .p-heavy{
        font-size:12px;
        line-height: 18px;
    }
    .p, .form-check-label{
        font-size:12px;
    }
    .text-small{
        font-size:10px;
    }
    a{
        font-size:12px;
    }
    h2{
        font-size:20px;
        line-height: 28px;
    }
    h3{
        font-size:16px;
        line-height: 20px;
    }
    .emphasis-small{
        font-size: 16px;
    }
    .emphasis-big{
        font-size: 18px;
    }
    button.p-heavy, .btn-light-green, .btn-red.p-heavy, .left-btn-create-form-layout.p-heavy{
        line-height: 18px;
    }
}