@font-face {
    font-family: 'luckiest_guyregular';
    src: url('luckiestguy-regular-webfont.woff2') format('woff2'),
         url('luckiestguy-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

.containernews {
	margin-left: 8%;
	max-width: 80%;
}

.card {
	background: #FFF;
	margin-top: 10px;
	width: 400px;
	height: 300px;
	overflow: hidden;
	transition: all .2s ease-in-out;
}

.img_card_top {
	width: 100%;
	height: 100%;
}

.img_card_top {
 transition: all 1s ease-in-out;
 overflow: hidden;
}

.card:hover {

	text-decoration: none;
}

.img_card_top:hover {
	transform: scale(1.1);

}

.card-body p{
	font-family: 'BebasNeue-Regular';
	text-decoration: inherit;
	color: #000;
}


.card-body:hover p {
	text-decoration: inherit;
	color: #000;
}


/* Ajoutez cette règle pour la classe .card-news */
.card-news {
    width: 400px;
    height: 300px;
    background: #000000;
    transition: 0.8s;
    margin-bottom: 20px;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.card-news .imgages-news img {
    width: 100%;
    height: auto;
}

.card-news .text-news {
    padding: 10px;
    color: white;
}

.card-transition {
    width: 400px; /* Même largeur que la carte */
    height: 30px; /* Hauteur de l'image de transition */
    background: url('https://forcefore.com/survivaladvanced/public/img/transition-image.png') repeat-x;
    background-size: contain;
    position: absolute;
    bottom: -30px; /* Positionner directement en dessous de la carte */
    left: 0;
    z-index: 0;
}

.imgages-news img:hover{
	height: 110%;
	margin-left: -5%;
	margin-top: -5%;
	transition: 0.8s;
}

.imgages-news {
	width: 400px;
	height: 230px;
	overflow: hidden;
}

.imgages-news img{
	height: 100%;
	display: flex;
  	align-items: center;
  	transition: 0.8s;
}

.text-news {
	padding-left: 15px;
	height: 70px;
	vertical-align: middle;
	text-decoration: none;
}

.text-news p{
	vertical-align:middle;
	font-family: 'BebasNeue-Regular';
	color: white;
	font-size: 25px;
	margin-top: 10px;
	text-decoration: none;
}

.text-news p:hover {
	vertical-align:middle;
	color: white;
	margin-top: 10px;
	text-decoration: none;
	text-underline-position: none;
	text-decoration-line: none;

}

a {

}
