@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

*,
*::after,
*::before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	/* changes the 1REM from 16px to 10px */
	font-size: 62.5%;
}

body {
	font-family: "Poppins", sans-serif;
	height: 100vh;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #ef476f;
}

.mobile-screen {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
}

.for-padding {
	margin: 3px;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
}

.mobile-main {
	width: 34rem;
	height: 42rem;
	display: flex;
	transition: transform 0.8s ease-in-out;
	transform: translateX(0);
}

.mobile-main img {
	width: 100%;
	height: 100%;
	/* border-radius: 12px 12px 0 0; */
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}

.mobile-nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	padding: 1rem;
	color: #666;
	font-size: 1.4rem;
}

.mobile-nav span {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	transition: all 0.3s ease;
}

.mobile-nav span.active {
	color: #ef476f;
}

.mobile-nav span:hover {
	color: #ef476f;
}

.mobile-nav span i {
	font-size: 1.8rem;
}
