#membership-main-container {
  width: 81%;
  height: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

#membership-main-container h1 {
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
}

#membership-main-container h2 {
  font-size: 48px;
  font-weight: 500;
}

#membership-section-top {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 50% 50%;
}

#membership-sections {
  width: 60ch;
  line-height: 1.5;
  margin: 20px 0;
  padding: 0;
}

#membership-section-image {
  width: 700px;
}

#membership-key-features-and-pricecards {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(243, 243, 243);
}

#membership-key-features-and-pricecards h2 {
  font-size: 48px;
  font-weight: 500;
  text-align: center;
}

#key-features-container {
  margin-top: 60px;
  width: 1200px;
  background-color: #ffffff;
  border: 4px solid#5757bd;
  border-radius: 20px;
}

#key-features-container h2 {
  text-align: center;
  padding-top: 30px;
}

#key-feature-content {
  padding: 50px;
}

#membership-key-features-list {
  margin: auto;
}

.key-feature-bulletpoint {
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 10px;
}

.key-feature-bulletpoint span {
  padding: 0;
}

#membership-price-cards {
  margin: auto;
  margin-top: 80px;
}

#membership-price-cards-container {
  margin: 80px 0;
  display: flex;
  justify-content: space-between;
}

.membership-price-card {
  width: 400px;
  height: 600px;
  border-radius: 30px;
  background-color: #ffffff;
  box-shadow: 2px 2px 10px lightgrey;
}

.membership-price-card button {
  width: 80%;
  display: flex;
  margin: auto;
  justify-content: center;
  padding: 15px 0;
  margin-top: 50px;
}

#membership-price-card-header {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#membership-price-card-header img {
  margin-right: 20px;
  width: 60px;
}

#membership-price-cards-title-price-and-billing-period {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#membership-price-cards-title {
  padding: 0;
}

#membership-price-cards-price-and-billing-period {
  display: flex;
  align-items: center;
}

#membership-price-cards-price {
  font-size: 32px;
}

#membership-price-cards-feature-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

#membership-price-cards-feature-list li {
  margin: auto;
  padding: 10px 30px;
}

#membership-price-card-feature-names {
  display: flex;
  align-items: center;
  margin-bottom: 54px;
}

#membership-pricecards-mobile {
  display: none;
}

/* Media Queries */

/* Big screens */

/* 4k 175% zoom */

@media (min-width: 1921px) {
  #membership-main-container {
    width: 61%;
    height: 450px;
  }

  #membership-price-card-feature-names {
    margin-bottom: 60px;
  }
}

/* 4k 150% zoom */

@media (min-width: 2360px) {
  #membership-main-container {
    width: 61%;
    height: 400px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-big-screen-2);
  }

  #membership-key-features-and-pricecards h2 {
    font-size: var(--font-h2-big-screen-2);
  }

  #membership-sections {
    font-size: var(--font-big-screen-2);
  }

  #key-features-container {
    margin-top: 80px;
    width: 1250px;
  }

  .key-feature-bulletpoint {
    font-size: var(--font-big-screen-2);
    padding: 20px 0;
  }

  .key-feature-bulletpoint strong {
    font-size: var(--font-big-screen-2);
  }

  .key-feature-bulletpoint img {
    width: 25px;
  }

  #membership-price-cards-title {
    font-size: var(--font-h2-big-screen-2);
  }

  #membership-price-cards-price {
    font-size: var(--font-h2-big-screen-2);
  }

  #membership-price-card-header img {
    margin-right: 20px;
    width: 80px;
  }

  #membership-price-cards {
    margin-top: 120px;
  }

  .membership-price-card {
    width: 500px;
    height: 700px;
  }

  #membership-price-cards-feature-list li {
    font-size: 24px;
  }

  #membership-price-cards-feature-list li > * {
    font-size: 24px;
  }

  #membership-price-card-feature-names {
    margin-bottom: 36px;
  }
}

/* 4k 125% zoom */

