:root {
    --header-image: url("assets/OotFG.png");

    /* colors */
    --orange: rgba(255, 146, 38, 0.8);
    --orangebright: rgba(255, 146, 38, 1);
    --maroon: #2c1300;
    --white: #ffffff;
    --black: #000000;
    --gray: #09122c;

    --content: var(--orange);
    --content_bg: var(--maroon);
}

@font-face {
    font-family: Eurostile;
    src: url("fonts/eurostile.ttf");
}

body {
    font-family: "Eurostile", sans-serif;
    margin: 0;
    background-color: var(--maroon);
    color: var(--content);
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

/* below this line is CSS for the layout */

/* the "container" is what wraps your entire website */
/* if you want something (like the header) to be Wider than
    the other elements, you will need to move that div outside
    of the container */
#container {
    /* this is the width of your layout! */
    /* if you change the above value, scroll to the bottom
      and change the media query according to the comment! */
    margin: 0 auto;
    /* this centers the entire page */
}

/* the area below is for all links on your page
    EXCEPT for the navigation */
#container a {
    color: var(--orangebright);
    font-weight: bold;
    text-decoration: underline;
}
#container a:visited {
    color: var(--orangebright);
}
#container a:hover {
    color: var(--white);
    text-decoration: underline dotted;
}

#header {
    width: 100%;
    background-color: #5e4e8c;
    height: 90px;
    background-image: var(--header-image);
    background-size: 90px;
    background-position: 50%;
}

/* navigation section!! */
#navbar {
    height: 40px;
    background-color: var(--maroon);
    /* navbar color */
    width: 100%;
    border: 2px solid var(--orange);
    border-left: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
    text-align: center;
	font-size:18px;
}

#navbar li {
    padding-top: 10px;
}

/* navigation links*/
#navbar li a {
    color: var(--orangebright);
    /* navbar text color */
    font-weight: 800;
    text-decoration: none;
    /* this removes the underline */
}

/* navigation link when a link is hovered over */
#navbar li a:hover {
    color: var(--orange);
    text-decoration: underline;
}

			/* footer link formatting*/
			 #footer a{
                color: var(--orangebright);
                font-weight: 800;
                text-decoration: none;
            }
			
			#footer a:hover {
                color: var(--orange);
                text-decoration: underline;
            }
            

.main-flexbox {
    display: flex;
}

.headerBox {
    display: flex;
    align-items: center;
    width: 250px;
	height:90px;
    background-color: var(--content_bg);
    border: 3px solid var(--orange);
	border-bottom:0px;
    padding: 10px;
}
.headerBox h1 {
    margin-top: 0;
}
.headerBox img {
    float: left;
    width: 60px;
    margin-right: 20px;
    align-items: center;
}
#galnotTitle{
	font-weight:bold;
	font-size:18px;
	margin:0;
}
#date {
    font-weight: bold;
    color: var(--white);
    font-size: 14px;
    margin-top: 0px;
}

aside {
    top: 10px;
    width: 325px;
    height: 100%;
    background-color: var(--maroon);
    font-size: smaller;
    position: sticky;
    order: 2;
	text-align:center;
}

#aside li {
	margin:auto;
}

/* All other links*/
a {
    color: white;
}

/* this is the color of the main content area,
    between the sidebars! */
#content {
    width: 75vw;
    background-color: var(--black);
    padding-top: 0px;
    order: 1;
    flex: 1;
}

/* what's this "order" stuff about??
    allow me to explain!
    if you're using both sidebars, the "order" value
    tells the CSS the order in which to display them.
    left sidebar is 1, content is 2, and right sidebar is 3! */

#leftSidebar {
	 margin-right: 10px;
	 margin-left:10px;
    order: 2;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #13092d;
    /* background color for footer */
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
	margin-top: 0px;
    border-top: 2px solid var(--orange);
    /* this centers the footer text */
}

h1,
h2 {
	font-size: 20px;
	color: var(--white);
	text-align: center;
	}
