:root {
  --dk-color: #ffffff;
  --mid-color: /*#fea;*/
  --mid-color: #27708c;
  --ld-color: #f8f8f8; /*Bg*/
  --lt-color: black; /*Bg*/
  --dkest-color: #020a88; /*Title color*/ 
  --dkest-color: #efeff4;
  /* --accent: #640606; /*Accent Color */
  --accent: #ff9696;
  --br-color: white; /*sidebar light*/
  --sb-color: #282828; /*sidebar*/
  --hd-color: #282828;
  --lp-color: #eeeeee;/*Border Color*/
  --ln-color: #373737; /*Border Color*/
  --ct-color: #1e1e1e; /*Content Color*/
  --ff-title: "Crimson Text", serif;
  --ff-text: "Open Sans", sans-serif;
  --ff-pixel: "Pixelify Sans", sans-serif;
  
}
html,
body {
  margin: 0;
  padding-top: 25px;
  padding: 0;
  height: 98%;
  font-family: var(--ff-text);
  font-size: 11px;
  /*background-color: var(--lt-color);*/
  color: var(--lt-color);
 /* overflow: hidden;*/
}
body a {
  color: var(--accent);
  font-weight: bold;
}

img {
  background: transparent;
}

@keyframes slide-transparency {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.animate-opacity {
  animation-name: slide-transparency;
  animation-iteration-count: infinite;
}

.freq-5 {
  animation-duration: 5s;
}

.freq-6 {
  animation-duration: 6.33s;
}

.freq-7 {
  animation-duration: 7s;
}

.freq-8 {
  animation-duration: 8.88s;
}

.freq-9 {
  animation-duration: 9s;
}

.freq-10 {
  animation-duration: 10.17s;
}

.delay-2 {
  animation-delay: 1.33s;
}

.delay-4 {
  animation-delay: 2.11s;
}

.bg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
  z-index: -1000;
  display: none;
}

.z-1,
.z-2,
.z-3 {
  position: absolute;
  width: 150vw;
  height: 150vw;
  left: -50vw;
  top: -50vw;
  transform-origin: center;
}

.tile {
  overflow: hidden;
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 512px 512px;
}

.top-left {
  background-image: url("https://i.imgur.com/BzTmrpq.png");
}

.top-right {
  background-image: url("https://i.imgur.com/VvMTBWy.png");
}

.bottom-left {
  background-image: url("https://i.imgur.com/YnlQEUL.png");
}

.bottom-right {
  background-image: url("https://i.imgur.com/mwCN6q6.png");
}

ul.list li {
  padding-bottom: 5px;
}
#container {
  max-width: 1140px;
  margin: 0 auto;
  height: auto;
  /*background-color: var(--lt-color);*/
}
h1,
h3,
h5 {
  color: var(--dk-color);
}
h2,
h4,
h6 {
  color: var(--accent);
}

.header {
   width: 100%;
   max-width: 1140px;
   aspect-ratio: 4.23/1;
/* height: 86vh;*/
   text-align: center;
   margin: 0 auto;
   background: linear-gradient(rgba(255, 229, 207, 0.22),rgba(0, 0, 0, 0.71)), url("/assets/img/headers/banner.webp");
   background-size: 100%;
   background-attachment: scroll;

/*Header image -- replace with your own!*/
  }

.header h1 {
  font-weight: bold;
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 39px;
  color: #cab45f;
  text-shadow: 0px 0px 20px;
  opacity: 0.999999;
  margin: 0;
  padding-top: 10%;
  /*line-height: 30vh;*/
  /*aspect-ratio: 4.23/1;*/
  /*vertical-align: middle;*/
}
/*
#header {
  max-width: 1045px;
  height: auto;
  margin: 0 auto;
  background-color: var(--mid-color);
  border: 1px solid var(--dkest-color);
}*/
.navbar li a {
  text-decoration: none;
}
.navbar ul {
  list-style-type: none;
  padding: 0;
  padding-left: 20px;
  padding-right: 20px;
}
.navbar {
  background-color: var(--sb-color);
  width: 100%;
  border: none;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}
.title {
  font-size: 35px;
  text-align: center;
  font-style: italic;
  color: var(--dkest-color);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-family: Merriweather,sans-serif;
  font-weight: bold;
  padding: 7px 10px;
  background-color: var(--sb-color);
  color: var(--dkest-color);
  font-size: 170%;
  border-bottom: 1px solid var(--lt-color);
}
.wrapper {
  display: flex;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
  padding-top:11px;
}
.sidebar-box {
  margin: 0 auto;
  width: 100%;
  border: 1px solid var( --ln-color);
  margin-bottom: 31px;
  border-radius: 0 0 15px 15px;
}

