/* General */
body {
    background-image: url('../img/fond/divers/trace_1.jpg');
}

main {
    padding: 0 20%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

/* Typographie*/
h2 {
    color: white;
    font-size: x-large;
    margin-bottom: 15px;
    text-align: center;
}

h3 {
    color: white;
    font-size: medium;
    margin-bottom: 10px;
}

p {
    color: white;
    margin: 10px 0;
    text-align: left;
    line-height: 25px;
    font-size: 14px;
}

ul {
    color: white;
    text-align: left;
}

a {
    color: darkslateblue;
}

a:hover {
    color: darkslategrey;
}

/* Image */
#imgPrincipale {
    margin: 20px;
    max-width: 90%;
    border-radius: 5px;
    box-shadow: 0 0 15px black;
}

.imgSecondaire {
    border-style: solid;
    border-color: white;
    border-width: 2px;
    width: min-content;
    align-self: center;
}

#cartel {
    text-align: center;
}

/* Commentaires */
#commentaires {
    padding-left: 20px;
    padding: 5px;
    background: rgba(0,0,0,0.25);
}

form {
    max-width: 420px;
    margin: auto;
    padding: 20px;
    color: white;
    background: rgba(0,0,0,0.25);
    border-radius: 10px;
}

#nvCommentaire {
    resize: vertical;
    max-width: 500px;
    min-height: 75px;
    margin-top: 10px;
}

#envoyer {
    width: 80px;
    height: 30px;
    margin: 10px 0;
    color: white;
    background: none;
    border-style: solid;
    border-color: white;
    transition: 0.5s;
}

#envoyer:hover {
    transform: scale(1.2); 
    transition: 0.5s;
}

/* Responsive design */
@media screen and (max-width: 800px) {
    main {
        padding: 0 5%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    /* Image */
    #imgPrincipale {
        margin: 10px 5px;
        max-width: 90%;
        border-radius: 5px;
        box-shadow: 0 0 15px black;
    }
}