html {
	height: 100%;
}

header {
    background-color: #333;
    color: #ffff;
	padding: 1vh;
	justify-content: center;
	position: sticky;
    top: 0;
	display: flex;
	z-index: 1;
}

header a {
	text-align: center
}

body {
	margin: 0;
    padding: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
    background-color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif;
}

footer {
    background-color: #333;
    color: #ffff;
	display: flex;
	padding: 1em;
	flex-shrink: 0;
	justify-content: center;
}

img {
	width: auto;
	height: auto;
}

h2 {
	font-size: 2em;
}

h1 {
	font-size: 3em;
	margin: 0;
}

p {
	font-size: 1em;
}

a {
	margin: 0!important;
}

a.button {
	text-decoration: none;
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: .5em;
	transition: background-color 0.3s ease;
	display: inline-block;
	font-size: 1em;
	padding: .5em;
	background-color: #333;
}

a.button:hover {
    background-color: #555;
}

.content {
	flex: 1 0 auto;
}

.container {
	padding: .5em;
	margin-top: auto;
	margin-bottom: auto;
	text-align: center;
	border-radius: .5em 0 0 .5em;
	width: 60%;
}

.canvas {
	width: 40%;
	height: auto;
	border-radius: 0 .5em .5em 0;
	margin-left: auto;
}

.slate {
	display: flex;
	border-radius: .5em;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	background-color: white;
    margin-top: .5em;
	margin-bottom: .5em;
	width: 80vw;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

@media only screen and (max-width: 1024px) {	
    .canvas {
        width: 100%;
		border-radius: .5em .5em 0 0;
    }
	.slate {
		flex-direction: column-reverse;
		margin: .5em;
		width: auto;
	}
	.container {
		width: auto;
	}

	.linkedin-profiles  {
		margin: .5em !important;
	}
}

.slate h2, a, p {
	margin: .5em;
}

.slate.preview {
	flex-direction: row;
}

.preview.container {
	flex: 0 0 auto;
}

.text-align-left {
	text-align: left;
}

p.inline {
	display: inline-flex;
	align-items: center;
}

.fractal-preview {
	flex: 1;
	border-radius: 0 .5em .5em 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 20%), url('./projects/img/julia_bw.webp');
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.web-preview {
	flex: 1;
	border-radius: 0 .5em .5em 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 20%), url('./projects/img/pgl.webp');
    background-position: top right;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 1em;
    background-color: #f0f0f0;
    border-radius: .5em;
	margin: 1em 0;
}

.slider.red {
	background: linear-gradient(to right, black, red);
}

.slider.blue {
    background: linear-gradient(to right, black, blue);
}

.slider.green {
    background: linear-gradient(to right, black, green);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.75em;
    height: 1.75em;
	background-color: black;
    border-radius: 50%;
    cursor: pointer;
}

iframe {
	width: 100%;
	height: 80vh;
	border: none;
	border-radius: .5em 0 0 .5em;
	display: block;
}

.linkedin-profiles  {
    white-space: normal;
    word-wrap: break-word;
    display: inline-block;
	margin: .5em 0;
}

.linkedin-profiles a {
	text-decoration: none;
}

.linkedin-profiles i {
	color: #0077b5;
}