@font-face {
    font-family: Montserrat;
    src: url('../font/Montserrat.ttf') format('truetype');
}

@font-face {
    font-family: Montserrat-Bold;
    src: url("../font/Montserrat-Bold.ttf") format("truetype");
}

@font-face {
    font-family: Montserrat-Medium;
    src: url("../font/Montserrat-Medium.ttf");
}

p a {
    color: black;
}

p a:hover {
    color:green;
}

li {
    margin-bottom: 20px;
}
#page {
    margin: 0;
    padding: auto;
    font-family: Montserrat;
    /*
    background-color: #555557;
    color: white;
    */
}

@media screen and (max-width: 1200px) {
    footer {
        font-size: 35px;
    }
}

html {
    width: 100%;
}

body {
    width: 100%;
    margin: 0px;
    font-family: Montserrat-Medium;
    line-height: 2;
}

body * {
    line-height: 2;
}

p {
    line-height: 2;
}

h1 {
    font-family: Montserrat-Bold;
}

.contact {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    padding-top: 20px;
}

.contact-button {
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ff0000;
    color: white;
    font-family: Montserrat-Bold;
    font-size: 30px;
    border-radius: 10px;
    transition: background-color 100ms ease-out;
}

@keyframes buttonFadeIn {
    from {
        background-color: rgb(179, 30, 30);
    }

    to {
        background-color: green;
    }
}

@keyframes buttonFadeIn {
    from {
        background-color: rgb(179, 30, 30);
    }

    to {
        background-color: green;
    }
}

.longueur {
    width: 100%;
    height: 12em;
    background-color: #b1e810;
    color: black;
    overflow: hidden;
}

.entete {
    padding: 20px;
    padding-left: 10%;
}


.contact-button {
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ff0000;
    color: white;
    font-family: Montserrat-Bold;
    font-size: 30px;
    border-radius: 10px;
    transition: background-color 100ms ease-out;
}

green {
    color: green;
    font-family: Montserrat-Bold;
}

blue {
    color: rgb(0, 172, 202);
    font-family: Montserrat-Bold;
}

h1 {
    text-align: center;
}

body h2 {
    line-height: 130%;
}

@media screen and (max-width: 900px) {
    .contact-button {
        font-size: 20px;
    }
}

@media screen and (min-width: 900px) {
    body {
        line-height: 150%;
    }

    body h1{
        line-height: 130%;
    }
}

input:checked {
    background-color: #b1ea0c;
}

.contact-button:hover {
    background: #b1ea0c;
}

p {
    font-family: Montserrat-Medium;
    
}

a {
    font-family: Montserrat-Bold;
    text-decoration: none;
    color: white;
    transition: color 250ms ease-out 100ms;
}

a:hover {
    color: #8db80c;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Barre de défilement principale */
::-webkit-scrollbar {
    width: 12px;
    /* Largeur de la barre de défilement */
    scrollbar-gutter: both;
    cursor: default;
}

/* Barre de défilement sur l'axe horizontal */
::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Couleur de fond de la barre de défilement */
    border-radius: 7px;
    /* Rayon des coins de la barre de défilement */
    border: 3px solid transparent;
}

/* Flèche en haut et en bas de la barre de défilement */
::-webkit-scrollbar-button {
    display: none;
    /* Masquer les flèches */
}

/* Piste de la barre de défilement */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    transition: background-color 0.8s ease;
    /* Couleur de fond de la piste */
}

/* Effet de transition au survol de la barre de défilement */
::-webkit-scrollbar-thumb:hover {
    background-color: #686868;
}

::-webkit-scrollbar-thumb:active {
    background-color: #4d4d4d;
}