.notification-container {
	display: flex;
	flex-direction: column-reverse;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	gap: 8px;
}

.notification {
	position:relative;
	background: var(--color-raspberry);
	padding: 24px 16px;
	display: grid;
	grid-template: 'icon title close'
		'icon text close';
	gap: 0 16px;
	color: var(--color-white);
}


.notification__title {
	grid-area: title;
	color: var(--color-white);
	font-size: 14px;
	font-weight: 700;
	line-height: 20px;
	text-transform: uppercase;
}

.notification__text {
	grid-area: text;
	font-size: 12px;
	font-weight: 400;
	line-height: 22px;
}

.notification__text a {
	font-weight: 700;
	text-decoration: underline;
	color: var(--color-white);
}

.notification__close,
.notification__icon {
	font-size: 24px;
	font-style: normal;
}

.notification__icon {
	grid-area: icon;
	line-height: 38px;
}

.notification__close {
	grid-area: close;
	cursor: pointer;
}

.progress {
	position: absolute;
	background-color: #FE234A;
	--duration: 2s;
	top: 0;
	right: 0;
	left: 0;
}

.progress-bar {
	height: 8px;
	transition: 0.4s linear;
	transition-property: width, background-color;
}

.progress-moved .progress-bar {
	width: 100%;
	background-color: #FFD3DB;
	animation: progressAnimation var(--duration);
}

@keyframes progressAnimation {
	0%   { width: 5%; background-color: #FFD3DB;}
	100% { width: 100%; background-color: #FFD3DB; }
}

@media screen and (min-width: 720px) {
	.notification-container {
		flex-direction: column;
		top: 15%;
		left: 5%;
		bottom: unset;
		right: unset;
		width: 375px;
	}
}
