* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'pixel';
    font-size:1.05em;
    background-image: url('../gfx/acnlbackground.png');
    color: #ffffff;
}

html{
    scrollbar-color: #A87830 #805040;
    scrollbar-width: thin;
}


@font-face {
    font-family: 'starborn';
    src: url('/fonts/Starborn.ttf');
}

@font-face {
    font-family: 'silverlining';
    src: url('/fonts/silverlining.ttf');
}

@font-face {
    font-family: pixel;
    src: url('https://dl.dropbox.com/s/rwu0nhwc3rnbaqm/mspixel.otf');
}

@font-face {
    font-family: 'Spirit';
    src: url('/fonts/Spirit.ttf');
}

@font-face {
    font-family: 'emojifont';
    src: url('/fonts/EmojiFont.ttf');
}

@font-face{
    font-family: 'finkheavy';
    src: url('/fonts/acnl.ttf');
    } 

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 20px;
    max-width: 100%;
}

.sidebar-container {
    display: flex;
    flex-direction: column;
    width: 230px;
}

.sidebar {
    flex: 1;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    border-radius: 5px;
}

main {
    flex: 1;
    margin: 0 20px;
    max-width: 800px;
}

main section {
    background-color:#805040; 
    margin-bottom: 20px; 
    max-width: 800px; 
    padding: 20px; 
    border: 1px solid #724a22;
    outline: 1.5px dashed #b48657;
    outline-offset:3px;
    border-radius: 10px;
    /* border-width:7px;
    border-style:solid;
    border-image: url('pinkborder.png') 7 fill round; */
    }

.topbar, .navbar, footer {
    color: #ffffff;
    padding: 10px;
}

#navbar {
    padding: 5px;
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.05);
    background-image: linear-gradient(to right, #805040, #805040);
    background-blend-mode: screen;
    border-top: 2px solid;
    border-color: #805040;
    z-index:99;
}

#navbar ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    margin: 5px 0;
    padding-bottom: 5px;
}

#navbar li a {
    background:none !important;
    color: #be8e44;
    text-shadow: -1px -1px 0 #A87830, 1px -1px 0 #a0652b, -1px 1px 0 #A87830, 1px 1px 0 #a0652b, 0 0 5px #a0652b;    text-decoration: none;
    margin: 0 5px;
    transition: 0.3s ease-in-out;
}

#navbar li a:hover {
    text-decoration: underline solid;
    color: #906890 !important;
    text-shadow: -1px -1px 0 #906890, 1px -1px 0 #906890, -1px 1px 0 #906890, 1px 1px 0 #906890, 0 0 5px #906890 !important;
}

#navbar li:nth-child(n) {
    text-shadow: -1px -1px 0 #685048, 1px -1px 0 #685048, -1px 1px 0 #685048, 1px 1px 0 #685048, 0 0 5px #685048 !important;
}

.dropup {
    position: relative;
    display: inline-block;
    
}

