
/*  */

/*                                           @@@@                                                   
                                             @@@@                                                   
                                             @@@@                                                   
                                           @@%:.=@@@                                                
                                           @@%-:+@@@                                                
                                           @@%-:+@@@                                                
                                        @@@=:::::::*@@@                                             
                                        @@@=:::::::*@@@                                             
                                      @@@@@=:::::::*@@@@@                                           
                                     @@@*:::::::::::.:%@@                                           
                                  @@@%==-:::::::::::::--+@@@                                        
                           @@@@@@@@@@%----------::::::::=%%%@@                                      
                          @@@@@@@@@@@@@@@@@@@@@@#:::::::::.+@@@                                     
                  @@@@@@@@@=----*@@=::::+@@@@@@@@%%%%%%%%%%@@@@@@@@@                                
             @@@@@@%%%%%%%#-::::+%#=::..=%%%%%%%%@@%%%@@@@@@%%@@@@@@@@@@@                           
             @@@@@%:....:::::::::::%@%.         -@@=..%@@@@+ .%@@@@@@@@@@@                          
              @@@@@@@@@@+::::::::::::=%@@@@@@@@@*--*@%-.:.......-@@*::-:-%@@@@@                     
                  @@@@@@+-======-::::-#%#%%%%##%*::+##=---------=#%+::::-#%%%%%@@@@@@@@             
                        @@@@@@@@+:::::::::::::::::::::%@@@@@@@@@%:::::::::::::#@@@@@@@@             
                             @ @@@@=::::::::::::::::::::::::::::::::::::::::::::::::::*@@@@@@@@@@@@@
                                @@@=::::::::::::::::::::::::::::::::::::::::::-=======*@@@@@@@@@@@@@
                                @@@=::::::::::::::::::::::::::::::::::::::::::*@@@@@@@@             
                                @@@=::::::::::::::::::::::::::::::::::::-%@@@@@                     
                                @@@=::::::::::::-+++++::::::::::::::::=++%@@@@@                     
                                @@@=::::::::::::+@@@@@-:::::::::::::::#@@@                          
                                @@@=::::::::::::+@@@@@-:::::::::::::::#@@@                          
                             @@@#*+-::::::::::+**@@@@@-::::::::::::-+*#@@@                          
                             @@@+::::::::::::-@@@  @@@-::::::::::::+@@@                             
                             @@@+::::::::::::-@@@  @@@-:::::::::-@@@                                
                             @@@+::::::::::+**@@@  @@@-:::::::::-@@@                                
                             @@@+::::::::::#@@@    @@@-:::::::::-@@@                                
                             @@@*::::::::::#@@@    @@@-:::::::%@@@                                  
                          @@@#+=-:::::::=##%@@  @@@*==::::::::%@@@                                  
                          @@@#::::::::::+@@@    @@@+::::::::::%@@@                                  
                          @@@#::::::::::+@@@    @@@+::::::::::%@@@                                  
                          @@@#:::::::-##%@@@    @@@+:::::::+##%@@                                   
                         @@@@#:::::::-@@@       @@@+:::::::*@@@                                     
                        @@@:.:::::::.-@@@       @@@+:::::::*@@@                                     
                        @@@-:::::::*%%@@@    @@@#=-::::::::*@@@                                     
                      @@%%%-:::::::%@@@      @@@#::::::::--*@@@                                     
                     @@@=.:::::::::%@@@      @@@#:::::::=@@@                                        
                     @@@+::::::::::%@@@      @@@#:::::::=@@@                                        
                   @@%%%=:::::::--=%@@     @@@%%*:::::::=@@@                                        
                  @@@*::::::::::*@@@       @@%::::::::::=@@@                                        
     @@@@@@@@@@@@@@@@#::::::::::*@@@       @@%-:::::::::=@@@                                        
  @@@%###############+::::::::==*@@@       @@%-:::::::==+@@@                                        
  @@@+.::::::::::::::::::::::=@@@          @@@-.:::::-%@@                                           
@@#::::::::::::::::::::::::::=@@@       @@@=::::::::::%@@@@@@@@@@@@@                                
@@%+++++++++++++++++++++++++=*@@@       @@@=::::::::::*#############@@@                             
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@          @@@=.::::::::::::::::::::::+@@@                             
                                     @@@*::::::::::::::::::::::::::+@@@                             
                                     @@@%++++++++++++++++++++++++++*@@@                             
                                     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                                 */



                /* This stylesheet is pissing me off! */


/* Links */
a {
    text-decoration: none;
    cursor: url('https://file.garden/Z7YtBbyd-wefsoli/Undertale_red_soul%20-%20Hover.svg'), pointer;
}


