html {
  scroll-behavior: smooth;
}

main {
  width: 100%;
  display: flex;
  padding: 10px 20px;
  gap: 10px;
}
.logs {
  display: flex;
  justify-content: flex-end;
  width: 50px;
}
.logs a {
  position: absolute;
  right: 20px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.loginForm {
  position: absolute;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background-color: #17176b;
  z-index: 1000;
  transition: all 1s ease-in;
}
.loginFormOnLoad {
  top: -100%;
}
.formContainer {
  width: 300px;
  height: 380px;
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}

/*logo image top of login form*/
.logoLogin {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 50%;
}
/*.logoLogin img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid goldenrod;
}*/
.loginForm form .loginErrorMessage {
  color: red;
  font-size: 1rem;
  font-style: italic;
  padding-bottom: 5px;
}
.messageDisplay {
  color: rgb(8, 230, 218);
  font-style: italic;
  font-size: 0.9rem;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  padding: 5px;
}

.loginForm form {
  width: 100%;
  height: 70%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid white;
  border-top: 5px solid white;
}
.formLoginHead {
  height: 15%;
  background-color: goldenrod;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 5px solid white;
}
.formLoginFoot {
  height: 10%;
  background-color: goldenrod;
  font-size: 1rem;
  font-style: italic;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
}
.loginForm form input {
  width: 100%;
  font-size: 1.2rem;
  margin: 2px 0 5px 0;
  padding: 3px;
  background-color: transparent;
  border: 1px solid white;
  color: white;
}
.loginForm form label {
  position: relative;
}

/* show hide password*/
.eye {
  position: absolute;
  right: 10px;
  cursor: pointer;
  filter: invert();
}
.eye img {
  width: 30px;
  height: 30px;
}
.hidePW {
  visibility: hidden;
}
.showBTNHide {
  visibility: visible;
}
.hideEye {
  transform: scale(0);
}

.loginBTNS {
  width: 100%;
  margin-top: 15px;
}
.loginBTNS button {
  width: 49%;
  padding: 7px 0;
  cursor: pointer;
  transition: all 0.3s linear;
}
.loginBTNS .logIN {
  background-color: goldenrod;
  border: 1px solid white;
  color: white;
  &:hover {
    border: 2px solid white;
    border-radius: 10px;
    box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan, 0px 0px 20px cyan;
  }
}
.loginBTNS .cancel {
  background: transparent;
  border: 1px solid white;
  color: white;
  &:hover {
    border-radius: 10px;
  }
}
/*fogot password button*/
.forgotPass {
  text-decoration: underline;
  font-size: 0.8rem;
  font-style: italic;
  width: 100%;
  cursor: pointer;
}
.forgotPass a {
  text-decoration: none;
  transition: all 0.2s ease;
  &:hover {
    transform: scale(0.8);
    color: goldenrod;
  }
}
.forgotPass:hover {
  transform: scale(0.8);
  color: goldenrod;
}
.personal {
  flex: 1;
  padding: 20px;
  border: 1px solid white;
}
.profilePic {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid goldenrod;
  margin: 5px auto;
  z-index: 2;
  box-shadow: 5px 5px 10px black;
  cursor: pointer;
}
.profilePic img {
  border-radius: 50%;
  width: 110px;
  height: 110px;
  z-index: 1;
}
.profilePic .edit {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 1));
  opacity: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hideEdit {
  opacity: 0;
}
.user {
  text-align: center;
  margin-bottom: 15px;
}
.personal p {
  padding: 0px;
  text-align: justify;
  line-height: 1.5;
  width: 100%;
}

.paymentPanel {
  flex: 2;
  padding: 10px;
  border: 1px solid white;
  display: flex;
}
.ersskFinance {
  padding: 2px 10px;
  line-height: 1.5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  border-right: 1px solid white;
}
.finance,
.donations {
  background-color: white;
  color: black;
  padding: 20px;

  box-shadow: 0px 0px 5px cyan, 0px 0px 10px cyan;
  border-radius: 10px;
}
.paymentPanel .donate {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1;
}

