@font-face {
  font-family: "gilroy";
  font-style: normal;
  font-weight: normal;
  src:
    local("gilroy"),
    url("../fonts/Gilroy-Regular.ttf")  format("truetype");
}

@font-face {
  font-family: "gilroy";
  font-style: normal;
  font-weight: bold;
  src:
    local("gilroy"),
    url("../fonts/Gilroy-Bold.ttf")  format("truetype");
}

body, html {
  font-family: gilroy, sans-serif;
  font-size: 20px;
  min-height: 100%;
  height: 100%;
  text-align: center;
}

.logo {
  margin-top: -10px;
  margin-bottom: 40px;
}
.main {
  padding: 40px;
  min-height: 100%;
}
.btn {
  font-size: 15px;
  height: 40px;
  font-weight: bold;
  border-radius: 20px;
}
.btn-primary, .btn-primary:hover,
.btn-primary:active, .btn-primary:focus {
  background-color: #A664B7 !important;
  border-color: #A664B7 !important;
  font-size: 20px;
  height: 50px;
  border-radius: 25px;
  color: #FFF;
}
.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(166, 100, 183, 0.5) !important;
}
.btn-secondary, .btn-secondary:hover,
.btn-secondary:active, .btn-secondary:focus {
  background-color: #F4F4F4 !important;
  border-color: #F4F4F4 !important;
  color: #000 !important;
  box-shadow: none !important;
}
.btn-danger, .btn-danger:hover,
.btn-danger:active, .btn-danger:focus {
  background-color: #D7335F !important;
  border-color: #D7335F !important;
  color: #FFF !important;
  box-shadow: none !important;
}
.titleContainer, .tipContainer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.title, #tip {
  font-size: 15px;
  color: #A3A3A3;
}
#tip {
  margin-bottom: 40px;
}
.tipContainer {
  height: 80px;
}
.tips {
  margin: 0 4px;
}
textarea {
  height: 125px !important;
  background-color: #F8F8F8 !important;
  border-radius: 10px !important;
  color: #A3A3A3 !important;
  font-size: 12px !important;
  border: none !important;
  margin-bottom: 50px;
  padding: 14px !important;
  outline: none !important;
  resize: none !important;
}
textarea::placeholder {
  color: #A3A3A3 !important;
  font-size: 12px !important;
}
.pay-button {
  height: 125px;
  border: 1px solid #DADADA;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}
.back {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 16px;
}
#card-step {
  padding-left: 20px;
  padding-right: 20px;
}
.card-row {
  display: flex;
  align-items: center;
  margin: 16px 0;
}
.visa {
  width: 70px;
  height: 40px;
  background: #EFEFEF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-summary {
  font-size: 15px;
  color: #A3A3A3;
  margin-left: 20px;
  line-height: 18px;
  text-align: left;
}
.hidden {
  display: none !important;
}
#apple-pay-step {
  padding: 16px;
  padding-bottom: 0;
}
path.animated {
  animation: 1.8s ease-in 0.5s forwards faceidColor;
}
svg.animated {
  animation: 2s ease-in 0.3s forwards faceid;
}
svg {
  transform: rotateY(180deg);
}
@keyframes faceidColor {
  from { fill: #d2d2d2 }
  to { fill: #0079ff }
}
@keyframes faceid {
  0% { transform: scale(1) rotateY(180deg) }
  16.7% { transform: scale(0.8) rotateY(90deg) }
  33.4% { transform: scale(1) rotateY(0deg) }
  50.1% { transform: scale(0.8) rotateY(90deg) }
  66.8% { transform: scale(1) rotateY(180deg) }
  83.5% { transform: scale(0.8) rotateY(90deg) }
  100% { transform: scale(1) rotateY(0deg) }
}