/* Remove Outer Border */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    color: black;
    background-color: black;
    background: url('https://file.garden/Z7YtBbyd-wefsoli/UTDR_BG%20SLOWED.gif') repeat center center fixed;
    background-size: 200px;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.buttondiv {
  cursor: url("https://file.garden/Z7YtBbyd-wefsoli/Undertale_red_soul.svg");
  border-radius: 40px;
  background: none;
  position: fixed;
  height: 35px;
  bottom: 5px;
  width: 35px;
  left: 5px;
  z-index: 1;
}


/* ░▒░▒▓▒▓--AUTOPLAYER--▓▒▓▒░▒░ */
.autoplayer button{
  background: linear-gradient(180deg, #090033 40%, #090033CF);
  box-shadow: 2px 2px #5100FF, -2px -2px teal;
  cursor: url("https://file.garden/Z7YtBbyd-wefsoli/Undertale_red_soul.svg");
  color: white;
  padding: 1px 4px 0px 4px; 
  border-radius: 40px;
  font-weight: bold;
  font-size: 18px;
  position: fixed;
  height: 35px;
  bottom: 5px;
  width: 35px;
  left: 5px;  
}

.autoplayer a {
  background: linear-gradient(180deg, #090033 40%, #090033CF);
  box-shadow: 2px 2px #5100FF, -2px -2px teal;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  padding: 2px 10px;  
  position: fixed;
  font-size: 14px;
  bottom: 5px;
  z-index: 10;
  left: 50px;  
}

/* ░▒░▒▓▒▓--BANNER LOGO--▓▒▓▒░▒░ */
header {
    font-size: 2.2em;
    position: relative; /* Important for absolute child to position relative to this. */
    text-align: center;
    font-weight: bold;
    padding: max(10px, 3vw) 5vw; /*top/bottom (chooses the larger value based on screen size), left/right (5% of viewport width)*/
    z-index: 1;
    box-sizing: border-box;
}

header::before { /*::before places content before parent content*/
    content: ""; /*Needed for ::before to work*/
    background: url('https://file.garden/Z7YtBbyd-wefsoli/1553726839_preview_lfgQmt2qj6.gif') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    position: absolute; /* Absolute positions content outside of the content flow */
    top: 0; left: 0; right: 0; bottom: 0; /* This allows the content to fill its whole space, including the document's padding. */
    z-index: -1; /* This is a depth value. */
}

/* ░▒░▒▓▒▓--TEXT MARQUEE--▓▒▓▒░▒░ */
.news-container {
    top: 0;
    left: 0;
    right: 0;
    font-family: "Roboto", sans-serif;
    box-shadow: 0 4px 30px -4px #5100FF;
    border-style: ridge;
    border-color: white; 
    border-width: 4px 0 4px 0;
}

.news-container ul {
    display: flex;
    list-style: none;
    margin: 0;
    animation: scroll 20s infinite linear;
}

.news-container ul li {
    white-space: nowrap;
    padding: 10px 24px;
    color: #ff3333;
    font-family: 'dtm-sans-webfont', arial, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 25px;
    text-shadow: 2px 1px #5100FF, -1px -1px rgb(128, 0, 0);
    position: relative;
}

.news-container ul li::after {
    content:"❤";
    color: red; 
    font-family: 'DTM-sans'; 
    text-shadow: none;
    position: absolute;
    top: 8px;
    right: -8px;
}

.news-container ul li:last-child::after {
    display: none;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-1400px);

    }
    
}

/* ░▒░▒▓▒▓--MAIN BODY--▓▒▓▒░▒░ */
.mainbody {
    background: rgba(89, 0, 255, 0.274);
    background: radial-gradient(circle,rgba(81, 0, 255, 1) 0%, rgba(0, 251, 255, 0.17) 0%, rgba(6, 234, 246, 0.18) 25%, rgba(81, 0, 255, 0.19) 100%);
    position: relative;
    flex: 1 0 auto; /* This makes the main body push the footer down. */
}

.grid1 {
    color: white;
    padding: 10px;
    margin: 35px auto;
    display: flex;
    flex-direction: reverse;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    overflow-x: auto; /* Prevent overflow */
    box-sizing: border-box;
    width: 100%;
    
}

