:root {
  
  --background: #16131c;
  --background2: #27232f;
  --background3: #110e15;
  --foreground: #bcabe1;
  --foreground2: #bf83e8;


}


* {
  box-sizing: border-box;
}

html {
  background-image: url(/assets/bgpattern.png);
  animation: scrolling 20s linear 1;
  animation-direction: forward;
  animation-iteration-count: infinite;
  background-color: var(--background) ;
}

body {



  margin: 0px;
  color: var(--foreground);
  font-family: monospace;
  font-size: 13px;
  height: 100%;
}

a {
  color: var(--foreground2);

}

.warning {
  max-width: 75%;
  background-color: #8d2c2c;
  color: black;
  border: dashed 2px black;
  padding: 10px;
}

.a-nostyle {
  text-decoration: none;
  font-style: normal;
  color: var(--foreground);
}

.c-main {
  margin-left: 20%;
}

.flex {
  display: flex;
}

.cmm-content {
  width: 50%;
  background-color: var(--background);
  border: 2px var(--background2) solid;
  padding: 15px;

}

.cmm-sidebar {
  margin-left: 1%;
  width: 25%;
  background-color: var(--background);
  border: 2px var(--background2) solid;
  padding: 15px;
}

.cmm-sidebar li {
  border: var(--background2) 2px dotted;
  background-color: #1c1923;
  padding: 8px;
  list-style: none;
  margin-bottom: 5px;
}

.cmm-sidebar ul {
  padding: 5px;
  /* border: var(--background2) dashed 2px */
}

.cm-navbar {
  margin-top: 10px;
}

.cm-navbar ul {
  margin: 0px;
}

.cm-navbar li {
  display: inline-block;
  margin-right: 10px;

}

.cmmc-service-box {
  border: var(--background2) 2px dashed;
  padding: 10px;
  width: 50%;
  flex: 1 1 45%;
  flex-wrap: wrap;
  margin-right: 10px;
  margin-bottom: 10px;
  width: 100%;
  padding: 10px;
}

.cmmc-service-container {
  flex-wrap: wrap;

}

.donate-box {
  margin: 20px;
  padding: 15px;
  max-width: 40%;
  width: 100%;
  height: 400px;
  border: var(--background2) 2px dashed;
}

.cmmc-staff-container {
  flex-wrap: wrap;
  width: 100%;
}

.cmmc-staff-box {
  flex-wrap: wrap;
  border: var(--background2) 2px dashed;
  margin-right: 10px;
  margin-bottom: 10px;
  flex: 1 0 21%;
  max-width: 200px;
  min-height: 95%;
  padding: 10px;
}

.cmmc-staff-box img {
  width: 100%;
  display: flex;
  margin-bottom: 10px;
}


.rules li {
  margin-bottom: 10px;
}

footer {
  background-color: var(--background3);
  margin-top: 100px;
  padding: 10px;
}

input {
  background-color: var(--background);
  border: 2px var(--background2) dotted ;
  color: var(--foreground);
}

label {
  margin-top: 20px;
}

textarea {
  background-color: var(--background);
  border: 2px var(--background2) dotted ;
  color: var(--foreground);
}

table {
  border-collapse: collapse;
}

table th, table td {
  padding: 4px 10px;
  border: 1px solid var(--background2);
}

table tr:nth-child(2n) {
  background-color: var(--background2);
}

@media only screen and (device-width: 1000px),
only screen and (max-width:1000px) {
  
  .c-main {
    margin-left: 4%;
    margin-right: 4%;
  }

  .cm-header {
    font-size: 8px;
    padding: 20px;
    justify-content: center;
    display: flex;
  }

  .cm-navbar ul {
    margin: 0px;
    display: math;
  }

  .c-main {
    margin-left: 10%;
    margin-right: 10%;
  }

  .cm-main {
    display: block;
  }

  .cmm-content {
    width: 100%;
    margin-bottom: 10px;
  }

  .cmm-sidebar {
    margin-left: 0px;
    width: 100%;
    display: block;
  }

  .a-nostyle {
    display: contents;
  }

  .cmmc-staff-container {
    display: flex;
  }

  .cmmc-staff-box {
    max-width: 100%;
  }



}

@-webkit-keyframes scrolling {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -300px 300px;
    }
}

