*{
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	box-sizing: border-box;
}

body {
	background-color:rgb(202, 202, 202);
	margin: 0;
	padding: 0;
}

h4 {
	margin-top:20px;
	font-size: 26px;
	font-weight: 700;
	color:rgb(59, 58, 58);
}

.project-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 20px auto;
    max-width: 90%;
    gap: 20px;
}

.project-video, .project-description {
    flex: 1 1 48%;
    max-width: 48%;
    min-width: 200px;
}


.project-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}


.project-description {
    padding: 20px;
    background-color: #f0f0f0;
    text-align: left;
    overflow: auto;
}

.card-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 50px;
	margin-bottom: 50px;
	text-align: left;
}

.card {
	width: 325px;
	background-color: #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0px 2px 4px rgba(0,0,0,0.2);
	margin: 20px;
}

.card img {
	width: 100%;
	height: auto;
}

.card-content {
	padding: 16px;
}

.card-content h2 {
	font-size: 28px;
	margin-bottom: 8px;
	color:rgb(59, 58, 58);
}

.card-content p {
	color:#666;
	font-size: 15px;
	line-height: 1.3;
}

.card-content .btn {
	display: inline-block;
	padding: 8px 16px;
	background-color: rgb(59, 58, 58);
	text-decoration: none;
	border-radius: 4px;
	margin-top: 16px;
	color: #fff;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color:rgb(59, 58, 58);
	color: white;
}

.pagetitle {
	font-size: 2em;
	margin: 0.5rem;
	letter-spacing: 1;
}

.pagetitle a {
	color: white;
	text-decoration: none;
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}


.navbar-links ul {
	margin: 0;
	padding: 0;
	display: flex;
}

.navbar-links li {
	list-style: none;
}

.navbar-links li a{
	text-decoration: none;
	color: white;
	padding: 1rem;
	display: block;
}

.navbar-links li:hover {
	background-color: rgb(105, 104, 104);
}
.toggle-button {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 40px;
	height: 28px;
}

.toggle-button .bar {
	height: 5px;
	width: 100%;
	background-color: white;
	border-radius: 10px;
}
.timeline {
	position: relative;
	max-width:1200px;
	margin:100px auto 20px auto;
	text-align: left;
}
.container {
	padding: 10px 50px;
	position: relative;
	width: 50%;
	animation: movedown 1s linear forwards;
	opacity: 0;
}

@keyframes fadeInDelayed {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



.btn-box-delayed {
    opacity: 0;
    animation: fadeInDelayed 1s ease-in-out forwards;
    animation-delay: 5.7s;
}

@keyframes movedown {
	0% {
		opacity: 1;
		transform: translateY(-30px)
	}
	100% {
		opacity: 1;
		transform: translateY(0px)
	}
}
.container:nth-child(1) {
	animation-delay: 0s;

}
.container:nth-child(2) {
	animation-delay: 2.2s;
	
}
.container:nth-child(3) {
	animation-delay: 4s;
	
}
.container:nth-child(4) {
	animation-delay: 5.2s;
	
}

.textbox {
	padding: 20px 30px;
	background-color: #fff;
	position: relative;
	border-radius: 6px;
	font-size: 15px;
}

.left-container {
	left: 0;
}
.right-container {
	left: 50%;
}
.container img {
	position:absolute;
	width: 80px;
	border-radius:5%;
	right:-40px;
	top: 40px;
	z-index:10;
}
.right-container img {
	position:absolute;
	width: 80px;
	border-radius:5%;
	left:-40px;
	top: 32px;
	z-index:10;
}
.timeline::after {
	content:'';
	position: absolute;
	width:6px;
	height: 100%;
	background-color: #fff;
	top:0;
	left: 50%;
	margin-left: -3px;
	z-index: -1;
	animation: moveline 6s linear forwards;
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes moveline {
	0% {
		height: 0;
	}
	100% {
		height: 100%;
	}
}
.textbox h2 {
	font-weight: 600;
	margin-bottom: 10px;
}
.textbox 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: -10px;
}
.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: -10px;
}

.textbox a {
	color: black;
}

