:root {
    --pattern: url(https://wereh0gz.neocities.org/images/original%20assets/sun%20bg.png);
    --bordertext: #412911;
    --bg: #ffcb72;
    --link: #c72f14;
    --button: #faf79d;
    --mobile: #c25c2b;
}

body:has(#night:checked) {
    --pattern: url(https://wereh0gz.neocities.org/images/original%20assets/moon%20bg.png);
    --bordertext: #ccdfea;
    --bg: #143042;
    --link: #0d6399;
    --button: #33556a;
    --mobile: #011430;
}

body {
    background-image: var(--pattern);
}

#pagedollday, #pagedollnight {
    display: block;
    position: fixed;
}

#pagedollday {
    margin-left: none;
    margin-top: 300px;
}

#pagedollday img {
    width: 300px;
}

#pagedollnight {
    margin-left: 70%;
    margin-top: 300px;
    display: none;
}

#pagedollnight img {
    width: 400px;
}

#themes {
    display: block;
    position: fixed;
    background-color: var(--bg);
    border: solid;
    border-color: var(--bordertext);
    max-width: 150px;
    height: auto;
    padding: 5px;
}

#mobilethemes {
    display: none;
}

label {
    background-color: var(--bg);
    font-family: 'Segoe UI';
    font-size: small;
    font-weight: bold;
    color: var(--bordertext);
}

label img {
    width: 15px;
}

h1, h2, h3 {
    font-family: 'Segoe UI';
    font-weight: bolder;
    text-align: center;
    color: var(--bordertext);
}

p, ul, li {
    font-family: 'Segoe UI';
    font-weight: bold;
    font-style: normal;
    color: var(--bordertext);
}

a {
    font-family: 'Segoe UI';
    font-weight: bold;
    font-style: normal;
    text-decoration: underline;
    color: var(--bordertext);
}

a:hover {
    color: var(--link);
    cursor: pointer;
}

div {
    border-radius: 10px;
    overflow-wrap: break-word;
}

#container {
    display: flex;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    justify-content: center;
}

#nav {
    display: block;
    align-content: center;
    width: 90px;
    height: 500px;
    margin-right: 20px;
    background-color: var(--bg);
    text-decoration: none;
    padding: 10px;
    border: solid;
    border-color: var(--bordertext);
}

.navbutton {
    min-width: 82px;
    height: 82px;
    background-color: var(--button);
    border: solid;
    border-color: var(--bordertext);
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    cursor: pointer;
}

#main {
    width: 700px;
    height: 500px;
    background-color: var(--bg);
    padding: 10px;
    border: solid;
    border-color: var(--bordertext);
    overflow: scroll;
}

#home img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

#rules, #join, #members {
    display: none;
}

#unleashedring {
    width: 300px;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#unleashedring a {
    text-decoration: none;
    cursor: pointer;
    font-family: 'Segoe UI';
    font-size: 30px;
}

#logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
}

#worldicon {
    max-width: 100px;
}

th, td {
    color: var(--bordertext);
    font-family: 'Segoe UI';
    font-weight: bold;
    padding: 5px;
    border: dotted 2px;
    border-radius: 5px;
}

th {
    text-align: center;
}

td {
    text-align: left;
}

td img {
    width: 88px;
    height: 31px;
}

#footer {
    margin-left: auto;
    margin-right: auto;
    width: 860px;
    height: 50px;
    background-color: var(--bg);
    padding: 10px;
    border: solid;
    border-color: var(--bordertext);
    text-align: center;
}

#pagedoll {
    display: block;
    position: fixed;
    margin-left: 77%;
    margin-top: 300px;
}

#webringulist {
    display: none;
}

@media(orientation: portrait) {
    body {
        background-image: none;
        background-color: var(--mobile);
    }

    #themes {
        display: none;
    }

    #mobilethemes {
        display: block;
        position: fixed;
        background-color: var(--bg);
        border: solid;
        border-color: var(--bordertext);
        max-width: 150px;
        height: auto;
        padding: 5px;
    }

    #container {
        display: block;
        margin-left: 5px;
        margin-right: 5px;
    }

    #main {
        width: auto;
        height: 600px;
    }

    #nav {
        width: auto;
        height: auto;
        margin-bottom: 20px;
        margin-right: unset;
        padding-left: 10%;
    }

    .navbutton {
        margin-left: auto;
        margin-right: auto;
    }

    #footer {
        width: auto;
    }

    #pagedollday {
        margin-left: 60%;
        margin-top: 20%;
    }

    #pagedollnight {
        margin-left: 45%;
        margin-top: 20%;
    }

    #pagedollday img {
        width: 150px;
    }

    #pagedollnight img {
        width: 200px;
    }
