@media (prefers-reduced-motion) {
    /* styles to apply if a user's device settings are set to reduced motion */
  }




:root {
    --main-bg-color: white;
    --border-color:rgb(132,136,138);
    --edge-color:rgb(60,60,60);
    --main-fg-color:black;
    --highlight-fg-color:rgb(255,255,255);
    --link-color:rgb(29, 155, 240);
}

  @media (prefers-color-scheme: dark) {
    :root {
        --main-bg-color: black;
        --border-color:rgb(132,136,138);
        --edge-color:rgb(60,60,60);
        --main-fg-color:rgb(202,208,211);
        --highlight-fg-color:rgb(255,255,255);
        --link-color:rgb(29, 155, 240);
    }
  }


body {
   
    font-family: sans-serif;
    color: var(--main-fg-color);
    background-color: var(--main-bg-color);
    margin:0px;
}

hr {
    border-color: rgb(60, 60, 60);
}

.form_field {
    font-size: medium;
    font-family: sans-serif;
    background-color: var(--edge-color);
    color: var(--main-fg-color);
    width: 100%;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid var(--border-color);
    resize: vertical;
    border-radius: 20px;
}

#textarea_post {
    font-size: medium;
    font-family: sans-serif;
    background-color: var(--main-bg-color);
    color: var(--main-fg-color);
    width: 100%;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 10px;
    border: 1px solid var(--border-color);
    resize: vertical;
    border-radius: 40px;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 0px;
    /* Add some padding around the flex container */
}

.content {
    max-width: 600px;
    /* Your preferred max width for the content */
    flex: 1;
    /* Shorthand for flex-grow, flex-shrink and flex-basis */
    min-width: 300px;
    /* Minimum width the content can shrink to */
    padding: 20px;
    box-shadow: 0 0 5px var(--edge-color);
    text-align: left;
    overflow-x: hidden;
    /* Hide horizontal overflow inside the flex container */
    line-height: 1.3;
}

.embed {
    max-width: 800px;
    border-color: red;
    border: 1px, solid;
    padding: 20px;
}

.postImage {
    width: 100%;
}

#log {
    font-family: monospace;
    text-wrap: nowrap;
    font-size: 10px;
    margin-bottom: 20px;
    height: 150px;
    width: 50%;
}

.right {
    text-align: right;
}

#buttons {
    margin-left: 40px;
}

#button_post {
    margin-right: 40px;
}

a {
    color: var(--link-color);
}

.logo {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

#torrent-content {
    border: solid 1px;
    width: 800px;
}

.img-button {
    cursor: pointer;
}

button,.button {
    font-size:small;
    background-color: var(--main-bg-color);
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 5px;
    color: var(--highlight-fg-color);
    /* border:solid 1px white; */
    border: 1px solid var(--border-color);
    color: var(--main-fg-color);
    cursor: pointer;
}

video {
    width:100%
}

iframe {
    width: 100%
}

.qrcode_image {
    background-color: var(--highlight-fg-color);
    padding: 10px;
}

#ids {
    font-size:xx-small;
}