/* -------------------------------------------------------- */
/* i like having empty space */
/* -------------------------------------------------------- */

:root {
    --body-bg-img: url('/assets/images/plaid.jpg');
    --content: salmon;
    --cursor: url('/assets/images/reshi.png'), default;
    --font: 'Ms Ui Gothic';
    --font-size: 15px;
    --margin: 10px;
    --padding: 14px;
    --border: 3px solid #ffbab2;
    --round-borders: 25px;

    --link-color: salmon;
    --link-color-hover: #ffbab2;
    --sidebar-width: 300px;
}

body {
    cursor: url('/assets/images/reshi.png'), default;
    background-color:  #ffe7db ;
    background-image: var(--body-bg-img);
    justify-content: center;
    font-size: var(--font-size);
    margin: 0;
    line-height: 1.2;
    padding: var(--margin);
    font-family: var(--font);
}
* {
    box-sizing: border-box;
    scrollbar-width: auto;
    scrollbar-color: #fe9fad #fee1e1;
}
#container {
    max-width: 800px;
    margin: 25px auto;
    padding: 14px;
    overflow: auto;
    border-width: 10px;
    border-image: url('/assets/images/cute2.png') 15 fill round;
    border-radius: 25px;
    border-color: #ffbab2;
    border-style: solid;
    background-color: #fbfcfa;
}
a {
    text-decoration: underline;
}
img {
    display: block;
    margin: auto;
    width: 50%;
}

a,
a:visited {
    color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

#rightSidebar {
    order: 2;
}
#flex {
    display: flex;
}
#header {
    flex: 1;
    order: 1;
    width: 100%;
    height: 20%;
    border: 2px;
    border-style: solid;
    border-color:#ffc2bb;
    border-radius: 20px;
    background-image:  url('/assets/images/banner2.png');
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center; 
}

h1 {
    font-family: Comic Sans MS;
    color: #ffad98;
    text-align: center;
    font-size: 60px;
    }
    
h2 {
    color: salmon;
    
}
main {
    background-color: #fbfcfa;
    flex: 1;
    order: 2;
    overflow-y: auto;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border);
    border-radius: var(--round-borders);
}
aside {
    width: 30%;
    min-height: 380px;
    font-size: smaller;
    margin: 7px;
    border: 2px;
    border-style: solid;
    border-color:#fdbbb9;
    background-color: #fbfcfa;
    position: relative;
}

aside p {
    margin: 15px;
}

aside h2 {
    margin: 10px;
}

aside a {
    margin: 10px;
}

.pagedoll {
    position: fixed;
    right: 10px;
    bottom: -5px;
    z-index: 2;
}

.box {
    margin: 5px;
    padding: 10px;
    border: 2px;
    border-style: solid;
    border-color: #fdbbb9;
    background-color: #ffd7d4;
}

.bannerthing {
    width: 100%;
    background: linear-gradient(to bottom, #ffe2e2 1%, #ffd0c5 49%, #ffb6c0 51%, #ffd1d9 100%);
    height: auto;
    font-size: 15px;
    padding: 5px;
    text-align: left;
    border-bottom: 2px solid;
    border-color: #fdbbb9;
}

.bannerthing h3 {
    color: white;
    margin: 0;
}

.content {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    border-color: #fdbbb9;
    overflow-y: auto;
    background-color: white;
    margin: 7px;
}

.content p {
    margin: 5px;
    padding: 0px;
    margin-top: 5px;
    text-align: center;
}

.content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    width: 50%;
}

.content h2 {
    margin: 3px;
    padding: 0px;
    text-align: center;
}

.smallbox-left {
    margin: 7px;
    width: 350px;
    float: left;
    height: 100%;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    border-color: #fdbbb9;
    background-color: white;
    overflow: hidden;
}

.smallbox-left p {
    margin: 5px;
    padding: 0px;
    margin-top: 5px;
}
.smallbox-left img {
    margin: 5px;
    padding: 0px;
    margin-top: 5px;
}
.smallbox-left h2 {
    margin: 3px;
    padding: 0px;
}
.smallbox-right {
    margin: 7px;
    overflow: hidden;
    box-sizing: border-box;
    border-width: 2px;
    border-style: solid;
    border-color: #fdbbb9;
    background-color: white;
}
.smallbox-right p {
    margin: 5px;
    padding: 0px;
    margin-top: 5px;
}
.smallbox-right img {
    margin: 5px;
    padding: 0px;
    margin-top: 5px;
}
.smallbox-right h2 {
    margin: 3px;
    padding: 0px;
}            
.box-left, .box-right {
    display: inline-block;
}

*::-webkit-scrollbar {
    width: 70px;
}
*::-webkit-scrollbar-track {
    background: #fee1e1;
}
*::-webkit-scrollbar-thumb {
    background-color: #fe9fad;
    border-radius: 50px;
    border: 10px groove #fe7c7c;
}

@media (max-width: 700px) {
    #flex {
        flex-wrap: wrap;
    }
    #header {
        order: 1;
        max-height: 100px;
    }
    .images {
        flex-wrap: wrap;
        
    }
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 15px;
    }
    aside {
        width: 100%;
    }
    main {
        order: 2;
    }
    #rightSidebar {
        order: 3;
    }
    .pagedoll {
        display: none;
    }
            }