body {
    padding: 0;
    margin: 0;
    background: #eee;
}

.container {
    width: 60%;
    margin: 0 auto;
}

.content {
    margin: 10% 0;
}

.nav {
    margin-top: 150px;
    text-align: center;
}

.nav a {
    display: inline-block;
    color: blue;
    font-weight: bold;
    margin: 0 20px;
    text-decoration: none;
}

.nav a:hover {
    color: orange;
}

.backTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    outline: none;
    background-color: #2C3E50;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
    border-width: 2px;
    border-color: black;
}

.skill_details {
	margin-left:-10px;
    font-size: 13px;
    cursor: pointer !important;
}
.selected_skill{
    border-style: solid;
}


.overflow {
	overflow: hidden;
}

.overlay {
	background-color: rgba(4,14,22,.83);
	height: 100%;height: 372px;
	width: 100%;
	padding-bottom: 80px;
	overflow: hidden;

}



#portfolio {
	background-color: #eee;
	padding-bottom: 80px;
}

#portfolio h2 {
	color: #eee;
	margin-bottom: 140px;
}

#portfolio h2:after {
	border-bottom: 2px dashed #b4b4b4;
}

#portfolio .row {
	margin: 0px;
	box-sizing: border-box;
	padding: 0 60px;
}

#portfolio .heading {
	color: #F0F0F0;
	padding: 15px;
	text-align: center;
	position: absolute;
  font-size: 18px;
  letter-spacing: 2px;
}

#portfolio .heading span {
	color: #eee;
	display: block;
	margin: 40px 0px;
	font-size: 200%;
}

#portfolio .description {
	position: absolute;
	top: 0px;
	left: 0px;
	padding: 15px;
}

#portfolio .description > * {
	display: none;
	font-size: 72%;
}

#portfolio p {
	color: #F0F0F0;
	/*display: none;*/
	margin-bottom: 30px;
	line-height: 230%;
}

#portfolio p, .tools {
	width: 100%;
}

.description span {
	margin-left: 10px;
}

.description .tools {
	margin-top: 20px;
	overflow: hidden;
}

.description .tools li {
	margin-top: 5px;
	background-color: #114190;
	margin-right: 10px;
	padding: 10px;
	color: #F0F0F0;
}

#portfolio div section {
	cursor: pointer;
}

#portfolio div:nth-child(odd) section {
	background-color: #D1D1D1;
	padding: 10px;
	border: 3px solid #B5B5B5;
}

#portfolio div:nth-child(even) section {
	background-color: #3D3636;
	padding: 10px;
	border: 3px solid #393333;
}

#portfolio img {
	height: 372px;
}

#portfolio section {
	height: 100%;
	margin-bottom: 20px;
}

#portfolio .overlay {
	position: relative;
	padding-bottom: 0px;
	min-height: 550px;
}

#portfolio .description h4 {
	color: white;
}

#portfolio .heading {
	position: relative;
	margin: 0 auto;
}

#portfolio section {
	width: 50%;
	float: left;
}

#portfolio section:hover .overlay img {
	opacity: 0;
	transition: opacity .32s;
}

#portfolio section:hover .description {
	top: 140px;
	transition: top .5s;
}

#portfolio section:hover .overlay .heading span {
	 -webkit-transform: rotate(180deg);
	 position: relative;
	 top: -80px;
	 left: -30px;
	 color: rgba(4,14,22,.83);;
}


#portfolio section:hover .overlay .description > * {
	display: block;
}

#portfolio section:hover .overlay .heading {
	position: absolute;
	top: -60px;
	transition: top .9s;
}


@media screen and (max-width: 1200px) {
	#portfolio [class^="col"] section {
		width: 80%;
		margin-right: auto;
		margin-left: auto;
		margin-bottom: 10px;
		min-height: 400px;
	}

	#portfolio .overlay {
		width: 100%;
		height: auto;
	}

	#portfolio img {
		width: 100%;
		height: auto;
	}

	#portfolio section:hover .overlay .heading span {
	 -webkit-transform: rotate(90deg);
	 top: 70px;
	 left: -240px;
	 position: relative;
	}
	#portfolio div:nth-child(even) section {
		background-color: #3D3636;
		padding: 5px;
		border: 3px solid #393333;
	}
	.container_portfolio {
		width: 90% ! important;
	}
}

@media screen and (max-width: 790px) {

	#portfolio .description p {
		margin-top: 40px;
	}

	#portfolio section {
		font-size: 10px;
	}

	#portfolio .overlay > * {
		font-size: 200%;
	}

	#portfolio p, h6 {
		text-align: left;
	}

	#contact textarea {
		width: 90%;
	}
}

@media screen and (max-width: 900px) {

	#portfolio h2 {
		margin-bottom: 0;
	}

	#portfolio section img {
		display: none;
	}

	#portfolio section {
		width: 100%;
	}

	#portfolio .description > *  {
		display: block;
	}

	#portfolio .description {
		display: table-footer-group;
	}

	#portfolio .heading {
		display: table-header-group;
		font-size: 180%;
		text-align: left;
	}

	#portfolio .overlay {
		min-height: auto;
		padding: 20px;
	}

	#portfolio .description {
		top: 100px;
		position: static;
	}

	#portfolio section {
		min-height: auto;
	}

	#portfolio section:hover .overlay .heading {
	 position: relative;
	 top: -0px;
	 color: white;
	 -webkit-transition: none;
	}

	#portfolio .heading span {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	
	.social-links li {
		display: block;
		width: 100%;
	}

	.social-links {
		width: 100%;
	}

	h1 {
		font-size: 300%;
	}

	#about img {
		width: 60%;
	}

	#skill-set #web-development-skills::before {
		display: none;
	}

	#skill-set .skills {
		width: 100%;
		display: block;
	}

	#portfolio .overlay {
		height: 70%;
	}

}

.darkmode{
	display: block;
    transition: 0.3s;
    color: #818181;
	padding: 8px 8px 8px 32px;
	cursor:pointer;
	margin-top:40px;
    font-size: 20px;

}

.theme-switch .switch {
	width: 24px;
	height: 24px;
	border-radius: 100%;
	position: absolute;
	top: 3px;
	left: 4px;
	transition: 0.5s all ease;
}

.dark-theme .theme-switch .switch {
	transform: translateX(37px);
}

.dark-theme #intro {
	background: #15202b; 
}
.dark-theme #resume {
	background: #0D1117; 
}

.dark-theme .desc p {
	color: #FFF;
}

.dark-theme .desc t {
	color: #FFF;
}

.dark-theme .desc imp {
	padding: 6px;
	color: white;
	background: #15202b;
}

.dark-theme .desc more {
	color: #95a5a6;
}

.dark-theme h5 {
    color: #818181;
}

.dark-theme .backTop {
	background-color: #15202b;
}

.dark-theme #skillswrap {
	background-color: #15202b;
}

.dark-theme #portfolio {
	background: #0D1117; 
}

.dark-theme #portfolio div:nth-child(odd) section {
	background-color: #222222;
	padding: 10px;
	border: 3px solid #2f2f2f;
}

.dark-theme #portfolio div:nth-child(even) section {
	background-color: #222222;
	padding: 10px;
	border: 3px solid #2f2f2f;
}

.dark-theme .sun {
	color: white;
}
.dark-theme .moon {
	color: white;
}

.avatar{
	width: 200px;
	height: 230px; 
	margin-bottom:30px;
	margin-top:15px;

}