@font-face { 	font-family: "Lato Regular"; 	src: url('./../font/Lato-Regular.ttf'); }
@font-face { 	font-family: "Lato Bold"; 	src: url('./../font/Lato-Bold.ttf'); }
@font-face { 	font-family: "Updock"; 	src: url('./../font/Updock-Regular.ttf'); }
@font-face { 	font-family: "Unbuntu"; 	src: url('./../font/Ubuntu-Regular.ttf'); }
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Lato Regular;
}
.title{
    font-size: 4rem;
    text-align: center;
    font-family: Updock;
    text-decoration: underline;
    font-weight: 400;
    color: #151515;
    margin-top: 40px;
}

.liens > a:nth-child(1){
    text-decoration: none;
    background-color: #151515;
}

.annonces{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}
.annonce{
    display: flex;
    width: 800px;
    justify-content: center;
    align-items: center;
    padding: 20px 20px;
    background-color: #29292A;
    border-radius: 15px;
    color: white;
    margin-bottom: 25px;
}
.illus > img{
    width: 300px;
    object-fit: cover;
    border-radius: 10px;
    -moz-webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
.texte{
    width: 100%;
    margin-right: 20px;
}
.texte-annonce{
    font-size: 1.1rem;
    font-family: Unbuntu;
}
.titre-annonce{
    font-size: 1.8em;
    font-family: Unbuntu;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
    color: white;
    border-bottom: solid white 2px;

}
.annonce div{
    display: flex;
    flex-direction: column;
}
.createur-annonce{
    margin-top: -15px;
}
.date-annonce,.createur-annonce{
    font-size: 0.8em;
}

@media (min-width:520px) and (max-width:1020px) {
    .annonce{
        width: 600px;
    }
    .illus > img{
        width: 200px;
        height: auto;
    }
    .texte-annonce{
        font-size: 1rem;
    }
    .titre-annonce{
        font-size: 1.5rem;
    }
    .date-annonce,.createur-annonce{
        font-size: 0.7em;
    }
}
@media screen and (max-width:520px) {
    .annonce{
        width: 350px;
    }
    .illus > img{
        width: 100px;
    }
    .texte-annonce{
        font-size: 0.9rem;
    }
    .titre-annonce{
        font-size: 1.2rem;
    }
    .date-annonce,.createur-annonce{
        font-size: 0.6em;
    }
}
@media screen and (max-width:380px) {
    .annonce{
        width: 300px;
    }
    .illus > img{
        width: 100px;
    }
    .texte-annonce{
        font-size: 0.9rem;
    }
    .titre-annonce{
        font-size: 1.2rem;
    }
    .date-annonce,.createur-annonce{
        font-size: 0.5em;
    }
}

