@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic:wght@400&display=swap');

/* Default colors (Light mode) */
:root {
        --bodyfont: 'Special Gothic', sans-serif;
        --headerfont: 'Spectral', serif;
        --titlefont: serif;
        
        --color: #1F1F1F;
        --background: #ECE9DF;
        
        --link: #036A96;
        
        --formbg: #FFFBEB;
        --formcolor: #1F1F1F;
        
        --accentbg: #ECE9DF;
        --hr: #6C664B;
        --bullets: "\2670";
        
        --titlebg: #DEDCCF;
        --boxbg: #FFFBEB;

        --red: #CB3A2A;
        --orange: #A34D14;
        --yellow: #846E15;
        --green: #14710A;
        --cyan: #036A96;
        --purple: #644AC9;
        --pink: #A3144D;
        
}

/* Alternate colors (Dark mode) */
@media (prefers-color-scheme: dark) {
:root {
        --bodyfont: 'Special Gothic', sans-serif;
        --headerfont: 'Spectral', serif;
        --titlefont: serif;
        
        --color: #F8F8F2;
        --background: #191A21;
        
        --link: #8BE9FD;
        
        --formbg: #282A36;
        --formcolor: #F8F8F2;
        
        --accentbg: #21222C;
        --titlebg: #282A36;
        --boxbg: #191A21;
        --hr: #6272A4;

        --red: #FF5555;
        --orange: #FFB86C;
        --yellow: #F1FA8C;
        --green: #50FA7B;
        --cyan: #8BE9FD;
        --purple: #BD93F9;
        --pink: #FF79C6;
    }
}

/* ------ The rest of the code starts here ------- */

* { margin: 0; padding: 0;}
img { margin:5px; max-width:100%; }

body { 
    color:var(--color);
    background:var(--background);
    font: 1.05rem 'Special Gothic', sans-serif;
    letter-spacing:.5px;
}

main {
    padding:5px;
    width:calc(90% - 40px);
    background: none;
    max-width:1100px;
    margin:auto;
}

a {
    color:var(--link);
}

a:hover {
    color: var(--linkhover);
}

li a {
    text-decoration:underline;
}

p {
    margin:10px 0px 10px 0px;
    line-height:1.7;
    padding: 5px;
}

main h1 {
    font-size: 1.6em;
    font-family: var(--headerfont);
    margin:5px 0 5px 0;
    padding: 5px;
    background:  var(--titlebg);
}

main h2 {
    margin:10px 0 10px 0;
    font-size: 1.6em;
    font-family: var(--headerfont);
    padding: 5px;
    background:  var(--titlebg);
    
}

main h3 {
    margin:5px 0 5px 0;
    font-size: 1.6em;
    font-family: var(--headerfont);
    background:  var(--titlebg);
    padding: 5px;
}

main h4 {
    font-size: 1.6em;
    font-family: var(--headerfont);
    margin:5px 0 20px 0;
    opacity: 0.8;
}

main input, textarea, select, button { 
    background: var(--formbg);  
    color: var(--formcolor);
    font: 1rem sans-serif; 
    border: 1px solid var(--hr); 
    padding: 5px; 
    margin: 5px;
    border-radius:5px;
}

main textarea {
    width:100%;
}


  .module {
  --notchSize: 20px;
  clip-path: 
    polygon(
      0% var(--notchSize), 
      var(--notchSize) 0%, 
      calc(100% - var(--notchSize)) 0%, 
      100% var(--notchSize), 
      100% calc(100% - var(--notchSize)), 
      calc(100% - var(--notchSize)) 100%, 
      var(--notchSize) 100%, 
      0% calc(100% - var(--notchSize))
    );
}


input[type="submit"], input[type="reset"] {
    font-size:1rem;
    background:var(--accentbg);
}

input[type="submit"]:hover, input[type="reset"]:hover {
    background:var(--hr);
    cursor:pointer;
}

#myInput {
  background-repeat: no-repeat;
  width: 100%;
  padding: 12px 20px 12px 40px;
  margin-bottom: 5px;
}

main table {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  border: 1px hidden;
}

th, td {
  text-align: left;
  padding: 10px;
  border: 1px hidden;
} 

tr:nth-child(even) {
  background-color: var(--boxbg);
}

main ul, ol { 
    list-style-position: outside;
    margin: 8px 0 8px 10px;
}

main li {
    margin:5px 0 5px 0;
    line-height:1.5;
}

main ul li ul, main ol li ol {
    margin-left:5px;
}

main blockquote {
    padding:10px;
    border-left:10px solid var(--titlebg);
    background:var(--boxbg);
}


main blockquote cite {
    font-size:0.95em;
    position:relative;
    right:0;
}

main summary {
    cursor:pointer;
    margin: 5px 0px 5px 0px;
}

main details {
    padding: 9px;
    margin:3px 0 5px 0;
}

main hr {
    border:3px dotted var(--hr);
    margin:20px auto 20px auto;
}

main pre {
    padding:10px;
    background:var(--accentbg);
    margin:10px auto 10px auto;
    border-radius:5px;
    overflow:auto;
}

main footer {
    text-align:center;
    margin-top:10px;
    padding:5px;
    border-radius: 5px;
    background: none;
}

  ul.crossbullets {
  list-style: none;
}

ul.crossbullets li::before {
  /* look up 'css code symbols' for more symbols */
  content: var(--bullets);
  color: var(--hr);
} 


* {
  box-sizing: border-box;
}

.box {
  background: var(--boxbg);
  padding: 9px;
}

/* Textbox */
  .scrollbox {
  background: var(--boxbg);
  padding: 5px;
  max-height: 250px;
  overflow: auto;
  }
  
/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 7px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }

@media (prefers-color-scheme: dark)
}