﻿#headerTitleSelect {
    font-family: BBBPoppinsTN-DisplaySemiBold;
    font-weight: 400;
    font-size: 4.2rem;
    background-color: transparent;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 10 8.66"><path d="M0 0 L10 0 L5 8.66 Z" fill="rgb(26, 26, 47)"/></svg>');
    background-repeat: no-repeat;
    background-position-x: left 0;
    background-position-y: top 45%;
    padding-left: 2rem;
    margin-top: 1rem;
}

    #headerTitleSelect:focus {
        outline: none;
    }

    #headerTitleSelect option, #headerTitleSelect optgroup {
        font-size: 1.5rem;
        font-weight: 400;
    }

    #headerTitleSelect optgroup {
        border-top-color: black;
        border-top-width: 1px;
        border-top-style: solid;
    }

        #headerTitleSelect optgroup:first-of-type {
            border: none;
        }

    #headerTitleSelect .optGroupWithoutOption {
        display: none !important;
    }

#headerCountTitle {
    font-size: 1.2rem;
}

#spectaclesTuilesContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20vw, 1fr));
    gap: 2vw;
    margin-top: 3rem;
    box-sizing: border-box;
}

.spectacleTuile {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.spectacleTuileImgContainer {
    width: 100%;
    margin-bottom: 1rem;
    height: 17rem;
    background-color: black;
}

    .spectacleTuileImgContainer img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.spectacleTuile h3 {
    margin-top: 2rem;
    font-size: 2rem;
}

.spectacleTuile h4 {
    font-size: 1.5rem;
}

.spectacleTuileDates {
    font-weight: 600;
}

.spectacleTuileDates, .spectacleTuileTags {
    line-height: 1rem;
}

@media (orientation:portrait) {
    #spectaclesTuilesContainer {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }

    .spectacleTuile h3 {
        margin-top: 1rem;
    }

    #headerTitleSelect, #headerTitleSelect optgroup, #headerTitleSelect option {
        font-size: 1rem;
    }
}
