/* Animations */

@keyframes load-animate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
    opacity: 0.35;
  }
  100% {
    transform: rotate(360deg);
  }
}
/*  */

* {
  padding: 0;
  margin: 0;
}

.bold {
  font-weight: 900;
}

#app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
}

#app > #background_top {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100vw;
  background-color: rgb(118, 140, 101);
  /* background-image: linear-gradient(150deg, #94bad7, #94bad7, #8cabc3, #94bad7); */
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#app > #modal > h1 {
  position: absolute;
  font-family: "Muli", sans-serif;
  font-size: 110px;
  color: #7998b1;
  top: -80px;
  z-index: -1;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100vw;
  text-align: center;
}

#app > #modal {
  display: flex;
  justify-content: space-between;
  min-height: 60vh;
  position: relative;
}
.box {
  background-color: white;
  border-radius: 20px;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

#box__data {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 500px;
  position: relative;
  padding: 30px 0;
}

#box__view > #header {
  display: none;
}

#box__data > #header > #logo {
  margin: auto;
  width: 100px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("./images/logo_graacc.png");
}
#box__view > #header > #logo {
  margin: auto;
  width: 100px;
  height: 50px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("./images/logo_graacc.png");
}

#box__data > #header > #header_title {
  font-weight: 500;
  font-size: 20px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#box__view > #header > #header_title {
  font-weight: 500;
  font-size: 20px;
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#box__data > #body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
}

#box__data > #body #checkout-cta {
  text-align: center;
  padding: 0 5%;
  color: #000000;
  font-size: 13px;
}
#box__data > #body #checkout-cta :first-child {
  text-align: justify;
}

#cta_button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#box__data > #body > #cta_button > .error__message {
  background-color: rgba(255, 0, 0, 0.5);
  opacity: 0.8;
  padding: 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

#cta_button > button {
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-type="amount"], [data-type="email"] {
  background: 0;
  border: 0;
  border-bottom: 2px ridge #f1f1f1;
  outline: none;
  width: 80vw;
  max-width: 400px;
  font-size: 30px;
  text-align: center;
  transition: padding 0.3s 0.2s ease;
  padding-top: 10px;
  margin-bottom: 10px;
}

#box__data > #body > #payment_menu {
  padding: 20px;
  padding-bottom: 10px;
  text-align: center;
}

button {
  background-color: #025e1e;
  border: none;
  color: white;
  font-weight: 700;
  padding: 10px 22px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
}

#box__data > #body button:hover {
  cursor: pointer;
  background-color: #c8cbcf;
  color: white;
}

#box__data > #body > #payment_menu button {
  background-color: #c8cbcf;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid #c8cbcf;
}

#box__data > #body > #payment_menu button:hover {
  cursor: pointer;
  background-color: #3c744c;
  color: white;
  border: 1px solid #3c744c;
}

#box__data > #body > #payment_menu button.button-active {
  border: 1px solid #3c744c;
  background-color: #3c744c;
  color: white;
}

#box__data > #footer {
  text-align: end;
  padding-right: 20px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.load {
  margin-right: 10px;
  display: none;
  width: 20px;
  height: 20px;
  border: 5px solid rgb(112, 161, 120);
  border-radius: 100%;
}

.open {
  border-top: 5px solid transparent;
  animation: load-animate infinite linear 1s;
}

#box__data > #footer > a {
  color: black;
  text-decoration: none;
  opacity: 0.3;
}

#box__data > #footer > a:hover {
  opacity: 1;
}

#box__data > #footer > a > small > span {
  color: #ff6c09;
}

#box__view {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 20px;
  width: 50vw;
  padding: 20px;
  max-width: 600px;
}

#box__view > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#box__data.submited {
  width: calc(40vw - 20px);
}

#box__data > #body > #payment_menu > button {
  margin-top: 10px;
}

#bitcoin-logo {
  padding-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  position: absolute;
  bottom: 5px;
  opacity: 0.5;
}

#bitcoin-logo > p {
  font-size: 11px;
  color: yellow;
}

#email-client ::-webkit-input-placeholder {
   text-align: center;
}

#email-client :-moz-placeholder { /* Firefox 18- */
   text-align: center;  
}

#email-client ::-moz-placeholder {  /* Firefox 19+ */
   text-align: center;  
}

#email-client :-ms-input-placeholder {  
   text-align: center; 
}

/* #email-client {
  border-radius: 20px;
  border: none;
  padding: 5px 10px;
  text-align: center;
} */

@media only screen and (min-width: 601px) and (max-width: 1200px) {
  #box__data {
    width: calc(40vw - 20px);
  }
}

@media only screen and (max-width: 600px) {
  #app > #modal {
    flex-direction: column;
    height: unset;
    flex-wrap: wrap;
  }

  #box__data.submited {
    display: none;
  }

  #box__data,
  #box__view {
    width: 80vw;
    min-height: 60vh;
    padding: 20px;
  }

  #box__data > #body > #payment_menu {
    display: flex;
    flex-direction: column;
  }

  #box__view {
    margin-left: 0;
    margin-top: 20px;
  }

  #box__view > #header {
    display: block;
  }

  #box__data > #body > #payment_menu {
    width: 155px;
  }

  #cta_button {
    margin-bottom: 40px;
  }
}

#box__data.submited > #body > #payment_menu {
  width: 155px;
}

#box__data.submited > #body > #cta_button {
  margin-bottom: 40px;
}
