/* change the colors here! */
:root {
    --bgcolor: #e8c4c4;
    --lightcolor: #fef7dd;
    --popcolor: #ebc061;
    --darkcolor: #56263e;
    --darkestcolor: #361626;
    --accent-color: #C8FC73;
    --link-color: #8EE44A;
    --button-color: #4F4F4F;
    --bg-color: #303030;
    --bg-color2: #848484;
    --bg-color3: #8F8F8F;
    --bg-color4: #705F86;
    --text-color: #FEFFFF;
    --border-color: #95E94B;
    --favorite-color: #3CBF63;
    --outline-color: #48E8CB;
    --secondary-font: abduction;
}

@font-face {
    font-family: abduction;
    src: url(/fonts/abduction2002.ttf) format("truetype");
}

/* the rest of the layout vv */

* {
    box-sizing: border-box;
}

body {
    background-image: url("/img/background_plantsBottom3.png");
    background-repeat: no-repeat;
    background-size: 1600px;
    /*background-color: var(--bgcolor);*/
    color: var(--darkestcolor);
    font-family: monospace;
    /*font-family: "Baloo Paaji 2", "Atkinson Hyperlegible", Verdana, sans-serif;*/
    z-index: 1;
}

::selection {
    background-color: var(--accent-color);
}

h1 {
    color: var(--lightcolor);
    font-family: var(--secondary-font);
    /*font-family: "Bagel Fat One", "Arial Black", sans-serif;*/
    font-size: 50pt;
    font-weight: normal;
    text-shadow: 2px 2px var(--darkcolor);
    max-width: 600px;
    margin: auto;
    margin-bottom: -25px;
    position: relative;
    z-index: 4;
}

h2{
    font-family: var(--secondary-font);
    color: var(--accent-color);
    font-weight: normal;
    text-shadow: 2px 2px var(--favorite-color);
    font-size: 150%;
}

.buddy{
    color: var(--border-color);
    font-weight: bolder;
    font-size: 20px;
    background: -webkit-linear-gradient(#C8FC73, #3CBF63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p{
    color: var(--lightcolor);
}

a {
    color: var(--bgcolor);
    border-radius: 5px;
    /*font-weight: bold;*/
    text-shadow: var(--bgcolor) 1px 1px;
}

a:hover {
    color: var(--lightcolor)
}

img {
    max-width: 100%;
}

button {
    border: var(--border-color) 15px solid;
    background-color: var(--border-color);
    box-shadow: var(--accent-color) 3px 3px;
    border-radius: 3px;
    font-family: inherit;
    font-weight:bold;
    font-size: 14pt;
    color: inherit;
}

button:active {
    box-shadow: none;
    border-color: var(--border-color)
}

button:hover,
button:focus {
    border-color: var(--border-color);
    background-color: var(--favorite-color);
}

.box {
    border: var(--border-color) 6px solid;
    border-radius: 6px;
    width: 600px;
    max-width: 100%;
    height: 530px;
    margin: auto;
    position: relative;
}

.innerbox {
    width: 100%;
    height: 100%;
    background-color: var(--bg-color2);
    overflow: auto;
    line-height: 1.2;
    position: relative;
    z-index: 3;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--outline-color) var(--lightcolor);
    text-align: center;
}



.sidebox {
    position: absolute;
    height: 200px;
    right: -25px;
    top: 80px;
    width: 150px;
    line-height: 1.3;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: var(--favorite-color);
    color: var(--lightcolor);
    text-align: center;
    z-index: 1;
    transition: 0.5s;
    padding-right: 25px;
    box-shadow: 5px 0px 5px inset var(--favorite-color);
    border-left: 6px solid var(--favorite-color);
    overflow: hidden;
}

.sidebox p {
    position: absolute;
    background-color: var(--favorite-color);
    z-index: -1;
    transform: rotate(270deg);
    right: -23px;
    top: 45%;
    margin: 0;
    line-height: 0.8;
}

.sidebox ul {
    list-style-type: none;
    padding: 0;
    height: 190px;
    margin: 5px;
    margin-left: -5px;
    scrollbar-width: thin;
    scrollbar-color: var(--popcolor) var(--lightcolor);
    overflow: auto;
}

.sidebox li {
    margin: 5px;
}

.sidebox a {
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    color: var(--popcolor);
    text-shadow: none;
}

.sidebox a:hover {
    background-color: var(--popcolor);
    color: var(--darkestcolor)
}

.sidebox:hover,
.sidebox:focus {
    position: absolute;
    right: -150px;
}

.leftcorner {
    position: absolute;
    bottom: -95px;
    left: -125px;
    max-height: 280px;
    z-index: 5;
}

.rightcorner {
    position: absolute;
    bottom: -95px;
    right: -145px;
    max-height: 250px;
    z-index: 5;
}

/* modifications for smaller screens - most notably changing the navigation tab's location and appearance so it moves to the bottom of the box. */

@media only screen and (max-width: 889px) {
    .sidebox {
        top: unset;
        right: 75px;
        bottom: -23px;
        border-top-right-radius: unset;
        border-bottom-left-radius: 20px;
        border-left: none;
        border-top: 6px var(--darkcolor) solid;
        box-shadow: 0px 5px 5px inset var(--darkestcolor);
        padding: unset;

    }

    .sidebox p {
        transform: unset;
        bottom: 5px;
        top: unset;
        right: unset;
        left: 26%;
    }

    .sidebox:hover,
    .sidebox:focus {
        right: 75px;
        bottom: -200px;
    }

    .sidebox ul {
        height: 160px;
        margin: 5px;
        margin-left: 5px;
    }

}

@media only screen and (max-width: 760px) {
    .leftcorner {
        display: none;
    }

    .rightcorner {
        display: none;
    }

}

/* temporary fix for mobile; this makes the nav menu always-expanded on mobile, because it was broken in safari on iphones. working on another option. stay tuned. */

@media only screen and (max-width: 500px) {
.sidebox {top:440px;
right:0;}
.sidebox:hover, .sidebox:focus {top:440px;
right:0;}
}

.neon-text {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px #ff005e, 0 0 10px #ff005e, 0 0 20px #ff005e, 0 0 40px #ff005e, 0 0 80px #ff005e;
    }
    100% {
        text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 40px #00d4ff, 0 0 80px #00d4ff, 0 0 160px #00d4ff;
    }
}

.message-button {
    text-align: center;
    padding: 1em 0;
}

.message-button a {
    margin: 0 0.3em;
    padding: 0.25em 0.75em 0.5em 0.75em;
    background: var(--button-color);
    border: #eee 1px solid;
    border-radius: 8px;
    text-decoration: none;
}

/*BUTTONS STARTS*/
.weirdbuttons {
    list-style-type: "";
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}
.weirdbuttons li {
    flex: auto;
    padding: 4px 0;
    border: none;
}
.weirdbuttons li a{
    background-color: var(--button-color);
    padding: .5em 3em;
    box-shadow: var(--bg-color2) 0 0 6px;
    text-decoration: none;
}
.weirdbuttons li a:visited {
    color: var(--link-color);
}
.weirdbuttons li a:hover{
   background-color: var(--favorite-color);
    box-shadow: var(--bg-color) 0 0 6px;
    color: var(--text-color);
}
/*BUTTONS ENDS*/