* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Nunito Sans", sans-serif;
    background-color: rgba(8, 8, 8, 1);
}


.top-bar {
    width: 100%;
    min-height: 4rem;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    background-color: rgba(255,255,255, 0.03125);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
}

.navigation-container {
    display: flex;
    gap: 2rem;
}

.navigation-button {
    padding: 0;
    border: 0;
    color: #bfbfbf;
    background: transparent;
    font-family: inherit;
    font-size: 1.25rem;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.25s ease;
}


.nav-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    padding-left: 2rem;
    color: white;
}

.navigation-button:hover,
.navigation-button.active {
    color: white;
}

.vote-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(32,32,32, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 8px;
    padding-right: 8px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: rgba(32,32,32, 1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 16px;
    padding-right: 16px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}


#tsparticles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    z-index: 0;
}

.avaleht-info-divider {
    background-color: rgba(255,255,255, 0.25);
    height: 1px;
    width: 44rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}


.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: loadUpwards 1s ease-out forwards;
}

.avaleht-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding-bottom: 2rem;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    
    border-radius: 24px;
    
    background-color: rgba(255, 255, 255, 0.03125);
    border: 1px solid rgba(255,255,255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vote-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding-bottom: 2rem;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    
    border-radius: 24px;

    gap: 2rem;
    
    background-color: rgba(255, 255, 255, 0.03125);
    border: 1px solid rgba(255,255,255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vote-text-left {
    display: flex;
    background-color: transparent;
    border: 0px;
    width: 2rem;
    height: 2rem;
    text-align: center;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;
    font-size: 1.5rem;
}

.vote-info {
    display: flex;
    width: 32rem;
    height: 4rem;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.03125);
    border: 1px solid rgba(255,255,255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 8px;
   
}

.buttons-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.info-text-one {
    margin-bottom: 1rem;
    color: white;
    font-size: 4rem;
    font-weight: 600;
    background-color: transparent;
    border: 0px;
    text-align: center;
}

.info-text-two {
    margin: 0;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    background-color: transparent;
    border: 0px;
    text-align: center;
}

.discord-icon {
    width: auto;
    height: 20px;
    filter: brightness(0) invert(1);
}

.copy-icon {
    width: auto;
    height: 20px;
    filter: brightness(0) invert(1);
}

.copyright-footer {
    width: 100%;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    font-weight: 200;
    z-index: 9999;
}

@keyframes loadOpacityOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes loadUpwards {
    0% { transform: translateY(48px); }
    100% { transform: translateY(0); }
}