:root {
                --body-bg-image: url('img/blank.png');
            }

            @font-face {
                font-family: "Averia Sans Libre";
                src: url('font/AveriaSansLibre-Regular.ttf');
            }

            @font-face {
                font-family: "Averia Sans Libre";
                src: url('font/AveriaSansLibre-Bold.ttf');
                font-weight: bold;
            }

            @font-face {
                font-family: "Averia Sans Libre";
                src: url('font/AveriaSansLibre-Italic.ttf');
                font-style: italic;
            }

            @font-face {
                font-family: "Averia Sans Libre";
                src: url('font/AveriaSansLibre-Italic.ttf');
                font-style: italic;
                font-weight: bold;
            }

            body {
                background-color: #08031A; /* scrollbar color */
                background-size: 100% 100%;
                background-attachment: fixed; 
                background-image: var(--body-bg-image);
            }

            * {
                box-sizing: border-box;
            }

/* Layouts for Pages */
.navbar { grid-area: header; }
.leftSidebar { grid-area: left; }
.rightSidebar { grid-area: right; }
.main1 { grid-area: main1; }
.main2 { grid-area: main2; }
.main3 { grid-area: main3; }
.main4 { grid-area: main4; }
footer { grid-area: footer; }

.parentwarning {
	max-width: 1500px;
	margin: 0 auto;
	grid-gap: 10px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.parent {
	display: grid;
	grid-template:
		'header header header header header'
		'left main1 main1 main1 right'
		'left main2 main2 main2 right'
		'footer footer footer footer footer';
	max-width: 1500px;
	margin: 0 auto;  
	grid-gap: 10px;
}

.parentaboutme {
	display: grid;
	grid-template:
		'header header header header header'
		'left main1 main1 main1 right'
		'left main2 main2 main2 right'
		'left main3 main3 main3 right'
		'left main4 main4 main4 right'
		'footer footer footer footer footer';
	max-width: 1500px;
	margin: 0 auto;  
	grid-gap: 10px;
}

.parentcontent {
	display: grid;
	grid-template:
		'header header header header header'
		'left main1 main1 main1 right'
		'footer footer footer footer footer';
	max-width: 1500px;
	margin: 0 auto;  
	grid-gap: 10px;
}

/* For warning page */
.mainwarning {
	background-color: #293b33;
	padding: 20px 40px;
	border-radius: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	text-align: center;
	flex-direction: column;
	width: 57%;
}

.mainwarning h1 {
    margin-top: 0;
    margin-bottom: 0;
}

.mainwarning p {
    margin-top: 10px;
    margin-bottom: 10px;
}

#buttonwarning {
    margin-bottom: 10px;
	margin-top: 15px;
    padding: 0px 87px;
	padding-bottom: 2px;
	list-style-type: none;
	background-color: #8ABFA6;
    border: none;
    border-radius: 10px;
    height: 40px;
}

#buttonwarning:hover {
	background-color: #658C7A;
}

#buttonwarning a {
	color: #0E1411;
	font-weight: 800;
	text-decoration: none;
	font-size: 22px;
	font-family: "Averia Sans Libre";
}

/* Fonts and Text */
hr {
	background-color: #8ABFA6;
	border: none;
	height: 1px;
	width: 290px;
}

h1, h2, h3 {
	color: #8ABFA6;
	font-family: "Averia Sans Libre";
}

h1 {
	font-size: 25px;
	text-align: center;
}
            
p {
	color: #8ABFA6;
	font-size: 18px;
	font-family: "Averia Sans Libre";
	line-height: 25px;
}

/* Navbar */
.navbar {
    height: 75px;
    background-color: #293b33;
    border-radius: 10px;
    display: flex;
    align-items: center;
	justify-content: flex-start;
	padding: 0 20px;
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
	width: 100%;
}

.navbar .navlinks {
    display: flex;
    gap: 10px;
    margin: 0 auto;
}

