:root{
    --font-family: 'TheGoodMonolith', sans-serif; 
    --offwhite: #E6E2DF; 
    --pink: #E4CDD5;
    --red: #9F1C22;
    --lighterred: #C24D52;
    --blue: #0178FF;
    --darkerblue: #003CB3;
    --yellow: #FFEE75;
    --metalred: #E60000;
}


::-webkit-scrollbar{
    display: none;
}


::selection{
    background: var(--metalred);
    color: var(--darkerblue);
}


body{
   font-family: var(--font-family);
   font-size: 18px;
   color: white;
   text-shadow: 
        0.9px 1px 0 var(--darkerblue),  /* Bottom-right shadow */
        -0.9px -1px 0 var(--darkerblue), /* Top-left shadow */
        -0.9px 1px 0 var(--yellow),  /* Bottom-left shadow */
        0.9px -1px 0 var(--metalred);
   background-image: url("https://i.postimg.cc/WzyL3GS2/abstract-horizontal-grid-lines-graph-style-graphic-design-1017-39918.png");
   background-repeat: no-repeat;
   background-size: cover;
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
}


.metal{
    position: absolute;
    margin-left: 53%;
    margin-top: 25vh; 
    z-index: 10; 
}


.cd{
    position: absolute;
    margin-left: 45%;
    top: 3vh;
    z-index: 9; 
    -webkit-animation:spin 10s linear infinite;
    -moz-animation:spin 10s linear infinite;
    animation:spin 10s linear infinite;
}
@-moz-keyframes spin { 
    100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes spin { 
    100% { -webkit-transform: rotate(360deg); } 
}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}



.container{
    width: 50vw;
    height: 80vh;
    background: linear-gradient(to bottom, var(--offwhite) 0%, var(--blue) 100%);
    border: 5px double var(--darkerblue);
    border-radius: 10px;
    display: grid;
    gap: 10px;
    padding: 10px;
    margin-top: 10px;
    grid-template-areas: 
        "logo header"
        "sidebar main"
        "sidebar main"
        "sidebar content";
    grid-template-columns: 0.8fr 3fr;
    grid-template-rows:  1fr 13fr 2fr;
}


.logo{
    width: 10ch;
    margin-top: 0.5ch;
    filter: hue-rotate(230deg) brightness(1.5);
    
}


.sidebar {
    margin-top: -2ch;
    margin-left: -1ch;
    gap: 10px;
    grid-area: sidebar;
    padding: 10px;
    display: flex;
    flex-direction: column;
    
}


.navbar {
    list-style: none;
    padding: 0;
    overflow-y: auto;
}


.navbar li {
    margin: 5px 0;
    text-shadow: none;
    background: linear-gradient(to bottom, var(--yellow) 5%, var(--blue) 90%);
    font-weight: bolder;
    border: 2px ridge var(--blue);
    border-radius: 5px;
    padding: 5px 10px;
    display: flex;
    justify-content: center; /* Center text horizontally */
    align-items: center; 
    gap: 15px;
}


.navbar li a {
    text-decoration: none;
    flex-grow: 1;
    font-size: 20px;
    color: var(--darkerblue);
}


.navbar li:nth-child(odd) a {
    color: var(--darkerblue); 
}


.navbar li:nth-child(even) a {
    color: var(--metalred); 
}


.navbar li a:hover {
    color: var(--blue);
}


.two {
    grid-area: main;
    background-color: var(--offwhite);
    border: 2px ridge var(--darkerblue);
    padding: 10px;
    overflow-y: auto;
    height: 100%;
    border-radius: 5px;
    padding-right: 25%;
    padding-left: 2.5%;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


p{
    line-height: 1.5;
}


h1{
    font-size: 50px;
    text-shadow: 
    1px 1px 2px var(--darkerblue),
        -1px -1px 2px var(--metalred),
        1px -1px 2px var(--darkerblue),
        -1px 1px 2px var(--yellow),
        2px 2px 2px var(--darkerblue), /* Adds "curving" around edges */
        -2px -2px 2px var(--yellow);
}


#statuscafe {
    margin-top: 1ch;
    background-color: var(--yellow);
    border-radius: 10px;
    padding: 15px;
    width: 108%;
    height: 15vh;
    position: relative;

}


#statuscafe-username {
    margin-bottom: .5em;
    text-transform: uppercase;
    font-size: 20px;
}


#statuscafe-content {
    margin: 0 1em 0.5em 1em;
     max-height: 100px; 
     overflow: auto;
}


a, a:visited{
    text-decoration: none;
    color: var(--darkerblue);
}

a:hover{
    color: var(--blue);
}

.popup {
    font-family: 'W95FA', sans-serif;
    position: absolute;
    top: 65%;
    left: 25%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #C2C1C4;
    border: 2px solid #000;
    box-shadow: 2px 2px #808080;
    z-index: 1000;
    font-family: Arial, sans-serif;
    display: block; /* Always visible */
}


.popup-header {
    font-family: 'W95FA', sans-serif;
    background-color: #040282;
    color: #fff;
    padding: 2.5px 10px;
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow:  -1px 1px outset #000, 2px 2px 1px inset white;
}


.close-btn {
    font-family: 'W95FA', sans-serif;
    background-color: #C2C1C4;
    color: #000;
    margin-right: -3%;
    margin-top: -1%;
    padding: 3px;
    font-size: 10px;
    cursor: pointer;
    box-shadow:  -1px 1px inset #000, 2px 2px 1px inset white;
}


.popup-body {
    font-family: 'W95FA', sans-serif;
    padding: 15px;
    font-size: 14px;
    text-align: center;
    color: #000;
    text-shadow: none;
    box-shadow:  -1px 1px inset #000, 2px 2px 1px inset white;
}


.popup-body button {
    font-family: 'W95FA', sans-serif;
    background-color: #C2C1C4;
    padding: 5px 15px;
    cursor: pointer;
    margin: 10px 5px;
    font-size: 12px;
    box-shadow: 2px 2px 1px inset white, -1px -1px inset #000 ;
}


.ok-button {
    border-color: black; 
}


.popup-body .cancel-button {
    border-color: transparent; 
}


.popup-body .cancel-button:hover {
    border-color: black; 
    border-style: solid;
}


.popup-body .ok-button:hover {
    border-color: black; 
}


.popup-body .cancel-button:hover ~ .ok-button {
    border-color: transparent; 
}