:root {
  /* --preto: #080808; */
  --verde: #26b7ad;
  --verde1: #4cc4ac;
  --verde2: #9bded0;
  --verde3: #049484;
  --verde4: #257363;
  --cinza: #7a8a9e;
  --branco: #fff;
  --branco1: #f5f5f5;
  --preto4: #000000;
  --preto3: #1f1f1f;
  --preto2: #3f3f3f;
  --preto1: #5e5e5e;
  --preto: #7d7d7d;
}
body {
  font-family: roboto, sans-serif;
  margin: 0px;
  padding: 0px;
  display: grid;
  background-color: var(--preto3);
}

ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

p,
h1,
h2,
h3 {
  margin: 0px;
}

p {
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--cinza);
}

a {
  text-decoration: none;
}
.header {
  background-color: var(--preto3);
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-left: 20px;
  padding-right: 20px;
}
.logo {
  padding: 15px;
  max-width: 270px;
}
.logosm {
  display: none;
  padding: 5px;
  max-width: 80px;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
}
.menu a {
  display: block;
  background: var(--preto3);
  padding: 1rem 2rem;
  color: var(--branco);
  text-transform: uppercase;
}
.menu a::before {
  content: "";
  width: 0%;
  height: 3px;
  background-color: var(--verde);
  position: absolute;
  top: 37px;
}
.menu a::before:hover {
  /* background: var(--verde); */
  /* color: var(--branco); */
  width: 100%;
}
.menu li {
  position: relative;
}
.menu li:hover > .sub-menu {
  display: block;
}
.sub-menu {
  display: none;
  position: absolute;
  min-width: 150px;
  box-shadow: 3px 3px 3px 1px var(--preto4);
}
.sub-menu .sub-menu {
  top: 0;
  right: 100%;
}
.container {
  margin-left: 150px;
  margin-right: 150px;
}
.title h1 {
  /* background-color: #26b7ad; */
  display: flex;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
}
h1 {
  color: var(--verde);
}
.erros {
  display: flex;
  justify-content: right;
  align-content: center;
  margin-top: 50px;
  align-items: center;
}
.erros label {
  margin-right: 10px;
}
.codes {
  padding: 10px;
  border-radius: 6px var(--preto);
  background-color: var(--preto);
  color: var(--cinza);
}
div label {
  text-transform: uppercase;
  font-size: medium;
  justify-content: center;
  color: var(--cinza);
}
.erros option,
select {
  /* line-height: 2; */
  background-color: var(--preto2);
  color: var(--branco);
  padding: 10px;
  border-radius: 6px;
}
.erros option {
  padding-left: 100px;
  width: 250px;
  height: 50px;
}
.elements {
  color: var(--cinza);
  font-size: 20px;
  line-height: 30px;
  padding: 40px;
}
.elements li {
  margin-bottom: 10px;
  justify-items: center;
}
.elements li {
  padding-bottom: 10px;
  padding-top: 10px;
}
.elements li:nth-child(even) {
  color: var(--branco1);
  background-color: var(--preto2);
  padding-left: 15px;
  /* text-transform: lowercase; */
  padding-right: 15px;
}
.elements li + li:nth-child(even) {
  padding-bottom: 20px;
  border-radius: 3px;
  padding-top: 20px;
}
.elements li:nth-child(odd) {
  color: var(--branco1);
  text-align: left;
  margin-right: 60em;
  padding-left: 15px;
  border-radius: 6px;
  bottom: -20px;
  position: relative;
  background-color: var(--preto4);
}
li img {
  max-width: 20px;
  max-height: 20px;
  margin-top: 10px;
  margin-left: 10px;
}
@media (min-width: 1600px) {
  .elements li:nth-child(odd) {
    margin-right: 60em;
  }
}
@media (max-width: 1000px) {
  .elements li:nth-child(odd) {
    margin-right: 40em;
  }
}
.botoes {
  margin-top: 10px;
  margin-right: 500px;
  align-items: center;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.botoes h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  display: grid;
  text-transform: uppercase;
  /* display: flex; */
}
.botoes a {
  display: flex;
  padding: 15px 20px;
  margin: auto;
  margin-left: 0px;
  border-radius: 6px;
  /* text-transform: uppercase; */
  color: var(--branco);
  background-color: var(--preto4);
}
.elements .list {
  display: none;
}
.elements .list.active {
  display: block;
}
footer {
  background-color: var(--preto3);
  bottom: 0;
  position: fixed;
  min-width: 100% !important;
}
footer p {
  color: var(--verde);
  text-align: center;
}

@media only screen and (max-width: 400px) {
  header {
    background-color: var(--preto3);
    align-items: center;
    display: flex;
    padding: 5px;
  }
  .logo {
    display: none;
  }
  .logosm {
    display: block;
    padding: 1px;
    max-width: 50px;
  }
  .menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: right;
  }
  .menu a {
    display: block;
    background: var(--preto3);
    padding: 1rem 1rem;
    color: var(--branco);
    text-transform: uppercase;
    font-size: 0.6rem;
  }
  .menu li:hover > .sub-menu {
    display: block;
    z-index: 1;
  }
  .sub-menu {
    display: none;
    position: absolute;
    min-width: 100px;
    box-shadow: 3px 3px 3px 1px var(--preto4);
  }
  .sub-menu .sub-menu {
    top: 0;
    right: 100%;
  }
  .container {
    margin: 0px;
    padding: 0px;
    max-width: 400px;
  }
  .title h1 {
    padding-top: 20px;
    font-size: 1.5rem;
  }
  .erros {
    justify-content: center;
  }
  .erros label {
    margin-right: 10px;
  }
  .codes {
    padding: 10px;
    border-radius: 6px var(--preto);
    background-color: var(--preto);
    color: var(--cinza);
  }
  div label {
    font-size: medium;
    color: var(--cinza);
  }
  .erros option,
  select {
    /* line-height: 2; */
    background-color: var(--preto2);
    color: var(--branco);
    padding: 0px;
    border-radius: 6px;
  }
  .elements {
    color: var(--cinza);
    font-size: 20px;
    line-height: 30px;
    padding: 40px;
    padding-left: 0px;
    padding-right: 0px;
  }
  .elements li {
    margin-bottom: 10px;
    justify-items: center;
  }
  .elements li {
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 2px;
  }
  .elements li:nth-child(even) {
    max-width: 380px;
    /* background-color: #049484; */
  }
  .elements li + li:nth-child(even) {
    padding-bottom: 20px;
    border-radius: 3px;
    padding-top: 20px;
  }
  .elements li:nth-child(odd) {
    min-width: 220px;
  }
  .botoes {
    margin-top: 10px;
    margin-right: 0px;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    display: grid;
    justify-content: center;
  }
  .botoes h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    justify-content: center;
    /* background-color: tomato; */
  }
  .botoes a {
    display: flex;
    padding: 15px 20px;
    margin: 0;
    margin-left: 0px;
    border-radius: 6px;
    /* text-transform: uppercase; */
    color: var(--branco);
    background-color: var(--preto4);
    text-align: center;
  }
  footer {
    position: relative;
    min-width: 100% !important;
  }
  footer p {
    font-size: smaller;
  }
}