.dropup-content {
    display: none;
    position: absolute;
    bottom: 100%;
    min-width: 160px;
    z-index: 1;
    padding: 5px 0;
    animation: scrollOpen 0.5s ease forwards;
    background-color: rgba(255, 255, 255, 0.05);
    background-blend-mode: screen;
    border: 2px solid;
    border-color: #805040;
    background-image: linear-gradient(to top, #805040, #805040);
}

.dropup-content a {
    color: #be8e44 !important;
    display: block;
    padding: 5px 0;
    /* text-shadow: -1px -1px 0 #ffc8b8, 1px -1px 0 #FFBEDD, -1px 1px 0 #afe7e3, 1px 1px 0 #e7c9f4; */
    font-family: 'silverlining';
    font-size: 18px;
}

.dropup-content a:hover {
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    color: #685048 !important;
    text-shadow: -1px -1px 0 #685048, 1px -1px 0 #685048, -1px 1px 0 #685048, 1px 1px 0 #685048, 0 0 5px #685048 !important;
}

.dropup:hover .dropup-content {
    display: block;
}

dal{
    font-family: 'spirit';
    text-transform: lowercase;
    color: #E8D800;
    text-shadow: 0 0 5px #D8B800 !important;
    margin-left:7px;
}

.star {
    font-family: 'finkheavy';
    font-size: 18px;
}

.alyssa{
    font-family: 'emojifont';
}

u{
    text-decoration: none;
    background-image: linear-gradient(to right, #E8D800, #D8B800);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 0.8em; 
}

@keyframes scrollOpen {
    0% {
        transform: scaleY(0) translateY(-10px);
        opacity: 1;
    }
    20% {
        transform: scaleY(1.1) translateY(1px);
    }
    80% {
        transform: scaleY(0.95) translateY(-1px);
    }
    100% {
        transform: scaleY(1) translateY(0);
    }
}

#dhtmltooltip{
    position: absolute;
    max-width: 100px;
    border: 1px solid #F5F43A;
    outline: 1px dashed #EF46BA;
    outline-offset: 3px;
    border-radius: 6px;
    padding: 1px;
    background-color: #592B8D;
    visibility: hidden;
    z-index: 100;
    color: #ffffff;
    text-align:center;
    font-size:14px;
}

::selection{
    background-color:#b981b9;
    color:#ffffff;
}

h2 {
    font-size: 25px;
    background: url('/gfx/acnlbackground.png');
    border: #724a22 solid 1px;
    outline: #b48657 dashed 1px;
    outline-offset: 3px;
    border-radius: 5px;
    padding: 2px;
    font-family: 'finkheavy';
    letter-spacing: 4px;
    color: #79493a;
    text-shadow: -1px -2px 0 #b981b9, 1px -1px 0 #D8B800, -1px 1px 0 #D8B800, 1px 1px 0 #906890, 0 0 5px #906890;
    text-align: center;
    margin-bottom:10px;
    transition: 0.2s ease-in-out;
    margin-top:10px;
}

h2::before{
  content: "\eac2";
   font-size:22px;  
   margin-right:4px;
   font-family:'cappuccicons'; 
   position:relative;
   top: 3px;
}

h2::after{
    content: "\eb55";
    font-size:22px;
    margin-left:4px;
    font-family:'cappuccicons'; 
    position:relative;
    top: 3px;
}

h2:hover{
    letter-spacing:6px;
}

h3{
    font-family: 'spirit';
    background-image: linear-gradient(to bottom, #E0C800, #D8B800, #D09000);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration:none;
    font-size:30px;
    text-align:center;
    margin-top:5px;
    letter-spacing:3px;
}

h3::selection{
    -webkit-text-fill-color: #ffffff;
}

h3::before{
    content: "\eab8";
    font-size:22px;  
    margin-right:7px;
    font-family:'cappuccicons'; 
}

h3::after{
    content: "\eab8";
    font-size:22px;
    margin-left:7px;
    font-family:'cappuccicons'; 
    }

h4{
    background-clip: text;
    background-image: linear-gradient(to right, #906890, #906890);
    color: #c592c5;
    font-size: 20px;
    text-decoration:underline 1px wavy;
    text-underline-position: under;
    letter-spacing: calc(1em / 8);
    padding: calc(1em / 16);
    -webkit-text-stroke-color: transparent;
    -webkit-text-stroke-width: 3px;
    text-align:center;
    margin-bottom:7px;
}

si{
    text-decoration:underline wavy 1px #FFADC9;
    text-decoration-skip-ink: none;
    margin-bottom:1px;
}

main ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

main li::before {
    margin-bottom:3px;
    margin-right: 5px; 
    display: inline-block;
    flex-shrink: 0; 
}

main li:nth-child(odd)::before {
    content: url('/gfx/yellowpansy.gif');
}

main li:nth-child(even)::before {
    content: url('/gfx/mushroom.gif');
}




mark{
    background-image: linear-gradient(to right, #b981b9, #a867a8);
    padding-left:3px;
    padding-right:3px;
    color:#ffffff;
}

.image-grid {
    text-align: center; 
}

.grid-item {
    display: inline-block;
    width: 150px;
    margin: 10px;
    position: relative;
    overflow: hidden;
    border: 2px solid #FFADC9;
    border-radius: 10px;
}

.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-item .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 173, 201, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover .description {
    opacity: 1;
}

.nat{
    max-width:200px;
}

q{
    font-size:17px;
}

q::before{
    content:"“";
    font-family:arial;
    font-size:18px;
}

q::after{
    content:"”";
    font-family:arial;
    font-size:18px;
}

blockquote{
    font-size:15px;
    text-align:center;
    font-style: italic;
    font-family: 'spirit';
}

blockquote::before{
    content:"“";
    font-family:arial;
    font-size:22px;
    margin-right:-4px;
}

blockquote::after{
    content:"”";
    font-family:arial;
    font-size:22px;
    margin-left:-3px;
}

gpoy img {
    max-height:222px;
    transition: 0.2s ease-in-out;
}

gpoy img:hover{
    transform:scale(1.5);
}

gpoy img:active{
    transform:scale(1.5);
}

quiz img {
    max-height:222px;
    transition: 0.2s ease-in-out;
}

main section a{
    color:#ffffff;
    padding-left:10px;
    padding-top:3px;
    padding-bottom:3px;
    padding-right:10px;
    border-radius:5px;
    transition: 0.3s ease-in-out;
    text-decoration:1px underline dotted #ffffff;
    font-family: 'finkheavy';
    font-size:20px;
    margin-top:3px;
    margin-bottom:3px;
    display:inline-block;
}

main section a:nth-of-type(odd) {
    background-image: linear-gradient(to right, #aa6334, #9c5729);
}

main section a:nth-of-type(even) {
    background-image: linear-gradient(to right, #E0C800, #ddbe11);
}


li:nth-child(odd) > a {
    background-image: linear-gradient(to right, #aa6334, #9c5729) !important;
}

li:nth-child(even) > a {
    background-image: linear-gradient(to right, #E0C800, #ddbe11) !important;
}



main section a:hover{
    letter-spacing:0.5px;
    text-decoration: none;
}

hr{
    border: 0;
    height: 1px;
    margin-top: 5px;
    margin-bottom: 5px;
    background-image: linear-gradient(to right, rgba(239, 70, 186, 0), #E0C800, #ddbe11, #ddbe11, #E0C800, rgba(198, 73, 218, 0));
}

i{
        font-family: 'spirit';
        background-image: linear-gradient(to right, #d39cd3, #b981b9);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        text-decoration:none;
        font-size:16px;
        font-weight:bold;
        padding:3px;
}

pre{
    background-image: linear-gradient(to right, rgba(155, 97, 59, 0.459), rgba(163, 107, 70, 0.459));
    text-wrap: pretty;
    padding:10px;
    margin-top:5px;
    margin-bottom:5px;
}

@media only screen and (max-width: 768px) {
    .container {
        display: flex;
        flex-wrap: wrap;
    }

    main {
        order: 1;
    }

    .sidebar-left {
        order: 2;
    }

    .sidebar-right {
        order: 3;
    }

    .sidebar-right .sidebar-bottom{
        margin-bottom:80px;
    }

    .sidebar-container {
        width: 100%;
    }

    gpoy img{
        max-height:150px;
    }

    main section:last-of-type {
        margin-bottom: 100px;
    }

}

@media only screen and (min-width: 768px) {
    main section:last-of-type {
        margin-bottom: 50px;
    }

}
