
#amount {
    font-size: 20px;
    padding: 0.1em;
    border-radius: 0.2em;
    appearance: none;
}
#amount::-webkit-outer-spin-button, #amount input[type="number"]::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}
:root {
    --var-clr-purple-light: #730400;
    --var-clr-purple-dark: #291B3E;
    --var-clr-red-light: rgba(103, 0, 0, 0.5);
    --var-clr-red-dark: rgba(96, 33, 0, 0.7);
    --var-clr-purple-light-alpha: rgba(138 43 226 / .5);
    --var-clr-purple-dark-alpha: rgba(41 27 62 / .5);
    --var-clr-red-light-alpha: rgba(0, 0, 0, 0.5);
    --var-clr-red-dark-alpha: rgba(73 2 2 / 0.1);
    /*--var-clr-gradient: linear-gradient(to bottom, var(--var-clr-purple-light), var(--var-clr-purple-dark));*/
    --var-clr-gradient: linear-gradient(to bottom, var(--var-clr-red-light), var(--var-clr-red-dark));
    --var-clr-gradient-alpha: linear-gradient(to bottom, var(--var-clr-purple-light-alpha), var(--var-clr-purple-dark-alpha));
    --var-red-alpha: linear-gradient(to bottom, var(--var-clr-red-light-alpha), var(--var-clr-red-dark-alpha));
    --var-border-radius: 7px;
    --var-font-clamp-medium: clamp(1.1em, 3vw, 1.5em);
    --var-font-clamp-big: clamp(2em, 6vw, 4em);
}
.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
/*NEW*/
.fieldset {
    display: flex;
    flex-direction: column;
    padding-inline: clamp(7px, 2vw, 20px);
    padding-block: clamp(20px, 4vw, 50px);
    margin: auto;
    width: min(75vw, 600px);
    background: rgba(0 0 0 / .2);
    border-radius: var(--var-border-radius);
    align-items: center;
    text-align: center;
    gap: 50px;
    background: var(--var-clr-gradient);
    justify-content: center;
    font-family: "Roboto Mono", monospace;
    font-weight: 300;
    padding-top: 30px;
}
.button {
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 10px;
    width: min(75%, 500px);
    font-weight: 700;
    font-size: var(--var-font-clamp-medium);
    background: var(--var-clr-purple-light);
    border-radius: var(--var-border-radius);
    transition: transform ease-in 50ms;
}
.button:active {
    transform: scale(.95);
}
.coin-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(75%, 500px);
}
.coin-label {
    font-size: 1.25em;
    border: none;
    padding: 5px 10px;
    background: var(--var-clr-red-light);
    /*background: var(--var-clr-purple-light);*/
    border-top-left-radius: var(--var-border-radius);
    border-top-right-radius: var(--var-border-radius);
}
.coin-flex {
    display: flex;
    font-size: 1.7em;
    height: 50px;
    border-bottom-left-radius: var(--var-border-radius);
    border-bottom-right-radius: var(--var-border-radius);
    overflow: hidden;
}
.coin-currency {
    border-right: 1px solid var(--var-clr-red-light);
    /*border-right: 1px solid var(--var-clr-purple-light);*/
    padding: 5px 15px;
    background: var(--var-clr-red-light-alpha);
    /*background: var(--var-clr-purple-light-alpha);*/
}
.coin-input {
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    width: 100%;
    border: none;
    padding: 5px 15px;
    background: var(--var-clr-red-light-alpha);
    /*background: var(--var-clr-purple-light-alpha);*/
}
.coin-input, .coin-label {
    outline-offset: -3px;
    color: white !important;
    padding: 10px;
}
.swap {
    width: 70px;
    aspect-ratio: 1;
    background: url("https://raw.githubusercontent.com/araggohnxd/imersaodev/master/aula02/swap-arrows.png") center no-repeat;
    background-size: 100%;
}
.coin-input.bot {
    outline: none;
    cursor: default;
}
/*NEW*/
/*CARD FORM OPENPAY*/
.body {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.body .payment-title {
    width: 100%;
    text-align: center
}
.body .form-container .field-container:first-of-type {
    grid-area: name;
}
.body .form-container .field-container:nth-of-type(2) {
    grid-area: number;
}
.body .form-container .field-container:nth-of-type(3) {
    grid-area: expiration;
}
.body .form-container .field-container:nth-of-type(4) {
    grid-area: security;
}
.body .field-container input {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.body .field-container {
    position: relative;

}
.body .form-container {
    display: grid;
    grid-column-gap: 10px;
    grid-row-gap: 30px;
    grid-template-columns: auto auto;
    grid-template-rows: 90px 90px 90px;
    grid-template-areas: "name name" "number number" "expiration security";
    max-width: 400px;
    padding: 20px;
    color: #707070;
}
.body label {
    padding-bottom: 5px;
    font-size: 13px;
}
.body input {
    margin-top: 3px;
    padding: 15px;
    font-size: 16px;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #dcdcdc;
}
.body .ccicon {
    height: 38px;
    position: absolute;
    right: 6px;
    top: calc(50% - 17px);
    width: 60px;
}
/* CREDIT CARD IMAGE STYLING */
.body .preload * {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
}
.body .container {
    width: 100%;
    max-width: 400px;
    max-height: 251px;
    height: 54vw;
    padding: 20px;
}
.body #ccsingle {
    position: absolute;
    right: 15px;
    top: 20px;
}
.body #ccsingle svg {
    width: 100px;
    max-height: 60px;
}
.body .creditcard svg#cardfront,
.body .creditcard svg#cardback {
    width: 100%;
    -webkit-box-shadow: 1px 5px 6px 0px black;
    box-shadow: 1px 5px 6px 0px black;
    border-radius: 22px;
}
.body #generatecard {
    cursor: pointer;
    float: right;
    font-size: 12px;
    color: #fff;
    padding: 2px 4px;
    background-color: #909090;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}
