:root {
    --bg-image: url('bg.png');
    --background: inherit;
    --foreground: inherit;
}

* {
    font-family: monospace;
    font-size: 1rem;
    box-sizing: border-box;
}

body {
    margin: 0;
}

li {
    margin-bottom: 16px;
}

.main {
    padding: 8px;
    position: relative;
    background-color: var(--background);
    color: var(--foreground);
}

.section {
    padding: 10px;
    max-width: 30rem;
    word-wrap: break-word;
}

.profile {
    width: 150px;
    display: block;
    border-radius: 50%;
}

.divider {
    padding: 10px;
}
.divider::before {
    content: "--------";
}

.code {
    font-size: 13px;
}

.not-found {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/*background threshold*/
@media only screen and (min-width: 1100px) {
    .main {
        height: 100vh;
        overflow-y: scroll;
        background-image: var(--bg-image);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right top;
    }
}

/*mobile device*/
@media only screen and (max-width: 600px) {
    .main {
        overflow: hidden;
    }

    .code {
        overflow: scroll;
        font-size: 11px;
    }
}