.box {
    position: relative;
    text-align: left;
    color: white;
    /* background: black; */
    max-width: 900px;
    min-height: 144px;
    margin: auto;
    font-family: 'DTM-sans';
    padding: 0;
    border: 26px solid transparent;
    border-image: url(https://file.garden/Z7YtBbyd-wefsoli/DeltaruneBorder.gif) 52 stretch;
    image-rendering: pixelated;
    border-image-slice: 27.3% fill;
}

.boxheader {
    border-style: solid;
    border-color: white; 
    border-width: 0 0 3px 0;
    margin: 1px;
    padding: 15px 0 10px 20px;
    display: flex;
    align-items: center;
    justify-content: left;
    position: absolute;
    top: -12px;      /* or negative to overlap border */
    right: -12px;    /* or negative to overlap border */
    left: -12px;
}

.headertext {
    font-size: 25px;
    color: white;
    font-family: 'dtm-sans-webfont';
    text-shadow: 2px 1px #5100FF, -1px -1px teal;
}

.content {
    padding: 60px 5px 20px 5px;
    word-wrap: break-word;
    position: relative;
    z-index: 1;
    overflow: hidden;
}


.corner {
    position: absolute;
    width: 25px;
    height: 25px;
    pointer-events: none; /* optional, so they don't block clicks */
}

.corner-tl { top: -13px; left: -13px; }
.corner-bl { bottom: -13px; left: -13px; }
.corner-tr { top: -13px; right: -13px; }
.corner-br { bottom: -13px; right: -13px; }

.boxfooter {
    background: linear-gradient(180deg,rgba(3, 246, 238, 0) 0%, rgba(81, 0, 255, 0.19) 100%);
    text-align: center;
    height: 300px;
    position: absolute;
    bottom: -12px;      /* or negative to overlap border */
    right: -12px;    /* or negative to overlap border */
    left: -12px;
    z-index: 0;
}

.left-sidebar {
    flex: 1 1 0;
    width: 90%;
    max-width: 430px;
    box-sizing: border-box;
}
.center-sidebar {
    flex: 1 1 0;
    width: 100%;
    max-width: 950px;
    min-width: 0; /* Allow shrinking */
    box-sizing: border-box;
}
.right-sidebar {
    flex: 1 1 0;
    width: 90%;
    max-width: 430px;
    box-sizing: border-box;
}


#dialogue-box {
    display: block;
    cursor: url('https://file.garden/Z7YtBbyd-wefsoli/Undertale_red_soul%20-%20Hover.svg'), pointer;
    width: 100%;
}

#dialogue-box img {
    width: 100%; 
    max-width: 2000px; 
    height: auto; 
    display: block; 
    margin: 0 auto;
}

.soul-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    user-select: none;
}
.soul-carousel-arrow {
    background: rgba(0,0,0,0.7);
    border: 2px solid #fff;
    color: #fff;
    font-size: 2em;
    width: 40px;
    height: 60px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.soul-carousel-arrow:active {
    background: #6800fc;
}
.soul-carousel-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    height: auto; /* or just remove the height property */
    min-height: 90px; /* optional, for layout stability */
    overflow: hidden;
    position: relative;
}
.soul-carousel-img {
    max-width: 90px;
    max-height: 90px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* ...other styles... */
}

.soul-carousel-img.center {
    max-width: 120px;
    max-height: 120px;
}
.soul-carousel-header {
    text-align: center;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: 2em;
    margin-bottom: 0.5em;
    letter-spacing: 2px;
    transition: color 0.4s;
    user-select: none;
    text-shadow:
    0 2px 8px #000,
    0 0 12px currentColor,
    0 0 2px #fff;
}

/* ░▒░▒▓▒▓--FOOTER--▓▒▓▒░▒░ */
footer {
    width: 100%;
    box-sizing: border-box;
    background-color: black;
    color: white;
    text-align: center;
    line-height: 1.5;
    padding: max(10px, 3vw) 5vw;
    border-width: 2px 0 0 0;    
    border-color: white;
    border-style: ridge;
    left: 0;
    right: 0;
    bottom: 0;
    position: relative;
}

footer a {
    background: linear-gradient(transparent 50%, #0004ff40 0%, #00fff240 100%);
    border-radius: 10px;
    padding: 1px 5px;
    color: white;
    text-decoration: underline;
    font-family: 'dtm-sans-webfont', arial, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

footer a:hover {
    color: #00fff2;
    text-shadow: 0 0 6px #00fff280;
}


footer p {
    font-family: 'pixeloperator', Arial, Helvetica, sans-serif;
}

@media only screen and (max-width: 1200px) {
    .grid1 {
        gap: 5px;
    }

}

@media only screen and (max-width: 950px) {
    .grid1 {
    color: white;
    padding: 0% 5%;
    margin: 35px auto;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    
}

    .left-sidebar {
        width: 100%;
        max-width: none;
    }
    .center-sidebar {
        width: 100%;
        max-width: none;
        order: -1;
    }
    .right-sidebar {
        width: 100%;
        max-width: none;
        
    }

    footer {
        width: 100%;
        box-sizing: border-box;
        background-color: black;
        color: white;
        text-align: center;
        line-height: 1.5;
        padding: max(10px, 3vw) 5vw;
    }

    .soul-carousel-header {
        text-align: center;
        font-family: 'Arial Black', Arial, sans-serif;
        font-size: 1.20em;
        margin-bottom: 0.5em;
        margin-top: 2em;
        letter-spacing: 2px;
        transition: color 0.4s;
        user-select: none;
        text-shadow:
        0 2px 8px #000,
        0 0 12px currentColor,
        0 0 2px #fff;
    }
}

/*  */
