body 
{  
	margin: 0px;
}

/*body-header*/
#body-header
{
	height: 65vh;
	background-image: url(https://ninjasfiles.s3.amazonaws.com/asset_0000000000000020_1549743985_macbook_mouse.jpg);
/*	background-color: black;*/
	background-size: cover;
	opacity: 0.8;
	background-position: center;
	background-attachment: fixed; 
	padding-top: 1.2rem;
}

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


/*horizontal-list*/
.bars 
{
	color: white;
	margin: 0;
	margin-right: 5%;
	display: none;
	position: absolute;
	right: 3%;
}
.bars i {
    font-size: 2rem;
}
.dropdown-list{
    margin: 0;
    display: none;
    background-color: #828470;
    box-shadow: 0px 4px 8px 1px #535547;
}
.dropdown-list ul{
    margin: 0.2rem 0.2rem;
    text-align: left;
    padding: 0px 0.8rem;
}
.dropdown-list li{
    margin: 0.4rem 0px;
}
.dropdown-menu:hover .dropdown-list{
    display: block;
    position: absolute;
    right: 3%;
}
.no-list-style{
    list-style: none;
}
.no-list-style li {
    font-weight: 100;
    font-size: 0.9rem;
}
.no-list-style li a{
    list-style: none;
    color: white;
    text-decoration: none;
}
.horizontal-list
{

	padding-left: 0px;
	margin: 0px;
}
.horizontal-list li
{
	display: inline-block;
	margin: 0px 8px 8px 0px;
}
.horizontal-list li a 
{
	color: white;
	text-decoration: none;
	
}
.nav-menu li a
{
	transition: color 0.5s, border-bottom 4s ;
	font-size: 1.2em;
}
.nav-menu li a:hover
{border-bottom: 1px solid white;
	color: red;
}
.horizontal-list li a:hover
{
	color: red;
}

#my-name
{
	color: white;
	font-size:3em;
	letter-spacing: 0.1rem;
	font-weight: 700;
	margin-bottom: -3.5rem;
	margin-top: 114px;
	
}
.social-icon li a i
{
	width: 20px;
	height: 20px;
	padding: 10px;
	font-size: 1.5rem;
	border-radius: 50%;
}
.social-icon li a i:hover
{
	box-shadow:  0px 0px 6px 4px rgba(230, 196, 196, 0.8);
}
#about 
{

	height: auto;
	width: 100%;
	position: relative;
}
#profile-photo
{
	height: 12rem;
	width: 12rem;
	margin: auto;
	margin-top: -9vh;

}

#profile-photo img
{
	height: 100%;
	width: 100%;
	border-radius: 50%;
	box-shadow: 0px 0px 10px 5px lightgrey;
}

/*general for all section*/

section 
{
	width: 100%;
/*	height: auto;*/
	display: flex;
	flex-direction: column;
	align-items: center;
}
section:nth-child(2n)
{
	background-color: #9e9b9b29;
}
section:nth-child(2n+1)
{
	background-color: white;
}

.section-heading
{
	width: auto;
	padding: 20px 10px 10px;
	font-weight: 400;
}
.section-heading span
{
	font-size: 40px;
	color: #2857a4;
	display: inline-block;
	padding-top: 10px;
	margin-right: 0.5rem;

}
/*about section*/
#about-contant
{
	height: auto;
	width: 65vw;
	margin: auto;
	margin-top: 50px;
	font-size: 1.2rem;
	color: grey;
}
#about-contant b 
{
	color: #2857a4;
}

/*skills section*/
.skills-display
{
	width: 75%;
	padding: 10px;
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.skill-progress
{
	width: 11rem;
	height: 2.2rem;
	background-color: lightgrey;
	border-radius: 1rem;
	box-shadow: 1px 1px 2px 1px #b9b9b9 inset;
	margin: 25px;
	overflow: hidden;
}
.skill-progress>div
{
	border-radius: 20px 0px 0px 20px;
	box-shadow: 1px 1px 5px 2px #989882;
}
.skill-name span 
{
	color: white;
	font-size: 1rem;
	margin-left: 10px;
	vertical-align: middle;
}
.skill-name
{
	padding-top: 7px;
}
/*TimeLine*/


.timeline
{
	position: relative;
	width: 75%;
/*	border:2px solid black;*/
}
.timeline-box
{
	position: relative;
	margin: 5px;
	width: 40%;
	left:5%;
	min-height: 150px;
/*	border:2px solid black;*/
}
.timeline-box:nth-child(2n+1)::after
{
	content: '';
	position: absolute;
	top: 21%;
	right: -13.5%;
	border-radius: 50%;
	width: 0.7em;
	height: 0.7em;
	background-color: lightgrey;
	z-index: 1;
}
.timeline-box:nth-child(2n)::after
{
	content: '';
	position: absolute;
	top: 17%;
	right: 107%;
	border-radius: 50%;
	width: 0.7em;
	height: 0.7em;
	background-color: lightgrey;
	z-index: 1;
}
.timeline-box:nth-child(2n)
{
	left: 53%;
}

.timeline-divider
{
	position: absolute;
	height: 61%;
	width: 0;
	border: 3px dashed #0096fa6b;
	left: 50%;
	top: 7%;
}
.timeline-traveller 
{
	position: sticky;
	top: 135px;
	transform: rotate(90deg);
	z-index: 2;
	color: #2857a4;
	margin-top: -2rem;

}
.timeline-traveller i 
{
	font-size: 1.5rem;
}

.timeline-box-logo
{
	display: inline-block;
	width: 20%;
	margin-right: 3%;

}
.timeline-box-logo img
{
	height: 100%;
	width: 100%;
}
.timeline-box-content
{
	text-align: right;
	display: inline-block;
	width: 75%;
	height: 10%;

}
.timeline-box
{
	box-sizing:border-box ;
	text-align: right;
}


.timebox-heading
{
	color: #2857a4;
	margin: 0;
	font-size: 106%;
}

.timebox-subheading
{
	margin: 0;
	color: #4e4623;
	font-size: 1em;
}
.timebox-dates
{
	margin: 0;
	color: #a8a5af;
	font-size: 0.7em;
}
.timebox-details
{
	color: #a8a5af;
	text-align: justify;

}



/*Portfolio*/
.portfolio-display
{
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	padding: 0.50px;
	margin-bottom: 20px;
	justify-content: space-around;
}
.portfolio-container
{
	width: 380px;
	overflow: hidden;
	margin: 10px;
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	height: 256.212px;
}
.portfolio-container img 
{
	width: 100%;
	height: 100%;
}
.portfolio-details
{
	transition: all 0.5s ease-in-out;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 95%;
	color: transparent;
	text-align: center;
	padding: 10px;
	overflow:hidden;
}
.portfolio-container:hover {
    box-shadow: 0 0 20px #74ADC8;
}


.portfolio-container:hover .portfolio-details
{
	background-color: #2f2e2e78;
	color: white;
	overflow: auto;
}

/*contact section*/

#contact {
    background-color: #0abcf9;
    background-image: linear-gradient(50deg, #2857a4 0%, #403066 74%);
    color: white;
    padding-bottom: 40px;
}

#contact h1,
#contact h1 span {
    color: white;
}

#contact-form {
    margin-left: 20%;
}

