.options_box button{
    margin-top: 2px;
    margin-bottom: 2px;
    margin-left: 1px;

    border-radius: 5px;
    border-width: 1px;

    font-family: source;
}
.main_opt{
	padding: 5px;
	cursor: pointer;
	background-color: transparent;
	color: black;
}
.main_opt:hover{
	transition: all 0.4s ease;
	background-color: royalblue;

	color: white;
	word-spacing: -2px;
	font-weight: bold;
	transform: scale(1.05);
}
.main_opt:hover:active{
	background-color: rebeccapurple;
	color: white;
	transform: scale(0.95);
}
.inactiveQ{
    border-color: transparent;
    color: #4141418e;
    border-color: #41414140;
    cursor: none;
	opacity: 0.75;
}
.inactiveQ:hover,
.inactiveQ:hover:active{
	transform: scale(1);
	color: #4141418e;

	background-color: transparent;
	font-weight: normal;
	word-spacing: 0px;
}

.activeQ{
    cursor: pointer;

    color: #414141;
    border-color: goldenrod;
    background-color: wheat;
    text-shadow: 1px 1px 1px black;
    transition: background-color 1s ease, transform 0.5s ease;
}
.activeQ:hover {
    background-color: goldenrod;
    color: white;
    transition: background-color 1s ease;
}
.activeQ:hover:active{
    transform: translateY(2px);
}


/* button.main_cap */
#toSim,
#hideTPM,
#hideGTI,
#back_pairing,
#forward_result,
#begin_mating
{
	color: wheat;
	padding: 10px;
	border-radius: 5px;
	border-color: rosybrown;
	background-color: sienna;
	text-shadow: 1px 1px 1px black;
	transition: background-color 1s ease, transform 0.5s ease;
	cursor: pointer;
}
#toSim{
	position: absolute;

}

#toSim,
#back_pairing,
#forward_result,
#begin_mating{
	right: 10px;
}

@media only screen and (max-width: 599px){
	#begin_mating{
		top: -7px;
	}
}

#hideTPM:hover,
#hideGTI:hover,
#back_pairing:hover,
#forward_result:hover,
#begin_mating:hover {
    background-color: wheat;
    color: sienna;
    transition: background-color 0.5s ease;
}

#hideTPM:hover:active,
#hideGTI:hover:active,
#back_pairing:hover:active,
#forward_result:hover:active,
#begin_mating:hover:active{
    transform: translateY(2px);
}

#back_pairing{
	right: 70px;
}

#hideTPM,
#hideGTI{
	top: 1%;
	left: 1%;
}

#avatar_options button
{
	background-color: wheat;
	color: black;
	color: wheat;
	text-shadow: 1px 1px 1px #262525;
	padding: 10px;
	border: 1px outset wheat;
	border-radius: 5px;
	cursor: pointer;
	font-family: nunito;
	font-weight: bold;
	transition: all 0.5s ease;
}
#avatar_options button:hover
{
	background-color: skyblue;
	color: white;
	text-shadow: 1px 1px 1px black;
	transform: scale(1.05);
}
#avatar_options button:hover:active{
	transform: scale(0.95);
}


/*************************/

/* Button at bottom-left */
.about-btn {
	position: fixed;
	bottom: 1.5rem;
	left: 1rem;
	z-index: 999;
	padding: 0.7rem 1.2rem;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

/* Modal styles */
.about-modal
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(245, 222, 179, 0.45);

	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 2rem;
	box-sizing: border-box;
	pointer-events: all;
	font-family: source;
	font-size: 0.8rem;
}

.about-modal.active {
	opacity: 1;
	visibility: visible;
}

.about-content {
	background: rgba(255, 255, 255, 0.8);
	border-radius: 10px;
	padding: 2rem;
	width: 100%;
	max-width: 800px;
	height: 70vh;
	max-height: 700px;
	color: #222;
	overflow-y: auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-content h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: berranger;
}
.about-content p{
	margin-bottom: 5px;
}

.about-content ul {
	padding-left: 1.5rem;
}

.about-content hr {
	margin: 1rem 0;
	border: none;
	border-top: 1px dashed #999;
}

/* Close button at bottom center */
.close-modal-btn {
	margin-top: 2rem;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: 0.5rem 1.5rem;
	background-color: #444;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}