@font-face {
	font-family: "Knewave";
	src: url("./assets/Knewave-Regular.woff");
}

::-moz-selection {
	background-color: #ff990065;
}

::selection {
	background-color: #ff990065;
}

* {
	margin: 0;
	text-decoration: none;
	color: #000000;
	box-sizing: border-box;
	font-weight: normal;
}

body {
	position: relative;
	height: 100%;
	min-height: 100vh;
	width: 100vw;
	margin: 0 auto;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	min-width: 420px;
	justify-content: center;
}

.hider {
	position: absolute;
	inset: 0;
	background-color: white;
	opacity: 1;
	z-index: 100;
	transition: opacity 0.1s linear;
}

.pop-cards {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	height: 100vh;
	overflow: hidden;
	font-family: "Knewave", sans-serif;
	@media (max-width: 700px) {
		flex-direction: column;
		overflow: unset;
	}
}

.card {
	width: 25%;
	position: relative;
	border: 7px solid #e73d98;
	cursor: pointer;
	transition: width 0.2s linear;
	@media (max-width: 700px) {
		width: 100%;
		min-height: 100%;
		overflow: hidden;
	}
}

.card-girl-1 {
	z-index: 1;
	background: top / cover no-repeat url(./assets/Girl1-mask.png),
		center / cover no-repeat url(./assets/Girl1-bg.png);
}
.card-girl-1:hover {
	background: top / cover no-repeat url(./assets/Girl1-bg.png);
}

.card-girl-2 {
	z-index: 2;
	background: top / cover no-repeat url(./assets/Girl2-mask.png),
		center / cover no-repeat url(./assets/Girl2-bg.png);
}
.card-girl-2:hover {
	background: top / cover no-repeat url(./assets/Girl2-bg.png);
}

.card-girl-3 {
	z-index: 3;
	background: top / cover no-repeat url(./assets/Girl3-mask.png),
		center / cover no-repeat url(./assets/Girl3-bg.png);
}
.card-girl-3:hover {
	background: top / cover no-repeat url(./assets/Girl3-bg.png);
}

.card-girl-4 {
	z-index: 4;
	background: top / cover no-repeat url(./assets/Girl4-mask.png),
		center / cover no-repeat url(./assets/Girl4-bg.png);
}
.card-girl-4:hover {
	background: top / cover no-repeat url(./assets/Girl4-bg.png);
}

.card:hover {
	width: 27%;
	@media (max-width: 700px) {
		width: 100%;
	}
}

.card p {
	position: absolute;
	color: #fff;
	left: 50%;
	translate: -50%;
	bottom: 0;
	padding: 15% 20% 25%;
	background: center / contain no-repeat url(./assets/Ellipse.png);
	z-index: 10;
}

.card p span {
	-webkit-filter: drop-shadow(0 4px 4px #00000079);
	filter: drop-shadow(0 4px 4px #00000079);
}

.card p span.big {
	font-size: calc(58px + 40 * (100vw / 1920));
	color: #fff;
	text-align: center;
}

.card p span.small {
	font-size: calc(32px + 20 * (100vw / 1920));
	color: #fff;
	text-align: center;
}

.card p.choose span.small {
	font-size: calc(40px + 20 * (100vw / 1920));
	line-height: 1.2;
}

.pl .card .who,
.cz .card .who,
.fi .card .who,
.ro .card .who,
.pt .card .who,
.it .card .who,
.es .card .who,
.fr .card .who,
.de .card .who {
	width: 100%;
	padding: 10% 10% 25%;
}

.pl .card span.big,
.cz .card span.big,
.fi .card span.big,
.pt .card span.big,
.it .card span.big,
.es .card span.big,
.fr .card .who span.big,
.de .card .who span.big {
	font-size: calc(40px + 40 * (100vw / 1920));
}

.ro .card span.big {
	font-size: calc(30px + 40 * (100vw / 1920));
}

.cz .card .who span.small,
.fi .card .who span.small,
.ro .card .who span.small,
.pt .card .who span.small,
.es .card .who span.small,
.fr .card .who span.small,
.de .card .who span.small {
	font-size: calc(25px + 20 * (100vw / 1920));
	text-align: center;
}

.pl .card span.small,
.pl .card p.choose span.small,
.it .card .who span.small {
	font-size: calc(20px + 20 * (100vw / 1920));
}

.card .choose {
	opacity: 0;
	background: center / contain no-repeat url(./assets/Ellipse-Light.png);
}

.card .who span {
	display: block;
	-webkit-animation: play 2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
	animation: play 2s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.card .choose span {
	background: linear-gradient(
		to bottom,
		#ff9901 22%,
		#f8675b 55%,
		#ef20d9 100%
	);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	padding: 0 5px;
}

.card p.choose span.big {
	-webkit-text-stroke: 4px #fff;
}

.card p.choose span.small {
	-webkit-text-stroke: 2px #fff;
}

.card:hover .who {
	opacity: 0;
}

.card:hover .choose {
	opacity: 1;
}

.card .girl {
	opacity: 0;
	position: absolute;
	z-index: 5;
	transition: opacity 0.2s linear;
	min-height: 100%;
	height: 102%;
	left: 50%;
	translate: -50%;
	top: 0;
	bottom: -10px;
}

.card-girl-1 .girl {
	left: 40%;
}
.card-girl-4 .girl {
	left: 37%;
}

.card:hover .girl {
	opacity: 1;
	transition: opacity 0.2s linear;
}

@-webkit-keyframes play {
	0% {
		transform: scale(1);
	}
	45% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	55% {
		transform: scale(1);
	}
	100% {
		transform: scale(1);
	}
}

@keyframes play {
	0% {
		transform: scale(1);
	}
	80% {
		transform: scale(1);
	}
	90% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}
