* {
  box-sizing: border-box;
  background-color: #b3c1c1;
}

body {
  font-family: sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.form {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  border-color: #000;
  padding: 30px;
}

.form-group {
  display: inline-block;
}

.form-group-name {
  display: block;
  margin: 10px 0;
}

.input,
.textarea {
  display: block;
  margin: 20px 0;
  padding: 10px;
  border-radius: 7px;
  width: 100%;
  background-color: #9ec0c0;
}

.textarea {
  max-height: 200px;
  min-height: 30px;
  resize: vertical;
}

.checkbox-label {
  padding-left: 22px;
}

.checkbox {
  width: auto;
  appearance: none;
}

.checkbox::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #333;
  border-radius: 4px;
  margin-left: -22px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 14px;
}

.checkbox:checked::after {
  background:
    url(../img/check-icon.svg) no-repeat center,
    #03036b;
}

.button {
  display: block;
  border-radius: 5px;
  border: none;
  background-color: #03036b;
  padding: 5px 15px;
  color: #fff;
  transition: opacity 0.2s;
  cursor: pointer;
}

.button:hover {
  opacity: 0.85;
}

.button:active {
  background-color: #0606db;
}

.input:focus-visible,
.textarea:focus-visible,
.checkbox:focus-visible::after,
.button:focus-visible {
  outline: 2px solid #03036b;
  outline-offset: 1px;
}
