* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  /* colors */
  --clr-Linear-Gradient: hsl(236, 72%, 79%) to hsl(237, 63%, 64%);
  --clr-Very-Light-Grayish-Blue: hsl(240, 78%, 98%);
  --clr-Light-Grayish-Blue: hsl(234, 14%, 74%);
  --clr-Grayish-Blue: hsl(233, 13%, 49%);
  --clr-Dark-Grayish-Blue: hsl(232, 13%, 33%);
}

body {
  height: 100vh;
  font-family: "Josefin Sans", serif; /* Weight: 700 */
  background: url("./images/bg-top.svg") no-repeat top right,
    url("./images/bg-bottom.svg") no-repeat bottom left,
    var(--clr-Very-Light-Grayish-Blue);
}
header {
  display: grid;
  place-items: center;
  margin-top: 5rem;
}

h1 {
  color: var(--clr-Dark-Grayish-Blue);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.toggle {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  gap: 2rem;
}

.toggle span {
  color: var(--clr-Light-Grayish-Blue);
  font-size: 1.1rem;
  font-weight: 700;
}

/* slider */
.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.switch input {
  display: none;
}

.slider {
  background-color: hsl(237, 63%, 64%);
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background-color: white;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 26px;
}

input:checked + .slider {
  background-color: hsl(237, 63%, 64%);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 0 auto;
  width: 69rem;
  height: 35rem;
}

.Basic {
  background: white;
  width: 23rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /*     */
  text-align: center;
  border-radius: 1rem;
  box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.1);
}
h2 {
  color: var(--clr-Dark-Grayish-Blue);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.Master {
  background: white;
  width: 23rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /*     */
  text-align: center;
  border-radius: 1.1rem;
  box-shadow: 2px 2px 10px 5px rgba(0, 0, 0, 0.1);
}

.Professional {
  background: linear-gradient(to right bottom, #b0a7f3, #6356d2);
  width: 23rem;
  text-align: center;
  border-radius: 1rem;
}

.Professional h2 {
  color: white;
  padding-top: 1.7rem;
  padding-bottom: 0.5rem;
}
.Professional button {
  background: white;
  color: hsl(237, 63%, 64%);

  width: 18rem;
  padding: 1rem 2rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
}
.Professional button:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.Professional p {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.Professional .annually-budget {
  color: white;
}

.Professional .monthly-budget {
  font-size: 4rem;
  font-family: Arial, sans-serif;
  align-items: center;
  color: white;
  display: none;
}
.monthly-budget {
  font-size: 4rem;
  font-family: Arial, sans-serif;
  align-items: center;
  color: var(--clr-Dark-Grayish-Blue);
  display: none;
}
.annually-budget {
  font-size: 4rem;
  font-family: Arial, sans-serif;
  align-items: center;
  color: var(--clr-Dark-Grayish-Blue);
  display: non;
}

.dolar {
  font-size: 3rem;
}

hr {
  margin: 0 auto;
  width: 18rem;
  background-color: var(--clr-Very-Light-Grayish-Blue);
  margin: 1.5rem;
}

p {
  color: var(--clr-Grayish-Blue);
  font-size: 1.1rem;
  font-weight: 700;
}

button {
  background: linear-gradient(to right, #b0a7f3, #6356d2);
  margin: 0 auto;
  border: none;
  border-radius: 0.6rem;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 1.4rem;
  padding: 1rem 2rem;
  width: 18rem;
  letter-spacing: 2px;
}

button:hover {
  background: white;
  border: 2px solid hsl(237, 63%, 64%);
  color: hsl(237, 63%, 64%);
}

@media (max-width: 768px) {
  body {
    height: 100vh;
  }
  .container {
    flex-direction: column;
    width: 90%;
  }
  .Basic,
  .Master,
  .Professional {
    width: 100%;
  }
  .Professional button {
    width: 30rem;
  }
  .Professional .monthly-budget {
    display: block;
  }
  .Professional .annually-budget {
    display: none;
  }
  .monthly-budget {
    display: block;
  }
  .annually-budget {
    display: none;
  }
  hr {
    width: 30rem;
  }
  button {
    margin-bottom: 2rem;
    width: 30rem;
  }
}
