.cell-layer {
  z-index: -1;
}

/* hide join in button that goes to  packages page */
.btn-packages {
  display: none;
}
.container-header {
  margin-top: 30px;
  margin-bottom: 0px;
}
/* join button */
.join-button {
  color: #222;
  font-weight: 300;
  font-size: 20px;
  text-decoration: none;
}
.join-button:hover {
  color: #222;
  text-decoration: none;
}
.join-button:hover .square-img {
  transform: rotate(90deg);
  /* animation: rotateAnimation 2s infinite; */
}
.btn-join-now {
  background-color: #b8ede6;
  border: 2px solid #222;
  color: #222;
  font-weight: 800;
  font-size: 1.2rem;
  width: 100%;
}

.button-container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
.arrow-bkg-container {
  position: relative;
  align-items: center;
}
.button-container img {
  width: 40%;
  margin-right: 20px;
}
.square-img {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgb(181, 226, 216);
  top: 12px;
  z-index: -1;
  left: 128px;
  transition: transform 0.3s ease;
}
.packages h1 {
  font-family: "Montserrat";
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #222;
}
.packages p {
  font-family: "Montserrat";
  font-size: 12px;
  color: #222;
}
.features-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 20px;
  margin: 40px 0px;
}
.features-container > div {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
}
.features-container h3 {
  color: white;
  font-weight: 800;
  font-size: 1.4rem;
}
.features-container p {
  color: white;
  font-size: 1rem;
}
.pricing-header .svg-inline--fa {
  color: #73d1c5;
  font-size: 4rem;
  margin-bottom: 20px;
}
.feature-header {
  height: 120px;
  justify-content: space-between;
}

button.btn-join-now {
  border: 3px solid #222;
  border-radius: 5px;
  padding: 5px 10px;
  background: #86d2c5;
  position: relative;
  overflow: hidden;
}
button.btn-join-now:hover {
  background: #a6dbd2;
}
@keyframes shine {
  0% {
    left: -100px;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}
button.btn-join-now:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0) 70%
  );
  top: 0;
  left: -100px;
  animation: shine 3s infinite linear; /* Animation */
}

/* Tablet styles (≥576px) */
@media (min-width: 576px) {
  .join-button {
    font-size: 20px;
  }
  .button-container {
    grid-template-columns: 1fr 1fr;
  }
  .square-img {
    width: 30px;
    height: 30px;
    top: 6px;
    left: 94px;
  }
  .packages h1 {
    font-size: 2.5rem;
  }
  .packages p,
  .packages li {
    font-size: 16px;
  }
  .features-container {
    grid-template-columns: 1fr 1fr;
  }
  .features-container h3 {
    font-size: 1.3rem;
  }
  .pricing-header .svg-inline--fa {
    font-size: 2.4rem;
  }
}

/* Small desktop styles (≥768px) */
@media (min-width: 768px) {
  .join-button {
    font-size: 28px;
  }
  .button-container img {
    width: 50%;
  }
  .square-img {
    width: 30px;
    height: 30px;
    top: 8px;
    left: 124px;
  }
  .pricing-header .svg-inline--fa {
    font-size: 3.6srem;
  }
  .packages h1 {
    font-size: 2.8rem;
  }
  .packages p {
    font-size: 20px;
  }
  .features-container h3 {
    font-size: 1.8rem;
  }
}

/* Medium desktop styles (≥992px) */
@media (min-width: 992px) {
  .join-button {
    font-size: 30px;
  }
  .button-container {
    grid-template-columns: 0.8fr 1fr;
  }
  .square-img {
    width: 45px;
    height: 45px;
    top: 17px;
    left: 199px;
  }

  .btn-join-now {
    font-size: 1.6rem;
  }

  .pricing-header .svg-inline--fa {
    font-size: 3.8rem;
  }
  .packages h1 {
    font-size: 3.2rem;
  }
  .features-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .features-container h3 {
    font-size: 1.8rem;
  }
}

/* Large desktop styles (≥1200px) */
@media (min-width: 1200px) {
  .join-button {
    font-size: 35px;
  }
  .button-container {
    grid-template-columns: 0.7fr 1fr;
  }
  .square-img {
    width: 50px;
    height: 50px;
    top: 28px;
    left: 268px;
  }
  .btn-join-now {
    height: 80px;
    font-size: 2rem;
  }
  .packages p {
    font-size: 31px;
  }
  .grid-container img {
    width: 370px;
  }
  .pricing-header {
    margin-bottom: 50px;
  }
  .features-container p {
    /* color: white; */
    font-size: 1rem;
  }
  .pricing-header .svg-inline--fa {
    font-size: 4rem;
    margin-bottom: 20px;
  }
  .feature-header {
    height: 120px;
  }
}
