* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-size: 2rem;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background: linear-gradient(135deg, black, #ee1c25, #0065b3, black); 
    background-size: 400% 400%;
    animation: gradientAnimation 12s ease infinite; /* This moves the animation from mainBody to body */
    color: white;
    column-rule-color: white;
}

header {
    display: flex;
    width: 100%;
    height: 8rem;
    color: white;
    align-items: center;
    justify-content: center;
}

.mainBody {
    display: flex;
    gap: 16rem;
    background: transparent; /* Make the background transparent since it's now in body */
    height: 90vh;
    width: 100%; 
    padding: 5rem;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4); 
    border-radius: 15px; 
    backdrop-filter: blur(10px); 
    overflow: hidden; 
    text-align: center; 
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.leaderboard{
    display: flex;
    height: 90%;
    width: 50rem;
    justify-content: center;
    border: 2px solid black; 
    padding: 20px; 

}

.start{
    display: flex;
    height: 90%;
    width: 50rem;
    justify-content: center;
    align-items: center;
    border: 2px solid black; 
    padding: 20px; 
}

.buttonStart {
    width: 20rem;
    height: 8rem;
    background: linear-gradient(135deg, #ff7e5f, #feb47b, #6a11cb, #2575fc);
    background-size: 400% 400%; 
    animation: gradientAnimation 12s ease infinite; 
    color: white; 
    font-size: 1.5rem; 
    font-weight: bold; 
    border: none; 
    border-radius: 10px; 
    display: flex; 
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease; 
}

.buttonStart:hover {
    transform: scale(1.05); 
}

.controls{
    display: flex;
    height: 90%;
    width: 50rem;
    justify-content: center;
    border: 2px solid black; 
    padding: 20px; 
}