* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Courier New", Courier, monospace;
}

root {
  --Verydarkcyan: hsl(183, 100%, 15%);
  --Darkgrayishcyan: hsl(186, 14%, 43%);
  --Grayishcyan: hsl(184, 14%, 56%);
  --Lightgrayishcyan: hsl(185, 41%, 84%);
  --Verylightgrayishcyan: hsl(189, 41%, 97%);
  --White: hsl(0, 0%, 100%);
  --Strongcyan: hsl(172, 67%, 45%);
}

body {
  max-width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: hsl(185, 41%, 84%);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.wrapper {
  width: 100%;
  height: 100vh;
  border-radius: 1rem;
  margin: auto;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.amount h3 {
  color: hsl(186, 14%, 43%);
  padding-bottom: 0.4rem;
  font-size: 15px;
  font-weight: 900;
}

.amount input {
  background-color: hsl(189, 41%, 97%);
  width: 100%;
  height: 5.5vh;
  border-radius: 0.4rem;
  border: none;
}

.amount span {
  font-size: 21px;
  font-weight: 900;
  color: hsl(183, 100%, 15%);
  position: relative;
  bottom: 30px;
  left: 11rem;
}

.amount img {
  position: relative;
  right: 4.5rem;
  bottom: 1.8rem;
  height: 0.8rem;
}

.tip h3 {
  color: hsl(186, 14%, 43%);
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.btn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  height: 20vh;
  margin-bottom: 1.5rem;
}

.btn button {
  font-size: large;
  font-weight: bold;
  background-color: hsl(183, 100%, 15%);
  border-radius: 0.2rem;
  border: none;
  color: hsl(0, 0%, 100%);
  cursor: pointer;
}

.btn .green {
  background-color: hsl(172, 67%, 45%);
  color: hsl(183, 100%, 15%);
}

.btn .white {
  background-color: hsl(189, 41%, 97%);
  color: hsl(184, 14%, 56%);
}
.people h3 {
  font-size: 15px;
  font-weight: 900;
  padding-bottom: 0.5rem;
}
.people span {
  position: relative;
  left: 14.7rem;
  padding-bottom: 1rem;
  font-weight: bolder;
  font-size: 23px;
}

.people img {
  position: relative;
  right: 0.7rem;
  height: 0.8rem;
  bottom: 1.9rem;
}

.wrapper2 {
  background-color: hsl(183, 100%, 15%);
  border-radius: 0.6rem;
  box-shadow: 2px 2px 2px 2px solid gray;
  height: 33vh;
}

.tipamount {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.tipamount h3 {
  font-size: 13px;
  color: hsl(0, 0%, 100%);
  flex: 1;
  margin-left: 1rem;
}

.tipamount input {
  flex: 1;
  width: 10%;
  height: 4vh;
  margin-top: 1.5rem;
  margin-inline: 0.5rem;
  background-color: hsl(183, 100%, 15%);
  border: none;
}

.inside span {
  font-size: 28px;
  font-weight: 900;
  color: hsl(172, 67%, 45%);
  position: relative;
  bottom: 2.6rem;
  left: 12rem;
}

.inside svg {
  position: relative;
  left: 6.5rem;
  bottom: 2.6rem;
  height: 2.5vh;
}

.inside svg path {
  fill: hsl(172, 67%, 45%);
}
.inside p {
  position: relative;
  bottom: 0.8rem;
  color: hsl(184, 14%, 56%);
  font-size: small;
  margin-left: 1rem;
}

.total {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.total h3 {
  font-size: 13px;
  color: hsl(0, 0%, 100%);
  flex: 1;
  margin-left: 1rem;
  position: relative;
  bottom: 2rem;
}

.total input {
  flex: 1;
  width: 10%;
  height: 4vh;
  margin-top: 1.5rem;
  margin-inline: 0.5rem;
  background-color: hsl(183, 100%, 15%);
  position: relative;
  bottom: 2rem;
  border: none;
}

.inside2 span {
  font-size: 28px;
  font-weight: 900;
  color: hsl(172, 67%, 45%);
  position: relative;
  bottom: 4.6rem;
  left: 11rem;
}

.inside2 svg {
  position: relative;
  left: 4.4rem;
  bottom: 4.6rem;
  color: hsl(172, 67%, 45%);
  height: 2.5vh;
}

.inside2 svg path {
  fill: hsl(172, 67%, 45%);
}

.inside2 p {
  position: relative;
  bottom: 2.7rem;
  color: hsl(184, 14%, 56%);
  font-size: small;
  margin-left: 1rem;
}

.wrapper2 button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  height: 5vh;
  position: relative;
  bottom: 3rem;
  margin: auto;
  background-color: hsl(172, 67%, 45%);
  border: none;
  border-radius: 0.3rem;
  color: hsl(183, 100%, 15%);
  font-size: 20px;
  font-weight: 600;
}

@media screen and (min-width: 1024px) {
  .wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: auto;
    width: 45%;
    height: 50vh;
  }

  .logo {
    padding: 5.5rem;
  }

  .amount {
    margin-top: 2rem;
  }

  .btn {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    height: 12vh;
    margin-bottom: 1.5rem;
  }

  .wrapper2 {
    height: 45vh;
  }

  .wrapper2 button {
    position: relative;
    top: 2rem;
    width: 85%;
    font-size: 16px;
  }
}
