* {
	margin: 0;
	padding: 0;
}

/* --- General --- */
body {
	display: grid;
	height: 100vh;
}

a {
	color: black;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}
/* --- ----- --- */

/* --- Header General --- */
#header {
	position: relative;
	width: 100%;
	grid-row: 1;
	display: flex;
	flex-direction: column;

	background-image: url("img/rm-logo.png");
	background-repeat: no-repeat;
	background-size: 50px auto;
	background-position: 30px center;
}

#header__main-page {
	position: absolute;
	left: 15px;
	top: 50%;
	display: inline-block;
	height: 80px;
	width: 80px;
	transform: translateY(-50%);
	z-index: 99;
}

#header__nav-bar {
	border-bottom: 2px solid black;
	align-self: center;
	min-width: 1200px;
	max-width: 1500px;
	position: sticky;
	top: 0;
}

#header__nav-bar:after {
	content: "";
	position: absolute;
	bottom: -42px;
	left: 0;
	display: inline-block;
	width: 100%;
	height: 40px;
	background: #fff;
	background: linear-gradient(180deg, #fff 50%, #fff0 100%);
}

#header__nav-bar ul {
	margin: 30px 150px;
	display: flex;
	justify-content: space-between;
}

#header__nav-bar li {
	margin: 0 25px;
	display: inline-block;
	list-style-type: none;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: calc(var(--font-size) * 5);
}
/* --- ----- --- */

/* --- Footer General --- */
#footer {
	box-sizing: border-box;
	margin-top: 60px;
	padding: 15px !important;
	width: 100% !important;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	font-size: calc(var(--font-size) * 4);
	text-align: center;
	color: #ddd;
	background-color: #555;
}
/* --- ----- --- */

/* --- Content General --- */
#content {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	flex-direction: column;
	grid-row: 2;
	height: 100%;

	overflow: scroll;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

#content::-webkit-scrollbar {
	display: none;
}

#content > * {
	padding-top: 40px;
	width: 1000px;
	align-self: center;
	display: flex;
	flex-direction: column;
}

#content h2 {
	margin-bottom: 30px;
	position: relative;
	align-self: center;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: calc(var(--font-size) * 8);
}

#content h2:before, #content h2:after {
	content: "";
	margin: 0 auto;
	display: inline-block;
	width: calc((1000px - 100%) / 2 - 60px);
	height: 2px;
	position: absolute;
	top: 50%;
	transform: translateY(50%);
	background-color: black;
}

#content h2:before {
	transform: translateX(calc(-100% - 15px));
	transform: translate(calc(-100% - 15px), 50%);
}

#content h2:after {
	transform: translateX(15px);
	transform: translate(15px, 50%);
}

#content h3 {
	margin-bottom: 15px;
	font-family: 'Rubik', sans-serif;
	font-weight: 600;
	font-size: calc(var(--font-size) * 6);
	letter-spacing: 2px;
}

#content h4 {
	margin-bottom: 2.5px;
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: calc(var(--font-size) * 3);
	letter-spacing: 1px;
	color: #555;
}

#content p, #content table {
	margin-bottom: 60px;
	font-family: 'Rubik', sans-serif;
	font-weight: 400;
	font-size: calc(var(--font-size) * 4);
	letter-spacing: 2px;
}
/* --- ----- --- */


/* --- Specific categories  --- */
#content #about-me img {
	margin-bottom: 60px;
	border-radius: 50%;
	width: 220px;
	align-self: center;
}

#content #abilities div p {
	margin-bottom: 30px;
}

#content #abilities div p:last-of-type {
	margin-bottom: 60px;
}

#abilities__prog-languages__table {
	--multiplier: 4;
	text-align: right;
}

#abilities__prog-languages__table td {
	padding-bottom: 30px;
}

#abilities__prog-languages__table tr:last-of-type td {
	padding-bottom: 0;
}

#abilities__prog-languages__table tr td:nth-of-type(1) {
	padding-right: 30px;
}

#abilities__prog-languages__table tr td:nth-of-type(2) {
	position: relative;
}

#abilities__prog-languages__table tr td:nth-of-type(2):after {
    content: attr(percentage);
	display: inline-block;
	width: calc(100px * var(--multiplier));
	height: 25px;
	position: absolute;
	left: 0;
	top: 0;
	text-align: center;
	line-height: 25px;
	vertical-align: middle;
	background: linear-gradient(90deg, #000 0%, #000 var(--percentage), #fff var(--percentage), #fff 100%);
	border: 2px dashed black;
	border-left: none;
}

#abilities__prog-languages__table .text-white {
	color: white;
}

#abilities__prog-languages__table .text-black {
	color: black;
}
/* --- ----- --- */

/* --- Social Media --- */
#content .social-media {
	margin-bottom: 0 !important;
	flex-direction: row !important;
	justify-content: center;
}

#content .social-media > * {
	margin-right: 24px;
	width: 36px;
	height: 36px;
	align-self: center;
}

#content .social-media > *:last-of-type {
	margin: 0;
}

#content .social-media i {
	width: 100%;
	height: 100%;
	display: inline-block;
	font-size: calc(var(--font-size) * 6);
}
/* --- ----- --- */

/* --- Temp --- */
@media screen and (max-width: 1200px){
	:root {
		--font-size: 3px;
	}

	#header/*, #content*/ {
		display: none;
	}

	#wip {
		margin: auto;
		display: flex;
		flex-direction: column;
		display: none;
	}

	#wip p {
		font-family: 'Rubik', sans-serif;
		font-weight: 400;
		font-size: calc(var(--font-size) * 4);
		text-align: center;
		letter-spacing: 2px;
	}

	#wip img {
		margin-top: 30px;
		width: 50%;
		align-self: center;
	}

	#content .social-media i {
		font-size: calc(var(--font-size) * 8);
	}

	#content > * {
		width: 80%;
	}

	#content h2:before, #content h2:after {
		width: calc((100vw - 100%) / 2 - 30px);
	}

	#content #about-me img {
		width: 80%;
	}

	#abilities__prog-languages__table {
		--multiplier: 2;
	}
}

@media screen and (min-width: 1200px){
	:root {
		--font-size: 5px;
	}
	#wip {
		display: none;
	}
}
/* --- ----- --- */