#contact-container {
    display: flex;
}

#my-details-container {
    width: 35%;
    margin-left: 6%;
}

#my-details-container h3 {
    color: white;
    font-weight: 550;
    font-size: 1.2rem;
}

#contact-form-container {
    width: 50%;
}
#contact-form
{
	display: flex;
	flex-direction: column;
/*	justify-content: center;*/
	align-items: center;
}
#my-details-container p {
    color: #d9dcdd;
    font-size: 0.9rem;
}

.my-details-info-container {
    margin-bottom: 20px;
    color: #d9dcdd;
    font-size: 1rem;
}

.my-details-info-container span {
    margin-left: 0.4rem;
}

.my-details-info-container i {
    color: white;
}

.my-details-icon {
    width: 1rem;
    height: 1rem;
    vertical-align: bottom;
    margin-right: 0.5rem;
}


#contact-form input,
textarea {
    max-width: 90%;
    margin: 15px;
    padding: 4px 10px;
    border: 0px solid transparent;
    border-bottom: 2px solid white;
    color: #d9dcdd;
    background: transparent;
    width: 90%;
    line-height: 1.6;
    font-size: 1.05rem;
}

#contact-form button[type="submit"] {
    background: transparent;
    font-size: 0.95rem;
    border: 2px solid white;
    margin-top: 5%;
   
    border-radius: 2px;
    color: white;
    font-family: sans-serif;
    font-weight: 700;
    letter-spacing: 0.046875em;
    line-height: 1;
    padding: 0.8em 0.8em 0.78em;
    text-transform: uppercase;
}

#contact-form button:hover {
    background: white;
    color: #13386fe0;
}

#contact .social-icons li a i {
    font-size: 1.2rem;
    margin: 40px 10px 10px;
    padding: 10px 14px 20px 10px;

}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
.contact-link
{
	text-decoration: none;
	color: white;
}
.mb75px
{
	margin-bottom: 75px;
}
.mb50px {
    margin-bottom: 50px;
}


.mb-blue
{
	background-color: #2857a4;	
}
.mb-orange
{
	background-color: #ec4d1c;
}
.mb-purple
{
	background-color: #93738c;
}
.mb-green
{
	background-color: #0b8176;
}

/*comman color*/
.text-highlight
{
	color: #2857a4;
	font-weight: 600;
}
/*percentage class*/
.eighty-five-percent
{
	width: 85%;
	height: inherit; 
}

.eighty-percent {
    height: inherit;
    width: 80%;
}

.fifty-percent {
    height: inherit;
    width: 50%;
}
.seventy-percent
{
	height: inherit;
	width: 70%;
}
@media screen and (max-width:768px)
{
	


	.timeline-divider
	{
		left: 5%;
	}
	.timeline-box
	{
		left: 12% !important;
		width: 80%;
	}
	 
	.timeline-box::after
	{
		left: -10.5% !important;
	}
	.timeline-box-logo
	{
		width: 15%;
		margin-right: 8%;
	}
	.timeline-divider
	{
		height: 62%;
	}
	#contact-container
	{
		flex-direction: column;
		align-items: center;
	}
	#my-details-container
	{
		width: 90%;
		text-align: left;
		font-size: 1.5rem;
		margin-bottom: 10%;
	}
	#contact-form-container
	{
		width: 90%;
	}
	#contact-form
	{
		margin-left: 0%;
		margin-bottom: 10%;
	}


}

@media only screen and (max-width: 572px) {
    
    .timeline-box {
        width: 100%;
        left: 10% !important;
    }

    .bars {
        display: block;
    }
    
    .timeline-box::after
	{
		left: -7% !important;
	}
    .nav-menu {
        display: none;
    } 
    #my-name
    {
    	font-size: 2.7em;
    }
    #body-header
    {
    	height: 55vh;
    }
}
