
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@700&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

document, body {
  padding: 0;
  margin: 0;
  background-color: rgb(211, 200, 185);
  font-family: "Open Sans", sans-serif;  
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

h1, h2 {
  margin: 0;
  padding: 0;
  /* font-size: 1.2em; */
  font-weight: lighter;
}

h1 {
  text-transform: uppercase;
  letter-spacing: 0.25rem;
  word-spacing: 0.5rem;
  font-weight: 100;
  color:  #ADD8E6;
}

#content {
  margin: 10px;
  padding: 10px;
  background-color: rgb(240, 74, 40);
  border: dotted 10px #808;
}

.minor-section {
  padding: 10px;
  border: dotted 10px #f0f086;
  border-radius: 10px;
  background-color: rgb(225, 225, 205);
  margin-bottom: 10px;
}

.minor-section h2 {
  font-size: 1.2em;
}

/* Set the image to be responsive */
.image-wrapper img {
  height: auto;
  transform: translateX(90px);
  margin-left: auto;
  margin-right: auto;
  position: center;
}

/* Set the canvas element to be the full size of the container */
canvas {
  width: 100%;
  height: 100%;
}

.fullscreen-box {
  display: flex;
  justify-content: flex-end; /* Aligns the button to the right */
  margin-top: 0.25em;
}

.fullscreen-box button {
  font-size: 0.6em;
}

body.is-fullscreen #canvas-container {
  position: fixed; /* Use 'fixed' instead of 'absolute' to ensure it covers the entire screen */
  top: 0;
  left: 0; /* Add 'left: 0' to align it properly to the top-left corner */
  width: 100vw !important;
  height: 100vh !important;
  margin: 0; /* Remove any default margins */
  z-index: 1000; /* Ensure it's above other content */
}

/* Columns - this was originally for the homepage, but I found it useful for other pages as well. */

.two-column {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.two-column>* {
  min-width: 350px;
}

.two-column>*:nth-child(1) {
  flex: 1;
}

.two-column>*:nth-child(2) {
  flex: 1;
}