@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0px;
	padding: 0px;
	font-family: "DM Sans", sans-serif;
}

.panel {
	position: relative;
	background: black;
	display: block;
	width: 250px;
	max-widrth: 100%;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	transition: 0.3s;
	z-index: 1;
	margin: 0 12.5px;
}

.panel:before {
	content: "";
	display: block;
	padding-bottom: 130%;
}

.panel .bg {
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-position: center;
	background-size: cover;
}

.panel .sticker-box {
	position: absolute;
	z-index: 10;
	top: -80px;
	right: 10px;
	width: 90px;
	height: 180px;
	transform: rotate(20deg);
	transform-origin: 50% 75%;
	filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.1));
}

.panel .sticker {
	width: 90px;
	height: 90px;
	position: absolute;
	transition: 0.75s ease all;
	overflow: hidden;
}

.panel .sticker span {
	content: "";
	display: block;
	transition: 0.75s ease all;
	width: 100%;
	height: 100%;
	border-radius: 100%;
}

.panel .sticker-front {
	z-index: 1;
}

.panel .sticker-front span {
	background: #e30613;
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: translate(0, 100%);
	font-size: 25px;
	text-align: center;
	line-height: 1;
}

.panel .sticker-back {
	z-index: 2;
}

.panel .sticker-back span {
	background: linear-gradient(180deg, #f1f1f1 0%, #dadada 100%);
}

.panel .sticker.offer-two span {
	background-color: #F4D802;
	color: #130505;
}

.panel .sticker.offer-three span {
	background-color: #339AE5;
}

.panel:hover,
.panel:focus {
	transform: scale(1.05);
	z-index: 2;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.panel:hover .sticker-front,
.panel:focus .sticker-front {
	transform: translate(0, 100%);
}

.panel:hover .sticker-front span,
.panel:focus .sticker-front span {
	transform: translate(0, 0%);
}

.panel:hover .sticker-back,
.panel:focus .sticker-back {
	transform: translate(0, 100%);
}

.panel:hover .sticker-back span,
.panel:focus .sticker-back span {
	transform: translate(0, 100%);
}

.discriprion {
	padding: 0 12.5px;
}

.discriprion h1 {
	font-size: 15px;
	font-weight: bold ! IMPORTANT;
	margin-bottom: 5px;
}

.discriprion p {
	font-size: 14px;
}

.panel .bg img {
	width: 100%;
	height: 300px;
	object-fit: cover;
}

.bg-cyan {
	background-color: #0fa9cf;
}

.padding-40 {
	padding: 40px;
}

.white {
	color: #fff !important;
}

h1 {
	font-size: 45px;
	line-height: 50px;
	font-weight: 400;
	margin: 0px !important;
	padding: 0px !important;
}

.margin-t-30 {
	margin-top: 30px;
	display: inline-block;
}

/****magazine page css****/
.text-left.magazine h1 {
	color: #000 !important;
	font-size: 24px;
}

.padding-20 {
	padding: 20px 0px 20px 0px;
}

.magzne .margin-t-20 {
	margin-top: 20px;
	display: inline-block;
}

.magzne .border-block {
	border: 1px solid #e1e1e1;
	margin-bottom: 30px;
	border-radius: 5px !important;
	overflow: hidden;
	position: relative;
	transition: 0.3s;
}

.magzne .panel {
	margin: 0px;
	width: 100%;
}

.magzne .discriprion {
	padding: 0 12.5px;
	margin-top: 15px;
	margin-bottom: 17px;
	height: 160px;
}

.magzne .discriprion p {
	font-size: 14px;
	margin-top: 10px;
}

.button {
	position: absolute;
	width: 100%;
	left: 0;
	top: 180px;
	text-align: center;
	opacity: 0;
	transition: opacity .35s ease;
	z-index: 9999;
}

.button a {
	width: 200px;
	padding: 12px 48px;
	text-align: center;
	color: white;
	border: solid 2px white;
	z-index: 1;
}

.magzne img {
	position: absolute;
	width: 500px;
	/*height: 300px;*/
	left: 0;
}

.bg:hover .button {
	opacity: 1;
}

.bg:hover .overlay {
	display: block;
	background: rgba(0, 0, 0, .3);
}

.bg .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0);
	transition: background 0.5s ease;
}

.magzne .panel:before {
	content: "";
	display: block;
	height:300px;
	padding-bottom: 0px;
}

.border-block .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 72%;
	background: rgba(0, 0, 0, 0);
	transition: background 0.5s ease;
	Z-INDEX: 99;
}

.magzne .overlay {
	height: 100% !important;
}

.magzne .button {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	top: 0px;
}

.border-block:hover .overlay {
	display: block;
	background: rgba(0, 0, 0, .6);
	z-index: 1;
}

.border-block img {
	position: absolute;
	/*height: 300px;*/
	left: 0;
}

.border-block:hover .title {
	top: 90px;
}

.button {
	position: absolute;
	left: 0;
	top: 180px;
	text-align: center;
	opacity: 0;
	transition: opacity .35s ease;
}

.button a {
	width: 200px;
	padding: 12px 28px;
	text-align: center;
	color: #000;
	border: solid 2px white;
	z-index: 1;
	background: #fff;
	text-decoration: none !important;
	border-radius: 8px;
	font-size: 16px;
}

.border-block:hover .button {
	opacity: 1;
}

.border-block:hover img {
	transform: scale(1.05);
	z-index: 2;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.border-block img {
	transition: 0.3s;
}

.margin-t-20.magzne .col-md-4 {
	float: left;
}
