@font-face {
    font-family: Neuropol;
    src: url(../../Assets/fonts/Neuropol.otf);
}
@font-face {
    font-family: Talero;
    src: url(../../Assets/fonts/Switchback\ Thin.otf);
}
@font-face {
    font-family: FakeReceipt;
    src: url(../../Assets/fonts/Fake\ Receipt.otf);
}
@font-face {
    font-family: Porsch;
    src: url(../../Assets/fonts/911porschav3.ttf);
}

:root {
    --primary: rgb(27, 12, 12);
    --secondary: rgb(76, 42, 42);
}

body {
    margin: 0px 0px 0px 0px;
    overflow-x: hidden;
    background-color: rgb(14, 0, 0);
}

@keyframes panBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100vw 0;
  }
}

#BannerText {
    font-family: Porsch;
    color: white;
    font-size: 25px;
    margin-left: 2vw;
}

#PanningBG {
    position: absolute;
    left: 0;
    right: 0;
    margin-inline: auto;
    top: 0px;
    width: 960px;
    height: 100%;
    background-image: url('../../Assets/Home/BloodShotBG.webp'); /* Replace with your image */
    background-repeat: repeat;
    background-size: contain;
    animation: panBackground 100s linear infinite;
    z-index: -50;
}
#BorderWrapper {
    position: relative;
    width: 960px;
    margin: auto;
    border: 40px solid transparent;
    border-top-width: 1px;
    border-image: url(/Assets/UI/HomeBorder.png) 18 stretch;
}
.ContentBox {
    width: 960px;
    background-color: var(--primary);
    border-style: solid;
    border-color: var(--secondary);
    border-width: 4px;
    margin-left: auto;
    margin-right: auto;
}
.DisplayBox {
    position: absolute;
    width: 960px;
    height: 250px;
    background-color: rgb(148, 138, 138);
    margin-left: auto;
    margin-right: auto;
    top: 0px;
    box-shadow: -4px -4px 2px rgba(0, 0, 0, 0.631) inset,
    4px 4px 2px rgba(255, 255, 255, 0.738) inset,
    0px 150px 75px rgba(255, 255, 255, 0.414) inset;
    border-radius: 10px;
}
.DisplayBox#BG {
    width: 930px;
    height: 220px;

    left: 15px;
    top: 15px;

    background-image: url('../../Assets/Home/BloodShotBG.webp'); /* Replace with your image */
    background-repeat: repeat;
    background-size: contain;

    animation: panBackground 100s linear infinite;

    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.371) inset,
    -5px -5px 3px rgba(0, 0, 0, 0.587),
    -10px -10px 10px rgba(255, 255, 255, 0.592) inset,
    5px 5px 3px rgba(255, 255, 255, 0.738);
    border-radius: 10px;

    overflow: hidden;
}
.DisplayBox#BG::after {
    position: absolute;
    content: "";
    width: 930px;
    height: 220px;

    left: 0px;
    top: -90px;

    background: linear-gradient(180deg,rgb(207, 207, 207) 35%, rgb(32, 32, 32) 100%);
    background-position: 50%, 50%;

    animation: panBackground 100s linear infinite;
    border-radius: 50%;

    mix-blend-mode: screen;
    filter: blur(1px);
}

.FlexBox {
    display: flex;
    flex-flow: row;
    justify-content: center;
    margin: 10px 15px 10px 15px;
}
.Grid {
    display: grid;
    grid-template-columns: 25% 25% 50%;
    row-gap: 10px;
    justify-content: center;
    margin: 10px 15px 10px 15px;
}
.InfoBox {
    position: relative;
    height: 200px;
    background: linear-gradient(90deg,rgba(87, 74, 74, 1) 5%, rgba(232, 232, 232, 1) 35%, rgba(255, 255, 255, 1) 50%, rgba(219, 218, 218, 1) 65%, rgba(87, 74, 74, 1) 95%);
    margin-left: 5px;
    margin-right: 5px;

    overflow-y: scroll;

    border-radius: 5px;

    box-shadow: -4px -4px 4px rgba(0, 0, 0, 0.631) inset,
    4px 4px 4px rgba(255, 255, 255, 0.738) inset,
    0px 50px 25px rgba(255, 255, 255, 0.414) inset;

    pointer-events: none;
}
.InfoBox::before {
    position: absolute;
    content: "";
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    top: 10px;
    left: 10px;

    border-radius: 10px;

    background-color: var(--secondary);
    background: linear-gradient(0deg,rgba(88, 18, 18, 1) 7%, rgba(63, 21, 21, 1) 52%, rgb(92, 37, 37) 69%, rgb(107, 39, 39) 100%);
    z-index: 1;

    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.371) inset,
    -3px -3px 2px rgba(0, 0, 0, 0.587),
    -5px -5px 10px rgba(255, 255, 255, 0.592) inset,
    3px 3px 2px rgba(255, 255, 255, 0.738);
}
.InfoBox::after {
    position: absolute;
    content: "";
    width: calc(100% - 20px);
    height: 40%;

    top: -16%;
    left: 10px;

    background: linear-gradient(180deg,rgb(207, 207, 207) 0%, rgb(0, 0, 0) 90%);

    border-radius: 50%;

    mix-blend-mode: screen;
    filter: blur(1px);
    z-index: 3;

    pointer-events: none;
}

