@font-face {
    font-family: 'Arcade Gamer';
    src: url('./fonts/Arcade Gamer.otf') format('opentype');
}

@font-face {
    font-family: 'Roboto Mono';
    src: url('./fonts/RobotoMono-VariableFont_wght.ttf') format('truetype');
}

body { /*to center the heading*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    background-color: #cbcedb;
}   

h1 { /*to lower the heading*/
    margin-top: 70px 7px;
    font-family: 'Arcade Gamer', cursive;
    font-size: 64px;
    font-weight: 300;
    text-align: center;
    color: #3c4056;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0px;
}

.button {
    margin: 16px;
    padding: 8px 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0 solid;
    outline: 1px solid;
    outline-color: rgba(255, 255, 255, .5);
    outline-offset: 0px;
    box-shadow: 0 1px 5px 0 #e6e9ef;
    background: #c1c2d9;
    color: #000;
    border-radius: 99px;
    font-family: 'Roboto Mono', Arial;
    font-size: 24px;
    font-weight: 500;
    text-shadow: none;
    cursor: pointer;
    color: #3c4056;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0);
    transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}

.bunny-logo {
    margin-bottom: 5px;
    width: 170px;
    height: auto;
}

.button:hover {
    border: 1px solid;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
    outline-color: rgba(255, 255, 255, 0);
    outline-offset: 15px;
    text-shadow: 1px 1px 2px #e9cea3; 
}

h2 {
    font-size: 18px;
    margin-top: 7px;
    font-family: 'Roboto Mono', monospace;
    color: #3c4056;
}

#walletID span{
    max-width: 90%;
    margin: 0 auto;
    font-size: 12px;
    font-weight: 600;
}

#mobileDeviceWarning {
    display: none;
    margin-top: 24px;
    color: rgb(247, 47, 47);
}

#mobileDeviceWarning.show {
    display: block;
}

.alert {
    z-index: 10;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: #d8d8d8;
}

.alert.show {
    display: flex;
}

.alert .button {
    margin-top: 24px;
}

/* Loading dots styles */
@keyframes opacity {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

.loadingButton {
    pointer-events: none;
}

.loadingButton #loading {
    display: flex;
}

#loading {
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: #d8d8d8;
    border-radius: 99px;
}

#loading span:not(:last-child) {
	margin-right: 5px;
}

#loading span {
	animation-name: opacity;
	animation-duration: 1s;
	animation-iteration-count: infinite;
}

#loading span:nth-child(2) {
	animation-delay: 100ms;
	animation-delay: 100ms;
}

#loading span:nth-child(3) {
	animation-delay: 300ms;
	animation-delay: 300ms;
}
