@import url('https://fonts.googleapis.com/css? family=Poppins:200,300,400,500,600,700,800,900&display=swap');

:root {
    --primary-color: #ffca00;
    --secondary-color: #240d00;
    --tertiary-color: #005100;
    --quaternary-color: #f28500;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);


}

.logo {
    max-width: 18rem;
    position: absolute;
    top: 2rem;
    left: 6rem;
    z-index: 20;
	background-color: #eee;
}

/* MENU BUTTON */

.toggle {
    position: fixed;
    top: 0;
    right: 0;
    width: 5rem;
    height: 4.8rem;
    background: var(--primary-color) url(../images/menu.png);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
    cursor: pointer;
}

.toggle.active {
    background: var(--primary-color) url(../images/close.png);
    background-repeat: no-repeat;
    background-position: center;
    z-index: 20;
}

.navigation {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 15;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navigation.active {
    left: 0;
}

.navigation ul {
    position: relative;
}

.navigation ul li {
    position: relative;
    list-style: none;
    text-align: center;
}

.navigation ul li a {
    font-size: 2.2rem;
    color: var(--tertiary-color);
    text-decoration: none;
    font-weight: 400;
}

.navigation ul li a:hover {
    color: var(--quaternary-color);
}

/*====  BLOG SECTION ====*/

.container {
	margin: 15rem 3rem 15rem 3rem;
}

h1 {
	max-width: fit-content;
	align-items: center;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
/* 	background: linear-gradient(to right, #005100, #f28500);
	-webkit-text-fill-color: transparent;
    -webkit-background-clip: text; */
	margin-bottom: 1.5rem;
	margin-left: 40rem;
	color: var(--tertiary-color);
}

.training-post {
	width: 80%;
	max-width: 60rem;
	padding: 3rem;
	background-color: #dbf4ff21;
	box-shadow: 0 1.4rem 8rem rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	border-radius: .8rem;
	margin: 1rem;
}

.training-post_img {
	margin-left: 2rem;
	min-width: 15rem;
	max-width: 15rem;
	height: 15rem;
	transform: translateX(-8.5rem);
	position: relative;
}

.training-post_img img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: .5rem;
}

.training-post_title {
	font-size: 1.5rem;
	text-decoration: none;
	margin: 1.5rem 0 2rem;
	text-transform: uppercase;
	/*color: #f4acfe;*/
	color: var(--tertiary-color);
}

.training-post_text {
	margin-bottom: 2rem;
	font-size: 1.4rem;
	color: var(--secondary-color);	
}

.training-post_button {
	display: inline-block;
	padding: 1rem 2rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 1.2rem;
	text-decoration: none;
	background: linear-gradient(to right, #f28500 0%, #005100 100%);
	color: #ffff;
	border-radius: .8rem;
}

.training-post_button:hover {
	background: linear-gradient(to right, #005100 0%, #f28500 100%);	
}
@media screen and (max-width: 1068px) {
	.staff-post {
		max-width: 80rem;
		flex-direction: column;
	}
	.staff-post_img {
		max-width: 30rem;
		min-width: 30rem;
	}
}

@media screen and (max-width: 868px) {
	.staff-post {
		max-width: 70rem;
		flex-direction: column;
	}
}

@media screen and (max-width: 768px) {
	.staff-post {
		padding: 2.5rem;
		flex-direction: column;
	}
	.staff-post_img {
		max-width: 100%;
		min-width: 100%;
		transform: translate(0, .1rem);
	}
}




