@import url("./style.css");

/*  */
body,
nav {
  overflow: visible;
  overflow-x: visible;
}
.container--section {
  position: relative;
}

/* MAIN */
main {
  min-height: 75vh !important;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
}

.container{
  margin: auto;
  color: #777777;
  position: relative;
  right: 0;
  bottom: -1em;
  font-size: 14px;
}
/* MAIN COL 1 */

.title {
  position: relative;
  font-weight: 600;
  font-size: 2.3rem;
  width: 100%;
}
.main__col-1 p {
  font-size: 17px;
  position: relative;
  width: 95%;
  margin-top: 2rem;
}
.schedule__image {
  width: 75%;
  object-fit: cover;
}

/* MAIN COL 2 */
.main__col-2 {
  position: relative;
  display: flex;
  align-items: center;
}

.form__card {
  box-shadow: 0px 0px 10px rgba(85, 85, 85, 0.438);
  padding: 1.5rem 0;
  border-radius: 7px;
  width: 120%;
  position: relative;
  right: 10%;
  background: #fff;
  bottom: 2rem;
  transition: all 0.2s ease;
}
.form__card.hidden {
  display: none;
  pointer-events: none;
}
.thank__div {
  background: #fff;
  width: 100%;
  box-shadow: 0px 0px 10px rgba(85, 85, 85, 0.438);
  height: 30%;
  position: relative;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  display: none;
  pointer-events: none;
}

.thanks__message {
  transition: all 0.2s ease;

  margin-top: 2rem;
  font-weight: 600;
}
.thank__div p {
  width: 80%;
  margin: auto;
  text-align: center;
  position: relative;
  bottom: 0.5rem;
}
.thank__div.active {
  display: flex;
  pointer-events: all;
}
.labeli {
  width: 90%;
  margin: auto;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
  justify-content: center;
}
.form {
  width: 100%;
  height: 45px;
  position: relative;
  margin-bottom: 0.7rem;
  display: flex;
  transition: all 0.1s ease;
}
.form.active {
  margin-bottom: 2rem;
}
.form input {
  width: 100%;
  font-size: 1rem;
  height: 91%;
  color: var(--background--color);
  outline: none;
  border: 1.5px solid #9f9f9f;
  border-radius: 5px;
  position: relative;
  padding-left: 3%;
  background: #fff;
  transition: all 0.2s ease;
}
.form label {
  position: absolute;
  left: 3%;
  width: 100%;
  pointer-events: none;
  top: 83%;
  color: #2799f3;
}

.form span {
  position: absolute;
  bottom: 5px;
  left: 0px;
  transition: all 0.3s ease;
}
.form input:focus {
  border: 1.5px solid #2799f3;
}
.form input:focus + .label span,
.form input:valid + .label span {
  transform: translateY(-160%) translateX(-0.3rem);
  font-size: 12px;
  background: #fff;
  padding: 0rem 0.3rem;
  color: #2799f3;
}

/* SEND BUTTON */
.send__div {
  width: 100%;
  height: 90px;
}
.send {
  width: 100%;
  border: none;
  padding: 1rem 0;
  border-radius: 50rem;
  background: var(--primary--color);
  font-size: 1.1rem;
  color: #fff;
  position: relative;
  top: 1.75rem;
  text-transform: uppercase;
}

/* ERROR */
.form__error {
  position: absolute;
  top: 55px;
  left: 1rem;
  font-size: 14px;
  color: rgb(255, 130, 130);
  display: none;
}
.form__error.active {
  display: block;
}

/* MEDIA QUERY */
@media (max-width: 1069px) {
  .thank__div p {
    margin-top: 1rem;
  }

  /* MAIN */
  main {
    position: relative;
    top: 150px;
  }
  .main__row {
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }
  .main__col-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main__col-1,
  .main__col-2 {
    width: 95%;
  }
  .title {
    text-align: center;
    bottom: 0;
    font-size: 2.5rem;
  }
  .main__col-1 p {
    bottom: 0;
    margin-top: 1rem;
    width: 100%;
    font-size: 16px;
    text-align: center;
  }
  .schedule__image {
    margin-left: 0;
    width: 100%;
  }
  .main__col-2 {
    margin-bottom: 3rem;
  }
  .form__card {
    bottom: 0;
    right: 0;
    width: 100%;
  }
  .labeli {
    width: 95%;
  }
  footer {
    position: relative;
    top: 150px;
  }
  .thanks__message {
    margin-top: 0;
  }
  .thank__div {
    padding: 2rem 0;
  }
}
@media (max-width: 871px) {
  .schedule--nav-section {
    width: 100%;
  }
  .schedule--nav-section .druglift__logo {
    padding-left: 1.5rem;
  }
}

@media (max-width: 411px) {
  .title {
    font-size: 2rem;
  }
  .main__col-1 p {
    font-size: 14px;
  }
  .main__row {
    margin-bottom: 0;
  }
}
@media (max-width: 365px) {
  .pharmacy__login--btn {
    padding: 0.6rem;
    font-size: 18px;
  }
  .thank__div {
    padding: 1rem 0;
  }
  .thank__div p {
    font-size: 14px;
  }
  .druglift__logo {
    font-size: 2rem;
  }
}
