@import url(./variables.css);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--background-color);
}
body #main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin-top: 50px;
}
body #main div {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
}
body #main div .titre {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
body #main div .titre h1 {
    color: var(--fond-pages, #fff);
    text-align: center;
    /* mobile/h1-mobile */
    font-family: var(--accent-font);
    font-size: 31px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}
body #main div .titre p {
    color: var(--fond-pages, #fff);
    /* mobile/p-mobile */
    font-family: var(--body-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 141.667% */
}
body #main div #choix {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
body #main div #choix h2 {
    color: var(--fond-pages, #fff);
    text-align: center;
    /* mobile/h2-mobile */
    font-family: var(--accent-font);
    font-size: 27px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
body #main div #choix a {
    text-decoration: none;
    transition: all 500ms;
}
body #main div #choix a :hover {
    opacity: 0.75;
}
body #main div #choix a :hover img {
    transition: all 500ms;
    transform: rotate(90deg);
}
body #main div #choix a p {
    color: var(--fond-pages, #fff);
    /* mobile/p-mobile */
    font-family: var(--body-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 141.667% */
}
body #main div #choix a img {
    width: 29px;
    height: 29px;
    flex-shrink: 0;
}
body #main div #choix #propTrajet {
    display: flex;
    flex-direction: row;
    height: 43px;
    min-width: 240px;
    padding: 0px 20px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background: var(--primary-color);
}
body #main div #choix #voirTrajet {
    display: flex;
    flex-direction: row;
    height: 43px;
    min-width: 240px;
    padding: 0px 20px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background: var(--secondary-color);
}
body #main .message {
    color: var(--fond-pages, #fff);
    /* mobile/p-mobile */
    font-family: var(--body-font);
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 17px; /* 141.667% */
    padding-top: 20px;
}

@media screen and (min-width: 1024px) {
    body #main div {
        gap: 40px;
    }
    body #main div .titre {
        gap: 20px;
    }
    body #main div .titre h1 {
        font-size: 40px;
    }
    body #main div .titre p {
        font-size: 16px;
    }
    body #main div #choix {
        gap: 20px;
    }
    body #main div #choix h2 {
        font-size: 32px;
    }
    body #main div #choix a p {
        font-size: 16px;
    }
    body #main div #choix #propTrajet {
        min-width: 880px;
        height: 100px;
    }
    body #main div #choix #voirTrajet {
        min-width: 880px;
        height: 100px;
    }
    body #main .message {
        padding: 50px;
        text-align: center;
        font-size: 16px;
    }
}

@media screen and (max-width: 1024px) {
    body #main div{
        gap: 20px;
    }
    body #main div .titre {
        gap: 20px;
    }
}
