@import url("/styles/colors.css");
/*:root{
    --white: #ffffff;
    --black: #000000;
}*/
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, ul, li, span, a, div, section {
    overflow-wrap: break-word;
}

.page {
  display: grid;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  grid-template-rows: auto 1fr auto;
  overflow-x: clip;
}
.header{
    position: sticky;
    top: 0;
    z-index: 10; /* keeps it above other content as things scroll under it */
    min-width: 0;
    max-width: 100%;
    
}
.middle {
  grid-row: 2;
  display: grid;
  grid-template-columns: 250px 1fr; /* your 2 columns */
  min-height: min-content;
  container-type: inline-size;
  min-height: 400px;
  min-width: 0;
  max-width: 100%;
}
.sidebar {
    
    margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: fixed;
  top: 100px;
  align-self: start; /* so .sidebar sizes to its own content, not stretched to match .content's height */
  
  
 
}
.sidebar-bg {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    
    z-index: -1; /* sits behind the sidebar's content */
    /*
    background-color: var(--color-white);
    background-image:
    linear-gradient(to right, var(--color-black) 3px, transparent 3px),
    linear-gradient(to bottom, var(--color-black) 3px, transparent 3px);
    background-size: 30px 30px;
    */
    opacity: 1;
    
    width: 153px;      /* or whatever your sidebar width should be */
    height: 100vh;
    
    
}

.nav {
    position: static;
    top: 125px;
    left: 15px;

    width: 230px;
    height: auto;

    gap: 10px;
    
    display: flex;
    flex-direction: column;

    /*transform: perspective(500px) rotateY(15deg);*/
    /*border-left: 1px solid var(--color-white);*/
    border: 1px solid var(--color-white);
    border-radius: 10px;
    backdrop-filter: blur(var(--menu-blur));
}
.nav a{
    color: var(--nav-text);
    
    transition: transform 0.75s ease;
    border: 10px solid rgba(255, 0, 0, 0);
    transform-origin: left center;
    font-size: clamp(10px, 1.5vw, 30px);
    text-decoration: none;
   
    
}
.nav a:hover{
    
    transform: scale(1.2);
               

}


.content{
    grid-column: 2;
    font-size: clamp(16px, 1.2vw, 40px);
    padding: 20px;
    padding-left: 25px;
    min-width: 0;
    max-width: 100%;
}


.footer {
  height: 75px;        /* fixed height */
  width: 100%;          /* fills the grid column/row width */
  /*background: var(--footer-bg);
  backdrop-filter: invert(1);*/
  backdrop-filter: blur(var(--menu-blur));
  border-top: 1px solid var(--color-white);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;  
          /* same fix as the ticker, in case content is wide */
}

.logo {
    display: flex;
    justify-content: center;
    height: 100px;
    position: relative;
    top: -30px;

    

}
.logo-bg{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
}
.logo img{
    
    top: 15px;
    position: relative;
    height: 50px;
    
    transform: perspective(500px) rotateY(15deg);
    

    transform-origin: left center;
    
    animation: pulse 10s ease-in-out 0.2s infinite;
}
/*.logo img:hover{
    transform: scale(1.3);
    
}*/


.box {
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2px;
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1.1);
    }
    
    50% {
        transform: scale(1);
    }
}
@keyframes grow {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.75);
    }
}
@keyframes shrink {
    from {
        transform: scale(1.75);
    }
    to {
        transform: scale(1);
    }
}


@font-face {
    font-family: "tiltwarp";
    src: url("../fonts/tiltwarp/TiltWarp.ttf") format("truetype");
    
    font-style: normal;
}







.ticker{
    /*background: var(--ticker-bg);*/
    backdrop-filter: blur(var(--menu-blur));
    width: 100%;
    overflow: hidden;
    min-width: 0;
    border-bottom: 1px solid var(--color-white);
    
    
}
.news-title {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
    background: #b71c1c;
    padding: 5px 10px;
    border-radius: 3px;
    z-index: 10;
}
.news-ticker-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    min-width: 0;
}
.news-ticker {
    display: flex;
    white-space: nowrap;
    animation: scroll 45s linear infinite;
}
.news-ticker span {
    padding: 0 200px;
    color: var(--ticker-text);
    font-size: 16px;
    font-size: clamp(16px, 2vw, 30px);
}
@keyframes scroll {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}


.content-box {
    position: relative;
    max-width: 100%;
    width: 300px;
    border: 1px solid rgb(66, 172, 66);
    padding: 20px;
    margin: 20px 0;
    background: var(--black);
    color: var(--white);
    box-sizing: border-box;
}




::selection {
  background: var(--color-neon-green);
  color: var(--color-black);
}



.tlogo-stack {
    /*border: 1px solid red;*/
    position: relative;
    display: inline-block;
    white-space: nowrap;
    
    border: solid 1px var(--color-white);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    height: 60px;
    width: 453px;
}
.tlogo {
    font-family: "audiowide", sans-serif;
    font-size: 3.5rem;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
    word-break: normal;
}
.tll1 {
    position: relative;
    z-index: 6;
    color: #fff;
}
.tll2 {
  position: absolute;
  top: 0px;
  left: 10px;
  z-index: 5;
  color: rgba(48, 69, 225, 0.691);
}

.tll3 {
  position: absolute;
  top: 0px;
  left: 15px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.478);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .tlogo {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  .middle {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: relative;
    top: auto;
    margin-left: 0;
    width: 100%;
    align-items: center;
    padding: 10px 15px;
    z-index: 5;
  }
  .sidebar-bg {
    display: none;
  }
  .nav {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    
  }
  .nav a {
    font-size: 16px;
    border-width: 5px;
    padding: 4px 8px;
  }
  .content {
    grid-column: 1;
    padding: 15px;
  }
  .news-ticker span {
    padding: 0 40px;
  }
}

