body {
  background-color: #2d3436;
  background-image: url("./assets/background.png");
  background-size: contain;
  margin: 0;
  margin-top: 4rem;
  font-family: Helvetica, sans-serif;
  overflow: visible;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* .footer-container {
    position: absolute !important;
}

.footer-blurb-container {
    position: relative !important;
} */

h1 {
  font-weight: normal;
}

.register-container {
  display: flex;
  width: 100%;
  height: max-content;
  justify-content: center;
  margin-bottom: 1rem;
  margin-top: 4rem;
}

.register-box {
  display: flex;
  background: #dddddd;
  padding: 1.5rem;
  height: fit-content;
  width: 18rem;
  border: none;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.493);
}

/* @media only screen and (max-height: 668px) {
    

    .footer-container {
        position: static !important;
    }
    
    .footer-blurb-container {
        position: relative !important;
    }

    body {
        height: fit-content;
        
    }

    .register-container {
        margin-top: 1rem;
        
        
    }
} */

/* @media only screen and (max-height: 680px) {
    body {
        margin-bottom: 5rem;
    }
} */

@media only screen and (max-width: 766px) {
  body {
    margin-bottom: 4rem;
  }
}

@media only screen and (max-height: 750px) {
  .register-container {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .footer-container {
    position: static !important;
  }

  .footer-blurb-container {
    position: relative;
  }

  body {
    height: fit-content;
    /* margin-bottom: 4rem; */
  }

  .register-container {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 321px) {
  .register-box {
    width: 17rem;
    overflow-x: hidden;
  }
}

.register-header {
  margin-bottom: 1rem;
  border-bottom: 1px solid black;
  padding-bottom: 0.5rem;
  font-size: x-large;
}

.register-box form {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.form-item {
  margin-bottom: 1rem;
}

.form-item input {
  padding: 15px 15px;
  outline: none;
  width: 17rem;
  border-radius: 30px;
  border: none;
  box-sizing: content-box;
  transition: all 0.3s ease-in-out;
}

.form-item select {
  padding: 15px 15px;
  outline: none;
  width: 17rem;
  border-radius: 30px;
  border: none;
  box-sizing: content-box;
  appearance: none;
  transition: all 0.3s ease-in-out;
  -webkit-appearance:none;
  -khtml-appearance: none;
  -moz-appearance: none;
}

/* :root {
  --select-border: #777;
  --select-focus: blue;
  --select-arrow: var(--select-border);
} */

.select {
    display: grid;
    grid-template-areas: "select";
    align-items: center;
}

/* select,
.select:after {
  grid-area: select;
} */

select {
  grid-area: select;
}

/* .select::after {
  content: "";
  width: 0.8em;
  height: 0.5em;
  background-color: var(--select-arrow);
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  justify-self: end;
  margin-right: 1rem;
} */

.option-placeholder {
  color: blueviolet;
}

.form-item input:focus {
  /* background-color: #9ccef759; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.493);
  transform: scale(1.01, 1.01);
}

.checkbox-container {
  display: flex;
  /* margin-bottom: 1rem; */
  border-radius: 20px;
  /* padding: 1rem; */
  padding-bottom: 1rem;
}

.checkbox-warning {
  /*#DEC8C8  C8CADE E39F9F*/
  background-color: #e39f9f;
}

.checkbox-tick {
  margin-right: 0.5rem;
}

.terms-conditions {
  text-decoration: none;
}

.register-btn {
  background-color: #2196f3;
  outline: none;
  border-radius: 25px;
  border: none;
  color: white;
  font-size: large;
  margin-top: 1rem;
  padding: 12px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.register-btn:hover {
  background-color: #1b7bca;
}

/* register success */

.register-success-container {
  width: 100%;
  min-height: 100vh;
  z-index: 2;
  display: flex;
  background: #5d6e72af;
  overflow-y: hidden;
  position: absolute;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  animation-name: success;
  animation-duration: 0.5s;
  animation-delay: 0.2s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  transform: translateY(-100%);
}

@keyframes success {
  from {
    transform: translateY(-100%);
    transition: all 0.4s ease-in-out;
  }

  to {
    transform: translateY(0);
    transition: all 0.4s ease-in-out;
  }
}

.register-success-container.close {
  animation: backwards;
}

.register-success-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #dddddd;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.493);
}

.register-success-box h1 {
  border-bottom: 2px solid black;
  padding-bottom: 1rem;
}

.register-success-box h2 {
  font-weight: normal;
}

.register-success-box a {
  color: white;
  text-decoration: none;
  background: #2196f3;
  border-radius: 30px;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
}

.register-success-box a:hover {
  background: #1b7bca;
  cursor: pointer;
}

/* email taken error */

.signup-error {
  display: flex;
  flex-direction: column;
  color: red;
  font-size: small;
  text-align: center;
  margin-bottom: 1rem;
}

/* scrollbar styling */

::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: #dddddd;
}

::-webkit-scrollbar-thumb {
  background: #5d6e72;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #56676d;
}
