/* Place your CSS styles in this file */


body {
    background-color: cornflowerblue; 
    font-family: futura;
    max-width: 1000px;
    margin: auto;
}
/* as background-color --> tested: steelblue, royalblue, dodgerblue and cornflowerblue. Of which cornflowerblue and dodgerblue suit the best */

header {
    font-size: 300%; 
    text-align: center; 
    padding: 20px;
    /*color: #8B4513;*/
    color:  black;
}

h1, h2, h3, p, li, table {
    margin-left: 20px;
    color: black;
}

p {
    padding: 1rem; 
    text-align: justify;
    color: black;
}

a {color: black}

footer {
    /* background-color: #444; */
    background-color: #8B4513;
    padding: 10px;
    text-align: center;
    color: white;
    /* also tried position "sticky" */
    position: relative;
    width:100%;
    bottom:0;
}








/* table styles */

th {
    font-variant: small-caps;
}

table {
    font-size: 12px; padding: 1rem;
} 
table td {
    padding: 4px; 
    margin: 3px; 
    border: 1px solid #CCC; 
    background-color: #FFF;
}
table th {
    background-color: #8B4513; /* #104E8B before */
    color: #FFF; 
    font-weight: bold;
}





/* column and layout styles 


* {
  box-sizing: border-box;
}
*/
/* Create two equal columns that floats next to each other 
.column {
  float: left;
  width: 50%;
  padding: 0px;
}
*/
/* 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: 800px) {
  .column {
    width: 100%;
  }
}
*/




/* buttons */

button {
  background-color: #D2691E; /* alternatively: #D2691E or #8B4513 */
  border: none;
  border-radius: 8px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-family: futura;
  transition-duration: 0.4s;
  cursor: pointer;
/*  position: absolute;
  left: 50%;
  width: 250px;
  margin-left: -125px; */
}
button:hover {
  background-color: white;
  color: #D2691E; /* alternatively: #D2691E or #8B4513 */
}

.btn-group button {
  background-color: #D2691E; /* alternatively: #D2691E or #8B4513 */
  border: none;
  color: white;
  padding: 15px 32px;
  cursor: pointer;
  float: left; /* Float the buttons side by side */
}

.btn-group button:not(:last-child) {
  border-right: none; /* Prevent double borders */
}

/* Clear floats (clearfix hack) */
.btn-group:after {
  content: "";
  clear: both;
  display: table;
}

/* Add a background color on hover */
.btn-group button:hover {
  background-color: white;
  color: #D2691E; /* alternatively: #D2691E or #8B4513 */
}

.button {
  background-color: #D2691E; /* alternatively: #D2691E or #8B4513 */
  border: none;
  border-radius: 8px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  transition-duration: 0.4s;
  cursor: pointer;
  position: absolute;

width: min(max(250px), 40%);
  position: absolute;

    margin: 0;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}



.button:hover {
  background-color: white;
  color: #D2691E; /* alternatively: #D2691E or #8B4513 */
}




/* specific styles and classes */

.latstyle {font-variant: small-caps}
.myDiv {text-align: left; border: 15px solid #A52A2A; border-color: #A52A2A;  /*red*/ /* background-color: lightblue; */ background-color: #FF8C00; margin-bottom: 20px; ; margin-left: 20%; margin-right: 20%; font-size: 120%;li {margin-left: 47%;}}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}




/*columns*/
aside {
    float: right;
    width: 50%;
}
article {
    float: left;
    width: 50%;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
    aside, article {
    width: 100%;
  }
}









.el {
    color: black;
    display: inline-block;
    position: relative;
}
.el::after {
    content: '';
    background-image: url('components/el-b-def.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 15px;
    height: 15px;
    position: absolute;
    right: -17px;
    top: 50%;
    transform: translateY(-50%);
}


.bcfbrown {
  background-color: #8B4513;
}






@media (prefers-color-scheme: dark) {
    body {
        background-color: #092049;
    }
    table td {
        color: tan;
        background-color: #092049;
        border: 1px solid #8B4513;
    }
    table th {
        color: tan;
    }
    a, t, p, h1, h2, h3, h4, h5, h6, li {
      color: tan;
    }
    .bcfbrown {
      background-color: #46230a;
    }
    footer {
      /* background-color: #444; */
      background-color: #46230a;
      padding: 10px;
      text-align: center;
      color: tan;
      /* also tried position "sticky" */
      position: relative;
      width:100%;
      bottom:0;
    }
    .myDiv {text-align: left; border: 15px solid #A52A2A; border-color: #A52A2A;  /*red*/ /* background-color: lightblue; */ background-color: #D2691E; margin-bottom: 20px; ; margin-left: 20%; margin-right: 20%; font-size: 120%;li {margin-left: 47%;}}

/* buttons */

button {
  background-color: #8B4513;
  color: tan;
}
button:hover {
  background-color: tan;
  color: #8B4513;
}
.btn-group button {
  background-color: #8B4513;
  color: tan;
}
/* Add a background color on hover */
.btn-group button:hover {
  background-color: tan;
  color: #8B4513;
}
.button {
  background-color: #8B4513;
  color: tan;
}
.button:hover {
  background-color: tan;
  color: #8B4513;
}


}