.home {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 25px;
	gap: 50px;
	flex-wrap: wrap;
	text-align: center;
}

.home-content {
	max-width: 90%;
	text-align: center;
}

.vita-content {
	max-width: 90%;
	text-align: center;
	padding-bottom: 20px;
}

.circle {
	height: 500px;
	width: 500px;
	overflow: hidden;
	border-radius: 50%;
	border: 20px solid white;
	max-height: 80vw;
	max-width: 80vw;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
}

.circle img {
	width: 100%;
}

.home-content h1 {
	margin-top:50px;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.2;
	color:rgb(59, 58, 58);
}

.home-content h3 {
	margin-top:20px;
	margin-bottom:50px;
	font-size: 32px;
	font-weight: 700;
	color:rgb(116, 114, 114);
}

.profilebox h3 {
	color: white;
}

.home-content p {
	font-size: 20px;
	margin: 20px 0 20px;
	color:rgb(59, 58, 58);
}

.home-content p a {
	color:rgb(59, 58, 58);
}

.home-content btn-box {
	display: flex;
	width: 345px;
	height: 50px;
}

.btn-box a {
	margin-top: 0px auto 10px auto;
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 150px;
	height: 100%;
	background-color: rgb(59, 58, 58);
	border: 2px solid rgb(59, 58, 58);
	border-radius: 8px;
	font-size: 19px;
	color:rgb(202, 202, 202);
	text-decoration: none;
	font-weight: 600;
	letter-spacing: 1px;
	z-index: 1;
	overflow: hidden;
}

h3 {
	margin-bottom: 15px;
}

.btn-box a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background-color: rgb(202, 202, 202);
	z-index: -1;
	transition: .5s;
}

.btn-box a:hover::before {
	width: 100%;
}

.btn-box a:hover {
	color: rgb(59, 58, 58);
}

.btn-box {
	height: 80px;
}

.cont {
	width: 100%;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.profilebox {
	background-color: #615f5f;
	text-align: center;
	padding: 40px 40px;
	color: white;
	position: relative;
	border-radius: 20px;
}
.profile-pic {
	width: 150px;
	border-radius: 50%;
	background-color: white;
	padding: 6px;
}
h3 {
	margin-bottom: 15px;
}
.profilebox p {
	margin-bottom: 15px;
}
.social-media a img{
	margin: 5px;
}

.social-media {
	background-color: white;
	border-radius: 20px;
}
.mail {
	text-align: center;
	margin-bottom: 20px;
}

small {
	text-decoration: none;
}

@media screen and (max-width: 600px) {
	.profilebox {
		width: 90%;
	}
	.timeline {
		margin: 50px auto;
	}
	.timeline::after {
		left: 50px;
	}
	.container {
		width: 100%;
		padding-left: 100px;
		padding-right: 25px;
	}
	.textbox {
		font-size: 13px;
	}
	.textbox 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: -10px;
	}
	h1 {
		font-size: 12vw;
		text-align: center;
		color: rgb(59, 58, 58);
		margin-top:10px;
	}
	
	h3 {
		text-align: center;
		font-size: 20pt;
		color: rgb(116,114,114);
	}

	.btn-box {
		margin-bottom: 10%;
	}

	.toggle-button {
		display: flex;
	}
	.navbar-links {
		display: none;
		width: 100%;
	}
	.navbar {
		flex-direction: column;
		align-items: flex-start;
	}

	.navbar-links ul {
		width: 100%;
		flex-direction: column;
	}
	.navbar-links li {
		text-align: center;
	}
	.navbar-links li a{
		padding: 0.5rem 1rem;
	}
	.navbar-links.active {
		display: flex;
	}
	.home-content {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.home-content p {
		/*text-align:center;*/
		font-size: 18px;
		letter-spacing:-1px;
		word-spacing: -1px;
	}
	.btn-box {
		text-align: center;
	}
	.home-content h1 {
		font-size: 30pt;
		word-spacing: -.5px;
	}
	.home-content h3 {
		font-size: 24pt;
		word-spacing: -.5px;
	}
	.home-content {
		max-width: 100%;
	}
	.circle {
		order: -1;
		margin-bottom: 20px;
	}
}