.peg,
.wheelSVG {
    visibility: hidden;
}

.peg {
    position: absolute;
    top: 100px;
}


body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

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

body,
html {
    text-align: center;
}


button {
    position: relative;
    background-color: transparent;
}

body {
    /* background: #009FE3; */
    background: #CD0B25;
    overflow-x: hidden;
    overflow-y: visible;
}

body,
html {
    margin: 0;
    padding: 0;
}

#container {
	width: 100vw;
	margin-top: 2rem;

}

button {
    position: relative;
    width: 60vw;
    /* top: 20px; */
    max-width: 330px;
    padding: 20px;
    font-weight: 700;
    font-size: 1.8rem;
    color: #ededed;
    border-radius: 1000px;
    border: none;
    cursor: pointer;
    border: #FFF solid 6px;
    font-family: Montserrat, sans-serif;
    /* background: #4194D0; */
}

#spinTrigger {
    display: none;
}


.footer {
    padding-bottom: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    gap: 16px;
}

.footer img {
    width: 160px;
    height: 80px;
    object-fit: contain;
}

#congrat-container, #error-container {
    display: none;
    width: 100vw;
    overflow: hidden;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 0!important;
}

.error-text {
    text-anchor: start;
    font-family: Montserrat, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

.congrat-img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

#congrat-container, h1, #error-container h1 {
    color: white;
    font-size: 1.7rem;
    margin-bottom: 2rem;
    padding-top: 1.5rem;
}

#congrat-container h2, #error-container h2 {
    font-size: 2.5rem;
    max-width: 80%;
    line-height: 3rem;
    font-weight: bold;
    color: black;
}

#congrat-container .circle-container {
    /* width:  50vw;
    height: 50vw; */
    margin: auto;
    background: url('/media/congrat-bg.png') no-repeat center;
    background-size: contain;
    padding: 4%;
}

#error-container .circle-container {
    padding: 4%;
    margin: auto;
}

#congrat-container .circle, #error-container .circle {
    width:  30vw;
    height: 30vw;
    margin: auto;
    background-color: white;
    border-radius: 10000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#congrat-container button, #error-container button {
    width: 40vw;
    /* top: 20px; */
    max-width: 250px;
    padding: 16px;
    font-weight: 700;
    font-size: 1.5rem;
    border: #FFF solid 3px;
}

 .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;
}

.wheelText {
    text-anchor: start;
    font-family: Montserrat, sans-serif;
    -webkit-user-select: none;
    user-select: none;
    font-size: 2em!important;
    font-weight: 600;
}

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

.toast {
    border-radius: 12px;
    opacity: 0;
    background-color: #CD0B25;
    position: absolute;
    overflow: hidden;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    width: 50vw;
    padding: 20px 40px;
    
    max-width: 1000px;
}

.toast p {
    clear: both;
    font-family: Montserrat, Arial, sand-serif;
    margin: 23px;
    font-size: 30px;
    color: #ededed;
    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;
    }

    .wheelText {
        font-size: 1em!important;
    }
}

@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 (max-width: 801px) {

    #congrat-container h1, #error-container h1 {
        font-size: 1.2rem;
    }
    
    #congrat-container h2, #error-container h2 {
        font-size: 1.5rem;
        max-width: 80%;
        line-height: 1.7rem;
    }

    #congrat-container .circle, #error-container .circle {
        margin-top: 4rem;
        width:  70vw;
        height: 70vw;
    }

    .footer img {
        width: 140px;
        height: 70px;
    }
}


@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%;
    }

  
}

button:focus {
    outline: 0;
}

a:link { color:#F1DC16; }
a:visited { color:#F1DC16; }
a:hover { color:#F1DC16; }
a:active { color:#F1DC16;}


canvas {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: none;
  }
  