html,
body,
h1,
h2,
p,
ul,
li,
input,
header,
main,
footer {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

body {
  font-family: Roboto;
}

.container {
  margin: auto;
  width: 793px;
  height: 507px;
  background-color: #3B3F45;
}

header {
  background-color: #4A4F56;
  color: #FF8984;
  height: 82px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  h1 {
    font-size: 24px;
    font-weight: 700;
  }

  p {
    font-size: 16px;
    font-weight: 14;
    margin-top: 3px;
  }
}

form {
  width: 534px;
  margin: auto;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 400;

  span {
    font-size: 11px;
    vertical-align: middle;
  }

  span::before {
    content: '(';
  }

  span::after {
    content: ')';
  }
}

li label {
  display: flex;
  align-items: center;
  height: 45px;
  cursor: pointer;
}

li label:hover {
  background-color: #625E77;
  border-top: 3px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  height: 39px;
}

li label:active {
  background-color: red;
}

li:nth-child(2n+1) {
  background-color: #88839E;
}

li:nth-child(2n) {
  background-color: #7A7593;
}

input[type="checkbox"] {
  accent-color: white;
  height: 20px;
  width: 20px;
  margin: 0 10px;
  cursor: pointer;
}

p {
  position: relative;
  display: inline-block;
}

input[type="checkbox"]:checked+p::after {
  content: " ";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 2px solid #a39fb4;
}

input[type="checkbox"]:checked+p {
  color: #a39fb4;
}

input[type="checkbox"]:checked {
  accent-color: #a39fb4;
}

footer {
  margin: auto;
  margin-top: 45px;
  height: 45px;
  width: 534px;
  background-color: #4A4F56;
  font-size: 18px;
  font-weight: 400;
  color: #FF8984;
  display: flex;
  justify-content: center;
  align-items: center;
}