body {
    margin: 0;
    background-image: url(/images/backgrounds/red_floral.png);
    background-size: 600px;
    cursor: url(/images/icons/gauntlet.png), auto;
}

h1 {
    font-family: "Special Elite", system-ui;
    color: #593c2b;
}

a {
    color: white;
    text-decoration: none;
    font-family: 'Traveling _Typewriter', sans-serif;
    cursor: url(/images/icons/gauntlet.png), auto;
}

a:hover {
    color: #000000;
}

.nav-box2 a {
    color: white;
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    cursor: url(/images/icons/gauntlet.png), auto;
    font-size: 1.2rem;
}


.nav-box2 a:hover {
    color: #000000;
    font-style: italic;
}

.special-elite-regular {
    font-family: "Special Elite", system-ui;
    font-weight: 400;
    font-style: normal;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #dcccab #422015;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #422015;
}

*::-webkit-scrollbar-thumb {
    background-color: #422015;
    border-radius: 10px;
    border: 3px none #dcccab;
}

::selection {
    background: #9fb4db
}

/*Everything goes inside here.*/
.wrapper {
    width: 900px;
    margin: 0 auto;
}

.sidebar-img,
.title,
.links,
.box {
    margin-top: 25px;
}

.footer {
    margin-top: 50px;
}

.title,
.links,
.footer {
    text-align: center;
}

/*Navigation links.*/
.links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.links li {
    display: inline-block;
    margin: 0 20 0 0;
    font-size: 1rem;
}

ul {
    list-style-type: none;
    padding: 10px;
    margin: 0;
    line-height: 40px;
}

/*Some fancy code for fun, to add special characters around the navigation links. Change content to "" if you don't want these.*/
.links li:before {
    content: "";
}

.links li:after {
    content: "";
}

.links .last:after {
    content: "";
}

.links li:before,
.links li:after {
    letter-spacing: 0.1em;
}

/*Basic box code that is used for all content boxes on the page.*/
.box {
    padding: 0.5em 1em;
}

.nav-box1 {
    padding: 1em 1em;
    margin: 0 10px -10px 0;
    background-image: url(/images/backgrounds/green_fabric.jpg);
    background-size: 50px;
    border: 0.8em solid;
    border-image-slice: 130 125 125 130;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(/images/frames/painting_frame.png);
}

.nav-box2 {
    padding: 1em 1em;
    margin: 30px 10px 0 0;
    background-image: url(/images/backgrounds/green_fabric.jpg);
    background-size: 50px;
    border: 0.8em solid;
    border-image-slice: 130 125 125 130;
    border-image-outset: 0px 0px 0px 0px;
    border-image-repeat: stretch stretch;
    border-image-source: url(/images/frames/painting_frame.png);
}

.content-box {
    padding: 20px 15px 20px 15px;
    margin-top: 50px;
    background-image: url(/images/backgrounds/plain_paper2.png);
    border-image: url(/images/frames/light_wood.png);
    border-image-slice: 139 145 157 142;
    border-image-width: 30px;
    border-image-repeat: stretch stretch;
}

/*Goes inside the box class. Not given any style by default, but can be used for stuff like fancy borders.*/
.inner {}

/*Prevent image overflow.*/
.box img,
.sidebar img {
    max-width: 100%;
    height: auto;
}


/*Wrapper for the sidebar.*/
.sidebar {
    width: 200px;
    float: left;
}

/*Container for the sidebar image.*/
.sidebar-image {}

/*Remove extra padding line at the bottom of the image.*/
.sidebar-image img {
    display: block;
}

/*This is where the title, navbar, and main content all go.*/
.main-wrapper {
    margin-left: 225px;
}

/*Two columns by default. The "single-column" class can be added to make it one column.*/
.main {
    columns: 2;
    column-gap: 25px;
}

/*Make sure boxes don't spread over multiple columns.*/
.main .box {
    display: inline-block;
}

.single-column {
    columns: 1;
    text-align: center;
}

.footer {
    margin-bottom: 25px;
}

#sidebar {
    width: 90%;
}

#reg1 {
    width: 200px;
}

#reg2 {
    width: 170px;
}

#reg3 {
    width: 130px;
}

#small {
    width: 100px;
}

#circle {
    width: 200px;
}

#circle2 {
    width: 250px;
}

#large {
    width: 300px;
}

#long {
    width: 270px;
}

@media(max-width:915px) {
    .wrapper {
        width: 95%;
    }

    .main-wrapper {
        width: calc(100% - 225px);
    }
}

@media (orientation: portrait),
(max-width: 480px) {
    .wrapper {
        width: 100%;
    }

    .main-wrapper,
    .sidebar,
    .footer {
        margin: 0 auto;
        width: 90%;
    }

    .sidebar {
        float: none;
        display: block;
    }

    .sidebar-image {
        margin: 0 auto;
        width: 33%;
        margin-top: 25px;
    }

    .sidebar .sidebar-image img {
        width: 100%;
    }

    .footer {
        margin-bottom: 25px;
    }

}