* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  max-width: 100%;
}

body {
  height: 100dvh;
  width: 100vw;
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  background-color: #752157;
  color: white;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.42857143;
}

main {
  max-width: 450px;
  display: block;
  margin: auto;
  padding: 15px;
  width: 100%;
  transition: all 1s ease;
  height: 100%;
}

header {
  font-family: "Raleway", sans-serif;
  padding-left: 80px;
  padding-right: 80px;
  width: 100%;
  height: 59px;
}

header img {
  max-height: 40px;
  height: 100%;
  display: block;
  margin: auto;
  padding: 2px 0 2px 0;
  max-width: 100%;
}

.form_group {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  position: relative;
}

.form_group i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  color: #bebebe;
}

.form_group input {
  padding: 0 0 0 29px;
  background: #ffffff !important;
  color: #434142 !important;
  display: block;
  width: 100%;
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  border: 1px solid #ccc;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form_group input:focus {
  border-color: #66afe9;
  outline: none;
}

.check_group {
  margin-bottom: 15px;
  padding: 15px 0 0;
}

.check_group label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

label .outer {
  width: 55px;
  height: 27px;
  background-color: #ffffff;
  border-radius: 13.5px;
  padding: 3px 10px;
  position: relative;
}

label .outer .inner {
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: black;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .3s ease;
}

label p {
  padding: 3px 10px;
}

#check_input:checked ~ label .outer .inner {
  transform: translate(150%, -50%);
}

.button_group button {
  width: 100%;
  display: block;
  padding: 15px;
  margin: 0 auto 15px;
  width: 100%;
  border-radius: 30px;
  cursor: pointer;
  border: 1px solid transparent;
}

.button_group button:hover {
  background-color: #ffffff;
  border-color: gray;
  box-shadow: 0px 0px 0px 2px gray;
  color: #333;
  text-decoration: none;
}

.links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.links a {
  color: #ffffff;
}

footer {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: end;
  background-size: cover;
  background-position: bottom center;
  background-color: #752157;
  background-image: url(../images/backgroundimage.png);
  font-family: "Tomato Grotesk", "Avenier Next";
}

footer p {
  margin: 0 0 10px;
  opacity: 60%;
}

footer p a {
  color: #ffffff;
  text-decoration: underline;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100dvh;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #333;
}

.loader_wrapper,
.msg_wrapper {
  position: relative;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 6px;
  box-shadow: 0 3px 9px rgba(0,0,0,.5);
  width: 100%;
  max-width: 300px;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}

.loader_wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.msg_wrapper {
  display: none;
}

.msg_wrapper p {
  padding-top: 25px;
  padding-bottom: 25px;
  text-align: center;
  clear: both;
  border-bottom: 1px solid #ccc;
}

.msg_wrapper .wrapper_footer span {
  background-color: #fff;
  color: blue;
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  cursor: pointer;
}
