/*STYLES DES PAGES DÉTAILS DES ÉNIGMES*/

*,
*::before,
*::after {
    box-sizing: border-box;
}

/*LIENS RETOUR ET PARTAGE*/

.top{
    display: flex;
    justify-content: space-around;
}

.retour {
    color: black;
    font-weight: bold;
}

.back {
    margin-top: 50px;
}

.share {
    margin-top: 30px;
    background-color: #950101;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.share i {
    font-size: 1.9rem;
    color: white;
}

.share:hover {
    background-color: #ff0606;
}


/*CONTENU*/

.block {
    display: flex;
    padding: 1em;
    max-width: 1100px;
    margin-top: 30px;
    margin-right: auto;
    margin-left: auto;
    border: 5px solid #3D0000;
    background-color: #F6F5F2;
    margin-bottom: 50px;
}

.img {
    display: none;
}

h1 {
    font-size: 3rem;
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.container_presentation {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    color: white;
}

.container_presentation h2 {
    font-size: 1.2rem;
    text-align: center;
}

.container_presentation i {
    font-size: 2rem;
    margin-top: 25px;
}

.presentation {
    display: flex;
    flex-direction: column;
}


.description {
    margin-top: 32px;
}


.intro_darkred {
    width: 150px;
    background-color: #3D0000;
}

p {
    font-size: 1.2em;
}

.button {
    width: 150px;
    height: 45px;
    margin-top: 50px;
    background-color: #3D0000;
    border: none;
    padding: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button a {
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.button:hover {
    background-color: #ff0606;
    transform: scale(1.02);
}


@media (width>=900px) {
    .block {
        align-items: flex-start;
    }

    .img {
        display: block;
        width: 40%;
        margin-right: 1rem;
    }
}


@media (width<=500px) {
    div {
        flex-direction: column;
    }
    .container_presentation{
        align-items: center;
    }
}
