@import '../page-structure.css';

.poste{
	font-family: Arial, Helvetica, sans-serif;
	height: 100%;
	background-color: rgb(0,0,0,0.5);
	margin: 20px;
	padding: 10px;
	flex-direction: column;
	border-radius: 5px;
	border-top: 5px solid var(--main-color);
	transition: 0.5s;
}
.entete{
	border-radius: 5px;
	border-left: 5px solid var(--main-color);
	display: flex;
	background-color: rgb(0,0,0,0.8);
	margin:20px 30px;
	padding: 10px;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
}

.entete>img{
	display:flex;

}
.entete>p{
	display: flex;
	padding: 0px;
	font-size:350%; 
	align-items: center;
	justify-content: center;
	margin:20px;
	flex-grow: 1;
}

.poste>div:last-child>p{
	margin:20px;
	border-radius: 5px;
	border-left: 5px solid var(--main-color);
	padding: 30px;
	text-align: justify;
	background-color: rgb(0,0,0,0.8);
}

#postule{
	display: block;
    font-family: "Montserrat", sans-serif;
	width: 150px;
	text-align: center;
	margin: auto;
	margin-bottom: 20px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    background-color: var(--border-default);
    color: black;
    border-radius: 5em;
}

#postule:hover{
    color: var(--text-color);
	background-color: var(--main-color);
}

.entete i {
    font-size: 4em;
    width: 10%;
    margin-left: 100px;
}

@media only screen and (max-width:700px){
    .entete i {
        width: auto;
        margin-left: 20px;
	}
	
	.entete{
		font-size: 0.4em;
		margin:10px;
	}

	.entete > p {
		text-align: center;
	}

	.offre{
		font-size: 0.8em;
	}

	.poste > div:last-child > p{
		padding:20px;
		margin:10px;
	}
}