/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face { font-family: xbox; src: url('./media/fonts/XBOX_T.TTF'); }

body {
    background-image: url(./media/bg/bg_blue.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 99vh;
    display: flex;
    flex-flow: column;
    color: #7bd2f7;
    text-shadow: 2px 2px 10px #87fff1;
    font-family: monospace;
    font-size: 15px;
    font-weight: bolder;
    cursor: crosshair;
    overflow: hidden;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: center;
    align-items: center;
    flex-direction: column;

}

.body-main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

hr {
    border-color: #7bd2f7;
    border-style: dashed;
}

a {
 color: white;
 text-decoration: none;
}

button {
  background:none;
  margin:0px;
  padding:0px;
  border: none;
}

.header {
    margin-bottom: 2%;
}

.navbar {
 display: flex;
 justify-content: center;
}

.main-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: none;
    grid-auto-flow: row;
    margin: auto;
    justify-content: center;
    width: fit-content;
}

.sidebar {
    grid-row: span 5 / span 4;
    background-image: url(./media/ui/sidebar.png);
    background-repeat: round;
    width: 181px;
    height: auto;
}

.sidebar-inner {
    height: 100%;
    width: 100%;
    display: flex;
}

.avatar {
  margin-top: 15px;
  margin-left: 3px;
}

.main-content {
    grid-column: span 4 / span 4;
    width: 724px;
    height: 550px;
    box-sizing: border-box;
    border-color: #7bd2f7;
    border-style: solid;
    background: #000000a8;
}

.main-text {
  height: 545px;
}

.frame {
  width:100%;
  height:100%;
  border-style:none;
}

.main-inner h1 {
 text-align: center; 
}

.buttons {
    grid-column: span 4 / span 4;
    grid-row: span 4 / span 1;
    display: block;
    background-image: url(./media/ui/footer.png);
    background-repeat: round;
    height: 120px;
}

.title {
    color: black;
    background: #7bd2f7;
    margin-top: 0px;
    padding-left: 5px;
    font-family: Xbox;
}


.buttons-inner {
    margin: 0px;
    height: 99px;
    width: 706px;
}

.marquee {
    display: flex;
    position: sticky;
    height: 40px;
    width: 906px;
    background: #79d3f2;
    align-items: center;
    margin-top: 5px;
    margin-bottom: 10px;
    color: black;
    text-transform: uppercase;
}

/* THIS CRT EFFECT IS NOT MINE, I DON'T REMEMBER WHERE I GET IT THO */
.crt::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

@keyframes flicker {
    0% {
        opacity: 0.27861;
    }

    5% {
        opacity: 0.34769;
    }

    10% {
        opacity: 0.23604;
    }

    15% {
        opacity: 0.10626;
    }

    20% {
        opacity: 0.18128;
    }

    25% {
        opacity: 0.10626;
    }

    30% {
        opacity: 0.18128;
    }

    35% {
        opacity: 0.23604;
    }
}

.crt::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(18, 16, 16, 0.1);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: flicker 0.15s infinite;
}