.navlogo {
    margin-left: 8px;
}

.navbutton {
    background-color: #8ABFA6;
    color: #0E1411;
    font-weight: 800;
    text-decoration: none;
    font-size: 18px;
    font-family: "Averia Sans Libre";
    padding: 8px 30px;
    border-radius: 10px;
    margin-left: 15px;
}

.navbutton:hover {
    background-color: #658C7A;
}

.navbar img {
    max-height: 50px;
    width: auto;
}

/* Middle Part - mainChat and mainWip */
.main1,
.main2,
.main3,
.main4,
.main5 {
    background-color: #293b33;
    border-radius: 10px;
    padding: 20px 50px;
}

.main1 h1,
.main2 h1,
.main3 h1,
.main4 h1,
.main5 h1 {
    margin-top: 0;
    margin-bottom: 0;
}

.main1 p,
.main2 p,
.main3 p,
.main4 p,
.main5 p {
    margin-top: 10px;
    margin-bottom: 10px;
}

.main1 {
	text-align: justify;
	hyphens: auto;
	max-width: 900px;
    margin: 0 auto;
}

.main2 {
	text-align: left;
}

.main1 table, th, td,
.main2 table, th, td {
	font-family: "Averia Sans Libre";
	table-layout: fixed;
}

.main1 table,
.main2 table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 10px;
	margin-top: 20px;
}

.main1 th,
.main2 th {
	padding: 10px;
	height: auto;
	border-bottom: 2px solid #293b33;
	background-color: #8ABFA6;
	color: #0E1411;
	font-size: 18px;
	text-align: center;
}

.main2 td {
	padding: 10px 20px;
	height: auto;
	border-bottom: 1px solid #8ABFA6;
	color: #8ABFA6;
	font-size: 18px;
	text-align: justify;
}

.main1 td {
	padding: 10px 20px;
	height: auto;
	border-bottom: 1px solid #8ABFA6;
	color: #8ABFA6;
	font-size: 18px;
	text-align: center;
}

#tableimportant {
	border-radius: 10px 0 0 0;
	border-right: 2px solid #293b33;
}

.main1 #tableimportant {
	width: 35%;
}

#tablelink {
	color: #8ABFA6;
	text-decoration: none;
}

#tablelink:hover {
	color: #658c7a;
}

#tablesec {
	border-radius: 0 10px 0 0
}

#tableline {
	border-right: 2px solid #8ABFA6;
}

/* Sidebars - leftSidebar and rightSidebar */
.leftSidebar,
.rightSidebar {
    background-color: #293b33;
	color: #8ABFA6;
    padding: 20px;
    width: 340px;
	border-radius: 10px;
	font-family: "Averia Sans Libre";
    display: flex;
    flex-direction: column;
	gap: 20px;
}

.rightSidebar {
	height: auto;
}

.rightSidebar a {
	color: #8ABFA6;
	text-decoration: none;
	font-size: 25px;
}

.rightSidebar a:hover {
	color: #658c7a;
}

.rightSidebar ul {
	list-style: none;
	padding-left: 0;
	line-height: 2;
	text-align: center;
	font-weight: bold;
}

.leftSidebar h1,
.rightSidebar h1 {
	margin-top: 0;
    margin-bottom: 0;
}

.rightsidebarcenter {
	margin: 0 auto;
}

.rightsidebarmail {
	margin: 0 auto;
	margin-bottom: -20px;
}

/* Statuscafe and Scrollboxes */
#statuscafe {
    padding: 0.8em;
    border: 2px solid #8ABFA6;
}

#statuscafe-username {
    margin-bottom: 0.5em;
	text-align: center;
	font-weight: bold;
}

#statuscafe-username a {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

#statuscafe-content {
    margin: 0 1em 0em 1em;
    line-height: 25px;
	text-align: justify;
}

#statuscafe-username,
#statuscafe-username a,
#statuscafe-content {
	font-size: 18px;
}

