@charset "utf-8";
/* CSS Document */

@font-face{font-family: 'Roboto';
font-style: normal;
font-weight: 300;
	src: url('fonts/Roboto-Light.ttf');
}
@font-face{font-family: 'Roboto';
font-style: normal;
font-weight: 600;
	src: url('fonts/Roboto-Medium.ttf');
}
@font-face{font-family: 'Roboto';
font-style: normal;
font-weight: 900;
	src: url('fonts/Roboto-Black.ttf');
}

html {
  font-family: 'Roboto', tahoma,verdana;
  font-weight: 300;
  color: #333;
  scroll-behavior: smooth;
}

body {
  all: unset;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  background-color: whitesmoke;
}
header {
  position: sticky;
  top: 3rem;
  bottom:0;
  box-shadow: 0 5px 20px rgba(0 0 0 /.2);
  z-index: 1;
  backdrop-filter: blur(3px) grayscale(1);
  will-change: transform;
  scroll-margin-top: calc(-4rem - 80px);
}
.background-wrapper {
  height: 100vh;
  width: 100%;
  display: grid;
  align-items: center;
  justify-items: center;
  background-image: url('images/site/background.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 50%;
}
.contact a{
	color: #252525;
	padding: 2rem 3rem;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-direction: column;
}
.contact a::before {
  content: ;
  font-size: 5rem;
  line-height: 1;
}
.contact{
	font-size: 1.5rem;
	border-radius: 1rem;
	background-color: #ffffffe6;
	scroll-margin-top: 50vh;
	margin-bottom: calc(4rem + 80px);
	filter: drop-shadow(0 5px 10px rgba(0 0 0 / .2));
}
.contact img {
  height: 45px;
  width: auto;
  opacity: .7;
}
.explore {
  align-self: end;
  font-size: 2rem;
  color: white;
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: calc(5rem + 4rem + 80px);
  position: absolute;
}
.explore::after,
.explore::before {
  content: '\25BC';
  font-size: 1.3rem;
}
.explore a{
	color: white;
}
.menu {
  display: flex;
  flex-direction: revert;
  position: absolute;
  border-radius: 1rem;
  background: white;
  transition: .15s cubic-bezier(.52,-0.27,.27,1.24);
  scale: 0;
  transform-origin: left;
  left: 4rem;
  box-shadow: 0 5px 20px rgba(0 0 0 / .4);
  top: -1rem;
}
.menu a:hover {
  background: #daede9;
}
.menu a:first-child {
  border-radius: 1rem 0 0 1rem;
}
.menu a:last-child {
  border-radius: 0 1rem 1rem 0;
}
nav {
  position: absolute;
  left: 5%;
  top: calc(2rem + 15px);
  height: 50px;
}
.menu-toggle {
  all: unset;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.5rem;
}
.stripe {
  width: 40px;
  height: 0.06rem;
  background: #333;
}
.menu-toggle.active .stripe:first-of-type {
  transform-origin: top right;
  rotate: -45deg;
  translate: -5px 0px;
}
.menu-toggle.active .stripe:nth-of-type(2) {
  rotate: 45deg;
  translate: 0px 0px;
}
.menu-toggle.active .stripe:nth-of-type(3) {
  height: 0;
}
.menu.active {
	scale: 1;
}
a {
  text-decoration: none;
}
nav a {
  padding: 2rem;
  font-weight: 600;
  color: #333;
  width: max-content;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffffb5;
  padding-block: 2rem;
}
.logo img {
  width: 60%;
}
.attention-banner {
  background-color: #d7c58de0;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  text-shadow: 0 0 5px rgba(0 0 0 / .7);
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  backdrop-filter: blur(3px) grayscale(1);
}
main {
  display: grid;
  align-items: center;
  justify-content: center;
  gap: 10rem 3rem;
  padding: 8rem 4rem;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.card {
  display: grid;
  width: 100%;
  align-self: center;
  justify-self: center;
  position: relative;
  aspect-ratio: 1/1.4;
  perspective: 1000px;
}
.flipped {
	transform: rotatey(180deg) !important;
}
.flip {
  position: absolute;
  height: 2rem;
  width: 2rem;
  z-index: 1;
  bottom: 1rem;
  right: 1rem;
  display: none;
}
.flip::before {
  content: '↻';
  font-size: 2rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.card:hover .card-inner{
	transform: rotatey(180deg);	
}
.card-back {
  background: white;
  transform: rotatey(180deg);
  align-items: end;
  justify-items: center;
  padding: 3rem;
  box-sizing: border-box;
}
.card-back p {
	font-size: 1.4rem;
	font-weight: 300;
	text-align: center;
}
.card-back .price {
	font-size: 2rem;
	font-weight: 900;
	align-self: start;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.price::before {
  content: '';
  background-color: #d7c58de0;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  padding: 2rem;
  clip-path: polygon(30px 70px, 3.16% 41px, 91.65% 15px, 80.35% 31.49%, 96.31% 67.05%, 9px 85.25%);
}
.card-inner {
  position: relative;
  height: 100%;
  width: 100%;
  transition: 0.5s;
  transform-style: preserve-3d;
}
.card-back, .card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  background-color: white;
  display: grid;
  filter: drop-shadow(0 5px 10px rgba(0 0 0 / .1));
}
.card img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}
.card-describtion {
  padding: 1rem 2rem;
}
.content-box {
  padding: 3rem;
  width: 40%;
  justify-self:center;
}
.about {
	grid-column: 1/3;
	grid-row: 2;
	scroll-margin-top: 35vh;
}
.i-point {
	grid-column: span 4;
	display:flex;
	justify-content: center;
}
.i-point img {
	width: 100%;
}
footer {
  background-color: #ffffffb5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}
.links a {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.links img {
  height: 6vh;
  align-self:start;
}
.links a img:nth-of-type(2) {
  margin-top: 10px;
}

@media (max-width: 90em) {
	.attention-banner{
	}
	main{
		grid-template-columns: 1fr 1fr;
		padding: 8rem 3rem;
		gap: 4rem 1rem;
	}	
	.card{
		width: 90%;	
	}
	.card:hover .card-inner {
		transform:unset;
	}
	.flip {
		display: flex;	
	}
	.content-box{
		grid-column: 1 / 3;
		width: 70%;
	}
}

@media (max-width: 50em) {
	nav {
	  left: 4%;
	  top: calc(1rem + 10px);
	}
	.logo{
		padding-block: 1rem;	
	}
	.attention-banner {
		font-size: .8rem;	
	}
	header{
		scroll-margin-top: calc(-2rem - 80px);	
	}
	main{
		grid-template-columns: 1fr;
		padding: 4rem 1rem;
		gap: 4rem 0;
	}	
	.card{
		width: 70%;	
	}
	.content-box{
		grid-column: 1;
	}
	.about{
		grid-row: 3;
		scroll-margin-top: 20vh;
	}
}

@media (max-height:500px) and (orientation: landscape) {
	.explore {
		justify-self: end;
		margin-right: 2rem;
	}	
}

@media (max-width: 35em) {
	.contact{
		margin-bottom: calc(2rem + 80px);	
	}
	.logo{
		justify-content: end;	
	}
	.logo img {
		margin-right: 14%;	
	}
	.card{
		width: 90%;	
	}
	.about{
		grid-row: 5;
	}
}
@media (max-width: 35em) and (orientation: portrait){
	.background-wrapper {
		background-position-x: 50%;	
	}
}