
header {
	display: flex;
	justify-content: space-between;
	margin: 20px auto;
}


header img {
	width: 100px;
	height: 100px;
}


h2, h3 {
	text-align: center;
}


/* Images general */
img {
	display: block;
	max-width: 90%;
	margin: 0 auto;
	height: auto;
}


#contact {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
}

#contact a {
	text-decoration: none;
}


/* Navigation menu and button */

#float-btns {
	position: fixed;
	right: 0;
	bottom: 0;
	z-index: 100;
}

#float-btns img {
	width: 70px;
	height: 70px;
}


#menu-toggle {
	width: 100%;
	color: white;
	background-color: transparent;
	border: none;
}


#menu-img {
	width: 32px;
	height: 32px;
}


#menu-container {
	display: none;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	background-color: #624788;
	flex-direction: column;
	align-items: center;
}


#menu-container.open {
	display: flex;
}


#menu-container a {
	margin: 10px auto;
	text-decoration: none;
	color: white;
}



/* Carousel */
.carousel {
	position: relative;
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	height: 500px;
}

.carousel img {
	position: absolute;
	max-width: 100%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.carousel img.carousel-active {
  opacity: 1;
}


/* Catalog */
#catalog-container {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
}


#catalog-container img {
	border-radius: 30%;
}


#catalog div { 
  padding: 0 0 20px 0; /* Update img too... */
  text-align: center;
}


/* Tablet and PC */
@media (min-width: 768px) {

	body {
		width: 768px;
		margin: 0 auto;
		padding: 0 10px;
		background-color: white;
	}

	html {
		background-color: #dcdcdc;
	}
	
	#menu-toggle {
		display: none;
	}

	#menu-container {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
	}

	img:not(header img, #float-btns img, .carousel img) {
		max-width: 50%;
	}
	
	.carousel {
		width: 55%;
	}
}