* {
  box-sizing: border-box;
}

.page_wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 950px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: scroll;
  background: linear-gradient(to right bottom, #00decf, #32c8e7, #169fee);
  background-size: 200%;
  animation: bg-animation 4s infinite;
}

@keyframes bg-animation {
  0% {
    background-position: left;
  }
  50% {
    background-position: right;
  }
  100% {
    background-position: left;
  }
}

.registration_area_outside {
  height: 60%;
  width: 30%;
  max-width: 500px;
  background: none;
  border-radius: 20px;
  padding: 10px;
  position: absolute;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 30% 60px auto;
  grid-template-areas:
    "logo"
    "wlc"
    "form";
  grid-row-gap: 0.5vw;
  grid-column-gap: 10px;

  background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.3)
  );
  box-shadow: rgba(60, 64, 67, 0.4) 0 1px 2px 0,
    rgba(60, 64, 67, 0.2) 0 1px 3px 1px;
  justify-content: center;
}

.logo_dlb {
  grid-area: logo;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  background: linear-gradient(to right, #00decf, #32c8e7, #169fee);
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  flex-direction: column;
  row-gap: 2px;
  padding: 0;
  box-shadow: rgba(60, 64, 67, 0.4) 0 2px 3px 0, rgba(60, 64, 67, 0.2) 0 2px 4px;
}

.logo_dlb img {
  width: 100%;
  height: 100%;
}

.welcome_txt {
  grid-area: wlc;
  width: 100%;
  font-family: lato, sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  font-style: normal;
  margin-top: 20px;
  display: inline-block;
  text-align: center;
  color: #07496ee3;
}

.registration_form {
  grid-area: form;
  display: flex;
  flex-direction: column;
  position: relative;
}

a,
p,
label {
  font-family: lato, sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  font-style: normal;
  color: #07496ee3;
  text-decoration: none;
}

label {
  margin-left: 5px;
}

a {
  color: #032d46e3;
}

a,
p {
  text-align: center;
}

input[type="text"],
#password {
  width: 100%;
  height: 35px;
  padding-left: 10px;
  margin-bottom: 10px;
  border: none;
  display: inline-block;
  border-radius: 10px;
  box-shadow: rgba(60, 64, 67, 0.4) 0 2px 3px 0, rgba(60, 64, 67, 0.2) 0 2px 4px;
  /* background: linear-gradient(
    to right bottom,
    rgba(255, 255, 255, 0.7),
    rgba(255, 255, 255, 0.2)
  ); */
  background: #dff1fc;
  font-family: lato, sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  font-style: normal;
  color: #1f2b6b;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  type: password;
}

#password {
  width: calc(100% - 70px);
}

input[type="text"]:focus,
#password:focus {
  border: none;
  outline: none;
  background-color: white;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.submit_btn {
  width: 100%;
  padding: 5px;
  position: absolute;
  bottom: 0;
  display: inline-block;
  background: #dff1fc;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #032d46e3;
  cursor: pointer;
  box-shadow: rgba(60, 64, 67, 0.4) 0 2px 3px 0, rgba(60, 64, 67, 0.2) 0 2px 4px;
}

.submit_btn:hover {
  background: linear-gradient(
    to right bottom,
    rgba(50, 201, 231, 0.5),
    rgba(22, 159, 238, 0.2)
  );
}

.password_container {
  display: inline-flex;
  flex-direction: row;
  width: 100%;
}

.visibility_toggle_btn {
  display: inline-flex;
  position: relative;
  width: 60px;
  height: 48px;
  padding: 15px 15px 15px 15px;
  border-radius: 10px;
  background: inherit;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-left: 10px;
  cursor: pointer;
}

.visibility_toggle_btn_interior {
  font-family: lato, sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  font-style: normal;
  color: grey;
  margin: 0 0 8px 0;
}

#visisbility_checkbox {
  opacity: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
}

.footer {
  position: absolute;
  bottom: 5px;
}

#visisbility_checkbox:checked + .visibility_toggle_btn_interior {
  color: black;
}

/*________MOBILE_VIEWPORT___________*/
@media screen and (max-width: 820px) {
  .registration_area_outside {
    width: 90%;
    height: 600px;
    min-height: 450px;
  }
}

@media screen and (max-height: 810px) {
  .registration_area_outside {
    top: 20px;
    min-height: 450px;
  }
}
