/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Space Mono", monospace;
}

body {
    width: 100%;
    height: 100vh;
    padding-top: 5px;
    background-color: hsl(185, 41%, 84%);
}

.card-all {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.img-all {
    margin-bottom: 40px;
}

.tip-card {
    width: 920px;
    height: 480px;
    border-radius: 25px;
    padding: 32px 32px 32px 32px;
    background-color: hsl(0, 0%, 100%);
}

.content-tip-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.text-tip-information {
    color: hsl(183, 100%, 15%);
    font-size: 16px;
}

.input-information {
    width: 380px;
    height: 48px;
    border: none;
    border-radius: 5px;
    background-color: hsl(189, 41%, 97%);
    cursor: pointer;
    outline: none;
    margin-top: 12px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: right;
    font-size: 24px;
    color: hsl(183, 100%, 15%);
}

#bill:focus {
    outline: hsl(172, 67%, 45%) solid 2px;
}

#people:focus {
    outline: hsl(172, 67%, 45%) solid 2px;
}

.icon-dollar{
    background-image:url('./styleTipCalculatorApp/images/icon-dollar.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-position-x: 15px;
}

.icon-person {
    background-image:url('./styleTipCalculatorApp/images/icon-person.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-position-x: 15px;
}

.select-tip-button {
    width: 380px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 15px;
    justify-content: space-between;
    margin-top: 12px;
}

.button-tip {
    width: 118px;
    height: 48px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    background-color: hsl(183, 100%, 15%);
    color: hsl(0, 0%, 100%);
    cursor: pointer;
}

.button-tip.active {
    background-color: hsl(172, 67%, 45%);
    color: hsl(183, 100%, 15%);
  }

#select-tip-custom:focus {
    outline: hsl(172, 67%, 45%) solid 2px;
}

.button-tip-custom {
    width: 118px;
    height: 48px;
    font-size: 24px;
    border: none;
    border-radius: 5px;
    background-color: hsl(189, 41%, 97%);
    cursor: pointer;
    outline: none;
    text-align: right;
    color: hsl(183, 100%, 15%);
}

.button-tip-custom::placeholder {
    color: hsl(186, 14%, 43%);
    text-align: center;
}

.tip-information {
    width: 415px;
    height: 415px;
    display: flex;
    padding: 15px 0px 15px 0px;
    flex-direction: column;
    justify-content: space-between;
}

/* ---------------------------------------------------*/

.tip-result {
    width: 415px;
    height: 415px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 62px 42px 40px 42px;
    background-color: hsl(183, 100%, 15%);
}

.tip-amount, .tip-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tip-amount {
    margin-bottom: 15px;
}

.p-tip-result-name {
    color: hsl(189, 41%, 97%);
}

.p-tip-result-person {
    color: hsl(184, 14%, 56%);
    font-size: 14px;
}

.p-tip-amount-person {
    color: hsl(172, 67%, 45%);
    font-size: 46px;
}

.p-tip-amount-total {
    color: hsl(172, 67%, 45%);
    font-size: 46px;
}

.button-reset {
    width: 335px;
    height: 48px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    color: hsl(183, 100%, 15%);
    background-color: hsl(187, 38%, 28%);
}

.button-reset:hover {
    background-color: hsl(172, 67%, 45%);
}