
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    
}
.share-buttons {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 2vw;
    text-align: center;
}
.share-button {
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 0.5vw;
    font-size: 3vw;
    padding: 1vw 2vw;
    margin: 0 1vw;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.share-button:hover {
    background-color: #3b5998;
}
h1 {
    margin: 0 0 2vw;
    font-size: calc(2vw + 2vh);
    white-space: nowrap;
}
label {
    display: inline-block;
    margin-right: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

select {
    display: inline-block;
    font-size: 16px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
canvas,textarea {
    display: block;
    border: 2px solid white;
    background-color: black;
    color: white;
    margin-bottom: 2vh;
    max-height: 60vh;
    max-width: 95%;

font-size: large;
}
textarea {
    width: 400px;
    height: 200px;
}

.drop-label {

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #aaa;
}

.bigbutton {
    font-size: 3vh;
    padding: 1vw 2vw;
}
#count-label {
    color: white;
}

@media (prefers-color-scheme: dark) {

    body {
        background-color: #000;
        color: #ddd;
        background-image: url('img/darktheme.jpg');
        background-position: top center;
        background-repeat: no-repeat;
    }
    h1 {
        color: #fff;

    }
    label {
        color: #ddd;
    }
    .dark {
        background-color: #333; color: white;
    }
    select {
        color: #ddd;
        background-color: #222;
    }
    canvas {
        background-color: #222;
        border-color: #ddd;
    }
    .share-button {
        background-color: #3b5998;
        color: #ddd;
    }
    #dropLabel {
        color: #aaa;
    }
}
@font-face {
    font-family: "MyCustomFont";
    src: url("fonts/anton.ttf");
}
