.action-button-container {
	--bwidth: 220px;
	--bsize: calc(var(--bwidth) * 0.6);
	position: absolute;
	top: calc(100dvh - var(--yspace) / 2 - 4px - var(--bsize) / 2);
	bottom: 0px;
	left: calc(50% - var(--bwidth) / 2);
	right: calc(50% - var(--bwidth) / 2);

    @media only screen and (max-width: 620px) {
        background: none;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
    }


	background: #000;

	text-decoration: none;

	.action-button {
		display: block;
		width: var(--bsize);
		height: var(--bsize);
		background: #fff;
		border-radius: 50%;
		padding: 32px;
		margin: 0 auto;
		transition: transform 0.2s, opacity 0.2s;
		opacity: 0.9;

		svg {
			transition: transform 0.3s, opacity 0.2s;
			transform: rotate(360deg);
		}
	}

	&:hover .action-button {
		transform: scale(1.05) rotate(5deg);
		opacity: 1;
	}
	&:active .action-button {
		opacity: 0.7;
		transform: scale(0.95) rotate(-5deg);
	}

	&:active .action-button svg.i-random {
		transform: rotate(180deg);
		transition: 0s;
	}

	svg {
		display: none;
		color: #000;
	}

	&[data-type="random"] svg.i-random {
		display: block;
	}
	&[data-type="reveal"] svg.i-reveal {
		display: block;
	}
    &[data-type="next"] svg.i-next {
		display: block;
	}
}

.center {
	position: relative;
	width: 1000px;
	max-width: 100%;
	color: #fff9e4;
	z-index: 10;

	margin: 0 auto;
	text-align: center;
	margin-top: 15vh;

    @media only screen and (max-width: 620px) {
        margin-top: 0;
    }
}

h2.question-ask {
	font-size: 35px;
	font-weight: 600;
}
div.reveal-box {
	position: relative;

	display: none;
	&.enabled {
		display: inline-block;
	}

	font-size: 25px;
	font-weight: 300;
	background: #20201c;
	padding: 10px 20px;
	border-radius: 6px;
	opacity: 0.7;
	text-align: center;
	min-width: 250px;

	transition: transform 0.1s, opacity 0.1s;

	cursor: pointer;

	p {
		margin: 0;
		pointer-events: none;
	}
	.box-text {
		opacity: 0;
	}

	.box-info {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		margin: 0;
		font-size: 19px;
		opacity: 0.7;
		width: 100%;
	}

	&.smaller {
		font-size: 22px;
		min-width: 150px;
		.box-info {
			font-size: 22px;
		}
	}

	&:not(.revealed) {
		&:hover {
			transform: scale(1.05) rotate(1deg);
			opacity: 9;
		}
		&:active {
			transform: scale(1) rotate(-1deg);
			opacity: 0.5;
		}
	}

	&.revealed {
		cursor: default;
		opacity: 1;
		.box-text {
			opacity: 1;
		}
		.box-info {
			opacity: 0;
		}
	}
}

.versebyverse-container {
	background: #20201c;
	padding: 10px 20px;
	border-radius: 6px;

	display: inline-flex;
	align-items: center;
	gap: 6px;

	p {
		margin: 0;
		font-size: 25px;
		font-weight: 300;
	}

	input {
		width: 60px;
		font-size: 25px;
		font-weight: 300;
		text-align: center;
		background: #20201c;
		border: none;
		border-radius: 6px;
		color: #fff9e4;
		padding: 5px 10px;
		padding-right: 20px; /* Make room for buttons */

		font-family: "Fraunces", serif;

		&:focus {
			outline: 2px solid #fff9e4;
		}

		/* Hide default spinners */
		&::-webkit-inner-spin-button,
		&::-webkit-outer-spin-button {
			-webkit-appearance: none;
			margin: 0;
		}
		-moz-appearance: textfield;
	}

	.custom-number-input {
		position: relative;
		display: inline-flex;
		align-items: center;
	}

	.spinner-btns {
		display: flex;
		flex-direction: column;
		position: absolute;
		right: 4px;
		top: 4px;
		bottom: 4px;
		width: 16px;
		justify-content: space-between;
	}

	.spin-btn {
		background: none;
		border: none;
		color: #fff9e4;
		padding: 0;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 45%;
		opacity: 0.4;
		transition: opacity 0.2s, background 0.2s;
		border-radius: 2px;
	}

	.spin-btn:hover {
		opacity: 1;
		background: rgba(255, 255, 255, 0.1);
	}

	.spin-btn:active {
		background: rgba(255, 255, 255, 0.2);
	}

	span {
		font-size: 25px;
		font-weight: 300;
	}

	&.enabled {
		display: inline-flex;
	}
	&:not(.enabled) {
		display: none;
	}
}

p.versebyverse-status {
    color: #d8ffdf;
    opacity: .6;
    font-family: "Fraunces", serif;
    font-size: 18px;
    font-style: italic;
}