h3 {
    color: var(--white);
	text-align:center;
}

h1 {
    font-size: 25px;
}


strong {
    /* this styles bold text */
    color: var(--orange);
}

/* this is just a cool box, it's the darker colored one */
.box {
    background-color: black;
    border: 3px solid var(--orange);
    padding: 10px;
}

#container .articlelink {
	color: var(--white);
	font-weight:bold;
	line-height:15px;
}

#container .articlelink::before {
	background-image: url("https://rainbro.neocities.org/assets/galnetLogo.png");
	background-size:100% 100%;
	content: "";
	height:15px;
	width:20px;
	display:inline-block;
	margin: 0 2px -2px; 0;
}

#container .featuredlink {
	color: var(--orangebright);
	font-weight:bold;
	line-height:15px;
}

#container .featuredlink::before {
	background-image: url("https://rainbro.neocities.org/assets/galnetLogo.png");
	background-size:100% 100%;
	content: "";
	height:15px;
	width:20px;
	display:inline-block;
	margin: 0 2px -2px; 0;
}

/* quote box */
.quote {
    background-color: var(--black);
    border: 3px solid var(--orange);
	width:100%;
	display:flex;
	font-style:italic;
	flex-direction: column;
	padding:5px;
	
}

.quote a {
	color: var(--white);
	text-align: right;
	font-size: 18px;
	margin-top:5px;
}

.quote hr {width:100%}

.quote br { display:block; margin-top:10px; line-height:22px; }

article {
    background-color: var(--content_bg);
    border-right: 5px solid var(--orange);
    padding: 15px;
	min-height: 650px;
	height:100%;
}

.featured {
    background-color: black;
    padding: 10px;
    margin: auto;
	left:50%;
}
.featured #box {
	background-color:black;
}
/* CSS for extras */

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092d;
}

/*Cool smooth openy-closy thing by https://medium.com/@jgustavo.wd/solved-how-to-fully-animate-the-details-html-element-with-only-css-no-javascript-b7d32c53a9d7 */

summary {
  list-style-position: outside;
  margin-left: 30px;
  padding: 10px 10px 10px 20px;
  border-radius: 5px;
      -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


details {
 overflow: hidden;
}

div.content { ;
 box-sizing: border-box;
 padding: 0 10px;
 max-height: 0;
 overflow: hidden;
 border: 1px solid;
 background-color:black;
 transition: max-height 400ms ease-out, border 0ms linear;
}

details[open] + div.content {
 max-height: 800px; /* Set a max-height value enough to show all the content */ 
 border-color: var(--orange);
 transition: max-height 2000ms ease-in-out, border 0ms linear;
}


details[open] span::before {
 rotate: 90deg;
 transition: rotate 200ms ease-out;
}

details:hover {
  background: var(--maroon);
}

@keyframes fadeIn {
 0% {
   opacity: 0;
 }
 100% {
   opacity: 1;
 }
} 
/* BELOW THIS POINT IS MEDIA QUERY */

/* so you wanna change the width of your page? 
    by default, the container width is 900px.
    in order to keep things responsive, take your new height,
    and then subtrack it by 100. use this new number as the 
    "max-width" value below
    */

@media only screen and (max-width: 800px) {
    .main-flexbox {
        flex-wrap: wrap;
        flex-direction: column;
    }

    /* the order of the items is adjusted here for responsiveness!
      since the sidebars would be too small on a mobile device.
      feel free to play around with the order!
      */
    #content {
        order: 1;
		width:100%;
    }
	.article{
		border-right:0px;
	}

    #leftSidebar {
        order: 2;
        width: 100%;
        position: static;
		display:flex;
		        align-items:center;
				
        flex-direction: column;
		
    }

    #navbar ul {
        flex-wrap: wrap;
        flex-direction: column;
    }
    #navbar {
        height: 100%;
		border:0px;
		border-bottom: 2px solid var(--orange);
		padding-bottom:5px;

    }
	.headerBox {
	margin:auto;
}
}
