/* appliedmetaprojects */
/* text-rendering: optimizeLegibility; */

html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}

@font-face {
  font-family: 'sligoil';
  src: url('../fonts/Sligoil-Micro.woff');
  src: url('../fonts/Sligoil-Micro.woff2') format('woff2'),
  url('../fonts/Sligoil-Micro.woff') format('woff'),
  url('../fonts/Sligoil-Micro.ttf') format('truetype'),
  font-weight: normal;
  font-style: normal;
}

body
{
	background-color: #FFFFFF;
  margin: 0 !important;
  padding: 0 !important;
}

*
{
	font-family: 'sligoil', monospace;
  font-weight: normal;
}

body, * {
  cursor: url('data:image/svg+xml,\
    <svg xmlns="http://www.w3.org/2000/svg" \
         width="10" \
         height="10" \
         viewBox="0 0 10 10">\
      <circle cx="5" \
              cy="5" \
              r="5" \
              fill="000000">\
      </circle>\
    </svg>'), auto;
}

.blb{
  height: 720px;
  overflow: hidden;
  background-color: black;
}

.content {
  max-width: 990px;
  margin: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
  width: fit-content;
}

.container{
  width: fit-content;
}

#impossible{
  width: 960px;
  height: 720px;
  background-color: lightgrey;
  text-align:center;
  display: table-cell; 
  vertical-align: middle;
}

.picture {
  /* Set the parent container to be responsive */
  width: 100%;
  max-width: 960px; /* Adjust the maximum width as needed */
  height: auto; /* The height will be automatically adjusted according to the aspect ratio */
}

.picture svg {
  width: 100%;
  height: 100%;
  fill: #2a2933;
}

.picture svg:hover {
  fill: #0041bd;
}

/* ///// COLLAPSIBLE CODE STYLING STARTS HERE ///// */

input[type='checkbox'] {
  display: none;
}

.collapsible-content {
  max-height: 0px;
  overflow: hidden;
  transition: max-height .25s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
  max-height: 2000px; /* Adjust this value as needed, it must be high enough to fit all the code lines */
  /* Note: not all browsers are capable of adjusting the height of the code block according to its content */
  /* That's why we need to set an arbitrary, super-high value */
}

.collapsible-content .content-inner {
  background: #faf9f4;
  padding: .5rem 1rem;
}

/* Container for the "See code" label and "Copy code" button */
.button-container {
  display: flex; /* Align items horizontally */
  align-items: stretch; /* Stretch items to fill the container height */
  background: #f2f2f2; /* Match the background color of the buttons */
  border-radius: 4px; /* Optional: Add rounded corners for a polished look */
  overflow: hidden; /* Ensure child elements don't overflow the container */
}

/* Style for the "See code" label */
.lbl-toggle {
  flex-grow: 1; /* Allow the label to take up remaining space */
  padding: 1rem;
  text-align: left;
  color: #0042bd; /* Match the "See code" button text color */
  background: #f2f2f2; /* Match the background color */
  cursor: pointer;
  transition: all 0.25s ease-out;
  border: none; /* Remove default button border */
  margin: 0; /* Remove default margin */
}

.lbl-toggle:hover {
  color: hotpink; /* Match the hover effect */
}

/* Style for the "Copy code" button */
.copy-code-btn {
  padding: 1rem;
  background: #f2f2f2; /* Match the background color */
  color: #0042bd; /* Match the text color */
  border: none;
  cursor: pointer;
  font-family: inherit; /* Match the font */
  font-size: inherit; /* Match the font size */
  transition: all 0.25s ease-out;
  margin: 0; /* Remove default margin */
}

.copy-code-btn:hover {
  color: hotpink; /* Match the hover effect */
}

.wrap-collabsible {
  margin-bottom: 1.2rem 0;
}

/* ///// COLLAPSIBLE CODE STYLING STOPS HERE ///// */


/* A code block that's not collapsible */
.code-container {
    width: 100%; /* Ensure the container takes the full width */
    overflow-x: auto; /* Add horizontal scroll if needed */
    background: #faf9f4;
    padding: .5rem 1rem;
}

h1
{
  color: #2a2933;
  font-size: 60pt;
  text-align: left;
}

h2
{
  color: #2a2933;
  font-size: 36pt;
  text-align: left;
}

h3
{
  color: #2a2933;
  font-size: 24pt;
  text-align: left;
}

p, li
{
	font-size: 20pt;
	text-align: left;
	color: #17171a;
}

pre
{
  font-size: 12pt;
  color: #17171a;
  white-space: pre-wrap; /* Make the text wrap */
  word-wrap: break-word; /* Break long words if necessary */
  margin: 0; /* Remove default margin */
}

h2+li
{
	font-size: 24pt;
	text-align: justify;
	color: #17171a;
}

.thumb{
  max-width: 100%;
  height: auto;
}

/* unvisited link */
a:link {
  color: #0042bd;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: #0042bd;
  text-decoration: none;
}

/* mouse over link */
a:hover {
  color: hotpink;
  text-decoration: none;
}

/* selected link */
a:active {
  color: blue;
  text-decoration: none;
}

#footertext
{
    overflow: hidden;
}

.footertext
{
	font-size: 8 pt;
	text-align: left;
  max-width: 960px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.nextprojects
{
  text-align: right;
}

@media only screen and (max-width: 960px) {
  .content {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    width: fit-content;
  }

  h1{
    font-size:8vw;
  }

  h2{
    font-size:7vw;
  }

  h3{
    font-size:6vw;
  }

  p, li{
    font-size: 5vw;
    text-align: left;
  }

  pre{
    font-size: 3vw;
  }

  .content img{
    width:100%;
  }
}