/* CHANGEABLE CARD ELEMENTS */
.body .creditcard .lightcolor,
.body .creditcard .darkcolor {
    -webkit-transition: fill 0.5s;
    transition: fill 0.5s;
}
.body .creditcard .lightblue {
    fill: #03a9f4;
}
.body .creditcard .lightbluedark {
    fill: #0288d1;
}
.body .creditcard .red {
    fill: #ef5350;
}
.body .creditcard .reddark {
    fill: #d32f2f;
}
.body .creditcard .purple {
    fill: #ab47bc;
}
.body .creditcard .purpledark {
    fill: #7b1fa2;
}
.body .creditcard .cyan {
    fill: #26c6da;
}
.body .creditcard .cyandark {
    fill: #0097a7;
}
.body .creditcard .green {
    fill: #66bb6a;
}
.body .creditcard .greendark {
    fill: #388e3c;
}
.body .creditcard .lime {
    fill: #d4e157;
}
.body .creditcard .limedark {
    fill: #afb42b;
}
.body .creditcard .yellow {
    fill: #ffeb3b;
}
.body .creditcard .yellowdark {
    fill: #f9a825;
}
.body .creditcard .orange {
    fill: #ff9800;
}
.body .creditcard .orangedark {
    fill: #ef6c00;
}
.body .creditcard .grey {
    fill: #bdbdbd;
}
.body .creditcard .greydark {
    fill: #616161;
}
/* FRONT OF CARD */
.body #svgname {
    text-transform: uppercase;
}
.body #cardfront .st2 {
    fill: #ffffff;
}
.body #cardfront .st3 {
    font-family: "Source Code Pro", monospace;
    font-weight: 600;
}
.body #cardfront .st4 {
    font-size: 54.7817px;
}
.body #cardfront .st5 {
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
}
.body #cardfront .st6 {
    font-size: 33.1112px;
}
.body #cardfront .st7 {
    opacity: 0.6;
    fill: #ffffff;
}
.body #cardfront .st8 {
    font-size: 24px;
}
.body #cardfront .st9 {
    font-size: 36.5498px;
}
.body #cardfront .st10 {
    font-family: "Source Code Pro", monospace;
    font-weight: 300;
}
.body #cardfront .st11 {
    font-size: 16.1716px;
}
.body #cardfront .st12 {
    fill: #4c4c4c;
}
/* BACK OF CARD */
.body #cardback .st0 {
    fill: none;
    stroke: #0f0f0f;
    stroke-miterlimit: 10;
}
.body #cardback .st2 {
    fill: #111111;
}
.body #cardback .st3 {
    fill: #f2f2f2;
}
.body #cardback .st4 {
    fill: #d8d2db;
}
.body #cardback .st5 {
    fill: #c4c4c4;
}
.body #cardback .st6 {
    font-family: "Source Code Pro", monospace;
    font-weight: 400;
}
.body #cardback .st7 {
    font-size: 27px;
}
.body #cardback .st8 {
    opacity: 0.6;
}
.body #cardback .st9 {
    fill: #ffffff;
}
.body #cardback .st10 {
    font-size: 24px;
}
.body #cardback .st11 {
    fill: #eaeaea;
}
.body #cardback .st12 {
    font-family: "Rock Salt", cursive;
}
.body #cardback .st13 {
    font-size: 37.769px;
}
/* FLIP ANIMATION */
.body .container {
    perspective: 1000px;
}
.body .creditcard {
    width: 100%;
    max-width: 400px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: -webkit-transform 0.6s;
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    transition: transform 0.6s, -webkit-transform 0.6s;
    cursor: pointer;
}
.body .creditcard .front,
.body .creditcard .back {
    position: absolute;
    width: 100%;
    max-width: 400px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    color: #47525d;
}
.body .creditcard .back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.body .creditcard.flipped {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.buttoncheckout {
    text-transform: uppercase !important;
    text-align: center !important;
    margin: 20px !important;
    padding: 20px 40px !important;
    /*display: inline-flex !important;*/
    font-family: Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition:
            box-shadow 0.5s cubic-bezier(.62,.14,.5,.99),
            color 0.5s cubic-bezier(.62,.14,.5,.99) !important;
}

/* Define colors */
.standard-black-click {
    --white: #ffffff;
    --black: #3a0000;
}

/* Base styles for the button */
.standard-black-click {
    color: var(--white);
    background: var(--white);
    box-shadow: inset 0 0 0 50px var(--black);
    position: relative;
    overflow: hidden;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    transition: all 0.3s ease;
}

/* Hover effect */
.standard-black-click:hover {
    box-shadow: inset 0 0 0 0 var(--black);
    color: var(--black);
}

/* Styles for the span inside the button */
.standard-black-click > span {
    display: flex;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease-in;
}

/* Pseudo-element for alternative text */
.standard-black-click:after {
    content: attr(data-alt-text);
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 20px;
    color: var(--white);
    background: var(--black);
    transition: top 0.5s ease-in;
}

/* Move up effect for the span and pseudo-element */
.standard-black-click.move-up > span {
    transform: translate3d(0, -56px, 0);
}

.standard-black-click.move-up:after {
    top: 0%;
}

/*CARD FORM OPENPAY*/