@media (min-width: 2800px) {
  #membership-main-container h1 {
    font-size: var(--font-h2-big-screen-3);
  }

  #membership-key-features-and-pricecards h2 {
    font-size: var(--font-h2-big-screen-3);
  }

  #membership-main-container {
    height: 450px;
  }

  #membership-sections {
    font-size: var(--font-big-screen-3);
  }

  #key-features-container {
    margin-top: 120px;
    width: 1500px;
  }

  .key-feature-bulletpoint {
    font-size: var(--font-big-screen-3);
    padding: 20px 0;
  }

  .key-feature-bulletpoint strong {
    font-size: var(--font-big-screen-3);
  }

  .key-feature-bulletpoint img {
    width: 30px;
  }

  #membership-price-cards-title {
    font-size: var(--font-h2-big-screen-3);
  }

  #membership-price-cards-price {
    font-size: var(--font-h2-big-screen-3);
  }

  #membership-price-card-header img {
    margin-right: 20px;
    width: 80px;
  }

  #membership-price-cards {
    margin-top: 120px;
  }

  .membership-price-card {
    width: 600px;
    height: 800px;
  }

  #membership-price-cards-feature-list li {
    font-size: 24px;
  }

  #membership-price-cards-feature-list li > * {
    font-size: 24px;
  }

  #membership-price-card-feature-names {
    margin-bottom: 78px;
  }
}

/* 4k 100% zoom */

@media (min-width: 3300px) {
  #membership-main-container {
    width: 61%;
    height: 600px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-big-screen-4);
  }

  #membership-key-features-and-pricecards h2 {
    font-size: var(--font-h2-big-screen-4);
  }

  #membership-section-top img {
    width: 1000px;
    margin-left: 100px;
  }

  #membership-sections {
    font-size: var(--font-big-screen-4);
  }

  #membership-section-top button {
    width: 400px;
    padding: 20px 0;
    margin: 40px 0;
  }

  #key-features-container {
    margin-top: 120px;
    width: 2000px;
  }

  .key-feature-bulletpoint {
    font-size: 36px;
    padding: 20px 0;
  }

  .key-feature-bulletpoint strong {
    font-size: 36px;
  }

  .key-feature-bulletpoint img {
    width: 40px;
  }

  #membership-price-cards-title {
    font-size: 30px;
  }

  #membership-price-cards-price {
    font-size: 48px;
  }

  #membership-price-card-header img {
    margin-right: 20px;
    width: 100px;
  }

  #membership-price-cards {
    margin-top: 120px;
  }

  .membership-price-card {
    width: 600px;
    height: 800px;
  }

  #membership-price-cards-feature-list li {
    font-size: 36px;
  }

  #membership-price-cards-feature-list li > * {
    font-size: 36px;
  }

  #membership-price-card-feature-names {
    margin-bottom: 56px;
  }
}

