body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

body {
    background-color: var(--background-color);
    overflow-x: hidden;
    overflow-y: visible;
}

button {
    position: relative;
	border: 8px solid var(--button-border-color);
    background-color: var(--button-color);
    width: 60vw;
    /* top: 20px; */
    max-width: 400px;
    padding: 20px;
    font-weight: 700;
    font-size: 2rem;
    color: var(--button-text-color);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Fjalla One', Montserrat, sans-serif;
}

button:focus {
    outline: 0;
}

#container {
	width: 100vw;
}

#loading {
	position: absolute;
	background-color: var(--background-color);
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 9999;
}

.peg,
.wheelSVG {
    visibility: hidden;
}

.centerCircle,
.valueContainer,
.wheelOutline,
.wheelText {
    pointer-events: none;
}

.spinBtn {
	margin-bottom: 2rem;
}

.wheelContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    width: 100vw;
    height: 100vh;
}

.wheelSVG {
   position: relative;
    overflow: visible;
    height: 75vh;
}

@media only screen and (max-width: 800px) {

	.wheelSVG {
		height: auto;
		width: 105vw;
	}
}

.wheelText {
    text-anchor: start;
    font-family: 'Fjalla One', Montserrat, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

.wheelText tspan {
    text-anchor: middle;
    letter-spacing: 2px;
}

.toast {
    border-radius: 12px;
    opacity: 0;
	border: 10px solid var(--popup-border-color);
    background-color: var(--popup-color);
    position: absolute;
    overflow: hidden;
    font-family: 'Fjalla One', Montserrat, sans-serif;
    font-weight: 400;
    width: 50vw;
    padding: 20px 40px;
    max-width: 1000px;
}

.toast p {
    clear: both;
    font-family: 'Fjalla One', Montserrat, Arial, sans-serif;
    margin: 23px;
    font-size: 30px;
    color: var(--popup-text-color);
    letter-spacing: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 32px;
    -webkit-transition: line-height .2s ease;
    transition: line-height .2s ease;
}

@media only screen and (max-width: 480px) {

    button {
        font-size: 1rem;
        padding: 10px;
        width: 60vw;
    }   
    
	.toast {
		padding: 0;
    }
    
	.toast p,
    .toast span {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {

    .toast {
		padding: 0;
    }    
    
	.toast p,
    .toast span {
        font-size: 1.8rem;
        line-height: 2rem;
    }
}

@media only screen and (min-width: 801px) {

    .toast p,
    .toast span {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

@media only screen and (max-height: 480px) {

    .toast p,
    .toast span {
        font-size: 33px;
        line-height: 35px;
    }

    button {
        font-size: 22px;
        padding: 10px;
        width: 90%;
    }
}

.force-hide-toast {
	display: none !important;
}
