@font-face {
	font-family: 'Amaranth';
	src: url('./fonts/Amaranth-Regular.ttf');
	font-weight: normal;
	font-style: normal;
}

html {
	background: #000;

}

body {
	font-family: 'Amaranth', serif;
	font-size: 20px;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  image-rendering: pixelated;
}

canvas.pixelated {
  image-rendering: pixelated;
}

img.logo {
	position: absolute;
	top: 1.5em;
	left: 25;
	width: 600px;
	height: 250px;
  /* aspect-ratio: 5 / 4; */
  /* object-fit: contain; */
	z-index: 5;
 	/* pointer-events: none; */
	pointer-events: auto;
}

.instagram {
	display: none;
	position: fixed;
  left: 25px;
	bottom: 1em;
	width: 72px;
	height: 72px;
  z-index: 2;
}


h1, h2, .fancy-title {
	font-family: 'Amaranth', serif;
}

main {
	padding-top: calc(20vw * (4 / 5) + 7em);
  padding-left: 25px;
	padding-right: 25px;
	padding-bottom: 145px;
	position: relative;
	z-index: 1;
}
.products {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
		gap: 3em;
}
.product {
		/* border: 1px solid #E81173; */
		border-radius: 10px;
		padding: 1em;
		text-align: center;
		background: #E8117311;
		backdrop-filter: blur(5px);
		color: white;
		padding-bottom: 0px;
		/* margin-bottom: 45px; */
}
.product img {
		max-width: 100%;
		height: auto;
		border-radius: 10px;

}
.product button {
		background-color: #E81173;
		color: white;
		border: none;
		padding: 0.5em 1em;
		cursor: pointer;
		margin-top: 1em;
		border-radius: 10px;
}
#cart {
		position: fixed;
		bottom: 1em;
		right: 25;
		background-color: #E81173;
		color: white;
		font-weight: bold;
		padding: 0.5em 1em;
		border-radius: 10px;
		color: white;
		z-index: 2;
		font-style:  normal;
		/* cursor: pointer; */
}


#clear-button {
	position: fixed;
	bottom: 4em;
	padding: 0.5em 1em;
	border-radius: 10px;
	color: white;
	font-weight: bold;
	z-index: 3;
	background-color: #FA2C4B;
	right: 105px;
	display: none;
}
#clear-button:hover {
	background-color: #FA2C4B88;
}

#cart-button {
	position: fixed;
	right: 25px;
	bottom: 4em;
	background-color: #1EBE5A;
	border: none;
	padding: 0.5em 1em;
	border-radius: 10px;
	color: white;
	font-weight: bold;
	z-index: 4;
	display: none;
}
#cart-button:hover {
	background-color: #1EBE5A88;
}

.price-bar {
  display: flex;
	justify-content:  space-between;
	align-items:   center;
  margin-top: 1em;
	gap: 0.2em;
}

.price-bar .price {
  font-weight: bold;
  font-size: 1.1em;
  color: white;
	gap: 0.2em;
}

.price-bar .add-btn {
  background-color: #E81173;
  color: white;
  border: none;
	font-size: 1.4em;
	padding: 0.3em 0.5em;
	border-radius: 10px;
  cursor: pointer;
  line-height: 1;
	font-weight: bold;
	margin-bottom: 23px;

}

.price-bar .add-btn:hover {
	background-color: #E8117388;
}

.qty {
	color: white;
	font-weight: bold;
	font-size: 2.2em;
}

.lang-switch {
  position: absolute;
  top: 10px;
  right: 10px;
	z-index: 5;
}

button {
  padding: 6px 12px;
  font-size: 14px;
  /* cursor: pointer; */
	z-index: 5;
}

.lang-switch {
	position: absolute;
	top: 2em;
	right: 25px;
	z-index: 5;
}

.flag {
	width: 48px;
	height: 32px;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 0 3px #0003;
  transition: transform 0.2s ease;
}

.flag:hover {
  transform: scale(1.1);
}
