body {
  --text-base-color: rgb(17, 24, 39);
  --text-gray-color: rgb(107, 114, 128);
  --text-light-gray: rgba(107, 114, 128, 0.6);
  --bg-color: rgb(249, 250, 251);
  --card-bg-color: rgb(255, 255, 255);
  margin: 0;
  color: var(--text-base-color);
  min-height: 110vh;
  background-color: var(--bg-color);
}

body.dark {
  --card-bg-color: rgb(31, 41, 55);
  --text-base-color: rgb(255, 255, 255);
  --text-gray-color: rgb(156, 163, 175);
  --bg-color: rgb(17, 24, 39);
}
header .container {
  padding: 1rem;
}

section .container {
  padding: 2rem 1rem;
}
.logo-font {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: inherit;
}

#container-right-div {
  gap: 2rem;
}

#container-right-div nav {
  font-weight: 700;
}

section .title-container {
  max-width: 768px;
  margin-inline: auto;
  text-align: center;
  padding-inline: 1rem;
  padding-top: 2rem;
  margin-bottom: 3rem;
}
section h1.title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  margin-top: 0;
}
section .sub-title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--text-gray-color);
  font-weight: 300;
  margin-top: 0;
}

.grid-container {
  display: grid;
  padding-inline: 1rem;
  gap: 2rem;
  grid-template-columns: repeat(3, 1fr);

  justify-content: space-between;
}

.grid-item {
  border: 2px solid transparent;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 20px 25px -5px rgb(0, 0, 0, 0.1),
    0 8px 10px -6px rgb(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.1s ease;
  background-color: var(--card-bg-color);
}

.grid-item:nth-child(2) {
  transform: scale(1.05);
}

.grid-item img {
  width: 100%;
}

.grid-item .description {
  font-size: 1.125rem;
  text-align: center;
  line-height: 1.75rem;
  color: var(--text-gray);
  font-weight: 300;
  margin-top: 0;
  /* margin-top: 0.5rem; */
}

.grid-item .price {
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--text-light-gray);
  font-weight: 700;
  margin-right: 0.5rem;
}

.grid-item .offer-price {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 800;
  margin-right: 0.5rem;
}

.grid-item .features {
  list-style-type: none;
  font-size: 1rem;
  line-height: 1.5rem;
  padding-left: 0;
}
.features li + li {
  margin-top: 1rem;
}
.features li {
  display: flex;
  gap: 0.75rem;
}
.features li img {
  width: 1.3rem;
}

.grid-item .btn {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  text-align: center;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  background-color: var(--base-color);
  display: block;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.1s ease;
}

.grid-item:hover {
  border: 2px solid rgb(var(--base-hover-color));
}

.grid-item .btn:hover {
  background-color: rgb(var(--base-hover-color));
  box-shadow: 0 0 4px 4px rgba(var(--base-hover-color), 0.3);
}

footer.footer-container {
  padding: 2rem 1rem;
  margin-top: 2rem;
  gap: 1.5rem;
  text-align: center;
}

footer small {
  color: var(--text-gray-color);
  font-size: 0.875rem;

  line-height: 1.25rem;
  flex-basis: 100%;
  /* font-weight: 500; */
}

footer .footer-icon {
  display: flex;
  gap: 1.25rem;
  color: var(--text-gray-color);
  justify-content: flex-end;
}

.footer-icon i {
  font-size: 16px;
}

/* Responsive Start */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
    gap: 1.5rem;
  }
  .grid-item:nth-child(2) {
    transform: scale(1);
    grid-column-start: 1;
    grid-row-start: 1;
  }
}

@media (max-width: 768px) {
  header a img {
    width: 20px;
  }
  section h1.title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  section .sub-title {
    /* font-size: 1rem; */
    font-weight: 300;
  }

  #container-right-div {
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  section .sub-title {
    font-size: 1rem;
  }

  .grid-container {
    grid-template-columns: repeat(1, 1fr);
  }

  footer.footer-container {
    flex-direction: column;
    align-items: center;
  }
  footer small {
    order: 3;
  }
}

/* Responsive End */
