
body {
    flex-direction: column;
}

header {
    height: 14vh;
    min-height: 8.6rem;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 0 .4rem rgba(0,0,0,.34);
    box-sizing: border-box;
    padding-right: 19vh;
    position: relative;
    
    #logo {
        display: flex;
        align-items: center;
        margin: auto 2.1rem;
        padding-right: 2.1rem;
        border-right: 1px solid #f0f0f0;
        flex-direction: column;
        justify-content: space-around;
        height: 100%;

        a {
            display: flex;
            align-items: center;
            flex-direction: column;
            justify-content: space-around;
            text-decoration: none;
            height: 100%;
        }
        
        img {
            width: 7.1rem;
            height: auto;
            margin: auto;
        }

        span {
            background-color: var(--citycenter-color);
            color: #fff;
            text-transform: uppercase;
            padding: 0.33vw 0.66vw;
            text-align: center;
            font-weight: 700;
            font-size: 1.1rem;
            /* margin-left: 0.66vw; */
            margin: auto;
            margin-top: 0;
        }

    }

    .title_activity {
        margin: auto;
        font-size: clamp(4.2rem,4.5vw,7.4rem);
        text-transform: uppercase;
        font-weight: 600;
        /* line-height: 1; */
        color: var(--noir);
        color: var(--bleu-fonce);
    }

    a.btn-fullscreen {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        width: 6vh; height: 6vh;
        right: 4vh; top: 4vh;

        svg {
            width: 100%;
            height: auto;
            opacity: 0.04;
        }
    }
}


main {
    height: 86vh;
    padding: 3.4vh 2.1vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    color: var(--noir);

    &.config-ecran {
        justify-content: center;

        fieldset {
            margin: 1.4rem auto;
            display: flex;
            flex-direction: column;
            border-radius: .8rem;
            box-shadow: 0 .2rem .4rem rgba(0, 0, 0, .42);
            border: 1px solid var(--gris);
            background-color: #fff;

            legend {
                font-size: clamp(1.8rem, 2vw, 2.5rem);
                font-weight: 700;
                padding: 1rem;
            }


            select {
                font-size: 1.9rem;
                padding: .7rem 2rem;
                margin: .5rem 1rem;
            }

            &.select_activities:not(.twice_screen) {
                select + select {
                    display: none;
                }
            }
        }

        a.btn {
            margin: 2.1rem auto;
            border: 1px solid var(--noir);
            color: var(--noir);
            text-transform: uppercase;
            font-weight: 700;
            padding: 1.1rem 1.8rem;
            box-sizing: border-box;
            text-decoration: none;
            border-radius: 0.8rem;
            transition: all 0.2s;
            font-size: clamp(1.8rem, 2vw, 2.5rem);

            &:hover {
                color: white;
                background: var(--noir);
            }
        }
    }

    &.places-dispo {
        font-size: clamp(3.6rem, 3.2vw, 5.2rem);
        font-weight: 600;
    }

    &.temps-attente {
        justify-content: center;

        .header {
            font-size: clamp(5.2rem,6vw,8.6rem);
            font-weight: 600;
            color: var(--bleu-fonce);
            margin-bottom: 3.4vh;
        }

        .time-value {
            font-size: clamp(9rem,12vw,16rem);
            font-weight: 700;

            small {
                color: var(--gris-strong-hachure);
                font-size: .7em;
                font-style: italic;
                font-weight: 500;
                letter-spacing: -.06em;
            }
        }
    }

    &.places-dispo .row,
    &.temps-attente .time-value {
        box-shadow: 0 .2rem .4rem rgba(0,0,0,.42);
        border: 1px solid var(--gris);
        border-radius: .8rem;
        overflow: hidden;
        background-color: #fff;
    }

    .row {
        display: flex;
        margin-top: 1.4vh;
        margin-bottom: 1.4vh;
        margin-top: 2.7vh;
        margin-bottom: 2.7vh;

        div { 
            padding: 1.4rem 1.7rem;
            text-align: center;
            line-height: 0.74;
        }

        .creneau {
            width: 11vw;
            border-right: 1px solid var(--gris);
        }

        .places {
            width: 27vw;
        }
    }
}
