@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

@font-face {
    font-family: "Gang of Three";
    src: url("./assets/fonts/go3v2.ttf");
}

:root {
    --primary_clr: #DB2122;
    --secondary_clr: rgba(187, 0, 44);
    --third_clr: #2a2a2a;
    --fourth_clr: #fafafa;
    --black : #000;
    --white: #fff;

    --title: "Anton", serif !important;
    --text: "DM Sans", sans-serif !important;
}

html {
    scroll-behavior: smooth;
    /*font-size: 24px;*/
}

@media screen and (min-width: 1920px) {
    html {
        font-size: 24px;
    }
}


*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif !important;
    overflow-x: hidden;
}

.conteneur {
    width: 80%;
    margin: 0 auto;
}

.TITLE {
    text-transform: uppercase;
    font-family: var(--title);
}

.BUTTON {
    padding: 0.5rem 1rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 100ms ease, background 100ms ease;
}

link, button {
    font-family: var(--text);
}

section:not(#homepage_acceuil):has(.fleche_acceuil) {
    text-align: center;
    padding: 8rem 0;
    color: var(--fourth_clr);
}

section:not(#homepage_acceuil) .acceuil_title {
    font-size: 5em;
}

@media screen and (max-width: 576px) {

    section:not(#homepage_acceuil) .acceuil_title {
        font-size: 3em;
    }
}

@media screen and (min-width: 1200px) {
    section:not(#homepage_acceuil) .acceuil_subtitle {
        margin-top: -1rem;
    }
}

section:not(#homepage_acceuil) .fleche_acceuil {
    translate: 0 50%;
}

#btn_UP {
    z-index: 10;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    display: block;
    background: var(--fourth_clr);
    box-shadow: 0 0 10px var(--third_clr);
    opacity: 0.75;
    border-radius: 50px;
    padding: 1em;
    cursor: pointer;
    /*transition: opacity 100ms ease-in-out;*/
}

#btn_UP:hover {
    opacity: 1;
}

#btn_UP img {
    max-width: 40px;
}

input {
    accent-color: var(--primary_clr);
}