:root {
	--mainColor: #eaeaea ;
	--secondaryColor: #fff;

	--borderColor: #c1c1c1;

	--mainText: black;
	--secondaryText: #4b5156;

	--themeDotBorder: #242923;

	--previewBg: rgb(251, 249, 243, 0.8);
	--previewShadow: #f0ead6;

	--btnColor: black;
}

html, body {
	padding: 0;
	margin: 0;
}

body *{
	transition: 0.3s;
}

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

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

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

.s2{
	background: var(--secondaryColor);
	border-bottom: 1px solid var(--borderColor);
	overflow: auto;
}
.main-container{
	width: 1200px;
	margin: 0 auto;
}

.main-container.header{
	margin-bottom: 3%;
}

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


a{
	text-decoration: none;
	color: #17a2b8;
}

ul{
	list-style: none;
}

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

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


	box-shadow: -1px -2px 7px rgba(0,0,0,.25);

	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas: 
		'nav-wrapper nav-wrapper'
		'left-column right-column'
		;
}

.nav-wrapper{
	grid-area: nav-wrapper;
	background: var(--mainColor);

	display: flex;
	justify-content: space-between;
	align-items: center;

	border-bottom: 1px solid var(--borderColor);
	border-radius: 5px 5px 0 0;

}

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

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

#navigation li{
	display: inline-block;
}

.dots-wrapper{
	display: flex;
}

.browser-dot{
	background: black;
	width: 15px;
	height: 15px;
	border-radius: 50%;

	box-shadow: -1px -2px 2px rgba(0,0,0,.25);

	margin: 5px;
}

#dot-1{
	background: #fc6058;
}

#dot-2{
	background: #fec02f;
}

#dot-3{
	background: #2aca3e;
}


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

#profile_pic{
	display: block;
	margin: 0 auto;

	height: 200px;
	width: 300px;
	object-fit: cover;

	border: 2px solid var(--borderColor);
}

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

.theme-dot{
	height: 30px;
	width: 30px;
	background: black;
	border-radius: 50%;
	border: 2px solid var(--themeDotBorder);

	margin: 5px;

	box-shadow: -1px -2px 7px rgba(0,0,0,.25);

	cursor: pointer;
}

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

#light-mode{
	background-color: #fff;
}

#blue-mode{
	background-color: #192734;
}

#green-mode{
	background-color: #78866b; 
}

#purple-mode{
	background-color: #7e4c74;
}

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


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

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

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

	position: relative;
}

.corner{
	width: 7px;
	height: 7px;
	border-radius: 50%;

	position: absolute;

	border: 1.5px solid #17a2b8;
	background-color: #fff;
}

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

#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));
	column-gap: 15%;

	padding-top: 5%;
	padding-bottom: 5%;
}

#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);
	justify-content: center;

	column-gap: 3%;

	padding-top: 5%;
	padding-bottom: 5%;
}

.post{
	border: 1px solid var(--borderColor);

	box-shadow: -1px -2px 7px rgba(0,0,0,.25);

	margin-bottom: 10%;
}

.post-preview{
	background-color: #fff;
	padding: 3.5%;
}

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

.post-intro{
	color: #4b5156;
	font-size: 14px;
}

.thumbnail{
	display: block;

	width: 100%;
	height: 180px;

	border-bottom: 1px solid var(--borderColor);

	object-fit: cover;
}

#contact-form{
	display: block;
	max-width: 600px;
	margin: 0 auto;
	margin-bottom: 50px;
	padding: 15px;

	border: 1px solid var(--borderColor);
	border-radius: 5px;

	background: var(--mainColor);
}

#contact-form label{
	line-height: 2.5em;
}

#contact-form textarea{
	min-height: 100px;
	font-size: 14px;
}

.input-field{
	width: 100%;
	padding-top: 5%;
	/*padding-bottom: 10px;*/

	border: 1px solid var(--borderColor);
	border-radius: 5px;

	background: var(--secondaryColor);

	font-size: 14px;
}

#submit-btn{
	margin-top: 3%;
	width: 100%;

	padding-top: 1%;
	padding-bottom: 1%;

	color: #fff;
	background: var(--btnColor);

	border: none;
}


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

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