@font-face{
	font-family: "josefin";
	src: url("../font/josefin/JosefinSans-Light.ttf") format("opentype");
}
.bg1{
	background-color: #f6f3e5;
	height: 180vh;
}
.firstVideo{
	object-fit: cover;
	position: absolute;
	width: 80%;
	height: 125%;
	top: 28.5%;
	left: 10%;
}
.bg2{
    background-size: cover;
  	/*background-image: url('https://static.wixstatic.com/media/11062b_66b9234563324488b85be02dcf1db183f000.jpg/v1/fill/w_1349,h_791,al_c,q_85,usm_0.33_1.00_0.00/11062b_66b9234563324488b85be02dcf1db183f000.webp');*/
  	height: 120vh;
}
.bg2 video{
	object-fit: cover;
	position: absolute;
	height: 120%;
	width: 100%;
}
.pack{
	position: absolute;
	padding-top: 16%;
	padding-left: 22%;
	visibility: hidden;
}
.slideinpack {
	position: absolute;
	visibility: visible;
	padding-top: 16%;
	padding-left: 22%;
	/* for chrome and safari*/
	-webkit-animation-duration: 1.5s;
	-webkit-animation-name: slidein;

	/*for firefox*/
	-moz-animation-duration: 1.5s;
	-moz-animation-name: slidein;

	  /* for opera*/
	-o-animation-duration: 1.5s;
	-o-animation-name: slidein;

	  /* Standard syntax*/
	animation-duration: 1.5s;
	animation-name: slidein;
}

.bg2 span{
	opacity: 0.9;
	color: white;
	font-weight: bolder;
	font-size: 200%;
	font-family: myfont;
	letter-spacing: 0.05em;
}
.bg2 hr{
	border: 0;
	width: 90%;
	height: 5px;
	background-color: black;
}

.bg3{
	padding-bottom: 96px;
	background-color: #61343E;
}

.bg3 p{
	font-family: myfont;
	font-size: 250%;
	color: white;
	font-weight: bold;
}
.bg3 img{
	margin-left: 23%;
	margin-top: 10%;
	outline: transparent solid 1px;
	border-radius: 50%;
	object-fit: cover;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
.bg3 .pack1 p{
	font-family: normal;
	font-size: 1em;
	font-weight: normal;
}
.bg3 .pack1 p:nth-of-type(1){
	font-family: belinda;
	font-size: 200%;
	color: rgb(48,63,77);
}
.pack1{
	padding-top: 2%;
	padding-left: 35%;
}
.flip-card{
	position: relative;
	width: 50%;
	perspective: 1200px;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: transparent;
}
.flip-card + .flip-card{
	margin-top: 50px;
}
.hoverpic1,
.hoverpic2,
.hoverpic3{
	visibility: hidden;
}
.slideup {
	-webkit-animation-duration: 1.5s;
	-webkit-animation-name: slideup;
	animation-duration: 1.5s;
	animation-name: slideup;
	visibility: visible !important;
}
.flip-card-inner{
	position: relative;
	width: 92%;
	height: 290px;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.flip-card.is-flipped .flip-card-inner{
	transform: rotateY(180deg);
}
.flip-card:focus-visible .flip-card-inner{
	outline: 3px solid #e5c53e;
	outline-offset: 6px;
}
.flip-card-front,
.flip-card-back{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.flip-card-front{
	line-height: 10px;
	background-color: #e5c53e;
}
.flip-card-back{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow-y: auto;
	transform: rotateY(180deg);
	background-color: rgb(48,63,77);
}
.text{
	color: white;
	font-size: 20px;
	line-height: 1.4;
	text-align: center;
	font-family: josefin;
}
@media (prefers-reduced-motion: reduce){
	.flip-card-inner{
		transition: none;
	}
}

@media (max-width: 1024px){
	.bg1{
		height: auto;
		padding: 24px 0 48px;
	}
	.firstVideo{
		position: static;
		display: block;
		width: 88%;
		height: auto;
		aspect-ratio: 16 / 9;
		margin: 0 auto;
	}
	.bg2{
		position: relative;
		display: flex;
		align-items: center;
		overflow: hidden;
		height: auto;
		min-height: 80vh;
		min-height: 80svh;
	}
	.bg2 video{
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	.page-home .bg2 .container{
		position: relative;
	}
	.pack,
	.slideinpack{
		position: relative;
		padding: 64px 0;
	}
	.bg2 span{
		font-size: 150%;
	}
	.bg2 hr{
		width: 60%;
	}
	.bg3{
		padding: 48px 0 64px;
	}
	.bg3 p{
		font-size: 180%;
	}
	.bg3 #conserve{
		margin: 0 0 32px;
	}
	.pack1{
		padding: 0;
	}
	.flip-card,
	.slideup{
		width: 100%;
		max-width: 360px;
		margin-left: auto;
		margin-right: auto;
	}
	.flip-card + .flip-card{
		margin-top: 32px;
	}
	.flip-card-inner{
		width: 100%;
		height: 320px;
	}
	.flip-card-front{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 24px;
		line-height: 1.2;
	}
	.bg3 img{
		width: 150px;
		height: 150px;
		margin: 0 0 8px;
	}
	.bg3 .pack1 p{
		margin: 0;
	}
	.text{
		font-size: 17px;
	}
}
