* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body{
    overflow: hidden;
    height: 100%;
}

body {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Black overlay with opacity */
    pointer-events: none; /* Allows interaction with underlying content */
    z-index: -1; /* Ensures the overlay is on top */
}



canvas{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.board {
    width: 90vw; /* Use a percentage width for responsiveness */
    max-width: 600px; /* Maintain a max width for larger screens */
    margin-bottom: 20px;
}


/* Responsive button adjustments */
@media (max-width: 768px) {


    footer p{
        font-size: .7em;
    }

    .navbar-right {
        position: relative;
        font-size: .8em;
    }

    .navbar-left{
        font-size: .8em;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }
}


button {
    background-color: transparent;
    border: 2px solid #C80036; /* Blue border color */
    color: #C80036; /* Blue text color */
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    outline: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    margin: 10px 0px 0px 10px;
}

button:hover {
    background-color: #C80036; /* Blue background color on hover */
    color: white; /* White text color on hover */
    border-color: #C80036; /* Blue border color on hover */
}

a{
    text-decoration: none;
    color: white;
}
a:hover{
    color: lightgray;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    color: white;
}

header {
    background-color: black;
    color: white;
    padding: 10px 0;
    top: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    position: relative;
    z-index: 1000;
}

.navbar-left{
    flex: 1;
    text-decoration: none;
}

.navbar-right{
    display: flex;
    align-items: center;
}

.nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 15px;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
    display: inline;
}

.nav-links li:first-child {
    margin-left: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links li a:hover {
    color: lightgray;
}

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icons a {
    color: white;
    margin-left: 10px;
    font-size: 24px; /* Adjust size as needed */
}

.social-icons a:hover {
    color: lightgray;
}


.board-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

footer {
    background-color: black; /* Transparent background */
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
    font-size: 14px;
}
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 20px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Black background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Keep it above other content */
  }
  
  svg {
    height: 150px;
    width: 150px;
  }