body {
  font-family: sans-serif;
}
.left img {
  margin: 1rem auto;
  height: 80%;
  object-fit: cover;
  width: 100%;
}
header {
  /* display: flex;
  justify-content: space-around; */
  display: grid;
  grid-template-columns: 4fr 5fr;
  width: 90%;
  margin: 3rem auto;
  gap: 3rem;
}
button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  border: none;
}
button:hover {
  background-color: skyblue;
}
.rii {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem;
}
.rii img {
  height: 1.3em;
}
.Select {
  border: 1px solid gray;
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.sec-hr {
  margin-top: 2rem;
}
.custom {
  width: fit-content;
  padding: 0.7rem 2.5rem;
  border-radius: 2rem;
  margin: 2rem auto 0;
}
/* .custom:hover{ */

/* } */
.don {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.don img {
  height: 1.3rem;
}

/* LEFT */
.left_top {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  gap: 1rem;
}
.left_top img {
  width: 4rem;
  height: auto;
}

@media (max-width: 700px) {
  header {
    display: block;
  }
}
@media (max-width: 470px) {
  .left_top {
    font-size: 1rem;
  }
  .Select {
    padding: 1rem;
    /* margin-right: 10rem; */
  }
  .grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .Select {
    padding: 1rem;
    margin-right: 10rem;
  }
  header {
    grid-template-columns: 3fr 6fr;
  }
}

/* MODAL */
.modal,
.custom_modal,
.second_modal,
.last_modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20rem;
  /* max-width: 35rem; */
  background-color: rgb(253, 253, 253);
  padding: 1rem;
  height: 25rem;
  z-index: 2;
  transition: 0.5s;
}
.modal.hidden,
.custom_modal.hidden,
.second_modal.hidden {
  top: 120%;
  opacity: 0;
}

input,
select {
  display: block;
  width: 100%;
  height: 1.5rem;
  margin: 0.5rem 0;
  outline: none;
}
.modal_top {
  display: flex;
  align-items: start;
}
.copy,
.copy1 {
  background-color: rgb(89, 164, 197);
  border-radius: 0;
  height: 2rem;
}
.modal button img {
  width: 1rem;
  padding: 0;
}
.copy_part,
.copy_part1 {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  position: relative;
}
.copy_part input {
  width: 100%;
}
.send {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.send button {
  border-radius: 0;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}
.sent {
  border: 2px solid grey;
  color: grey;
  transition: 1s;
}
.sent:hover {
  border: 2px solid transparent;
  color: white;
  background-color: grey;
}
.later {
  background-color: transparent;
  border: 2px solid skyblue;
  color: black;
  transition: 1s;
}
.later:hover {
  background-color: skyblue;
  border: 2px solid transparent;
}
.overlay {
  position: fixed;
  left: 0;
  top: 0;
  background-color: #00000040;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(10px);
}
.overlay.hidden {
  display: none;
}
.qr_code {
  background-color: white;
  height: 40%;
  width: 8rem;
  margin: 0.5rem auto;
}
.custom_modal {
  height: fit-content;
}

.centt {
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}
.second_modal button img {
  width: 1rem;
}
.second_modal {
  height: fit-content;
}
.qr_code1 {
  /* align-items: center; */
  width: fit-content;
  margin: 0 auto;
}

/* COPIED */
.copied,
.copied1 {
  position: absolute;
  right: 0;
  top: -50%;
  background-color: #666;
  padding: 0.3rem;
  color: white;
  font-size: 0.7rem;
  border-radius: 5px;
}
.copied.hidden,
.copied1.hidden {
  display: none;
}
.last_modal {
  text-align: center;
  height: fit-content;
  max-width: 20rem;
  padding: 2rem;
  border-radius: 5px;
  box-shadow: 0 0 5px 5px #00000040;
}
.last_modal.hidden {
  opacity: 0;
  z-index: -2;
}

/* MEDIA */
@media (max-width: 450px) {
  .modal,
  .custom_modal,
  .second_modal,
  .last_modal {
    width: 80vw;
  }
}

@media (max-width: 350px) {
  .send {
    justify-content: center;
  }
  .send button {
    border-radius: 0;
    padding: 0.5rem;
    border-radius: 5px;
  }
}
