/*
MWFR CSS
*/

/*
  - General
*/

@font-face {
	font-family: gravity;
	src: url("../fonts/theme.otf");
}

@font-face {
	font-family: cocomat;
	src: url("../fonts/theme.ttf");
}

body {
	margin-top: 20px;
	font-family: gravity;
	font-size: 1.2em;
	color: black;
	background-color: white;
}
#content {
	width: 75%;
	margin: 10px auto;
}

h1 {
	font-family: cocomat;
	color: #ff2f1e;
}
h1 small {
	padding-left: 15px;
}

section {
	max-width: 800px;
	margin: 3rem auto;
}

h2 {
	font-family: cocomat;
	color: #ff6428;
}

a, button {
	color: #ff6428;
	text-decoration: underline;

	border: none;
	background-color: transparent;
	display: inline;
}
a:hover, button:hover {
	color: #ff2f1e;
	text-decoration: none;
}

.hide {
	display:none;
}

strong {
	color: #ff2f1e;
	font-weight: bold;
}

hr {
	display: block;
	border: 0;
	margin-top: 20px;
}


/*
  - Hero
*/

header {
	text-align: right;
}

section.hero {
	text-align: center;
}

.hero h1 {
	text-align: center;
	font-size: 2.5em;
}

.hero p {
	font-size: 1.3em;
	width: 85%;
	margin: 0 auto;
}

.hero .banner {
	border-radius: 20%;
	max-width: 400px;
}

nav.reach {
	margin: 1.5rem auto;
	text-align: center;
}

nav.reach ul, nav.reach li {
	display: inline;
	padding: 10px;
}


/*
  - CV
*/

/* Experiences  */

section.xp .xp-list {
	list-style: none;
	padding: 0;
	max-width: 800px;
}

section.xp .xp-list .xp-item {
	display: grid;
	grid-template-columns: 160px 1fr auto;
	align-items: center;
	padding: 1rem 0;
	border-bottom: 1px solid #e0e0e0;
	gap: 1.5rem;
}

section.xp .xp-list .xp-item:last-child {
	border-bottom: none;
}

section.xp .xp-item .xp-years {
	font-weight: bold;
	min-width: 100px;
}

section.xp .xp-item .xp-company {
	font-weight: 700;
}

section.xp .xp-item .xp-position {
	font-style: italic;
	text-align: right;
	min-width: 150px;
}

/* Experiences mobile */
@media (max-width: 768px) {
	section.xp .xp-list .xp-item {
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto;
		gap: 0.5rem;
		padding: 1.5rem 1rem;
	}

	section.xp .xp-item .xp-years {
		font-size: 0.9rem;
		color: #ff2f1e;
	}

	section.xp .xp-item .xp-company {
		font-size: 1.1rem;
		margin: 0.25rem 0;
	}

	section.xp .xp-item .xp-position {
		font-size: 1rem;
	}
}

/* Expertise */

section.tk .tk-list {
	list-style: none;
	padding: 0;
	max-width: 800px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

section.tk .tk-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1.5rem 1rem;
	background: #f8f9fa;
	border-radius: 12px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	text-align: center;
}

section.tk .tk-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

section.tk .tk-item .tk-logo {
	font-size: 3.5rem;
	margin-bottom: 0.75rem;
	object-fit: contain;
}

section.tk .tk-item .tk-name {
	font-weight: 600;
	font-size: 1rem;
}

/*
  - Reach out
*/

section.ck .ck-captcha {
	display: block;
	margin: 10px;
}

section.ck .ck-list {
	list-style: none;
	padding: 0;
	max-width: 800px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1.5rem;
}

section.ck .ck-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: #f8f9fa;
	border-radius: 12px;
	padding: 0.5rem;
}


/*
  - OSS/Articles
*/

section.osso .osso-nav {
	text-align: left;
}

section.osso .osso-list .osso-item {
	display: block;
	padding: 0.5rem;
}

section.osso .osso-link::after {
	content: " — ";
	padding: 0 0.2rem;
}

section.osso .osso-desc {
	font-style: italic;
}


/*
  - Footer
*/

footer {
	margin-left: 8%;
}

footer.hero {
	text-align: center;
	margin-left: auto;
}
