@charset "utf-8";

body.active {
	overflow-y: hidden !important;
	height: 100vh;
	height: 100dvh;
}

#termscontainer {
	display: none;
}
#termscontainer.active {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background-color: rgba(0,0,0,0.9);
	opacity: 1;
	z-index: 9999;
	animation: fadeincon 5000ms 1;
}
@keyframes fadeincon {
0% {background-color: rgba(0,0,0,1);}
100% {background-color: rgba(0,0,0,0.9);}
}

#termscontainer p {
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
}
#termsholder {
	display: block;
	width: fit-content;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #000000;
	opacity: 1;
	border-radius: 1rem;
    border-style: solid;
    border-width: 0.075rem;
    border-color: #FFED00;
	padding: 1rem 0rem 0.75rem 0rem;
	font-family: "INSL";
	line-height: 1.5rem;
	animation: fadeininner 2500ms 1;
}
@keyframes fadeininner {
0% {opacity: 0;}
100% {opacity: 1;}
}

#termsimage {
	display: block;
	text-align: center;
	padding-bottom: 0.5rem;
}
#termsimage img {
	width: 12.5rem;
}

#termsbox {
	display: block;
	position: relative;
	width: 22.25rem;
	margin: auto;
}
#termsman {
	display: block;
	position: absolute;
	bottom: 0rem;
	left: 3.5rem;
}
#termsman img {
	height: 5.5rem;
}
#termscontent {
	display: block;
	color: #FFFFFF;
	text-align: center;
	padding-bottom: 0.5rem;
}
#mtermscontent {
	display: block;
	color: #FFFFFF;
	text-align: center;
	padding-bottom: 0.5rem;
}
#termsbuttons {
	display: block;
	width: fit-content;
	margin-left: 8.75rem;
	line-height: 3.75rem;
	padding-bottom: 0.25rem;
}
#termsbuttons button:hover {
	transition: 0.25s;
	filter: brightness(50%);
}
#grantButton, #deniedButton, #termsButton {
	display: inline-block;
	margin: 0rem 0.375rem 0rem 0.375rem;
	font-size: 0;
	vertical-align: bottom;
}
#grantButton img, #deniedButton img, #termsButton img {
	height: 2.125rem;
}
#termsthanks {
	display: block;
	color: #FFFFFF;
	text-align: center;
	padding: 0.5rem 0rem 0rem 3rem;
}




@media screen and (max-width: 849px) {
#termsbox {
	width: 21.75rem;
}
#termsman {
	left: 3rem;
}
#termsbuttons {
	margin-left: 8rem;
}
}

@media screen and (min-width: 450px) {
#mtermscontent {
	display: none;
}
}

@media screen and (max-width: 449px) {
#termsbox {
	width: 18.25rem;
}
#termscontent {
	display: none;
}
#mtermscontent {
	display: block;
}
#termsimage img {
	width: 10rem;
}
#termsman {
	left: 1.25rem;
}
#termsman img {
	height: 7rem;
}
#termsbuttons {
	line-height: 2.625rem;
	margin-left: 6rem;
}
#grantButton, #deniedButton, #termsButton {
	margin: 0rem 0.5rem 0rem 0.5rem;
}
#termsthanks {
	padding-left: 3.25rem;
}
}