@media (min-width: 1025px) and (max-width: 1600px) {
  /* Styles for tablet and mobile horizontal view */
  #membership-main-container {
    width: 70%;
    height: 400px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-mobile-screen-1);
    width: 25ch;
  }

  #membership-section-top img {
    display: none;
  }

  #key-features-container {
    margin-top: 60px;
    width: 1100px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #membership-main-container {
    width: 90%;
    height: 450px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-mobile-screen-2);
    width: 25ch;
  }

  #membership-section-top img {
    display: none;
  }

  #key-features-container {
    margin: 60px;
  }

  #membership-price-cards {
    display: none;
  }

  #membership-pricecards-mobile {
    display: flex;
    flex-direction: column;
  }

  #membership-price-card-header {
    margin-bottom: 30px;
  }

  #membership-pricecards-mobile h2 {
    font-size: var(--font-h1-mobile-screen-3);
    text-align: center;
    margin: 30px;
  }

  .membership-price-card-mobile {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgb(181, 181, 181);
    border-radius: 10px;
    box-shadow: 2px 2px 2px lightgray;
  }

  .membership-price-card-mobile button {
    width: 60%;
    display: flex;
    margin: auto;
    justify-content: center;
  }

  #membership-price-cards-feature-list {
    display: flex;
  }

  #membership-price-cards-feature-list-mobile {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  #membership-price-cards-feature-list-mobile li {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  #membership-main-container {
    width: 90%;
    height: 400px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-mobile-screen-2);
    width: 25ch;
  }

  #membership-sections {
    font-size: var(--font-mobile-screen-3);
  }

  #key-features-container {
    width: 400px;
    border: 2px solid#5757bd;
    margin-bottom: 30px;
  }

  #key-features-container h2 {
    font-size: var(--font-h1-mobile-screen-2);
  }

  .key-feature-bulletpoint {
    flex-direction: column;
  }

  .key-feature-bulletpoint > * {
    width: 35ch;
    text-align: center;
    font-size: var(--font-mobile-screen-4);
  }

  #key-feature-content hr {
    display: none;
  }

  .key-feature-bulletpoint img {
    width: 40px;
  }

  #membership-price-cards {
    margin: auto;
    margin-top: 80px;
  }

  #membership-price-cards-container {
    margin: 80px 0;
    justify-content: center;
  }

  .membership-price-card {
    width: 330px;
    height: 600px;
  }

  #membership-price-cards {
    display: none;
  }

  #membership-pricecards-mobile {
    display: flex;
    flex-direction: column;
  }

  #membership-price-card-header {
    margin-bottom: 30px;
  }

  #membership-pricecards-mobile h2 {
    font-size: var(--font-h1-mobile-screen-3);
    text-align: center;
    margin: 30px;
  }

  .membership-price-card-mobile {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgb(181, 181, 181);
    border-radius: 10px;
    box-shadow: 2px 2px 2px lightgray;
  }

  .membership-price-card-mobile button {
    width: 60%;
    display: flex;
    margin: auto;
    justify-content: center;
  }

  #membership-price-cards-feature-list {
    display: flex;
  }

  #membership-price-cards-feature-list-mobile {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  #membership-price-cards-feature-list-mobile li {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #membership-main-container {
    width: 80%;
    height: 400px;
  }

  #membership-sections {
    width: 45ch;
  }

  #key-features-container {
    width: 600px;
    border: 2px solid#5757bd;
  }

  #key-features-container h2 {
    font-size: var(--font-h1-mobile-screen-2);
  }

  .key-feature-bulletpoint {
    flex-direction: column;
  }

  .key-feature-bulletpoint > * {
    width: 35ch;
    text-align: center;
    font-size: var(--font-mobile-screen-4);
  }

  #key-feature-content hr {
    display: none;
  }

  .key-feature-bulletpoint img {
    width: 40px;
  }

  #membership-key-features-and-pricecards h2 {
    font-size: var(--font-h1-mobile-screen-3);
  }
}

/* Mobile Vertical*/

@media (max-width: 767px) {
  #membership-main-container {
    width: 90%;
    height: 450px;
  }

  #membership-main-container h1 {
    font-size: var(--font-h1-mobile-screen-3);
    width: 25ch;
  }

  #membership-section-top img {
    display: none;
  }

  #membership-section-top button {
    width: 200px;
  }

  #membership-sections {
    width: 30ch;
  }

  #key-features-container {
    width: 300px;
    border: 2px solid#5757bd;
    margin: 40px auto;
  }

  #key-features-container h2 {
    font-size: var(--font-h1-mobile-screen-3);
  }

  .key-feature-bulletpoint {
    flex-direction: column;
  }

  .key-feature-bulletpoint > * {
    width: 25ch;
    text-align: center;
    font-size: var(--font-mobile-screen-4);
  }

  #key-feature-content {
    padding: 0;
  }

  #key-feature-content hr {
    display: none;
  }

  .key-feature-bulletpoint img {
    width: 40px;
  }

  #membership-price-cards {
    display: none;
  }

  #membership-pricecards-mobile {
    display: flex;
    flex-direction: column;
  }

  #membership-price-card-header {
    margin-bottom: 30px;
  }

  #membership-pricecards-mobile h2 {
    font-size: var(--font-h1-mobile-screen-3);
    text-align: center;
    margin: 30px;
  }

  .membership-price-card-mobile {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    gap: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgb(181, 181, 181);
    border-radius: 10px;
    box-shadow: 2px 2px 2px lightgray;
  }

  .membership-price-card-mobile button {
    width: 60%;
    display: flex;
    margin: auto;
    justify-content: center;
  }

  #membership-price-cards-feature-list {
    display: flex;
  }

  #membership-price-cards-feature-list-mobile {
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  #membership-price-cards-feature-list-mobile li {
    display: flex;
    flex-direction: column;
    margin: 10px;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  /* Styles for smartphone devices in landscape mode */
  #membership-main-container {
    width: 90%;
    height: 370px;
  }

  #membership-sections {
    width: 50ch;
  }

  #key-features-container {
    width: 400px;
  }

  .membership-price-card-mobile {
    width: 55%;
  }
}
