* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  display: grid;
  place-content: center;
  min-height: 100vh;
  background: #324d66;
}
.container {
  padding: 30px 40px;
  border-radius: 12px;
  width: 1000px;
  background: #ffffff;
}
.title {
  margin-bottom: 30px;
  text-align: center;
  font-size: 3em;
  letter-spacing: 5px;
  text-shadow: 1px 2px 4px rgba(27, 55, 61, 0.5);
  color: #202222;
}
nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}
h1 {
  padding-bottom: 20px;
  font-size: 2.5em;
  color: #202222;
}
h2 {
  padding-bottom: 25px;
  text-align: left;
  font-size: 1.5em;
  color: #2a3a49dc;
}
h3 {
  padding: 25px 0 15px 0;
  text-align: center;
  font-size: 1.27em;
  font-weight: 400;
  color: rgba(48, 48, 48, 0.89);
}
ul {
  display: flex;
  align-items: center;
  flex-direction: column;
  list-style-type: none;
}
li {
  margin: 20px 0;
}
p:last-child {
  padding-bottom: 40px;
}
.btn-hw {
  margin: 10px;
  padding: 10px 25px;
  background-color: #4695a0;
  border-radius: 3px;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}
.btn-hw:hover {
  background-color: #36707e;
}
.tasks {
  text-align: center;
}
.tasks p {
  padding-bottom: 15px;
  font-size: 1.3em;
}
p[id*="result"] {
  font-size: 0.85em;
  padding-top: 10px;
  font-weight: 600;
  font-family: sans-serif;
}
.success {
  color: rgb(18, 110, 18);
}
.warning {
  color: rgb(197, 169, 12);
}
.error {
  color: rgb(153, 17, 17);
}
input {
  padding: 10px;
  width: 300px;
}
input[type="radio"] {
  position: relative;
}
[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgb(0, 18, 122);
}
a {
  padding: 17px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  background: #546280bb;
  color: #202222;
}
a:hover{
  background-color: #404470d7;
  padding: 20px 30px;
  box-shadow: 0 0 15px rgba(49, 70, 110, 0.7);
  color: #ffffff;
}
.btn-back {
  display: inline-block;
  margin-top: 15px;
}
.modal{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
}
.modal-content{
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 400px;
  text-align: center;
  position: relative;
}
button[id*="close"]{
  position: absolute;
  right: 10px;
  top: 5px;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
}