* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: open sans, sans-serif;
}
body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  transition: 1500ms ease-out;
}
#btns {
  max-width: 1200px;
  width: 100%;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#btns a {
  height: 6rem;
  margin-bottom: 1rem;
}
#btns img {
  height: 100%;
}
.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background-color: red; */
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.btn-container small {
  margin-top: 2rem;
  /* background-color: red; */
  width: 100%;
  max-width: calc(600px + 1rem);
  font-size: 1rem;
}
.btn-position {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.btn-container button {
  color: #000;
  border: none;
  border-radius: 10px;
  width: 300px;
  height: 70px;
  margin: 0.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 1px 3px 5px #c9c9c9;
  cursor: pointer;
}
.btn-container button:disabled {
  color: rgba(16, 16, 16, 0.3);
  cursor: auto;
}
.btn-container button:disabled .icon {
  opacity: 0.4;
}
.btn-container button.active {
  border: 1px solid #1daf4c;
  background-color: #1daf4c;
  color: #fff;
}
.title-button {
  /* background-color: blue; */
  width: 60%;
  display: flex;
  justify-content: center;
  /* padding-left: 60px; */
}
.title-button::before {
  content: "";
  border: 1px solid #c9c9c9;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 40px;
  width: 20px;
  height: 20px;
}
.btn-container button.active .title-button::before {
  border: 1px solid #fff;
}
.btn-container button.active .title-button::before {
  content: "";
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at center, #fff 50%, transparent 60%);
}
/* ICONS */

.icon {
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
}

/* quando os icones nao estao selecionados aparece essas imgs */
.vehicle-icon {
  background-image: url("./img/icon_tracker_grey.svg");
}
.cellphone-icon {
  background-image: url("./img/icon_cellphone_grey.svg");
}
.with-simcard-icon {
  background-image: url("./img/icon_with_simcard_grey.svg");
}
.no-simcard-icon {
  background-image: url("./img/icon_no_simcard_grey.svg");
}
.biannual-icon {
  background-image: url("./img/icon_calendar_six_months_grey.svg");
}
.monthly-icon {
  background-image: url("./img/icon_calendar_one_month_grey.svg");
}
.yearly-icon {
  background-image: url("./img/icon_calendar_twelve_months_grey.svg");
}

/* quando os icones estao selecionados aparece essas imgs */
.btn-container button.active .vehicle-icon {
  background-image: url("./img/icon_tracker_white.svg");
}
.btn-container button.active .cellphone-icon {
  background-image: url("./img/icon_cellphone_white.svg");
}
.btn-container button.active .with-simcard-icon {
  background-image: url("./img/icon_with_simcard_white.svg");
}
.btn-container button.active .no-simcard-icon {
  background-image: url("./img/icon_no_simcard_white.svg");
}
.btn-container button.active .biannual-icon {
  background-image: url("./img/icon_calendar_six_months_white.svg");
}
.btn-container button.active .monthly-icon {
  background-image: url("./img/icon_calendar_one_month_white.svg");
}
.btn-container button.active .yearly-icon {
  background-image: url("./img/icon_calendar_twelve_months_white.svg");
}

/* END ICONS */

#show-plans {
  display: flex;
  position: relative;
  max-width: 1400px;
  /* background-color: blue; */
}
.title-plans h1 {
  text-transform: uppercase;
  text-align: center;
  font-weight: 500;
  font-size: 1.5rem;
  color: #242b6b;
}
.container-plans {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
  padding-bottom: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#show-plans-and-title {
  display: none;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  background-color: #fff;
  width: 100%;
}
#plans {
  margin: 2rem 1rem 0;
  width: 18rem;
  height: 45rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 1px 5px 15px #c9c9c9;
}
#plans h2 {
  color: #fff;
  font-weight: 600;
  font-size: 1.5rem;
}
p,
h3 {
  color: #242b6b;
}
#small {
  margin-top: 22rem;
  color: #242b6b;
}
.plans-header {
  background-color: #1daf4c;
  height: 15%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.plans-header h2 {
  font-size: 1.5rem;
  font-weight: 500;
}
.plan-discount {
  border-radius: 0.5rem;
  width: 90%;
  padding: 0.5rem;
  background-color: #c10000;
  color: #fff;
  text-align: center;
}
.plans-body {
  padding: 1rem 0;
  height: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.feature {
  flex: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}
.feature p {
  font-size: 0.9rem;
  flex: 2;
  text-align: start;
}
.feature i {
  width: 3rem;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
}
.plans-footer {
  border-top: 1px solid #e2e2e2;
  height: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.title-footer {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.title-footer h3 {
  font-size: 1.5rem;
}
.title-footer small {
  font-size: 0.8rem;
}
.fa-check {
  color: #1daf4c;
}
.fa-times {
  color: #c10000;
}
.call-to-action-create-account {
  margin-top: 2rem;
  /* background-color: red; */
  display: flex;
  flex-direction: column;
  align-items: center;
}
.call-to-action-create-account h3 {
  font-size: 1.5rem;
  padding: 0 2rem;
  text-align: center;
  font-weight: bolder;
  color: #1daf4c;
}
.btn-footer {
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-footer a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: #242b6b;
  border: 1px solid #242b6b;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  color: #fff;
}
.btn-footer a:hover {
  background-color: transparent;
  color: #242b6b;
}
#animation-setinha {
  width: 150px;
  height: 150px;
  /* background-color: red; */
}

/* modal */
#modal {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.modal-content {
  position: relative;
  background-color: #fff;
  height: auto;
  margin: 0 2rem;
  padding: 2rem 2rem 3rem;
  max-width: 35rem;
  border-radius: 1rem;
}
.modal-content h3 {
  font-size: 1.5rem;
}
.modal-content p {
  margin-top: 1rem;
  font-size: 1rem;
}
.close-modal {
  cursor: pointer;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  top: -1rem;
  right: -1rem;
  background-color: #242b6b;
}
.close-modal i {
  color: #fff;
}
.doubt {
  color: blue;
  cursor: pointer;
  border-radius: 0.5rem;
  margin-right: 0.4rem;
}
.doubt:hover {
  color: #242b6b;
  background-color: rgba(0, 0, 0, 0.05);
}

/* detalhes dos planos em cards no final da página */
.details-bg-full-screen {
  background-color: #242b6b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 3rem;
}
.details-bg-full-screen h2 {
  margin: 3rem 0 2rem;
  color: #fff;
}
#container-details-plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  background-color: transparent;
  max-width: 1200px;
}
.details-plans {
  z-index: 1;
  border-radius: 1rem;
  background-color: #fff;
  margin: 1rem 0.5rem;
  padding: 1rem 1rem;
  min-height: 12rem;
  width: 100%;
  max-width: calc(1200px / 3 - 2rem);
}
.details-plans h3 {
  margin-bottom: 0.5rem;
}

@media only screen and (max-width: 500px) {
  #btns a {
    height: 4rem;
  }
  .btn-container small {
    margin-left: 1rem;
  }
  .title-button {
    justify-content: start;
    padding-left: 20px;
  }
  .title-button::before {
    left: 20px;
  }
  .icon {
    width: 30px;
    height: 30px;
  }
}

@media only screen and (min-width: 980px) {
  #plans {
    margin: 2rem 0.3rem 0;
    width: 18rem;
  }

  #plans:last-child {
    margin-right: 0;
  }

  .title-footer small {
    font-size: 0.8rem;
  }
  .title-footer h3 {
    font-size: 1.8rem;
  }
  .feature p {
    font-size: 1rem;
  }
}