.addPymentCard {
  position: relative;
}
/*Choose between cards donation and paypal*/
.chooseDonationMethod {
  border: 1px solid white;
  width: 90%;
  position: absolute;
  top: 35vh;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
  z-index: 0;
  transition: all 0.2s linear;
}
.showMethod {
  opacity: 1;
}
.hideChoices {
  opacity: 0;
  z-index: 0;
}
.chooseDonationMethod p {
  text-align: center;
  padding: 10px;
  font-size: 1.2rem;
}
.cardsChoiceBTNS {
  width: 100%;
}
.cardsType {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 5px;
}
.cardsType img {
  width: 30px;
  height: 20px;
}
.donationMethod {
  width: 98%;
  margin: 5px;
  padding: 12px 0px;
  font-weight: bold;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  background-color: goldenrod;
  box-shadow: 4px 4px 16px black;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: white;
  cursor: pointer;
  transition: all 0.3s linear;
}
.donationMethod:hover {
  border: 1px solid white;
  border-radius: 5px;
  box-shadow: 0px 0px 10px goldenrod, 0px 0px 20px goldenrod;
  color: white;
  letter-spacing: 5px;
}
/*Donation with cards*/
.containerFormCard {
  display: flex;
  flex-direction: column;
  border: 1px solid white;
  width: 95%;
  margin: 0px auto;
  box-shadow: 4px 4px 8px grey;
  transform: scaleX(0);
  transform-origin: left;
  transition: all 0.2s linear;
}
.showCardsForm {
  transform: scaleX(1);
}
.headForm {
  background-color: goldenrod;
  padding: 10px;
  display: flex;
  font-weight: bold;
}
.closeForm {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.2s linear;
  &:hover {
    scale: 1.2;
    filter: invert(1);
  }
}
.closeForm img {
  width: 25px;
  filter: invert();
}
.cardsIMG {
  width: 30px;
  height: 20px;
  margin: 0 5px;
}
.periods {
  border: 1px solid white;
  padding: 8px;
  display: flex;
  justify-content: center;
}
.periodsChoice {
  padding: 5px 10px;
  border: 1px solid goldenrod;
  cursor: pointer;
  transition: all 0.3s linear;
  &:hover {
    background-color: goldenrod;
  }
}
#currency {
  margin: 15px;
  width: 90%;
  font-size: 1.2rem;
  background: none;
  border: none;
  border-bottom: 1px solid goldenrod;
  color: white;
  background-color: #17176b;
  cursor: pointer;
}
.amountBTNs {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  font-size: 1.2rem;
  gap: 5px;
}
.amountBTN {
  width: 30%;
  padding: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: rgba(0, 0, 255, 0.786);
  transition: all 0.3s linear;
  &:hover {
    background-color: goldenrod;
    color: white;
  }
}
.btnBack {
  background-color: goldenrod;
}
.label {
  padding: 0px 10px;
  font-size: 1rem;
}
.customAmount {
  width: 100%;
  font-size: 1rem;
  padding: 15px 10px;
}
.customAmount input {
  width: 100%;
  font-size: 1rem;
  padding: 2px;
}
.cardDetails {
  width: 100%;
  padding: 3px 10px;
  font-size: 1rem;
}

.txtNameNum {
  width: 100%;
  padding: 2px;
  margin-bottom: 05px;
  font-size: 1rem;
}
.cardDateNCVC {
  display: flex;
}
.cardDateNCVC label {
  padding: 0 2px;
  width: 50%;
}
.cardDateNCVC label input {
  width: 100%;
  padding: 2px;
  font-size: 1rem;
}
.paymentBTN {
  width: 100%;
  padding: 5px;
  border: 1px solid white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#paypal-button-container,
#paypal-add-card {
  width: 100%;
  margin-top: 10px;
}

.payBTN {
  padding: 7px;
  width: 100%;
  background-color: goldenrod;
  font-size: 1.2rem;
  border: none;
  margin-bottom: 1px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease-in;
  &:hover {
    border: 2px solid white;
  }
}
.once {
  display: none;
}
.hidden {
  display: none;
}

/**********************************************************************************************/
@media only screen and (max-width: 900px) {
  .loginForm {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: #17176b;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s ease-in;
  }
  .loginFormOnLoad {
    top: -100%;
  }

  .formContainer {
    width: 80%;
  }
  main {
    width: 100%;
    height: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    z-index: 0;
  }
  .paymentPanel {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .personal p {
    padding: 2px;
  }
  .chooseDonationMethod {
    width: 97%;
    top: 35%;
  }
  .containerFormCard {
    width: 100%;
  }
  .hidden {
    display: none;
  }
}
