*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
}

html{
	scroll-behavior: smooth;
}

img{
	max-width: 100%;
}

a{
	text-decoration: none;
	color: black;
}

a:hover{
	color: #8685EF;
}

/*a:visited{
	color: black;
}*/

.container{
	max-width: 1440px;
    width: 95%;
    margin: 0 auto;
}

#home{
	    background-color: #171717;
}

nav{
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 2.5rem 0 2rem 0;
}

ul {
	display: flex;
	align-items: center;
	justify-content: center;
}

ul li {
	list-style: none;
	padding: 0 2rem 0 0;
	font-size: 1rem;
	font-weight: 900;
}

#logo{
	font-size: 1.3rem;
    font-weight: 900;
    color: #FFFFFF;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo__title{
	font-size: 1.3rem;
}

#mob-nav{
	display: none;
}

#nav{
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav-links{
	font-size: 1rem;
	font-weight: 600;
	color: #FFFFFF;
}

#intro-text{
	font-size: 2.2rem;
	font-weight: 700;
    color: #FFFFFF;
}

#name{
	color: #8685EF !important;
}

#about-btn{
	padding: 1rem 1.3rem;
    border-radius: 20px;
    background: #8685EF;
    border: none;
    margin: 1.5rem 0 0 0;
}

#more{
	font-size: 1rem;
	font-weight: bolder;
	color: #FFFFFF;
}

#content{
	display: flex;
	align-items: center;
	justify-content: space-around;
	padding: 4rem 0;
}

#about__content{
	display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.about-question{
	font-size: 1.25rem;
	font-weight: 600;
}

.about-answer{
	font-size:1rem;
	font-weight: 500;
	max-width: 500px;
	margin: 0.9rem 0;
}

#skill{
	padding: 1rem 0 0 0;
}

#experiences{
	padding: 1rem 0 0 0;
}

#organizations{
	padding: 1rem 0 2rem 0;
}

#skills{
	padding: 1rem 0 0 0;
}

.skill-box-title{
	font-weight: 400;
	font-size: 1.25rem;
	padding: 0.8rem 0 0 0;
	text-align: center;
}

#skillrow2{
	margin: 1.5rem 0 0 0;
}

.sub-title{
	font-weight: 400;
	font-size: 1.25rem;
	text-align: center;
	padding: 0 0 3rem 0;
}

.org-box{
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.org-title{
	font-size: 1.25rem;
	font-weight: 600;
	text-align: center;
	padding: 1rem 0 0.5rem 0;
}

.org-role{
	font-size: 1.25rem;
	font-size: 500;
	text-align: center;
}

.contact-box{
	padding: 0 0 2rem 0;
}

#contact{
	background-color: #F3F7FB;
}

.contact-title{
	text-align: center;
	font-weight: bolder;
	font-size: 1.2rem;
}

.contact-img{
	padding: 0 0.7rem 0 0;
}

.contact-details{
	display: flex;
    align-items: center;
    justify-content: center;
}

#connect{
	padding: 0 0 0.7rem 0;
}

footer{
	text-align: center;
    padding: 1rem 0;
    background-color: black;
    color: white;
}

/* utility classes */

.section-title{
	font-size:1.5rem;
	font-weight: 600;
	text-align: center;
	padding: 2rem 0;
}

.row{
	display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}

.showNav{
	display: flex !important;
}

.showClose{
	display: flex !important;
}

.hideHam{
	display: none !important;
}

#close{
	display: none;
}

#org-container{
	padding: 0 0 2.5rem 0;
}

#org1{
	padding: 3rem 0 0.5rem 0;
}

/*timeline css */

.timeline{
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	background-color :#2e364a;
	padding:2rem 0;
}

.timeline-container{
	padding: 10px 50px;
	position: relative;
	width:50%;
	animation: movedown 1s linear forwards;
	opacity: 0;
}

.date{
	font-size: 0.9rem;
    padding: 0.5rem 0 0 0;
    font-weight: 500;
}

.role{
	font-size: 1.1rem;
    font-weight: 600;
}

@keyframes movedown{
	0%{
		opacity: 1;
		transform: translateY(-30px);
	}
	100%{
		opacity: 1;
		transform: translateY(0px);
	}
}

.text-box{
	padding: 20px 30px;
	background: #fff;
	position: relative;
	border-radius: 6px;
	font-size: 15px;
}

.left-container{
	left: 0;
}

.right-container{
	left:50%;
}

.timeline-container img{
	position: absolute;
	width:40px;
	border-radius: 50%;
	right: -20px;
	top: 32px;
	z-index: 10;
}

.right-container img{
	left: -20px;
}

.timeline::after{
	content: "";
	position: absolute;
	width: 6px;
	height: 100%;
	background:#fff;
	top:0;
	left: 50%;
	margin-left: -3px;
	z-index: 1;
	animation: moveline 6s linear forwards;
}

@keyframes moveline{
	0%{
		height: 0;
	}
	100%{
		height: 100%;
	}
} 

.timeline-container:nth-child(1) {
	animation-delay: 0s;
}

.timeline-container:nth-child(2) {
	animation-delay: 2s;
}

