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

body {
	background-color: rgb(83, 6, 6);
	width: 100v;
}

/* Loader */

.loader {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	height: 100vh;
	width: 100vw;
	z-index: 100;
	background-color: #530606;
	flex-direction: column;
	gap: 2rem;
	padding-top: 10vh;
}

.loader [alt="Loading"] {
	width: 150px;
	animation-name: rotate;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	z-index: 100;
}
.loader [alt="Mara Prop"] {
	width: 50vw;
	z-index: 100;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

/* Nav */

.logo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: white;
	height: 100px;
	text-align: center;
	caret-color: transparent;
	position: relative;
	padding: 1rem;
	overflow: visible;
}
.logo button {
	border: none;
	background: none;
	cursor: pointer;
}

.logo button div {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	width: 22px;
	height: 25px;
}

.logo .menu {
	background-image: url("./img/menu.png");
}

.logo .menu:hover {
	background-image: url("./img/menu-hover.png");
}

.logo .search {
	background-image: url("./img/zoom-search-find-glass-icon.png");
}

.logo .search:hover {
	background-image: url("./img/zoom-search-find-glass-icon-hover.png");
}

.logo img {
	max-height: 100%;
	max-width: 60%;
	cursor: pointer;
}

datalist {
	width: 1000px;
}

/* Nav Bar */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

.nav-menu {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	background: #272727;
	left: 0;
	/* -16 bottom is fully visible, -46 is hidden */
	bottom: -46px;
	width: 100%;
	font-family: "Montserrat", sans-serif;
	transition: bottom 1s;
}

.nav-menu a {
	color: #f6f4e6;
	text-decoration: none;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: 500;
	display: inline-block;
	width: 80px;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.nav-menu a:hover {
	color: #fddb3a;
}

.nav-menu .dot {
	width: 6px;
	height: 6px;
	position: absolute;
	background: #fddb3a;
	border-radius: 50%;
	opacity: 0;
	transform: translate(-118px, 10px);
	transition: all 0.2s ease-in-out;
}

/* .nav-menu a:nth-child(1):hover ~ .dot {
	transform: translate(-118px, 10px);
	transition: all 0.2s ease-in-out;
	opacity: 1;
}

.nav-menu a:nth-child(2):hover ~ .dot {
	transform: translate(-40px, 10px);
	transition: all 0.2s ease-in-out;
	opacity: 1;
}

.nav-menu a:nth-child(3):hover ~ .dot {
	transform: translate(41px, 10px);
	transition: all 0.2s ease-in-out;
	opacity: 1;
}

.nav-menu a:nth-child(4):hover ~ .dot {
	transform: translate(120px, 10px);
	transition: all 0.2s ease-in-out;
	opacity: 1;
} */

/* Search Bar */

#search-bar {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 0px;
	/* width 200px expandido */
	height: 25px;
	right: 40px;
	background-color: white;
	border-radius: 20px;
	cursor: default;
	display: none;
	align-items: center;
	justify-content: center;
	border: black 1px solid;
	transition: width 1s;
}
#search-bar input {
	width: 90%;
	height: 90%;
	border: none;
	caret-color: auto;
	font-size: 0.7rem;
	text-align: center;
	transition: opacity 1s;
}

#search-bar input:focus {
	outline: none;
}

/* Header contact */

header {
	width: 100%;
	margin: 1rem auto;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	background-color: white;
	background-image: url("./img/jason-dent-w3eFhqXjkZE-unsplash.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	position: relative;
	z-index: 10;
}
header::before {
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.187);
}
header nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	font-weight: bold;
	width: 100%;
	position: absolute;
	bottom: 1rem;
	flex-shrink: 1;
}
header div {
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	background-color: #82454bc1;
	border-radius: 20px;
}
header a {
	text-decoration: none;
	color: white;
	text-align: center;
}
header a:hover {
	text-decoration: underline;
}

header img {
	width: auto;
	height: 30px;
}
header div > * {
	margin: 0.4rem;
}

