/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

@font-face {
  font-family: first-font;
  src: url(../Sign-Up-Form/font/RobotoCondensed-Regular.ttf);
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
  font-family: first-font, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  height: 100vh;
  display: flex;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
textarea,
select,
button {
  width: 150px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

input:invalid {
  border-color: red;
}

input:valid {
  border-color: green;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}


h1 {
  font-family: first-font, sans-serif;
}



.leftSideContainer {
  background-image: url(./img/background.jpg);
  flex: 1 0 30%;
  position: relative;
}

.prompt,
.credit {
  color: white;
}

.prompt {
  display: flex;
  align-items: center;
  justify-content: center;
}

.backgroundElement {
  background-color: black;
  opacity: 0.4;
  position: absolute;

  width: 100%;
  height: 150px;
  top: 120px;

  z-index: 0;
}

.prompt {
  position: absolute;
  top: 145px;
  left: 125px;
}

.prompt h1 {
  font-size: 3rem;
}

.prompt img {
  height: 100px;
}

.credit {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: flex-end;
  padding-bottom: 20px;
}



.rightSideContainer {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgb(249, 250, 251);
}

.signatureText,
.signUpForm form,
.submitButton {
  width: 80%;
  margin-left: 50px;
}

.signatureText {
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.signatureText>p {
  margin-bottom: 30px;
}

.signUpForm {
  background-color: rgb(255, 255, 255);
  padding: 10px 0;
  margin-bottom: 20px;
}

.signUpForm form {
  border: none;
  display: flex;
  flex-direction: column;
}

.signUpForm form>fieldset {
  margin-bottom: 20px;
  display: flex;
  padding-left: 0px;
  padding-right: 0px;
  border: none;
}

.form_title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.inputContainer {
  display: flex;
  flex-direction: column;
  flex: 1 1 50%;
  border: none;
}

.inputContainer input {
  width: 70%;
}

.createActn-Btn {
  background-color: #596D48;
  border: none;
  color: white;
  font-weight: bolder;
  text-align: center;
  padding: 10px 65px;
  width: auto;
  cursor: pointer;
}

.accountText {
  margin-top: 20px;
}

.login_text {
  color: #596D48;
  text-decoration: none;
}