.InfoBox > .Wrapper {
    position: relative;
    overflow-y: scroll;
    width: calc(100% - 20px);
    height: calc(100% - 20px);

    top: 10px;
    left: 10px;

    z-index: 2;

    pointer-events: all;
}

.InfoBox#sitemap {
    display: flex;
    flex-flow: column;
}
.InfoBox h1 {
    font-family: Talero;
    letter-spacing: 10px;
    margin-left: 20px;
    font-size: 30px;
    color: rgb(255, 206, 221);
    paint-order: stroke fill;
    text-shadow: 0px 0px 3px rgb(255, 255, 255), 0px 5px 7px rgb(0, 0, 0);
    transform-origin: 0 0;
    transform: scale(0.75,1.0);
}
.InfoBox p {
    font-family: FakeReceipt;
    font-size: 10px;
    color: rgb(221, 206, 119);
    margin-left: 40px;
    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
}
.InfoBox a {
    font-family: FakeReceipt;
    font-size: 10px;
    color: rgb(221, 165, 119);
    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
}
#InfoBoxSmall {
    height: 150px;
    background-color: var(--secondary);
    background: linear-gradient(0deg,rgba(88, 18, 18, 1) 7%, rgba(63, 21, 21, 1) 52%, rgb(92, 37, 37) 69%, rgb(107, 39, 39) 100%);
    margin-left: 5px;
    margin-right: 5px;
    border-style: ridge;
    border-color: var(--secondary);
    border-width: 0.4vh;
}
#InfoBoxSmall h1 {
    font-family: Neuropol;
    margin-left: 20px;
    font-size: 25px;
    color: rgb(255, 255, 255);
    paint-order: stroke fill;
    text-shadow: 0px 0px 7px rgb(255, 255, 255), 0px 5px 7px rgb(0, 0, 0);
}
#Me {
    position: absolute;
    right: 50px;
    height: 220px;
    top: 0;
}
#SpinText {
    display: block;
    margin: auto;
    height: 250px;
    margin-top: -30px;
}
#leftMarq {
    position: absolute;
    height: 68vh;
    width: 100%;
    top: 16vh;
}
@font-face {
    font-family: Nuklear;
    src: url(../../Assets/fonts/NUKLEAR.ttf);
}
#metalheartText {
    position: absolute;
    top: 25px;
    font-family: Nuklear;
    -webkit-text-stroke: 3px rgb(255, 255, 255);
    paint-order: stroke fill;
    font-size: 20px;
    letter-spacing: 8px;
}
.NavBar {
    position: absolute;
    display: flex;
    justify-content: center;
    top: -10px;
    width: 98%;
    left: 0;
    right: 0;
    margin-inline: auto;
    z-index: 99;
}
.DropBox {
    display: flex;
    flex-flow: column;
    justify-content: start;
    flex-grow: 1;
    overflow: hidden;
    transition: max-height 0.25s;
    max-height: 30px;
}
.DropBox:hover {
    max-height: 100px;
    transition: max-height 0.05s ease-out;
}
#NavItem {
    height: 30px;
    flex-grow: 1;
    background-color: var(--secondary);
    background: linear-gradient(0deg,rgba(38, 0, 0, 1) 0%, rgba(102, 0, 0, 1) 50%, rgba(130, 60, 60, 1) 52%, rgba(217, 126, 126, 1) 100%);
    box-shadow: 0px -2px 15px rgb(0, 0, 0) inset;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 0.2vw;

    line-height: 30px;
}
#NavItem p {
    display: inline-block;
    width: 100%;
    height: 100%;

    font-family: Talero;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;

    -webkit-transform:scale(1.5,1.25); /* Safari and Chrome */
    -moz-transform:scale(1.5,1.25); /* Firefox */
    -ms-transform:scale(1.5,1.25); /* IE 9 */
    -o-transform:scale(1.5,1.25); /* Opera */
    transform:scale(1.5,1.25); /* W3C */

    color: white;
    text-shadow: 0px 2px 3px rgb(255, 226, 146);
    margin-top: 0px;
}