.divbar{
  display: flex;
  width: auto;
  margin: 20px auto;
  }

ul.list{
  padding-left: 30px;
  }

#left-sidebar {
  width: 25%;
  border: none;
  height: 100%;
  border-right: none;
  padding-right: 25px;
}
.content {
  padding: 10px;
  background-color: var(--dkest-color);
  border-radius: 0 0 15px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  
  .img-button{
display: block;
    width: fit-content;
    height: auto;
    margin: 5px auto;
}

.img-frame{
  width: fit-content;
  height: auto;
  display: inline-flex;
}
    
}

body.night .content {
  background-color: var(--ct-color);
}

.main-content {
  width: 700px;
  height: auto;
}
p {
  padding: 5px;
}
p a {
  color: var(--dkest-color);
  font-weight: bold;
}

button {
background-color: #75B3E8;
  border: none;
  color: #2f2f2f;
  padding: 10px 12px;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  border-radius: 25px;
  transition: 0.7s;
}

.daynight{
display: flex;
justify-content: center;
}

button:hover {
  background-color: #4C69AF;
  color: white;
}

button:active {
  background-color: #2b7193;
  box-shadow: 0 1px #666;
  transform: translateY(2px);
}

.scroll::-webkit-scrollbar-track {
  background-color: var(--lt-color);
}
.scroll::-webkit-scrollbar {
  width: 10px;
  background-color: #f2b1a4;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: var(--dk-color);
}
.navbar li {
  position: relative;
  display: inline-block;
}
.navbar a {
  text-decoration: none;
  display: block;
  color: var(--accent);
  margin-right: 15px;
  transition: 0.2s all linear;
  font-weight: bold;
  font-size: 12px;
  margin-right: 40px;
}
.navbar a:hover {
  background: var(--ln-color);
  color: var(--accent);
  transition: 0.2s all linear;
  z-index: 1;
}
.navbar li > ul {
  background: var(--mid-color);
  display: none;
  position: absolute;
  margin-left: 0;
}
.navbar li > ul a {
  padding-left: 0;
  padding-right: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}
.navbar li > ul li {
  display: block;
}
.navbar li:hover > ul {
  display: block;
  background-color: #414141;
}
.navbar ul ul ul {
  position: absolute;
  left: 100%;
  top: 0;
}
ul.subitems {
  padding-left: 0;
  padding-right: 0;
  margin-right: 0;
}
ul.subitems li a {
  padding-right: 0;
  margin-right: 0;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: block;
}
#footer {
  text-align: center;
  width: 98%;
  background-color: var(--sb-color);
  color: white;
}

body.night #footer {
  color: white;
}

#footer p {
  width: 100%;
  margin: 0 auto;
  padding: 5px;
}
textarea {
  background-color: var(--dkest-color);
  color: var(--lt-color);
  font-size: 10px;
}
.code-wrapper {
  display: flex;
  padding-left: 10px;
}
/* COMMENT OUT OR DELETE THE BELOW CODE FOR TWO SIDEBARS */
/*
#right-sidebar {
  display: none;
} */

/* UNCOMMENT THE BELOW CODE FOR TWO SIDEBARS */
 .main-content {
     width: 45.4%;
     border-right:none;
}

 #right-sidebar {
     width:25%;
     border: none;
     padding-left: 25px;
}

body.night {
background: #292f36;
color: #c4c1cf !important;
transition:.6s;
}

body.night footer{
  background-color: var(--br-color) !important;
}

body.night .bg {
display: block;
}

.daynight div {
cursor:pointer;
padding:10px;
border:2px solid skyblue;
}

/* CHANGE BELOW TO max-width:1000px for TWO SIDEBARS. It is max-width:914px for ONE SIDEBAR */
@media only screen and (max-width: 1044px) {
  #left-sidebar {
    order: 2;
    width: 100%;
    padding-right:0;
  }
  .main-content {
    order: 1;
    width: 100%;
    margin-bottom: 31px;
    border: 1px solid var(--ln-color);
  }
  .navbar a {
    padding-bottom: 10px;
  }
  /* UNCOMMENT THE BELOW CODE FOR TWO SIDEBARS */
   #right-sidebar {
         width:100%;
         order:3;
         border-top:none;
         padding-left:0;
    }
     #container {
         max-width:716px;
    }
  
}
