* {
	margin:0;
	padding: 0;
	box-sizing: border-box;
}

h1, h2, h3 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

:root {
    --bg-color: hsl(220, 13%, 18%);
    --fg-color: hsl(0, 0%, 100%);
}

body{
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    background-color: var(--bg-color);        
	width: 100vw;
	height: 100vh;

	display: flex;
	justify-content: center;
	align-items: center;

	position: relative;
}


.carousel {
	width: 90%;	
	height: 90%;
	/* border: 1px solid #fff; */
	overflow: hidden;
}

.container {
	width: calc( 2* 100%);   /* Quan hi ha dues imatges */
	height: 100%;

	display: flex;
	transition: all .4s ease;
	transform: translateX(0%);
}


.element {
	width: calc(100% / 2);    /* Quan hi ha dues imatges */
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

img {	
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.points{
	position: absolute;
	width: 100%;
	bottom:0;

	padding: 1em;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
}

.point {
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	background-color: #333;
	box-shadow: 1px 1px 5px 0px #fff;
	margin: 0 0.5rem;
	cursor:pointer;
	color: #fff;
}

.point.active {
	background-color: #fff;
	box-shadow: 1px 1px 5px 0px #aaa;
}

@media only screen and (max-width: 815px) {
    /* phones = 767 */
	/* .noPhone {
		display: none;
	} */

	.carousel {
		width: 100%;	
		height: 100%;		
	}
}