/**
 * 98.css
 * Copyright (c) 2020 Jordan Scales <thatjdanisso.cool>
 * https://github.com/jdan/98.css/blob/master/LICENSE
 */

:root {
  /* Color */
  --surface: #c0c0c0;
  --button-highlight: #ffffff;
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
  --dialog-blue: #000080;
  --dialog-blue-light: #1084d0;
  --link-blue: #0000ff;

  /* Spacing */
  --element-spacing: 8px;
  --grouped-button-spacing: 4px;
  --grouped-element-spacing: 6px;
  --radio-width: 12px;
  --checkbox-width: 13px;
  --radio-label-spacing: 6px;

  /* Some detailed computations for radio buttons and checkboxes */
  --radio-total-width-precalc: 12px + 6px;
  --radio-total-width: 18px;
  --radio-left: -6px;
  --radio-dot-width: 4px;
  --radio-dot-top: 4px;
  --radio-dot-left: -14px;

  --checkbox-total-width-precalc: 13px +
    6px;
  --checkbox-total-width: 19px;
  --checkbox-left: -7px;
  --checkmark-width: 7px;
  --checkmark-top: 3px;
  --checkmark-left: 3px;

  /* Borders */
  --border-width: 1px;
  --border-raised-outer: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff;
  --border-raised-inner: inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  --border-sunken-outer: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a;
  --border-sunken-inner: inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;

  /* Field borders (checkbox, input, etc) flip window-frame and button-shadow */
  --border-field: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
}

@font-face {
	font-family: pixel_operator;
	src: url("../home page/PixelOperator.ttf"), format('ttf');
	font-style: normal;
	}

body {
  font-family: pixel_operator, monospace;
  background: url(gridBackground.png);
  background-repeat: no-repeat;
  background-size: cover;
}

/*
.book {
  border: 7px solid black;
  background-color: white;
  border-radius: 15px;
  padding: 0 4px;
  width: 101vh;
  max-width: 100%;
  display: flex;
  justify-content: center;
}
*/

img {
    height: 82vh;
    border-radius: 15px;
  border: 7px solid black;
}

.backnext {
  height: 40px;
  align-content: center;
  border: none;
}

.buttonCol {
  margin: 5px;
  align-content: center;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

u {
  text-decoration: none;
  border-bottom: 0.5px solid #222222;
}

button {
  box-sizing: border-box;
  border: none;
  background: #c0c0c0;
  box-shadow: inset -1px -1px #0a0a0a,
    inset 1px 1px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  border-radius: 0;

  min-width: 35px;
  max-height: 50px;
  padding: 12 12px;
  align-content: center;
}

button:not(:disabled):active {
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #0a0a0a, inset -2px -2px #dfdfdf,
    inset 2px 2px #808080;
}

button:focus {
  outline: 1px dotted #000000;
  outline-offset: -4px;
}

:disabled {
  color: #808080;
  text-shadow: 1px 1px 0 #ffffff;
}

:disabled + label {
  color: #808080;
  text-shadow: 1px 1px 0 #ffffff;
}

.window {
  box-shadow: inset -2px -2px rgb(37, 48, 37),
    inset 2px 2px #ffffff, inset -2px -2px #808080,
    inset 2px 2px #dfdfdf;
  background: url(backgroundLake.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 3px;
  width: 100%;
  margin: auto;
  margin-top: 50px;
  margin-bottom: -50px;
  
}

.title-bar {
  background: rgb(61, 84, 61);
  padding: 2px;
  height: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-bar-text {
  font-weight: bold;
  color: white;
  letter-spacing: 0;
  margin-right: 24px;
  margin-left: 10px;
}

.title-bar-controls {
  display: flex;
}

.title-bar-controls button {
  padding: 0;
  display: block;
  min-width: 20px;
  min-height: 20px;
}

.title-bar-controls button:focus {
  outline: none;
}

.title-bar-controls button[aria-label="Close"] {
  margin-left: 2px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='8' height='7' viewBox='0 0 8 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H1H2V1H3V2H4H5V1H6V0H7H8V1H7V2H6V3H5V4H6V5H7V6H8V7H7H6V6H5V5H4H3V6H2V7H1H0V6H1V5H2V4H3V3H2V2H1V1H0V0Z' fill='black'/%3E %3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 13px;;
  background-position: center;
}

.window-body {
  margin: 8px;
  display: flex;
  justify-content: center;
}


input[type="text"] {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

select {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

textarea {
  padding: 3px 4px;
  border: none;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  background-color: #ffffff;
  box-sizing: border-box;
}

input[type="text"],
select {
  height: 21px;
}

input[type="text"] {
  /* For some reason descenders are getting cut off without this */
  line-height: 2;
}

a {
  color: #0000ff;
}

a:focus {
  outline: 1px dotted #0000ff;
}


pre {
  display: block;
  background: #ffffff;
  box-shadow: inset -1px -1px #ffffff,
    inset 1px 1px #808080, inset -2px -2px #dfdfdf,
    inset 2px 2px #0a0a0a;
  padding: 12px 8px;
  margin: 0;
}

code,
code * {
  font-family: monospace;
}

summary:focus {
  outline: 1px dotted #000000;
}
