/* Colors */
:root {
  --background-color: #1B211A;
  --text-color: #EBD5AB;
  --a: #8BAE66;
  --b: #628141;
  --c: #263027;
}

body {
  margin: 0 0;
  background-color: black;
}

a:focus-visible {
  outline: 3px solid #00f;
  outline-offset: 2px;
}

/* Fonts*/
.sixtyfour {
  font-family: "Sixtyfour", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "BLED" 0,
    "SCAN" 0;
}

.chakra-petch-light {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.chakra-petch-regular {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.chakra-petch-medium {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.chakra-petch-semibold {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.chakra-petch-bold {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.chakra-petch-light-italic {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.chakra-petch-regular-italic {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.chakra-petch-medium-italic {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.chakra-petch-semibold-italic {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.chakra-petch-bold-italic {
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.font {
  color: white;
  font-family: "chakra Petch";
}

.font_dark {
  color: black;
  font-family: "chakra Petch";
}

/* homebanner top of page */
#homebanner {
  width: auto;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  overflow: hidden;
}

.text {
  color: black;
  font-weight: bold;
  font-size: 4rem;
  letter-spacing: 1rem;
  text-align: center;
}


/* nav style */
#homenav {
  background-color: black;
  align-items: center;
  justify-content: center;
}

#homenav ul {
  width: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: space-around;
  align-items: center;

}

#homenav li {
  font-size: clamp(1rem, 3vw, 1.5rem);
}

#homenav li a {
  height: 100%;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-family: "chakra Petch", sans-serif;
}

#homenav li a:hover {
  background-color: #8BAE66;
  color: black;
}

#homenav li a:active {
  background-color: #EBD5AB;
  color: #1B211A;
}

/* home info */
h1 {
  color: white;
  font-family: "Chakra Petch", sans-serif
}

h2 {
  color: white;
  font-family: "Chakra Petch", sans-serif
}

h3 {
  color: white;
  font-family: "Chakra Petch", sans-serif
}

p {
  color: white;
  font-family: "Chakra Petch", sans-serif
}

hr.dashed {
  border: none;
  border-top: 4px dashed white;
  background-color: transparent;
}

/* main layout */
/* .homeinfo {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
} */

.main {
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

.todo {
  border: 2px solid white;
}

.test {
  border-radius: 2px solid white;
  color: white;
}

/* styling for rules drop down */
@media (min-width: 769px) {
  .main_body {
    display: grid;
    min-height: 80vh;
    grid-template-columns: 1fr 1fr;
    margin: 2rem;
  }

  .list_card {
    padding: 0px;
    margin: 0px;
    height: max-content;
  }

  #homebanner {
    width: auto;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    overflow: hidden;
  }

  .text {
    color: black;
    font-weight: bold;
    font-size: 4rem;
    letter-spacing: 1rem;
    text-align: center;
  }

}

@media (max-width: 768px) {
  .main_body {
    display: grid;
    min-height: 80vh;
    grid-template-rows: auto 1fr;
    margin: 2rem;
  }

  .list_card {
    padding: 0px;
    margin: 0px;
    height: 200px;
  }

  #homebanner {
    width: auto;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    overflow: hidden;
  }

  .text {
    color: black;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5rem;
    text-align: center;
  }
}

.lsit_main {
  background-color: white;
}


.list_header {
  display: flex;
  padding: 5px;
  height: 1rem;
}

.list_answer {
  margin-right: auto;
  margin-left: 8%;
}

.list_date {
  margin-right: auto;
}

.list_catigory {
  display: flex;
  justify-content: flex-end;
}

.listbutton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 1rem;
  background-color: white;
}

.list_card {
  padding: auto;
  margin: auto;
  width: 100%;
  height: auto;
}

.listbutton:hover {
  background-color: #8BAE66;
}

/* list style */
.lists {
  justify-self: center;
  width: 50%;
  border: 2px solid white;
  height: max-content;
}

.center_text {
  text-align: center;
}

ol {
  display: flex;
  flex-direction: column;
  align-items: left;
  list-style: none;
}

/*more info styling */
.add_info {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: auto;
  height: auto;
  overflow: hidden;
}

.add_info> :first-child {
  grid-column: span 1;
  margin: 10px;
}

.add_info> :nth-child(2) {
  grid-column: span 3;
  margin: 10px;
}

.read_more {
  margin: 10px;
  border-radius: 20px;
  grid-column: 1 / -1;
  font-size: 16px;
}

.read_more:hover {
  background-color: var(--b);
  color: white;
}

/* law text style */
.margin {
  margin: 10px;
}

.margin0 {
  margin-top: 0;
  align-content: center;
}

.invert {
  background-color: white;
  color: black;
  height: 50px;
}