* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* #000000 */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

a {
  text-decoration: none;
}

img {
  display: block;
  /* width: 100%; */
}

h3 {
  font-weight: 300;
  font-size: 1.8rem;
  line-height: 1.1;
}

main {
  /* padding: 1rem; */
  display: flex;
  /* margin: 10px 0; */
  min-height: calc(100vh - 100px);
}

.container {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 0 30px;
  width: 100%;
}

.image_container {
  display: none;
}

.logo_img {
  width: 200px;
}

.login_form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form_input {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.social_btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form_btn {
  padding: 0.7rem;
  border-radius: 20px;
  border: none;
  outline: none;
  text-transform: uppercase;
  color: white;
  background-color: #dbdfe3;
  margin: 20px 0;
  cursor: pointer;
}

.form_btn:hover {
  background-color: #9a9999;
}

.social_btns button {
  padding: 0.2rem;
  border-radius: 20px;
  border: none;
  outline: none;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
}

.social_btns button:nth-child(1) {
  background-color: #2891ea;
}

.social_btns button:nth-child(1):hover {
  background-color: #1d8beb;
}
.social_btns button:nth-child(2) {
  background-color: #1d8beb;
}
.social_btns button:nth-child(4) {
  background-color: #1d8beb;
}

.social_btns button:nth-child(3) {
  background-color: #2891ea;
}

.social_btns button:nth-child(3):hover {
  background-color: #1d8beb;
}

input {
  border: 1px solid lightgray;
  padding: 0.9rem;
  width: 100%;
  border-radius: 5px;
  outline: none;
  color: gray;
  font-weight: 500;
}

input::placeholder {
  font-weight: 300;
  color: gray;
  font-size: 1rem;
  font-weight: 500;
}

.form_forgot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form_forgot a {
  color: #42b2f0;
  font-weight: 400;
  font-size: small;
}

.passdiv {
  position: relative;
}

.passdiv span {
  position: absolute;
  top: 12px;
  right: 10px;
  color: gray;
  font-weight: 100;
}

.icon {
  width: 20px;
  height: 20px;
}

.google {
  width: 15px;
  height: 100%;
}

.g_img {
  background-color: white;
  padding: 0.4rem;
  border-radius: 20px 0 0 20px;
}

.o_img {
  padding: 0.4rem;
}

.passwordless {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
}

.social_btns img {
  width: 20px;
  height: 20px;
}

.form_header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#error #login_error {
  font-size: 0.5rem;
  font-weight: 200;
  color: red;
}

/* modal */

.modal {
  display: none;
}

.modal.active {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: hsla(0, 0%, 20%, 0.059);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  z-index: 1;
  padding: 1rem;
}

.modal_content {
  background-color: white;
  padding: 1.3rem;
  box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  border-radius: 10px;
}

.modal_content > div {
  display: flex;
  justify-content: end;
}

#loginMethod {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

#sendForm {
  padding: 1rem;
}
#closeModal {
  padding: 0.5rem;
}

#closeModal,
#sendForm {
  background-color: #4285f4;
  border: none;
  outline: none;
  cursor: pointer;
  color: white;
  font-weight: 200;
  border-radius: 5px;
}

#closeModal,
#sendForm:hover {
  background-color: #2891ea;
}

#modalError {
  display: none;
}

#modalError.active {
  display: flex;
  color: red;
  font-size: 0.6rem;
}

/* ====================== */
.auto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auto img {
  width: 20px;
}

@media screen and (min-width: 768px) {
  .image_container {
    width: 100%;
    background-image: url("../img/of.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    display: flex;
  }

  .container {
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px rgba(0, 0, 0, 0.1);
  }
  .form_header {
    display: none;
  }
  form {
    width: 350px;
  }
  .modal_content {
    width: 380px;
    margin: 0 auto;
  }
}
