html {
    cursor: url(https://solradguy.neocities.org/favicon/fuuenken.ico), auto;
    scrollbar-width: thin;
    scrollbar-color: #a32309 #120101;
    /* scrollbar code for Firefox */
}

div {
    font-size: 15px;
    line-height: 20px;
}

body {
    background-color: #100200;
    background-image: linear-gradient(#100200 80%, #350800);
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#mainshit {
    width: 10%;
    top: 50px;
    margin: 10px auto 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.post {
    width: 400px;
    padding: 10px;
    margin: 10px auto 0 auto;
    background-image: linear-gradient(#220500, #1b050000 80%);
}

::-moz-selection {
    /* Code for Firefox */
    color: red;
    background: rgba(117, 0, 255, 0.28);
}

::selection {
    color: red;
    background: rgba(117, 0, 255, 0.28);
}

h1 {
    font-family: "New Rocker", serif;
    line-height: 23px;
    font-size: 20px;
    margin-bottom: 4px;
    font-weight: normal;
    color: #d0c188;
    text-shadow: 0 0 5px #200000;
}

h2 {
    border-bottom: 1px solid #8e390f;
    border-style: solid;
    border-radius: 1px;
}

p {
    font-family: "Inknut Antiqua", sans-serif;
    font-weight: normal;
    font-size: 13px;
    color: #df3e21;
    text-shadow: 0 0 5px #200000;
    cursor: crosshair;
}

.aboutp {
    text-align: left;
}

a {
    font-family: 'Inknut Antiqua', sans-serif;
    margin-bottom: 4px;
    font-weight: bolder;
    letter-spacing: 2px;
    text-decoration: none;
    color: #ffc052;
}

a:hover {
    color: #c92c2c;
}

.indexbutton {
    text-decoration: none;
    background: #7f0b0b;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.64) 25%, rgb(49, 7, 7) 99%);
    box-shadow: 3px 3px 3px #0f0000;
    font-size: 17px;
    font-family: 'Lustria', serif;
    font-weight: bold;
    cursor: pointer;
    color: #ece3cb;
    padding: 1%;
    border: 1px solid #690303;
    border-style: solid;
    border-radius: 1px;
    margin: 2% 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    width: 75%;
    max-width: 100%;
}

.indexbutton:hover {
    background-color: #170000cb !important;
    background: #000;
    color: #ffffff !important;
}

/* search bar styling */
.search-container {
    margin: 20px;
    display: flex;
    gap: 10px;
}

#searchBar {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ff0000;
    border-radius: 4px;
    flex-grow: 1;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    background-color: #a95d38;
    color: white;
}

#clearButton {
    background-color: #c4281d;
}

button:hover {
    opacity: 0.8;
}

#dataList {
    list-style-type: none;
    padding: 0;
    margin: 20px;
}

#dataList li {
    padding: 8px;
    border-bottom: 1px solid #ece3cb;
    background-color: #7f0b0b;
}

#dataList li a {
    text-decoration: none;
    color: #ffffff;
}

#dataList li a:hover {
    color: #ffc052;
}

/* search bar styling end */

#content {
    position: relative;
}

#content img {
    position: fixed;
    z-index: -1;
    height: 100%;
    top: 0;
    left: 0;
    margin: 10px auto 0 auto;
}

/*======= mobile device code starts here =======*/
@media(max-width:900px) {

    div {
        font-size: 13px;
        flex-direction: column;
    }

    p {
        margin-bottom: 9px;
        font-weight: bold;
        letter-spacing: normal;
        font-size: 13px;
    }

    #mainshit {
        position: relative;
        width: fit-content;
        margin: 10px auto 0 auto;
        top: 0;
        order: 1;
    }

    .post {
        width: fit-content;
        margin: 10px auto 0 auto;
        background-image: linear-gradient(#220000cb, #1c1c1cae 99%);
        background-color: rgba(67, 0, 0, 0);
    }

    .indexbutton {
        text-decoration: none;
        background: #170000cb;
        width: 85%;
        margin: 2%;
        padding: 5%;
    }
    
            dl {
        list-style-image: none;
        float: center;                
        columns: 2 auto;
        -webkit-columns: 2 auto;
        -moz-columns: 2 auto;
        }
    
    dt {
    overflow-wrap: break-word;
    word-wrap: break-word;
    }
    
            .bigspace {
        height: 12px;
    }

    #content {
        order: 2;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    #content img {
        padding-top: 0%;
        position: fixed;
        height: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}