:root {
	--primary: #111;
	--secondary: #555;
	--tertiary: #888;
	--background: #fff;
	--accent: #f2f2f2;
	--aside-height: 4.25rem;
	--aside-width: 4.75rem;
	--app-width: calc(33.75rem + 1.5rem);
	line-height: 1.6;
	background-color: var(--background);
	color: var(--secondary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
		sans-serif;
}

@media (prefers-color-scheme: dark) {
	:root {
		--primary: #eee;
		--secondary: #bbb;
		--tertiary: #888;
		--background: #222;
		/* --background: #181818; */
		--accent: #333;
		/* --accent: #262626; */
	}
}

* {
	box-sizing: border-box;
	margin: 0;
}

body {
	display: flex;
	align-items: center;
	flex-direction: column;
	height: 100%;
	width: 100%;
	min-height: 100dvh;
}

main {
	display: flex;
	flex-direction: column;
	/* gap: 4rem; */
	gap: 2rem;
	max-width: var(--app-width);
	height: 100%;
	width: 100%;
	padding: 1.5rem;
	padding-bottom: calc(1.5rem + var(--aside-height));
	flex-grow: 1;
	flex-shrink: 0;
}

section {
	margin-bottom: 2rem;
}

@media (min-width: 700px) {
	main {
		padding: 4.5rem 1.5rem;
	}
	body {
		padding-left: 76px;
	}
}

aside {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--aside-height);
	width: 100%;
	background-color: var(--background);
}

nav {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 0.25rem;
	width: 100%;
	justify-content: space-around;
}

nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.625rem;
	height: 3.75rem;
}

@media (min-width: 700px) {
	aside {
		top: 0;
		bottom: 0;
		left: 0;
		right: initial;
		width: var(--aside-width);
		height: 100%;
	}
	nav {
		flex-direction: column;
		justify-content: initial;
	}
	nav a {
		width: 3.75rem;
	}
}

aside svg {
	width: 1.5rem;
	height: 1.5rem;
}

aside a::after {
	content: none;
}

a,
p,
li,
button,
input,
label {
	font-size: 0.875rem;
}

a {
	color: inherit;
	text-decoration: none;
	width: fit-content;
}

a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

a::after {
	content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMTInIGhlaWdodD0nMTInIHZpZXdCb3g9JzAgMCAxMiAxMicgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHN0eWxlPgogICAgcGF0aCB7CiAgICAgIGZpbGw6ICMxMTE7CiAgICB9CgogICAgQG1lZGlhIChwcmVmZXJzLWNvbG9yLXNjaGVtZTogZGFyaykgewogICAgICBwYXRoIHsKICAgICAgICBmaWxsOiAjZWVlOwogICAgICB9CiAgICB9CiAgPC9zdHlsZT4KPHBhdGggZD0nTTMuNSAzQzMuMjIzODYgMyAzIDMuMjIzODYgMyAzLjVDMyAzLjc3NjE0IDMuMjIzODYgNCAzLjUgNFYzWk04LjUgMy41SDlDOSAzLjIyMzg2IDguNzc2MTQgMyA4LjUgM1YzLjVaTTggOC41QzggOC43NzYxNCA4LjIyMzg2IDkgOC41IDlDOC43NzYxNCA5IDkgOC43NzYxNCA5IDguNUg4Wk0yLjY0NjQ1IDguNjQ2NDVDMi40NTExOCA4Ljg0MTcxIDIuNDUxMTggOS4xNTgyOSAyLjY0NjQ1IDkuMzUzNTVDMi44NDE3MSA5LjU0ODgyIDMuMTU4MjkgOS41NDg4MiAzLjM1MzU1IDkuMzUzNTVMMi42NDY0NSA4LjY0NjQ1Wk0zLjUgNEg4LjVWM0gzLjVWNFpNOCAzLjVWOC41SDlWMy41SDhaTTguMTQ2NDUgMy4xNDY0NUwyLjY0NjQ1IDguNjQ2NDVMMy4zNTM1NSA5LjM1MzU1TDguODUzNTUgMy44NTM1NUw4LjE0NjQ1IDMuMTQ2NDVaJyBmaWxsPSdjdXJyZW50Q29sb3InPjwvcGF0aD48L3N2Zz4=");
	margin-left: 0.2rem;
}