.timeline-container:nth-child(3) {
	animation-delay: 3s;
}

.timeline-container:nth-child(4) {
	animation-delay: 4s;
}

.timeline-container:nth-child(5) {
	animation-delay: 5s;
}

.text-box h2{
	font-weight: 600;
}

.text-box small{
	display: inline-block;
	margin-bottom: 15px;
}

.left-container-arrow{
	height: 0;
	width: 0;
	position: absolute;
	top: 28px;
	z-index: 1;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-left: 15px solid #fff;
	right: -15px;
}


.right-container-arrow{
	height: 0;
	width: 0;
	position: absolute;
	top: 28px;
	z-index: 1;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
	border-right: 15px solid #fff;
	left: -15px;
}



/*timeline css */

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

	a:hover{
		color: black !important;
    	font-weight: bolder;
	}

	#logo__title{
		font-size: 1.1rem;
	}

	.section-title{
		font-size: 1.2rem;
	}

	#about-btn{
		font-size: 0.7rem;
    	padding: 0.9rem 1.1rem;
    	font-weight: 900;
	}

	nav{
		flex-direction: column;
		padding: 2rem 0 0 0;
	}

	#nav{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#logo{
		font-size: 1.1rem;
		width: 90%;
	}

	#link{
		margin: 1rem 0 0 0;
		display: none;
		background: rgb(134 133 239);
    	width: 100%;
    	align-items: center;
    	justify-content: center;
    	padding: 0.7rem 0;
	}

	#mob-nav{
		display: block;
	}

	ul li{
		padding: 0;
		margin: 0.8rem 0;
	}

	#content{
	  flex-direction: column-reverse;
	  padding: 2rem 1.3rem;
	}

	#intro-text{
		font-size: 1.5rem;
		padding: 1.5rem 0 0 0;
	}

	#more{
		font-size: 0.9rem;
	}

	#about__container{
		width: 80% !important;
	}

	#about__content{
		flex-direction: column;
	}

	#about-text{
		margin: 2rem 0 0 0;
	}

	.about-question{
		font-size: 1.1rem;
	}

	.about-answer{
		font-size: 1rem;
		text-align: justify;
    	word-spacing: 1px;
    	max-width: 400px;
    	line-height: 25px;
	}

	.row{
		flex-direction: column;
	}

	.skill-box-title{
		padding: 1rem 0;
		font-size: 1.1rem;
	}

	#skillrow2{
		margin: 0;
	}

	.sub-title{
		padding: 0 0 1.2rem 0;
		font-size: 1rem;
	}

	.org-box{
		margin: 0 0 2rem 0;
	}

	.org-title{
		font-size: 1.1rem;
	}

	.org-role{
		font-size: 1.1rem;
	}

	.contact-title{
		font-size: 1.1rem;
	}

	footer{
		font-size: 0.8rem;
	}

	.timeline{
		margin: 0 auto;
	}

	.timeline:after{
		left: 31px;
	}

	.timeline-container{
		width: 100%;
		padding-left: 80px;
		padding-right: 25px;
	}

	.text-box{
		font-size: 13px;
	}

	.text-box small{
		margin-bottom:10px; 
	}

	.right-container{
		left:0;
	}

	.left-container img, .right-container img{
		left: 10px;
	}

	.left-container-arrow, .right-container-arrow{
		border-right: 15px solid #fff;
		border-left: 0;
		left: -15px;
	}

	.role{
		font-size: 1rem;
	}

	.org{
		font-size: 1.1rem;
	}

	#org1{
	padding: 0 0 1rem 0;
	}

	#org-container{
		padding: 0;
	}

}

/*media query for tablet*/

@media screen and (min-width: 769px) and (max-width:992px) {

		a:hover{
		color: black !important;
    	font-weight: bolder;
		}

		nav{
		flex-direction: column;
		padding: 2rem 0 0 0;
	}

	#nav{
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#logo{
		font-size: 1.1rem;
		width: 90%;
	}

	#link{
		margin: 1rem 0 0 0;
		display: none;
		background: rgb(134 133 239);
    	width: 100%;
    	align-items: center;
    	justify-content: center;
    	padding: 0.7rem 0;
	}

	#mob-nav{
		display: block;
	}

	ul li{
		padding: 0;
		margin: 0.8rem 0;
	}

	#intro-text{
		font-size: 1.9rem;
	}

	.showNav{
	display: flex !important;
}

.showClose{
	display: flex !important;
}

.hideHam{
	display: none !important;
}

#close{
	display: none;
}

	.about-answer{
		text-align: justify;
    	margin-right: 1rem;
    	word-spacing: 1px;
	}

	#skills-wraper{
		display: flex;
	}

	.skill-box-title{
		padding: 0.8rem 0 1rem 0;
	}

	.org-row{
		flex-wrap: nowrap !important;
	}	



}


/*responsive bug fix for about us page*/
@media screen and (min-width: 769px) and (max-width: 1240px) {
	#about-img{
		margin: 0 2rem 0 0;
	}

	.about-question{
		font-size:1.1rem;
	}

	.about-ansser{
		font-size: 0.9rem;
	}
}