@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;900&display=swap');
*{
    margin:0;
    padding:0;
}
html{
    background: rgb(90,205,250);
    background: linear-gradient( 
        0deg, rgba(90,205,250,1) 
        0%, rgba(245,170,185,1) 
        20%, rgba(255,255,255,1) 
        40%, rgba(245,170,185,1) 
        80%, rgba(90,205,250,1) 100%); 
    background-repeat: no-repeat;
}
body{
    width: 100%;
    height: 100%;
    color: #dc99a6;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff50;
}
#conteneur{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: 20px auto;
    padding: 30px;
    height: 100%;
    width: 50%;
    text-align:center;
    background-color: #ffffff50;
    border-radius: 8px;
    border: 1px solid #00000025;

}
h1{
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 50px;
    padding: 15px 0;
    font-size: 4em;
}
h1::before, h1::after{
    content: url(../img/128transgenres.png);
    margin: 0 20px;
}
p{
    text-align: justify;
    margin: 15px auto;
    font-weight: 500;
    font-size: 1.3em;
    color: black;
}
a{
    color: #dc99a6;
    text-decoration: none;
}
div.legende{
    margin: 0 auto;
    background-color: #00000075;
    width: 75%;
}
div.legende>p{
    text-align: center;
    padding: 5px 20px;
    font-size: 1em;
    color: aliceblue;
}
span.hide{
    display: none;
}
label.seemore::before{ 
    content: "...Lire la suite ";
}
label.seemore:hover{
    cursor: pointer;
}
input[type='checkbox'].seemore{
    position: fixed;
    left: -9999px;
    top: -9999px;
}
input.seemore:checked~span.hide{
    display: inline;
}
input.seemore:checked~span.hide::after{
    content: "";
}
input.seemore:checked~label.seemore::before{
    content: "Fermer";
}
.imgArticles{
    width: 75%;
    height: 100%;
    margin: 0 auto;
    box-shadow: 0 0 20px black;
}
.opacity1{
    filter: opacity(5%);
    border: 1px solid #000000;
}
.opacity1:hover{
	filter: none;
}
div.video{
    width: 100%;
    height: 100%;
    margin: 50px auto 0;
    box-shadow: 0 0 20px black;
}
footer{
    margin: 20px 0 0 0;
    padding: 20px 0 50px 0;
}
/****   using media query max-width 1609px  */
@media only screen and (min-width: 1000px) and (max-width: 1600px) {
    #conteneur{
        width: 75%;
    }
    h1{
        margin: 0 auto;
        padding: 30px 10px 25px;
        font-size: 1.7em;
    }
    h1::before, h1::after{
        content: url(../img/64transgenres.png);
        margin: 0 auto;
    }
    p{
        font-size: 1.2em;
    }
    .imgArticles{
        width: 100%;
    }
    div.legende{
        width: 100%;
    }
  }
/****   using media query max-width 999px  */
  @media only screen and (min-width: 0px) and (max-width: 999px) {
    #conteneur{
        width: 85%;
        border: 1px solid #00000025;
    }
    h1{
        margin: 0 auto;
        padding: 15px 15px;
        font-size: 1.7em;
    }
    h1::before, h1::after{
        content: url(../img/32transgenres.png);
        margin: 0 auto;
        padding: 10px 10px;
    }
    p{
        font-size: 1.1em;
    }
    div.legende>p{
        text-align: center;
        padding: 5px 10px;
        font-size: 1em;
        color: aliceblue;
    }
    .imgArticles{
        width: 100%;
    }
    div.legende{
        width: 100%;
    }
  }
