/* General */
body {
    background-image: url(../img/fond/flou/arbres.jpg);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large;
}

/* Filtres */
p {
    color : white;
}

#filters {
    padding: 10px;
    margin: 10px;
    list-style: none;
    font-size: small;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    vertical-align: middle;

    border-style: solid;
    border-color: white;
    border-width: 1px;
    border-radius: 5px;
    background-color: rgb(139, 139, 139, 0.50);
}

#filters a {
    padding: 7.5px;
    margin: 2.5px;
    width: fit-content;

    text-align: center;
    border-style: solid;
    border-color: white;
    border-radius: 5px;
    background-color: black;
    box-shadow: 0 0 15px black;
    border-width: 2px;

    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bolder;
    color: white;

    opacity: 75%;
    transition: 0.25s;
}

#filters a:hover {
    opacity: 100%;
    color: black;
    border-color: black;
    background-color: white;
    box-shadow: 0 5px 25px black;
    transition: 0.5s;
}


/* List */
ul {
    list-style: none;
    padding-left: 0;
}

hr {
    color: white;
    border-style: solid;
}

.trace {
    margin: 30px;
    padding: 0;
    display: none;
    width: 800px;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    background-color: darkslategray;
    text-decoration: none;
    box-shadow: 2px 2px 2px black;
    transition: 0.5s;
}

.trace:hover {
    border-color: white;
    transform: scale(1.05); 
    transition: 0.5s;
}

img {
    width: 800px;
    display: block;
}

.traceDescription {
    padding: 10px;
    color: white;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .trace {
        width: 600px;
    }

    img {
        width: 600px;
    }
}

@media screen and (max-width: 700px) {
    .trace {
        width: 80%;
    }

    .trace p {
        font-size: x-small;
    }

    img {
        width: 100%;
    }
}