/*fonts and housekeeping*/
@font-face {
  font-family: 'witch';
  src: url('fonts/witch.ttf') format('truetype');
  }
@font-face {
  font-family: 'cherish';
  src: url('https://gloomys-stat-calculator.neocities.org/fonts/cherish.ttf') format('truetype');
  }

#flex {
  display: flex;
}

/*headers*/
header {
    text-align: center;
    margin: 0 auto;
}

.headimg {
  position: absolute; 
  top: 140PX; 
  right: 280px;
}

/*this is currently unused but will be for the navbar*/
.sitemap {
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

/*footers and things at the bottom*/
.footer {
  text-align: center;
  padding: 10px;
}

/*the main things*/
body {
  cursor: url("Cursors/cursor32.png"), auto;
  background: url("background.png");
  background-attachment: fixed;
  display: flex;
  padding: 15px;
	flex-direction: column;
	justify-content: center;
  align-items: center;
  text-align: center;
  font-family: 'witch';
  font-size: 18px;
}

.iframewarn{
  font-size: 14px;
}
main {
  width: 700px;
  flex: 1;
  padding: 20px;
  order: 2;
}

#container {
  max-width: 90%;
  margin: 0 auto;
}

/*various section types*/
#leftSidebar {
  order: 1;
  width: 250px;
  padding: 20px;
  font-size: smaller;
}

#rightSidebar {
  order: 3;
  width: 250px;
  padding: 20px;
  font-size: smaller;
}

.section {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
  
/*to center any div without any other class type*/
.center {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  }

/*specifically for tables*/
table { 
  width: 90%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

th {
   border-style: hidden;
}

td {
   border-style: hidden;
}


/* the referenced "a" here is for links*/
a {
  text-decoration: none;
  cursor: url("Cursors/sleepy32.png"), pointer;
  color: #7d97f0;
  font-weight: 400;
}
a:hover {
  text-decoration: underline;
  color: #708be6;
}
a:visited {
color: #c6a2f5;
}
a:active {
  color: #c6a2f5;
}

button {
  cursor: url("Cursors/sleepy32.png"), pointer;
  color: #303b63;
  text-align: center;
  font-family: witch;
  background-image: url("NSO_Windows/button.png");
  border-color: #2b2c54;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 1rem;
  width: auto;
  max-width: 90%;
}

/*active is basically "onclick"*/
button:active {
  color: #141a2e;
  background-image: url("NSO_Windows/button_pressed.png");
}

details {
	margin-bottom: 20px;
	width: 100%;
}

summary {
	padding: 22px;
	text-align: center;
	background-color: #9fb6ce;
	background-image: url("NSO_Windows/windowtop.png");
	background-size: cover;
  background-repeat: no-repeat;
	border: transparent;
	outline: none;
	font-size: 1.2rem;
}

details[open] summary {
	background-image: url("NSO_Windows/windowtop.png");
	background-size: cover;
	border: transparent;
	outline: none;
}

details[open] {
	background: #fff;
	padding-bottom: 15px;
}

.container {
  padding-top: 24px;
  width: 80%;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

input:hover {
  cursor: url("Cursors/sleepy32.png"), text;
  border-radius: 0;
}

iframe {
  width: 100%;
  height: 600px;
}