.scrollboxupdates {
	height: 28%;
	width: 100%;
	padding: 0 15px;
    border: 2px solid #8ABFA6;
    overflow-y: auto;
    scrollbar-color: #8ABFA6 #293b33;
    text-align: justify;
}

.scrollboxcurrent {
	height: 28%;
	width: 100%;
	padding: 0 15px;
    border: 2px solid #8ABFA6;
    overflow-y: auto;
    scrollbar-color: #8ABFA6 #293b33;
    text-align: justify;
}

.scrollboxmain {
	max-height: 250px;
	overflow-y: auto;
	padding: 0 15px;
    border: 2px solid #8ABFA6;
    scrollbar-color: #8ABFA6 #293b33;
	margin-bottom: 10px;
	margin-top: 20px;
}

.scrollboxmainwidth {
	min-width: 220px;
}

.scrollboxmainrow {
	display: flex;
	gap: 20px;
}

/* FAQ */
.collapse {
    background-color: #293b33;
    border: 2px solid #8ABFA6;
    padding: 0;
    margin: 20px 0;
    color: #8ABFA6;
    font-family: "Averia Sans Libre";
}

.collapse summary {
    cursor: pointer;
    padding: 12px 18px;
    font-size: 20px;
    font-weight: bold;
    list-style: none;
    outline: none;
}

.collapse summary::after {
    content: "⯈";
    float: right;
    transition: transform 0.2s ease;
}

.collapse[open] summary::after {
    transform: rotate(90deg);
}

.collapse p,
.collapse ul {
    margin: 0;
    padding: 0 18px 18px 18px;
    font-size: 18px;
    line-height: 25px;
}

/* Footer */
footer {
	background-color: #293b33;
	height: 30px;
	padding: 4px;
	color: #8ABFA6;
	font-family: "Averia Sans Libre";
	text-align: center;
	border-radius: 10px;
}

/* Imgs and links*/
#khatpop {
	width: 80%;
	margin: 0 auto;
	margin-bottom: -30px;
}

.socialsrow img,
a img.socials {
    width: 25px;
    height: auto;
    display: inline-block;
}

.socialsrow {
    display: flex;
    justify-content: center;
    gap: 20px;
	margin-top: -30px;
	margin-bottom: -30px;
}

.socials {
	width: 10%;
}

.socials:hover{
	filter: brightness(70%);
}

/* YouTube */

.thumbnail {
  margin: 0 auto;
  transition: transform 0.2s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.thumborder {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.thumborder img {
  width: 100%;
  display: block;
}

.toc {
	border: 2px solid #8ABFA6;
	padding: 0;
}

/* Stream Commands */
.outfitpics {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: flex-end;
	gap: 10px;
	margin-top: 20px;
}

.outfitpics img {
	width: 50%;
	margin: 0 auto;
	margin-bottom: 20px;
}

.outfitpics img:hover {
	transform: scale(1.05);
	transition: 0.3s;
}

#credits h1,
#credits p {
	text-align: center;
}

.creditsrow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.creditsrow .creditstxt {
    text-align: center;
}

.creditstxt a {
    color: inherit;
    text-decoration: none;
}

.creditstxt a:hover {
    color: #658C7A;
}

/* Gallery */
.gallery {
	display: grid;
    grid-template-columns: repeat(3, 1fr);;
	gap: 15px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.gallery a {
	color: #8ABFA6;
	text-decoration: none;
	font-size: 25px;
}

.gallery a:hover {
	color: #658c7a;
}

.thumb {
	width: 100%;
	cursor: pointer;
	transition: 0.3s;
}

.thumb:hover {
	transform: scale(1.05);
	transition: 0.3s;
}

#comms p {
	text-align: center;
}

#comms ul {
	color: #8ABFA6;
	list-style: none;
	position: relative;
}

#comms li::before {
	content: '▶';
	position: absolute;
	left: 0;
}