@font-face {
    font-family: 'Segoe Script';
    src: url('/fonts/Segoe Script Bold.ttf') format('truetype');
}

body {
    font-family: Segoe Script, bold;
    margin: 20px;
}

form {
    max-width: 400px;
    margin: 0 auto;
}

label {
    display: block;
    margin-top: 10px;
}

input {
    width: 100%;
    padding: 5px;
    margin-top: 5px;
}

canvas {
    display: block;
    border:1px solid #333333;
}
button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

li {
    list-style-type:  none;
}

.scBtns {
    display: flex;
    position: relative;
    width: 100px;
    height: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.swapSc {
    position: relative;
    width: max-content;
    height: max-content;
    padding: 5px;
    color: #f8f8f8;
    text-align: center;
    cursor: pointer;
}

.swapSc.active {
    opacity: 50%;
}

#s0 {
    background-color: #ff87a2;
}

#s1 {
    background-color: #660018;
}

.canvJa {
    display: none;
}

.canvJa.active {
    display: block;
}

.canvJa canvas, button {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 1079px) {
    canvas {
        display: none;
    }
}