@font-face {
    font-family: 'Yummy Nickels';
    src: url(/assets/fonts/main_font.ttf);
}
@font-face {
    font-family: 'YNTitle';
    src: url(/assets/fonts/boxes.ttf);
}

h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    font-family: 'Yummy Nickels';
}

.about {
    width: 400px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;

    overflow: auto;
}

.about_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 400px;
    flex-shrink: 0;
}

summary{
    font-size: 1.5em;
}

.card {
    position: absolute;
    left: calc(50% + 220px);
    width: 250px;
    margin-top: 45px;
    box-sizing: border-box;
}

.info_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    gap: 5px;
}

.donations {
    width: 400px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

button{
    background: transparent;
    border: none;
    color: white;
}

button svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.title{
    margin-top: 5.5rem;
}

/* cursor pointer */
.SimpleX,
.donations p,
summary,
button {
    cursor: pointer;
}

/* font size */
.about_text, 
.crypto {
    font-size: 20px;
}

body{
    min-height: 100vh;
    margin: 0;
    color: white;
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: -20px;

    background-image: url('/assets/images/backgrounds/skygarden_background.png');
    background-repeat: no-repeat;
    background-size: cover;

    filter: blur(5px);
    z-index: -1;
}

.card_header{
    display: flex;
    align-items: center;
    gap: 15px;
}

.card_header img{
    object-fit: cover;
    padding-left: 15px;
    padding-top: 15px;
    border-radius: 10%;
    width: 64px;
    height: 64px;
    
}

.card_header h2{
    margin-bottom: 10px;
}

.info{
    padding-left: 15px;
    margin-bottom: 10px;
    margin-top: 0px;
    font-size: large;
}

.toast,
.about,
.card,
.donations {
    border: 5px solid rgba(255, 255, 255, 1);
    border-radius: 1px;
    background-color: rgba(0,0,0,0.75);
    font-family: 'YNTitle';
}

footer {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    justify-content: center;
}

.flumb {
    display: flex;
    align-items: center;
    font-family: 'YNTitle';
    color: grey;
}
.flumb a {
    color: grey;
}


#toastBox{
    display: flex;
    position: absolute;
    bottom: 30px;
    right: 30px;
    align-items: flex-end;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}

.toast{
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 10px;
    transform: translateY(100%);
    animation: moveup 0.25s linear forwards;
}

@keyframes moveup {
    100%{
        transform: translateY(0%);
    }
}

.toast_animation {
    position: relative;
    width: 32px;
    height: 32px;
}

.toast_animation img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;

    animation: sprite 0.6s steps(1) infinite;
}
.toast_animation img:nth-child(1) {
    animation-delay: 0s;
}

.toast_animation img:nth-child(2) {
    animation-delay: 0.2s;
}

.toast_animation img:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes sprite {
    0%, 33.32% {
        opacity: 1;
    }

    33.33%, 100% {
        opacity: 0;
    }
}

#block_button{
    opacity: 1;
    margin-left: 10px;
    width: 15px;
    height: 15px;
    display: block;
    cursor: pointer;
}
