/* Réinitialisation des styles par défaut */
html, body, div, h1, h2, p, a, img {
    font-family: Arial, sans-serif;
}

/* Styles généraux */

html {
    background-image: url("../../../ressource/image/general/background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background-attachment: fixed;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    scroll-behavior: smooth;
}

main {
    width: 100%;
    min-height: 100vh;
    max-width: 1600px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 50px;
    margin-bottom: 20px;
    margin-top: 15px;
}

h2 {
    color: #666666;
    font-size: 30px;
    margin-top: 30px;
}

h3{
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.img {
    margin: 10px;
    text-align: center;
}

body {
    color: #333333;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.6;
    border: none;
    height: 100vh;
    justify-content: center;
    align-items: center;
}

header {
    background-color: #333333;
    color: #ffffff;
    padding: 10px 0;
    width: 100%;
}

a {
    text-decoration: none;
}

p > em {
    font-weight: bold;
}

.boiteDepliante {
    display: block;
    background-color: #333333e3;
    backdrop-filter: blur(30px) brightness(200%);
    padding: 20px;
    border-radius: 20px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    font-size: 20px;
    margin: 20px;
}

.boiteDepliante[open] {
    max-height: 500px;
}

.boiteDepliante summary {
    color: #f0f0f0;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

summary {
    outline: none;
    position: relative;
    cursor: pointer;
}

details[open] > summary:before {
    transform: rotate(90deg);
}
summary:before {
    content: '';
    position: absolute;
    top: 1.3rem;
    left: 1rem;
    transform: rotate(0);
    transform-origin: .2rem 50%;
    transition: 2s transform ease;
}

.text-vide{
    text-align: center;
    display: flex;
    flex-grow: 2;
    color: white;
    background-color: #1E272D;
    border-radius: 20px;
    padding: 10px;
    font-size: 20px;
}

.titre{
    color: white;
}

.textResp{
    display: none;
}

.specification{
    color: #C0C0C0;
}

/* -------------------- *!* Projet de semestre *!* -------------------- */

@media screen and (max-width: 480px) {
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 1000px) {
    .textResp {
        display: flex;
        flex-direction: column;
    }

    .textNonResp {
        display: none;
    }
}