@charset "UTF-8";

@font-face {
	font-family: "pix-chicago";
	src: url("./../fonts/pixChicago.otf") format("opentype");
}

body {
	font-family: "pix-chicago";

	cursor: url("./../images/cursore2.png"), auto;
	background-image: url("./../images/pattern_2.png");
}

* {
	font-family: "pix-chicago";
}

.text {
	font-family: "pix-chicago";
	height: 200px;
	background: violet;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

a:link {
	color: black;
	text-decoration: none;
}
a:visited {
	color: black;
	text-decoration: none;
}
a:hover {
	color: black;
	text-decoration: underline;
}
a:active {
	color: white;
	text-decoration: none;
}

.titlebar {
	background-color: white;
	height: 30px;
	border-bottom: 6px solid black;
	font-size: 2cqmin;
	word-spacing: 2rem;
	padding: 10px;
	position: sticky;
	top: 0;
	display: flex;
	justify-content: space-evenly;
}

.titlebar-2 {
	background-color: white;
	height: 30px;
	border-bottom: 6px solid black;
	font-size: 2cqmin;
	word-spacing: 3rem;
	/*padding: 10px;*/
	padding-bottom: 2cqmin;
	position: sticky;
	top: 0;
	padding-top: -2px;
	text-align: center;
}
.container {
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.left {
	flex-basis: 40%;
	overflow: scroll;
	background: white;
	font-size: 50px;
	font-family: pix-chicago;
	line-height: 2.7;
	position: relative;
	border-radius: 20px;
	border: 6px solid black;
	/*margin-right: -3px;*/
	margin-left: 50px;
	margin-right: 50px;
}

.right {
	flex-basis: 60%;
	height: 100%;
	overflow: scroll;
	background: grey;
	font-size: clamp(50px, 5vw, 150px);
	font-family: "pix-chicago";
	line-height: 2;
	border-radius: 20px;
	border: 6px solid black;
	margin-left: -3px;
	scroll-behavior: smooth;
	margin-top: 12px;
}

.images-carrousel {
	position: absolute;
	width: 100%;
	transform-origin: center left;

	transition: transform 1s ease;
}

@media (max-width: 768px) {
	.container {
		flex-direction: column;
		height: auto;
	}
	.left {
		flex-basis: auto;
		height: auto;
		margin-bottom: 40px;
		top: 20px;
		width: 50%;
		scroll-behavior: smooth;
		position: sticky;
	}
	.right {
		flex-basis: auto;
		width: 100%;
		margin: 0;
		height: auto;
		margin-top: -3px;
		margin-left: 10px;
		margin-right: 10px;
		scroll-behavior: smooth;
	}

	.titlebar {
		height: 2cqmin;
		padding-bottom: 20px;
		position: sticky;
	}

	.titlebar-2 {
		height: 2cqmin;
		padding-bottom: 20px;
	}
}

#text {
	padding-left: 10px;
}

.hidden {
	transform: scaleX(0);
}

.to-remove {
	transform: scaleX(0);
	transform-origin: center right;
}

span {
	color: white;
	padding: 20px;
	border-radius: 20px;
	/*background-color: violet;*/
}

span:hover {
	border-radius: 100px;
	background-color: white;
	color: black;
	transition: all 0.2s ease-in-out;
}
