@import url("https://fonts.googleapis.com/css?family=Lato");

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-family: 'Lato', 'Courier New', Courier, monospace;
}

.title, .footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #222;
    border-bottom: 1px solid #444;
}

.footer {
    border-top: 1px solid #444;
    border-bottom: none;
}

.board-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-radius: 10px;
    background-image: url('logo-demoniax-300.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.plasma-container {
    width: 800px;
    height: 600px;
}

.signature {
    animation: swing 0.97s linear infinite;
    font-size: 13px;
    margin-top: 10px;
    position: absolute;
    bottom: 40px;
    right: 10px;
}

.signature span {
    padding: 3px;
}

.signature1 {
    background: black;
    color: cyan;
}

.signature2 {
    background: #fff;
    color: red;
}

@keyframes swing {
    0%, 100% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
}

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: #3c97bf;
    text-decoration: none;
}

.fullscreen-icon {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 1000;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.fullscreen-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.fullscreen .title,
.fullscreen .signature,
.fullscreen footer {
    display: none;
}

.fullscreen .board-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.fullscreen .board {
    max-width: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.fullscreen .cell {
    font-size: 2.5vw;
}
