@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

:root {
	--darkk: #34495e;
	--lightt: #fff;
	--successs: #0abf30;
	--errorr: #f24d4c;
	--warningg: #e9bd0c;
	--infoo: #3498db;
}
/* 
body {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background: var(--darkk);
} */

.notifications_1 {
	position: fixed;
	top: 30px;
	right: 20px;
}

.notifications_1 :where(.toast_1, .column) {
	display: flex;
	align-items: center;
}

.notifications_1 .toast_1 {
	width: 400px;
	position: relative;
	overflow: hidden;
	list-style: none;
	border-radius: 4px;
	padding: 16px 17px;
	margin-bottom: 10px;
	background: var(--lightt);
	justify-content: space-between;
	animation: show_toast 0.3s ease forwards;
}

@keyframes show_toast {
	0% {
		transform: translateX(100%);
	}
	40% {
		transform: translateX(-5%);
	}
	80% {
		transform: translateX(0%);
	}
	100% {
		transform: translateX(-10%);
	}
}

.notifications_1 .toast_1.hide {
	animation: hide_toast 0.3s ease forwards;
}

@keyframes hide_toast {
	0% {
		transform: translateX(-10%);
	}
	40% {
		transform: translateX(0%);
	}
	80% {
		transform: translateX(-5%);
	}
	100% {
		transform: translateX(calc(100% + 20px));
	}
}

.toast_1::before {
	position: absolute;
	content: '';
	height: 3px;
	width: 100%;
	bottom: 0;
	left: 0;
	animation: progress 5s linear forwards;
}

@keyframes progress {
	100% {
		width: 0%;
	}
}

.toast_1.success::before, .btn#success {
	background: var(--successs);
}

.toast_1.error::before, .btn#error {
	background: var(--errorr);
}

.toast_1.warning::before, .btn#warning {
	background: var(--warningg);
}

.toast_1.info::before, .btn#info {
	background: var(--infoo);
}

.toast_1 .column i {
	font-size: 1.75rem;
}

.toast_1.success .column i {
	color: var(--successs);
}

.toast_1.error .column i {
	color: var(--errorr);
}

.toast_1.warning .column i {
	color: var(--warningg);
}

.toast_1.info .column i {
	color: var(--infoo);
}

.toast_1 .column span {
	font-size: 1.07rem;
	margin-left: 12px;
}

.toast_1 i:last-child {
	color: #aeb0d7;
	cursor: pointer;
}

.toast_1 i:last-child:hover {
	color: var(--darkk);
}

.buttons_1 .btn {
	border: none;
	outline: none;
	color: var(--lightt);
	cursor: pointer;
	margin: 0 5px;
	font-size: 1.2rem;
	padding: 10px 20px;
	border-radius: 4px;
}

@media screen and (max-width: 530px) {
	.notifications_1 {
		width: 80%;
	}
	
	.notifications_1 .toast_1 {
		width: 100%;
		font-size: 1rem;
		margin-left: 20px;
	}
	
	.buttons_1 .btn {
		margin: 0 1px;
		font-sze: 1.1rem;
		padding: 8px 15px;
	}
}