.date-newsletter {
    text-align: center;
    color: white;
}

header h1 {
    text-align: center;
    color: white;
}

h2 {
    color: #000a13;
    font-size: 1.7em;
}

h3 {
    color: #000a13;
    font-size: 1.3em;
    font-weight: 500;
}

p,
li {
  font-size: 1.3em;
  color: #292929;
  text-align: justify;
  line-height: 150%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    background-color: #cfcfcf;
}

main{
    width: 1000px;
    margin: auto;
    background-color: rgb(255, 255, 255);
}

.text-italic {
    color: #707070;
    font-style: italic;
}
.text-italic-red  {
    color: #860000;
    font-style: italic;
}

.text-italic-red a  {
    color: #860000;
}

a  {
    color: #707070;
}

a:hover {
    color: #313131
}


.conteneur-grid{
    display:grid;
    grid-template-columns: 1fr 1fr; /*nb colonnes, hauteur, fr permet de s'adapter à la largeur de la page*/
    grid-template-rows: 1fr; /*nb ligne, hauteur, fr permet de s'adapter à la largeur de la page*/
    margin: auto;
}

.photo-left2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.intro {
    font-size: 24px;
    text-align: center;
    font-style: italic;
    padding: 5px;
}

.box-grid{
    background-color: white;
}

.photo {
    grid-column-start: 1;
    grid-column-end: 3;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titre {
    padding : 5px 25px 5px 25px;
    grid-column-start: 1;
    grid-column-end: 3;
    margin-top: 20px;
    border-top:#cfcfcf dotted 6px;

}

.texte {
    padding : 5px 40px 5px 40px;
    grid-column-start: 1;
    grid-column-end: 3;
}

/*BLOC 1*/
.txt-left1 {
    padding : 10px 25px 10px 25px;
    grid-column-start: 1;
    grid-column-end: 2;
}

.photo-right1 {
    grid-column-start: 2;
    grid-column-end: 3;
}
.photo-right1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*BLOC 2*/
.txt-right2 {
    padding : 10px 25px 10px 25px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-start: 6;
}

.photo-left2 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 5;
    grid-row-start: 6;
}

.photo-left2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*BLOC 3*/
.txt-left3 {
    padding : 10px 25px 10px 25px;
    grid-column-start: 1;
    grid-column-end: 2;
}

.photo-right3 {
    grid-column-start: 2;
    grid-column-end: 3;
}
.photo-right3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*BLOC 4*/
.txt-right4 {
    padding : 10px 25px 10px 25px;
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-start: 8;
}

.photo-left4 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 7;
    grid-row-start: 8;
}

.photo-left4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.conteneur-grid-contact {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr; /*nb colonnes, hauteur, fr permet de s'adapter à la largeur de la page*/
    grid-template-rows: 1fr; /*nb ligne, hauteur, fr permet de s'adapter à la largeur de la page*/
    margin: auto;
}

.logo-cjl {
    padding : 10px 25px 10px 25px;
    grid-column-start: 1;
    grid-column-end: 2;
}

.logo-cjl img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact {
    padding : 10px 25px 10px 25px;
    grid-column-start: 2;
    grid-column-end: 3;
}

.contact p {
    text-align: center;
}

.liens {
    padding : 10px 25px 10px 25px;
    grid-column-start: 3;
    grid-column-end: 4;
}

.lien-icone:hover {
    opacity: 0.5;
  }
.liens img {
    width: 15%;
    margin-top : 80px;
    margin-right: 15px;
    margin-left: 15px;
}

.footer {
    width: 1000px;
    height : 120px;
    padding-top:10px;
    background-image: url('images/cjl_footer.png');
    background-size:cover; /* va remplir sur toute la longueur de la page*/
    text-align: center;
}

.footer p {
    color: white;
    text-align: center;
}

.bouton-lien {
    background-color: #860000;
    color:white;
    font-size: 1.3em;
    border-radius: 80px;
    width: 300px;
    padding:10px;
    text-align: center;
    text-decoration: none;
}

.bouton-lien:hover{
    background-color: #8f3333;
    color:white;
}
