* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	background: rgb(255, 255, 255);
	background: linear-gradient(180deg, rgb(192, 211, 228) 5%, rgb(72, 111, 146) 30%, rgba(51,51,51,1) 100%);
}

body {
	font-family: Helvetica, sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	padding: 0;
}

.picture-frame {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
	border-style: solid;
	border-width: 1px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
  }
  
  .picture-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  .modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	z-index: 9999;
  }
  
  /* Style the overlay */
  .overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 9998;
  }
  
  /* Style the subtitle under the image */
  .modal img {
	display: block;
	max-width: 100%;
	max-height: 80vh;
	margin: 0 auto;
  }
  
  .modal .subtitle {
	text-align: center;
	margin-top: 10px;
	font-size: 18px;
	color:rgba(0, 0, 0);
  }
  
  /* Style the close button */
  .close-btn {
	display: block;
	width: 100px;
	margin: 10px auto;
	text-align: center;
	padding: 8px 0;
	background-color: #c41c3e;
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
  }

  .close-btn:hover {
	background-color: #6d1426;
	transition: 0.5s;
  }

.wrapper {
	flex: 1;
}

.title, .subtitle {
	margin: auto;
	text-align: center;
	color: white;
}

.subtitle {
	color: rgb(227, 222, 222);
	padding-top: 1.25em;
}

img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

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

/* The actual timeline (the vertical ruler) */
.timeline {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	z-index: 2;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
	content: '';
	position: absolute;
	width: 6px;
	background-color: white;
	top: 0;
	bottom: 0;
	left: 50%;
	margin-left: -3px;
}

/* Container around content */
.container {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
	opacity: 25%;
}

.container.active {
	opacity: 100% !important;
}

nav {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: rgba(255, 255, 255, 0.8); /* Partially-transparent white background */
	border-radius: 15px; /* Rounded corners */
	padding: 10px; /* Add some padding to the nav element */
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow for depth */
	z-index: 9999;
}

button {
	flex: 1;
	padding: 10px 20px;
	padding: 10px 20px;
	background-color: #3872d6;
	color: #fff;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
	margin: 0 5px;
	transition: background-color 0.3s ease;
}

button:hover, button:focus {
	background-color: #133c71;
	transition: 0.5s;
}

footer {
	width: 100%;
	color: #fff;
	text-align: center;
	padding: 20px;
}

/* The circles on the timeline */
.container::after {
	content: '';
	position: absolute;
	width: 25px;
	height: 25px;
	right: -17px;
	background-color: white;
	border: 4px solid #33257a;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}

/* Place the container to the left */
.left {
	left: 0;
}

/* Place the container to the right */
.right {
	left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	right: 30px;
	border: medium solid white;
	border-width: 10px 0 10px 10px;
	border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
	content: " ";
	height: 0;
	position: absolute;
	top: 22px;
	width: 0;
	z-index: 1;
	left: 30px;
	border: medium solid white;
	border-width: 10px 10px 10px 0;
	border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
	left: -16px;
}

/* The actual content */
.content {
	padding: 20px 30px;
	background-color: white;
	position: relative;
	border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
	/* Place the timelime to the left */
	.timeline::after {
		left: 31px;
	}
	
	/* Full-width containers */
	.container {
		width: 100%;
		padding-left: 70px;
		padding-right: 25px;
	}
	
	/* Make sure that all arrows are pointing leftwards */
	.container::before {
		left: 60px;
		border: medium solid white;
		border-width: 10px 10px 10px 0;
		border-color: transparent white transparent transparent;
	}
	
	/* Make sure all circles are at the same spot */
	.left::after, .right::after {
		left: 15px;
	}
	
	/* Make all right containers behave like the left ones */
	.right {
		left: 0%;
	}
}