:root {
	--mainColor: #DEE7EF;
	--secondaryColor: #FFF;

	--borderColor: #9CAAC6;

	--mainText: black;
	--secondaryText: #1E1E1E;
	--linkText: #3b77cc;

	--themeDotBorder: #24292E;

	--previewBg: rgb(235, 244, 252, 0.8);
	--previewShadow: #cad2d9;
}

html, body {
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

body * {
	transition: 0.3s;
}

h1, h2, h3, h4, h5, h6, strong {
	color: var(--mainText);
	font-family: 'Russo One', sans-serif;
	font-weight: 400;
}

p, li, span, label, input, textarea {
	color: var(--secondaryText);
	font-family: 'Roboto Mono', monospace;
}

a {
	text-decoration: none;
	color: var(--linkText);
}

ul {
	list-style: none;
}

h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }
h5 { font-size: 20px; }
h6 { font-size: 16px; }

.s1 {
	background-color: var(--mainColor);
	border-bottom: 1px solid var(--borderColor);
	overflow: auto; 
}

.s2 {
	background-color: var(--secondaryColor);
	border-bottom: 1px solid var(--borderColor);
	overflow: auto; 
}

.main-container {
	width: 1200px;
	margin: 0 auto;
}

.greeting-wrapper {
	display: grid;
	text-align: center;
	align-content: center;
	min-height: 10em;
}

.intro-wrapper {
	background-color: var(--secondaryColor);
	border: 1px solid var(--borderColor);
	border-radius: 5px 5px 0 0;

	-webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);

	display: grid;
	grid-template-columns: 1fr 1fr;
	/*grid-template-rows: 3em 30em;*/
	grid-template-areas:
		'nav-wrapper nav-wrapper'
		'left-column right-column'
	;
}

.nav-wrapper {
	grid-area: nav-wrapper;
	border-bottom: 1px solid var(--borderColor);
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: var(--mainColor);
	border-radius: 5px 5px 0 0;
}

#navigation {
	margin: 0;
	padding: 10px;
}

#navigation li {
	display: inline-block;
	margin-right: 5px;
	margin-left: 5px;
}

#navigation a {
	color: var(--mainText);
}

.dots-wrapper {
	display: flex;
	padding: 10px;
}

.browser-dot {
	background-color: black;
	height: 20px;
	width: 20px;
	border-radius: 25%;
	margin: 5px;

	-webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
}

#dot-1 {
	background-color: #B81D13;
}

#dot-2 {
	background-color: #EFB700;
}

#dot-3 {
	background-color: #008450;
}

.left-column {
	grid-area: left-column;
	padding-top: 50px;
	padding-bottom: 50px;
}

#profile-pic {
	display: block;
	margin: 0 auto;

	height: 200px;
	width: 200px;
	object-fit: cover;
	border: 2px solid var(--borderColor);
}

#theme-options-wrapper {
	display: flex;
	justify-content: center;
}

.theme-dot {
	height: 30px;
	width: 30px;
	background-color: black;
	border-radius: 50%;

	margin: 5px;
	border: 2px solid var(--themeDotBorder);

	-webkit-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	-moz-box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);
	box-shadow: -1px 1px 3px -1px rgba(0,0,0,0.75);

	cursor: pointer;
}

.theme-dot:hover {
	border-width: 5px;
}

#light-blue-mode {
	background-color: #DEE7EF;
}

#dark-blue-mode {
	background-color: #003366;
}

#gray-mode {
	background-color: #cfcfcf;
}

#settings-note {
	font-size: 12px;
	font-style: italic;
	text-align: center;
}

.right-column {
	grid-area: right-column;
	display: grid;
	align-content: center;

	padding-top: 15px;
	padding-bottom: 50px;
}

#preview-shadow {
	background-color: var(--previewShadow);
	width: 300px;
	height: 180px;
	padding-left: 30px;
	padding-top: 30px;
}

#preview {
	width: 300px;
	border: 1.5px solid #17A2B8;
	background-color: var(--previewBg);
	padding: 15px;
	position: relative;
}

.corner {
	height: 7px;
	width: 7px;
	border: 1.5px solid #17A2B8;
	border-radius: 50%;
	background-color: #FFF;
	position: absolute;
}

#corner-tl {
	top: -5px;
	left: -5px;
}

#corner-tr {
	top: -5px;
	right: -5px;
}

#corner-br {
	bottom: -5px;
	right: -5px;
}

#corner-bl {
	bottom: -5px;
	left: -5px;
}

.about-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	padding-bottom: 50px;
	padding-top: 50px;
	gap: 100px;
}

#skills {
	display: flex;
	justify-content: space-evenly;
	background-color: var(--previewShadow);
}

.social-links {
	display: grid;
	align-content: center;
	text-align: center;
}

.social-img {
	width: 100%;
}

.post-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, 320px);
	gap: 20px;
	justify-content: center;
	padding-bottom: 50px;
}

.post {
	border: 1px solid var(--borderColor);
	-webkit-box-shadow: -2px 7px 21px -9px rgba(0,0,0,0.75);
	-moz-box-shadow: -2px 7px 21px -9px rgba(0,0,0,0.75);
	box-shadow: -2px 7px 21px -9px rgba(0,0,0,0.75);
}

.post-preview {
	background-color: #FFF;
	padding: 15px;
}

.thumbnail {
	width: 100%;
	height: 180px;
	display: block;
	object-fit: cover;
}

.post-title {
	color: black;
	margin: 0;
}

.post-intro {
	color: #1E1E1E;
	font-size: 14px;
	text-align: justify;
}

.skills-table {
	width: 100%; 
	text-align: center; 
	font-family: 'Russo One', sans-serif; 
}

.work-experience {
	font-size: 16px;
}

td {
	padding: 10px;
	color: var(--mainText);
}

.backend-list-table {
	width: 100%;
}

.backend-list-table thead {
	color: var(--mainText);
	font-family: 'Roboto Mono', monospace;
	font-size: 16px;
}

.backend-list-table tbody {
	color: var(--secondaryText);
	font-family: 'Roboto Mono', monospace;
	font-size: 14px;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

@media screen and (max-width: 1200px) {
	.main-container {
		width: 95%;
	}
}

@media screen and (max-width: 1200px) {
	.intro-wrapper {
		grid-template-columns: 1fr;
		grid-template-areas:
			'nav-wrapper'
			'left-column'
			'right-column'
		;
	}

	.right-column {
		justify-content: center;
	}
}