.mystyle {
	width: 60%;
	padding: 1.5rem;
	background-color: #333;
	color: white;
	font-size: 1.3rem;
	margin: 100px auto;
	border: none;
	border-radius: 1rem;
	box-shadow: 0 0 2rem 1rem rgba(227, 31, 61, 0.5);
	position: relative;
}

@media (max-width: 1200px) {
	.mystyle h1 {
		font-size: 3rem;
	}
}

@media (max-width: 900px) {
	.gamePopup_content_desc_top {
		flex-direction: column;
	}
	.gamePopup_content_desc_middle {
		flex-direction: column;
		align-items: center;
	}
	.mystyle {
		width: 90%;
	}
}

@media (max-width: 670px) {
	.mystyle {
		width: 90%;
		padding-top: 5rem;
	}
}

.gamePopup_content_desc_top {
	display: flex;
	align-items: center;
	text-align: center;
}

.gamePopup_content_desc_top img {
	box-shadow: 0 0 1rem 0 black;
}

.gamePopup_content_desc_middle {
	display: flex;
	justify-content: space-around;
}

.gamePopup_content_desc_middle > div {
	width: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gamePopup_content_desc_middle textarea {
	width: calc(100% - 1rem);
	height: 60%;
}

.mystyle h1, .mystyle h2 {
	text-shadow: .2rem .2rem .4rem #000000;
}

.mystyle h2 {
	font-size: 2.6rem;
}

.mystyle .close_button {
	background: rgba(227, 31, 61, 0.1);
	border: none;
	cursor: pointer;
	color: #e31f3d;
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 3rem;
	width: 3rem;
	height: 3rem;
	line-height: 3rem;
	border-radius: 2rem;
	box-shadow: 0 0 1rem black;
	transition: .5s ease-in-out;
}

.mystyle .close_button:hover {
	background: #e31f3d;
	color: white;
}

/*GAUGE CSS*/

.gauge_section {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#gauge_container, #gauge_container_form {
	--size: 20rem;
        --percent: 50; /* default value */
        --progress-bg: linear-gradient(
                90deg,
                hsl(var(--progress-hue), 65%, 35%),
                hsl(var(--progress-hue), 80%, 50%)
        );
        --half-size: calc(var(--size) / 2);
        --progress-hue: var(--percent);
}

#gauge_container, #gauge_container_form {
        width: var(--size);
        height: var(--half-size);
        overflow: hidden;
        position: relative;
        background-color: inherit;
}

#gauge_container:after, #gauge_container_form:after {
	--custom-size: calc(var(--size) * 3 / 4);
	content: " ";
	display: block;
	width: var(--custom-size);
	height: var(--custom-size);
	position: absolute;
	border-radius: 50%;
	left: 50%;
	bottom: calc(var(--custom-size) / -2);
	transform: translate(-50%);
	box-shadow: 0 0 0.5em hsla(0, 0%, 0%, 0.75);
}

#gauge_container_form:after {
	background-color: #333;
}

#gauge_container:after {
	background-color: #020d1e;
}

#gauge_progress, #gauge_progress_form {
	width: var(--size);
	height: var(--size);
	background-color: hsla(0, 0%, 50%, 0.25);
	border-radius: 50%;
	position: absolute;
	bottom: calc(var(--half-size) * -1);
	overflow: hidden;
	transform: rotate(calc(-0.5turn + var(--percent) * 0.005turn));
	transition: transform 0.25s linear;
	box-shadow: 0 0 0.5em hsla(0, 0%, 0%, 0.75) inset;
}
#gauge_progress:after, #gauge_progress_form:after {
	content: " ";
	display: block;
	width: var(--size);
	height: var(--half-size);
	background: var(--progress-bg);
	box-shadow: 0 0 0.75em black;
	transition: background 1s;
}

.gamePopup_content_desc_middle #markselector_comment {
	width: var(--size);
	margin: 0.25em 0;
}

#gauge_note, #gauge_note_form {
	display: flex;
	justify-content: center;
	font-size: 3rem;
	color: white;
	z-index: 5;
	position: absolute;
	width: 100%;
	bottom: 5%;
	font-family: "g-Medium";
	text-shadow: .2rem .2rem .4rem #000000;
}

.gamePopup_content_desc_bottom {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.button {
	background-color: black;
	color: #ffffff;
	box-shadow: 0 0 .5rem 0 black;
	border: none;
	cursor: pointer;
	line-height: 3rem;
	font-size: 1.2rem;
	font-family: 'g-Medium';
	border-radius: .8rem;
	overflow: hidden;
	padding-right: 1rem;
	width: 11rem;
	height: 3rem;
	text-transform: uppercase;
	transition: .6s ease-in-out;
}

.icon {
	width: 3rem;
	height: 3rem;
	background-color: #daee70;
	color: black;
	text-align: center;
	line-height: 3rem;
	float: left;
	margin-right: .5rem;
	font-weight: bold;
	font-size: 2rem;
	margin-left: -.6rem;
	margin-top: -.1rem;
	padding-left: 0.2rem;
	padding-top: .1rem;
	transition: .6s ease-in-out;
}

.button:hover {
	background: #daee70;
	color: black;
}

.button:hover .icon {
	background: black;
	color: white;
}