@media screen and (max-width: 1000px) {
	header a {
		font-size: 14px;
	}
	header img {
		height: 25px;
	}
}
@media screen and (max-width: 885px) {
	header a {
		font-size: 12px;
	}
	header img {
		height: 20px;
	}
}
@media screen and (max-width: 772px) {
	header a {
		font-size: 10px;
	}
	header img {
		height: 20px;
	}
}
@media screen and (max-width: 668px) {
	header nav {
		flex-direction: column;
		height: 50%;
	}
	header a {
		font-size: 12px;
	}
}

/* Carrousel */

.carrousel {
	min-width: 300px;
	max-width: 50vmax;
	margin: 0 auto;
	display: flex;
	height: 600px;
	align-items: center;
	justify-content: center;
	position: relative;
	user-select: none;
	overflow: hidden;
}

.carrousel .slide {
	width: 100%;
	height: 100%;
	background-color: inherit;
	position: absolute;
	display: flex;
	align-items: center;
	font-size: 2rem;
	color: white;
	justify-content: center;
	top: 0.5rem;
	left: 0;
	opacity: 0;
	animation-duration: 600ms;
	animation-fill-mode: forwards;
	caret-color: transparent;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.slide > img {
	display: block;
	height: 100%;
	object-fit: contain;
	transition: 500ms;
	z-index: 5;
	pointer-events: all;
}
.slide[data-active] {
	transition-delay: 0ms;
	opacity: 100%;
	left: 0;
	z-index: 2;
}
.slide > img:hover,
.slide > img:focus {
	transform: scale(1.03);
	cursor: pointer;
}
.carrousel [data-carrousel-button] {
	position: absolute;
	color: rgba(255, 255, 255, 0.5);
	z-index: 5;
	top: 50%;
	border: none;
	transform: translateY(-50%);
	padding: 0.5rem;
	font-size: 1rem;
	cursor: pointer;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 0.25rem;
	caret-color: transparent;
	transition: background-color 200ms, color 200ms;
}
.prev {
	left: 1rem;
}
.next {
	right: 1rem;
}

.prev.slide,
.next.slide {
	opacity: 50%;
}

[data-carrousel-button]:hover,
[data-carrousel-button]:focus {
	background-color: rgba(0, 0, 0, 0.8);
	color: white;
}
[data-carrousel-button]:focus {
	outline: 1px solid black;
}

@media screen and (max-width: 500px) {
	.slide > img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
		object-position: center;
		max-width: 200px;
	}
	.carrousel .slide {
		flex-direction: column;
		max-height: 400px;
	}
	.carrousel {
		height: 400px;
	}

	.carrousel [data-carrousel-button] {
		top: 2rem;
	}
}

@keyframes exitLeft {
	from {
		left: 0;
		opacity: 100%;
		top: -1rem;
	}
	to {
		left: -50%;
		opacity: 50%;
		top: 0;
	}
}
@keyframes enterLeft {
	from {
		left: 50%;
		opacity: 50%;
		top: 0;
	}
	to {
		left: 0%;
		opacity: 100%;
		top: -1rem;
	}
}

@keyframes exitRight {
	from {
		left: 0;
		opacity: 100%;
		top: -1rem;
	}
	to {
		left: 50%;
		opacity: 50%;
		top: 0rem;
	}
}

@keyframes enterRight {
	from {
		left: -50%;
		opacity: 50%;
		top: 0rem;
	}
	to {
		left: 0%;
		opacity: 100%;
		top: -1rem;
	}
}

@keyframes peakLeft {
	from {
		left: 100%;
		opacity: 100%;
	}
	to {
		left: 50%;
		opacity: 50%;
	}
}
@keyframes exitPeakLeft {
	from {
		left: -50%;
		opacity: 50%;
	}
	to {
		left: -100%;
		opacity: 50%;
	}
}
@keyframes peakRight {
	from {
		left: -100%;
		opacity: 100%;
	}
	to {
		left: -50%;
		opacity: 50%;
	}
}
@keyframes exitPeakRight {
	from {
		left: 50%;
		opacity: 50%;
	}
	to {
		left: 100%;
		opacity: 50%;
	}
}