h1 {
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--primary);
	line-height: 1.3;
}

label {
	color: var(--tertiary);
	height: min-content;
}

ul {
	padding: 0;
	list-style-position: inside;
}

@media (min-width: 700px) {
	ul {
		list-style-position: outside;
	}
}

li {
	color: var(--secondary);
	padding: 0.25rem 0;
}

abbr {
	text-decoration: none;
}

img {
	user-select: none;
}

section .title {
	color: var(--primary);
}

section,
header {
	display: flex;
	flex-direction: column;
}

section {
	gap: 2.5rem;
}

header {
	gap: 1rem;
}

section h3 {
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--primary);
}

section > div {
	display: flex;
	flex-direction: column;
	padding-left: 1rem;
}

.about-message {
	display: flex;
	gap: 1rem;
	flex-direction: column;
}

.about a {
	color: var(--primary);
}

.about a::after {
	content: none;
}

@media (min-width: 700px) {
	section > div {
		display: grid;
		grid-template-columns: 7.75rem auto;
		padding-left: 0;
	}
}

.carousel {
	display: flex;
	width: 100%;
	gap: 0.5rem;
	padding: 0.25rem 0;
	scrollbar-width: thin;
	scrollbar-color: var(--accent) transparent;
}

.carousel img {
	max-height: 6.125rem;
	height: 100%;
	width: auto;
	border-radius: 0.5rem;
	border: 1px solid var(--accent);
}

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

.project {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.experience {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.details {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	/* overflow-y: auto; */
}

header > div {
	display: flex;
	flex-direction: row;
	align-items: center;
	width: 100%;
	height: 100%;
	gap: 1rem;
}

/* PROFILE */

/* .avatar {
	height: 5.75rem;
	width: 5.75rem;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
} */

.avatar {
	/* height: 100%;
	width: 100%; */
	object-fit: cover;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	height: 5.75rem;
	width: 5.75rem;
	overflow: hidden;
	flex-shrink: 0;
}

blockquote {
	display: flex;
	flex-direction: column;
	width: fit-content;
}

blockquote svg {
	margin-left: 2rem;
	margin-bottom: -0.05rem;
	fill: var(--accent);
	width: 26px;
	height: 12px;
}

blockquote div {
	background-color: var(--accent);
	padding: 1.125rem 1.5rem;
	border-radius: 1.5rem;
	font-size: 0.875rem;
}

.name {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	width: 100%;
	overflow: hidden;
}

header h2,
header h3,
address {
	font-size: 0.875rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--secondary);
}

.dl {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	width: 100%;
}

.dl li,
.pill {
	display: flex;
	align-items: center;
	height: 1.5rem;
	width: 100%;
	max-width: max-content;
	padding: 0 0.625rem;
	border-radius: 0.75rem;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	font-size: 0.75rem;
	border: 1px solid var(--accent);
	cursor: default;
}

.pill {
	display: inline-flex;
}

.skills {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.about {
	/* gap: 1rem; */
}

footer {
	text-align: center;
	font-size: 0.75rem;
}

.contacts-links-section {
	gap: 1.25rem;
}

/* address {
	font-style: normal;
} */

/* 
.toolbar {
	position: fixed;
	bottom: 1.75rem;
	left: 1.5rem;
	display: flex;
	flex-direction: row;
	gap: 0.75rem;
}

.action-button {
	display: grid;
	place-items: center;
	height: 3rem;
	width: 3rem;
	background-color: var(--accent);
	cursor: pointer;
	border: none;
	border-radius: 50%;
	color: var(--primary);
	box-shadow: 0 0 0 1px hsla(0, 0%, 100%, 0.1), 0 3px 8px rgba(0, 0, 0, 0.15);
}

.action-button svg {
	height: 1.5rem;
	width: 1.5rem;
}

.action-button::after {
	content: none;
} */

.tabs {
	list-style: none;
	display: flex;
	flex-direction: row !important;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}

.tabs li {
	padding: 0;
}

.tabs a {
	color: var(--secondary);
	text-decoration: none;
}

.tabs a::after {
	content: "";
}

.tabs a.active {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 10px;
}
