:root {
  --blue: #3a86ff;
  --purple: #8338ec;
  --pink: #ff006e;
  --orange: #fb5607;
  --yellow: #ffbe0b;

  /* font-family: 'Roboto Condensed', sans-serif; */
}

* {
  box-sizing: border-box;
  /* border: 1px solid red; */
}

html,
body {
  margin: 0;
  padding: 0;
}

#side-image {
  height: 100vh;
  width: 35vw;
  background-image: url(./luis-villasmil-ITFwHdPEED0-unsplash.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  position: fixed;
  z-index: -1;
  left: 0;
  top: 0;
}

#img-source,
#img-source a {
  color: var(--orange);
  font-style: italic;
  font-size: small;
}

#logo-bg {
  width: 35vw;
  position: fixed;
  top: 10%;
  background-color: rgba(131, 56, 236, 0.5);
  border-top: var(--purple) solid 1px;
  border-bottom: var(--purple) solid 1px;
}

#logo {
  max-width: 35vw;
  display: inline-flex;
  justify-content: center;
  align-content: flex-start;
  color: black;
  font-family: "Common Pixel", sans-serif;
  margin: 0 auto;
  justify-items: center;
}

#logo img {
  width: 65px;
  height: 60px;
  flex-grow: 1;
}

#logo h3 {
  font-size: 2rem;
  padding-top: 12px;
  padding-left: 2px;
  margin: 0;
  text-align: left;
  flex-grow: 3;
}

h1 {
  margin-left: 5%;
}

#main-content {
  font-family: "Roboto Condensed", sans-serif;
  height: 100vh;
  width: 65vw;
  position: fixed;
  right: 0;
  padding-top: 2rem;
}

#main-content p {
  margin-left: 5%;
  margin-right: 25%;
}

.parent {
  text-transform: uppercase;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 0px;
  max-width: 500px;
}

fieldset {
  /* background-color: var(--blue); */
  margin: 0;
  padding-left: 5%;
  border-left: 0;
  border-right: 0;
  border-top: 2px var(--purple) solid;
  border-bottom: 2px var(--purple) solid;
}

fieldset input {
  margin-bottom: 2px;
}

.cell {
  display: grid;
}

input {
  border: 1px solid var(--purple);
}

input:focus {
  box-shadow: 3px 4px var(--blue);
}

.invalid {
  outline: 2px solid var(--pink);
}

.valid {
  outline: 2px solid greenyellow;
}

#password-message {
  font-size: smaller;
  color: #ff006e;
  /* margin-left: 5%; */
}

#password-matched {
  font-size: smaller;
  color: green;
}

/* button */

.btn {
  margin: 2% 5%;
  margin-bottom: 0;
  box-shadow: inset 0px 1px 0px 0px #bee2f9;
  background: linear-gradient(to bottom, #3a86ff 5%, #468ccf 100%);
  background-color: #63b8ee;
  border-radius: 5px;
  border: 1px solid #8338ec;
  display: inline-block;
  cursor: pointer;
  color: whitesmoke;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 0px #7cacde;
}
.btn:hover {
  background: linear-gradient(to bottom, #468ccf 5%, #63b8ee 100%);
  background-color: #468ccf;
}
.btn:active {
  position: relative;
  top: 1px;
}

@media (max-width: 530px) {
  #logo h3 {
    font-size: 1rem;
    text-align: center;
    padding-bottom: 25px;
    margin: 0 auto;
  }

  #logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .parent {
    display: block;
  }

  #main-content {
    padding-top: 0.5rem;
    overflow-y: auto;
  }

  h1 {
    font-size: larger;
  }
}

@media (max-width: 876px) {
  #logo h3 {
    font-size: 1.5rem;
    padding-top: 15px;
  }

  #main-content p {
    margin-right: 10%;
  }
}

@media (max-width: 706px) {
  #logo h3 {
    font-size: medium;
    padding-top: 20px;
  }
}
