*{
    margin: 0rem;
    padding: 0rem;
    box-sizing: border-box;
}
body{
    background-color: rgba(0, 0, 0, 0.867);
    background-color: black;
}
input{
    outline: none;
  border: none;
  margin: auto;
  margin-bottom: 1rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.18rem;
  box-shadow: 0px 0px 1px 1px lightgrey;
}
.amount h3{
    margin-left: 2.4rem;
}
.amountWrapper{
    margin: auto;
    padding: 0.7rem;
    font-weight: bolder;
    border-radius: 0.18rem;
    box-shadow: 0px 0px 1px 1px lightgrey;
    background-color: white;
    margin-bottom: 2rem;
}
h3{
    font-family:sans-serif;
    font-size: 1rem;
}
h1{
    text-align: center;
    margin-bottom: 2rem;
    padding: 0.8rem 0rem;
    border-bottom: 1px solid rgb(190, 174, 144);
    background-color: white;
    font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
.cardNo,
.email,
.amountWrapper{
    width: 80%;
    margin: auto;
}
.cardNo{
    margin-top: 1rem;
}
.cardNo input,
.email input{
    width: 100%;
}
.wrapper input{
    width: 7rem;
}
.wrapper{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.checkout{
    width: 23rem;
    background-color: beige;
    margin: auto;
    margin-top: 6rem; 
    box-shadow: 0px 1px 3px 0px rgb(191, 178, 178);
}
button{
  outline: none;
  border: none;
  font-size: 1rem;
  width: 80%;
  margin: auto;
  border-radius: 0.19rem;
  cursor: pointer;
  font-weight: bolder;
  border: 1px solid rgb(190, 174, 144);
  background-color: rgb(30, 248, 248);
  padding: 0.6rem 1.7rem;
  margin-bottom: 2rem;
}
.btnContainer{
    width: 100%;
    margin: auto;
    text-align: center;
}
@media (max-height:553px) {
    .checkout{
        margin-top: 3rem; 
    }
}
@media (max-height:506px) {
    .checkout{
        margin-bottom: 3rem; 
    }
}
@media (max-width:400px) {
    h3{
        font-size: 0.9rem;
    }
    input{
      padding: 0.65rem;
      margin-bottom: 1.3rem;
    }
    button{
        padding: 0.6rem 1.7rem;
        margin-top: 0.7rem;
    }
    .checkout{
        width: 21rem;
    }
    .wrapper input{
        width: 6rem;
    }
}
@media (max-width:376px) {
    h1,
    input{
        margin-bottom: 1rem;
    }
    button{
        margin-top: 0.3rem;
    }
    h1{
        margin-top: 0.3rem;
        font-size: 1.8rem;
    }
}
@media (max-width:356px) {
    .checkout{
        width: 19rem;
    }
}
@media (max-width:317px) {
    .checkout{
        width: 90%;
    }
    .checkout .wrapper input{
        width: 5rem;
    }
}
