/*#region: Shell*/
*, *:before, *:after {
    box-sizing: border-box;
}

body {
    padding: 0px;
    margin: 0px;
    background-image: url('../../images/resources/mainbg.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;  
    background-color: black;
    background-blend-mode: luminosity;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/*#endregion*/

/* #region: Animations*/
@keyframes pulseRed {
	0% {
        text-shadow:
        0 0 5px #ff0101;
	}

	30% {
        text-shadow:
        0 0 10px #ff0101,
        0 0 20px #ff0101;
    }

    70% {
        text-shadow:
        0 0 10px #ff0101,
        0 0 20px #ff0101;
    }

    100% {
        text-shadow:
        0 0 5px #ff0101;
	}
}

@keyframes pulseRedHover {
	0% {
        text-shadow: 
        0 0 10px black,
        0 0 20px #ff0101;
	}

	30% {
        text-shadow:
        0 0 10px black,
        0 0 20px #ff0101,
        0 0 30px #ff0101;
    }

    70% {
        text-shadow:
        0 0 10px black, 
        0 0 20px #ff0101,
        0 0 30px #ff0101;
    }

	100% {
        text-shadow:
        0 0 10px black,
        0 0 20px #ff0101;
    }
}

@keyframes pulseBlue {
	0% {
        text-shadow:
        0 0 5px #0199ff;
	}

	30% {
        text-shadow:
        0 0 10px #0199ff, 
        0 0 20px #0199ff;
    }

    70% {
        text-shadow:
        0 0 10px #0199ff, 
        0 0 20px #0199ff;
    }

	100% {
        text-shadow:
        0 0 5px #0199ff;
	}
}

@keyframes pulseBlueHover {
	0% {
        text-shadow: 
        0 0 10px black,
        0 0 20px #0199ff;
	}

	30% {
        text-shadow:
        0 0 10px black,
        0 0 20px #0199ff,
        0 0 30px #0199ff;
    }

    70% {
        text-shadow:
        0 0 10px black,
        0 0 20px #0199ff,
        0 0 30px #0199ff;
    }

	100% {
        text-shadow:
        0 0 10px black,
        0 0 20px #0199ff;
    }
}
 /*#endregion*/

/*#region: Text*/
.blueText {
    color: white;
    text-shadow: 0 0 5px #0199ff;
    font-family: 'Press Start 2P', cursive;
}

.blueTextGlow:hover {
    color: #0199ff;
    text-decoration: none;
    animation: pulseBlueHover 2s infinite;
}

.redText {
    color: white;
    text-shadow: 0 0 5px #ff0101;
    font-family: 'Press Start 2P', cursive;
}

.redTextGlow:hover {
    color: #ff0101;
    text-decoration: none;
    animation: pulseRedHover 2s infinite;
}
 /*#endregion*/

/*#region: Content*/
#content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 20px;
    margin-inline: auto;
    width: clamp(0px, 95%, 1600px);
}

#content #sidebar {
    flex-grow: 1;
}

#content #inner-content {
    flex-grow: 3;
    margin-bottom: 30px;
    overflow: auto;
}

#inner-content {
    overflow-x: hidden !important;
}
/*#endregion*/

/*#region: Disclaimers*/
.disclaimer {
    color: white;
    text-shadow: 0 0 5px black;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
    padding: 10px 0px;
    margin: 20px auto;
    width: 100%;
    border-radius: 30px;
}

#admin_disclaimer {
    background-color: rgba(255, 0, 0, 0.2);
}

#article_disclaimer, #project_disclaimer {
    background-color: rgba(0, 255, 0, 0.2);
}

#article_disclaimer p, #project_disclaimer p {
    font-family: 'Lemonada', cursive;
    margin: 0px 20px;
}

div:has(#article_disclaimer_button), div:has(#project_disclaimer_button) {
    width: 80%;
    text-align: right;
}

.disclaimer_button {
    width: 80%;
    text-align: right;
    margin: auto;
}

#article_disclaimer_button, #project_disclaimer_button {
    background: none;
    color: inherit;
    border: 2px solid black;
}

#article_disclaimer_button:hover, #project_disclaimer_button:hover {
    cursor: pointer;
}
/*#endregion*/

/*#region: Page Title*/
.pageHeader {
    font-family: 'Press Start 2P', cursive;
    line-height: 1.2;
    font-size: clamp(25px, 4vw, 40px);
    -webkit-text-fill-color: rgba(0,0,0,0);
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
    color:white;
    text-align: center;
}

.categoryDescription {
    color: white;
    font-size: 14px;
    font-family: 'Syncopate', sans-serif;
}
/*#endregion*/

/*#region: Pagination*/
#pagination {
    display: flex;
    justify-content: center;
}

#pagination-current {
    cursor: pointer;
    background-color: black;
    color: gold !important;
}

#pagination a {
    font-size: 10px;
    text-align: center;
    color: white;
    text-shadow: 0 0 3px #ff0101;
    font-family: 'Press Start 2P', cursive;
    text-decoration: none;
    border: 2px solid black;
    padding: 8px;
    margin: 3px;
    display: inline-table;
}

.pagination-edge {
    width: 50px !important;
}

#pagination a:hover {
    border: 2px solid gold;
}

@media screen and (max-width: 1200px) {
    .pagination-edge {
        display:none !important;
    }

}
/*#endregion*/

/*#region: Responsive*/
@media screen and (max-width: 900px) {
    #content {
        margin-top: 0px;
        flex-direction: column;
    }
}
/*#endregion*/