@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');
:root {
	--tr: all 0.5s ease 0s;
	--ch1: #05478a;
	--ch2: #0070e0;
	--cs1: #005e38;
	--cs2: #03a65a;
	--cw1: #c24914;
	--cw2: #fc8621;
	--ce1: #851d41;
	--ce2: #db3056;
	--bg01: #000000;
	--bg02: #101214;
	--bg03: #212428;
	--bg04: #32363c;
	--bg05: #424850;
	--bg06: #535a64;
	--bg07: #646c78;
	--bg08: #747e8c;
	--bg09: #8590a0;
	--bg10: #96a2b4;
	--bg11: #afbcce;
	--bg12: #b8c3d3;
	--bg13: #c1cbd9;
	--bg14: #cad2de;
	--bg15: #d3dae4;
	--bg16: #dbe1e9;
	--bg17: #e4e8ee;
	--bg18: #edf0f4;
	--bg19: #f6f7f9;
	--bg20: #ffffff;
	--bc20: #a7b5c9;
	--ft01: #212529;
	--ft02: #313539;
	--ft03: #414549;
	--ft04: #515559;
	--ft05: #616569;
	--cf1: #fcfcfc;
}
html {margin:0;padding:0;}
body {margin:0;margin-top:6.5em;padding:0;width:100vw;min-height:100vh;color:var(--ft01);background:radial-gradient(circle at 100% 80%, var(--bg13), var(--bg10));font-family:"Varela Round",sans-serif;}
.navbar-dark{background-color:var(--bg04) !important;} .bg-dark{background-color:var(--bg04) !important;}
.navbar-light{background-color:var(--bg14) !important;} .bg-light{background-color:var(--bg14) !important;}
footer {background-color:var(--bg04);color:var(--bg18);border-top:13px solid var(--bg06);}
footer ul li a:link, footer ul li a:visited, footer a:hover, footer a:active{color:var(--bg18);text-decoration:none;}
.btn-outline-dark{color:var(--bg08) !important;border-color:var(--bg08) !important;}
.btn.btn-outline-dark:hover{color:var(--bg08) !important;border-color:var(--bg08) !important;background-color:var(--bg12) !important;text-decoration:none;}
.btn.btn-outline-dark.active{color:var(--bg08) !important;border-color:var(--bg08) !important;background-color:var(--bg12) !important;text-decoration:none;}
.hidden{dispaly:none !important;}
.alerttoast{
	background: #fff;
	color: #f5f5f5;
	padding: 1rem 2rem 1rem 3rem;
	text-align: center;
	border-radius: 1rem;
	position: relative;
	font-weight: 300;
	margin: 1rem 0;
	text-align: left;
	max-width: 100%;
	transition: var(--tr);
	opacity: 1;
	border: 0.15rem solid #fff2;
	box-shadow: 0 0 1.5rem 0 #1a1f4360;}
.alerttoast-item{max-height: 25rem;
	transition: var(--tr);
	position: relative;
	animation: show-toast 4s ease 3s 1;
}

@keyframes show-alerttoast { 
	0%, 50%, 100% { max-height: 0; opacity: 0; }
	10%, 25% { max-height: 15rem; opacity: 1; }
}
.alerttoast:before {content:"";position:absolute;width:0.5rem;height: calc(100% - 1.5rem);top:.75rem;left:.5rem;z-index:0;border-radius:1rem;background: var(--clr);}
.alerttoast h3 {font-size:1.2rem;margin:0;line-height:1.35rem;font-weight:600;position:relative;color: var(--clr);}
.alerttoast p {position:relative;font-size:0.95rem;z-index:1;margin:0.25rem 0 0;color:#595959;line-height:1.3rem;}
.alerttoast-item.alert-dismissible{padding-right:0rem;}
.alertclose {position:absolute;width:1.35rem;height:1.35rem;text-align:center;right:1rem;cursor:pointer;border-radius:100%;}
.alertclose:after {position:absolute;width:100%;height:100%;left:0;font-size:1.8rem;content:"+";transform:rotate(-45deg);border-radius:100%;display:flex;align-items:center;justify-content:center;color:#595959;text-indent:1px;}
.alertclose:hover:after {background: var(--clr);color: #fff;}
.alerttoast-item.success {animation-delay:2s;}
.alerttoast-item.warning {animation-delay:1s;}
.alerttoast-item.error {animation-delay:0s;}
.alerttoast.help {--bg: var(--ch1);--clr: var(--ch2);--brd: var(--ch3);}
.icon-help:after{content: "?";}
.alerttoast.success {--bg: var(--cs1);--clr: var(--cs2);--brd: var(--cs3);}
.alerttoast-success:after {content:"L";font-size:1.5rem;font-weight:bold;padding-bottom:0.35rem;transform:rotateY(180deg)rotate(-38deg);text-indent: 0.1rem;}
.alerttoast.warning {--bg: var(--cw1);--clr: var(--cw2);--brd: var(--cw3);}
.alerttoast-warning:after {content:"!";font-weight:bold;}
.alerttoast.error {--bg: var(--ce1);--clr: var(--ce2);--brd: var(--ce3);}
.alerttoast-error:after {content:"+";font-size:3rem;line-height:1.2rem;transform:rotate(45deg);}
.alerttoast a {color: var(--clr);}
.alerttoast a:hover {color: var(--bg);}

/*** ICONS ***/

.alerttoast-icons {
	background: #fff;
	padding: 1rem 1rem 1.25rem 1rem;
	display: flex;
	justify-content: space-around;
	border-radius: 1rem;
	gap: 1.5rem;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1rem;
	margin-bottom: 1rem;
	position: relative;
	border: 0.15rem solid #fff1;
	box-shadow: 0 0 1.5rem 0 #1a1f4340;
}

.alerttoast-icons:before {
	position: absolute;
	width: calc(100% + 0.3rem);
	height: calc(100% + 0.25rem);
	--bg-help: 45%;
	--bg-success: 45%;
	--bg-warning: 45%;
	--bg-error: 45%;
	--bsc: #fff0;
	background: 
		radial-gradient(circle at 14% var(--bg-help), var(--ch1), #fff0 1.5rem), radial-gradient(circle at 38% var(--bg-success), var(--cs1), #fff0 1.5rem), radial-gradient(circle at 62% var(--bg-warning), var(--cw1), #fff0 1.5rem), radial-gradient(circle at 86% var(--bg-error), var(--ce1), #fff0 1.5rem);
	content: "";
	bottom: -0.15rem;
	border-radius: 1rem;
	z-index: 0;
	transition: --bg-help 0.5s ease 0s, --bg-success 0.5s ease 0s, --bg-warning 0.5s ease 0s, --bg-error 0.5s ease 0s, --bsc 0.5s ease 0s;
	box-shadow: 0 0 1.5rem 0 #1a1f4320;
}

.alerttoast-icons:has(label[for=t-help]:hover):before {
	--bg-help: 53%;
	--bsc: var(--ch2);
}
.alerttoast-icons:has(label[for=t-success]:hover):before {
	--bg-success: 53%;
	--bsc: var(--cs2);
}
.alerttoast-icons:has(label[for=t-warning]:hover):before {
	--bg-warning: 53%;
	--bsc: var(--cw2);
}
.alerttoast-icons:has(label[for=t-error]:hover):before {
	--bg-error: 53%;
	--bsc: var(--ce2);
}

.alerttoast-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	cursor: pointer;
	position: relative;
	background: radial-gradient(circle at 50% 50%, var(--clr) 1.25rem, var(--brd) calc(1.25rem + 1px) 100%);
}



.alerttoast-icon:after {
	font-size: 1.75rem;
}
.icon-success:after {
	font-size: 1.5rem;
	padding-bottom: 0.25rem;
}
.icon-error:after {
	font-size: 2.85rem;
	line-height: 2rem;
	font-weight: 500;
	padding-top: 0.25rem;
	max-height: 2rem;
}


.icon-help,
.alerttoast-item.help {
	--clr: #0070e0;
	--brd: #0070e040;
}

.icon-success,
.alerttoast-item.success {
	--clr: #03a65a;
	--brd: #03a65a40;
}

.icon-warning,
.alerttoast-item.warning {
	--clr: #fc8621;
	--brd: #fc862140;
}

.icon-error,
.alerttoast-item.error {
	--clr: #db3056;
	--brd: #db305640;
}


#t-help:checked ~ .alerttoast-panel .alerttoast-item.help,
#t-success:checked ~ .alerttoast-panel .alerttoast-item.success,
#t-warning:checked ~ .alerttoast-panel .alerttoast-item.warning,
#t-error:checked ~ .alerttoast-panel .alerttoast-item.error {
	max-height: 0;
	opacity: 0;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
