html {
    scroll-behavior: smooth;
}

.header {
	position: fixed;
	top: 0;
	z-index: 1;
	width: 100%;
	background-color: #ffffff;
}
.progress-container {
	width: 100%;
	height: 2px;
	background: #ccc;
}
.progress-bar {
	height: 2px;
	background: #82A5D3;
	width: 0%;
	animation: progress-grow linear;
    animation-timeline: scroll();
}
@keyframes progress-grow {
    to {
        width: 100%;
    }
}

main {
  	background-color: #121212;
	font-family: Arial, sans-serif;
	color: white;
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-self: center;
	text-align: justify;
	margin: auto;
	max-width: 60%;
	padding-bottom: 5%;
	padding-top: 5%;
	overflow-wrap: break-word;
	word-break: break-word;
	hyphens: auto;
	line-height: 1.5;
}
body {
  	background-color: #121212;

}


h1, h2 {
	text-align: center;
    align-self: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

pre {
    background-color: #1e1e1e;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    border: 1px solid #333;
}

a {
	color:#82A5D3;
	text-decoration: none;
}

a:hover {
	color:#DDE7F3;
}

footer {
	display: flex;
	justify-content: center;
}


@media (max-width: 800px) {
	main {
		max-width: 90%;
		padding-top: 2%;
		padding-bottom: 2%;
		line-height: 1.2;
	}
}

@media (hover: hover) {
	main:hover {
		transition-duration: 0.5s;
  	}
}

@media not all and (hover: hover) {
  main::after {
    content: "" attr(title) "";
  }
}