* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black-color: #000000;
  --orange-color: #ffa800;
  --light-grey-color: #d5d5d5;
  --dark-grey-color: #9b9b9b;
  --dark-grey2-color: #3f3f3f;
  --max-width: 1400px;
  --min-width: 320px;
  --font-button: "Poppins", sans-serif;
  --font-main: "Poppins", sans-serif;
  --font-header: "Kanit", sans-serif;
}

@keyframes smoothScroll {
  from {
      scroll-behavior: auto;
  }
  to {
      scroll-behavior: smooth;
  }
}

html {
  animation: smoothScroll 1s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

.extra-margin {
  margin-top: clamp(0px, 4vw, 50px);
}

body {
  font-family: var(--font-main);
  color: var(--black-color);
}

body h3 {
  font-family: var(--font-header);
  font-weight: 300;
}

body h5 {
  font-size: 16px;
  line-height: 18px;
  font-weight: 300;
}

body h6 {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 3px;
}

.nav {
  height: 65px;
  min-width: var(--min-width);
  border-bottom: 1px solid var(--light-grey-color);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 5;
  transition: height 0.4s ease-out;
}

.nav-mobile {
  display: initial;
  position: fixed;
  border-radius: 50%;
  top: 10px;
  right: 15px;
  width: 45px;
  height: 45px;
  color: white;
  z-index: 10;
}

.navigation__checkbox {
  display: none;
}

.navigation__button {
  background-color: transparent;
  margin-top: -1px;
  height: 45px;
  width: 45px;
  position: fixed;
  border-radius: 50%;
  z-index: 2000;
  box-shadow: 0 1rem 3rem rgba(255, 255, 255, 0.1);
  text-align: center;
  cursor: pointer;
}

.navigation__icon {
  position: relative;
  margin-top: 22px;
  transition: all 0.4s;
}
.navigation__icon,
.navigation__icon::before,
.navigation__icon::after {
  width: 25px;
  height: 2px;
  background-color: #fff;
  display: inline-block;
}
.navigation__icon::before,
.navigation__icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.4s;
}
.navigation__icon::before {
  top: -5px;
}
.navigation__icon::after {
  top: 5px;
}
.navigation__button:hover .navigation__icon::before {
  top: -7px;
}
.navigation__button:hover .navigation__icon::after {
  top: 7px;
}

.navigation__checkbox:checked + .navigation__button {
  background-color: var(--black-color);
}
.navigation__checkbox:checked + .navigation__button .navigation__icon {
  background-color: transparent;
}
.navigation__checkbox:checked + .navigation__button .navigation__icon::before {
  top: 0;
  transform: rotate(135deg);
}
.navigation__checkbox:checked + .navigation__button .navigation__icon::after {
  top: 0;
  transform: rotate(-135deg);
}

.navigation__background {
  top: 10px;
  right: 15px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  position: fixed;
  background-color: #000000;
  z-index: 1000;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.navigation__checkbox:checked ~ .navigation__background {
  transform: scale(80);
  background-color: var(--orange-color);
}

.navigation__nav {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  visibility: hidden;
  opacity: 0;
  width: 0;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navigation__checkbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100%;
  visibility: visible;
}

.navigation__nav {
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  visibility: hidden;
  opacity: 0;
  width: 0;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navigation__checkbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100%;
  visibility: visible;
}

.navigation__list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  width: 100%;
}

.navigation__item {
  margin: 3px;
}

.navigation__link {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: all 0.4s ease-out;
}

.navigation__link:hover {
  color: #c65800;
}

.menu-mobile-hr {
  border-top: 1px solid white;
  width: 250px;
  margin: clamp(10px, 3.2vh, 40px) auto;
  color: white;
}

@media screen and (max-width: 739px) {
  .nav-50px {
    /* height: 50px; */
    transition: 0.4s ease-out;
    opacity: 0;
    z-index: -5;
  }
}

.nav-wrapper {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 15px 0 15px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

footer {
  min-width: var(--min-width);
  display: flex;
  justify-content: center;
  background-color: var(--black-color);
  color: white;
  margin-top: 50px;
}

.footer-wrapper {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 15px 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  margin-top: 50px;
  margin-bottom: 25px;
  width: 200px;
}

.footer-items {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 10px clamp(20px, 2vw, 50px);
  padding: 15px 0 15px 0;
  margin-bottom: 50px;
  border-top: 1px solid var(--dark-grey2-color);
  border-bottom: 1px solid var(--dark-grey2-color);
}

.footer-items a {
  margin: 0;
  padding: 5px;
  line-height: 1em;
  font-weight: 400;
  font-family: var(--font-button);
  color: white;
  text-decoration: none;
  transition: 0.3s ease-out;
}

.footer-items a:hover {
  color: #c65800;
}

.footer-items-partners {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 603px) {
  .footer-items-partners {
    order: 2;
  }
}

.footer-items .footer-items-partners .second-items {
  margin: 0 0 0 10px;
}

.footer-items .footer-items-partners a {
  padding: 4px 6px 4px 6px;
}

.footer-items .footer-items-partners p {
  color: var(--dark-grey-color);
  cursor: default;
}

.copyright-text {
  text-align: center;
}

.copyright-text h6 {
  font-size: 12px;
  line-height: 1em;
  font-weight: 300;
  color: var(--dark-grey-color);
  opacity: 0.7;
  margin: 0 clamp(15px, 5vw, 50px) 50px clamp(15px, 5vw, 50px);
}

.logo {
  display: flex;
  align-items: center;
}

.nav-logo-link{
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  padding-top: 4px;
  height: 45px;
  align-self: center;
  transition: 0.4s ease-out;
}

.nav-logo-img {
  height: 100%;
}

.nav-items {
  display: none;
  align-items: center;
}

.nav-items p {
  color: var(--dark-grey-color);
  margin: 0 0 0 40px;
  padding: 3px;
  font-weight: 300;
  font-family: var(--font-button);
  cursor: default;
}

.nav-items a {
  margin: 0 0 0 clamp(15px, 2vw, 40px);
  padding: 4px 6px 4px 6px;
  font-weight: 500;
  font-family: var(--font-button);
  text-decoration: none;
  color: var(--black-color);
  transition: 0.3s ease-out;
}

.aside-product a {
  font-weight: 500;
  text-decoration: underline;
  text-align: center;
  color: var(--black-color);
  transition: 0.3s ease-out;
}

.aside-product a:hover {
  color: #c65800;
}

.bestproduct-cart a {
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  color: var(--black-color);
  transition: 0.3s ease-out;
}

.bestproduct-cart a:hover {
  color: #c65800;
}

.nav-items a:last-child {
  padding: 4px 0px 4px 6px;
}

.nav-items .second-items {
  margin: 0;
}

.nav-items a:hover {
  color: #c65800;
}

.button {
  background-color: #ff7100;
  border: 1px solid #ffd200;
  color: white;
  width: 100%;
  max-width: 160px;
  height: 28px;
  text-align: center;
  font-family: var(--font-button);
  font-weight: 600;
  font-style: normal;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  transition: 0.4s ease-out;
}

.button:hover {
  border: 1px solid #c65800;
  background-color: #c65800;
}

.button-disabled {
  background-color: #bfbfbf;
  border: 1px solid #dddddd;
  color: white;
  width: 100%;
  max-width: 160px;
  height: 28px;
  text-align: center;
  font-family: var(--font-button);
  font-weight: 600;
  font-style: normal;
  display: inline-block;
  font-size: 14px;
}

.aside-product .button-disabled{
  margin-top: 7px;
}

.read-more {
  font-weight: 500;
  color: var(--black-color);
  text-decoration: underline;
  transition: 0.3s ease-out;
}

.read-more:hover {
  color: #c65800;
}

.wrapper {
  max-width: var(--max-width);
  min-width: var(--min-width);
  margin: 0 auto;
  padding: 0 15px 0 15px;
}

header {
  margin-top: 30px;
}

#homepage-baner {
  margin-top: clamp(0px, 1vw, 30px);
  display: none;
}

#homepage-baner-mobile {
  margin-top: clamp(0px, 1vw, 30px);
  display: block;
}

@media (min-aspect-ratio: 2/3) {
  #homepage-baner {
    margin-top: clamp(0px, 1vw, 30px);
    display: block;
  }
  
  #homepage-baner-mobile {
    margin-top: clamp(0px, 1vw, 30px);
    display: none;
  }
}

#topic-header {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  grid-template-rows: auto 1fr 37px;
}

.homepage-topics-container {
  margin-bottom: 40px;
}

.homepage-topics {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 5fr 3fr auto;
  column-gap: 30px;
  padding-top: 35px;
  padding-bottom: 25px;
}

.homepage-topics-img {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.homepage-topics-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.homepage-topics-text {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 35px;
}

.homepage-topics-score {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  justify-self: end;
}

#title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: end;
}

.title {
  text-align: right;
  padding-right: 15px;
}

.topic-title {
  padding: 0;
}

.topic-title p {
  font-size: 20px;
  text-align: center;
}

.title h1 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 7.2vw;
  line-height: 7.2vw;
  margin: 0;
}

.topic-title h2 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(36px, 4.8vw, 100px);
  line-height: 4.8vw;
  margin: 0;
}

.title h1 .br {
  display: block;
  margin-bottom: 0em;
}

.title h1 .smfont {
  font-size: 4.8vw;
  color: var(--orange-color);
  line-height: 4.8vw;
  margin-top: 0.05em;
}

.topic-title h2 .smfont {
  font-size: 3.2vw;
  color: var(--orange-color);
  line-height: 3.2vw;
  margin-top: 0.033em;
}

.homepage-title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  column-gap: 2vw;
  row-gap: 15px;
  margin-bottom: 15px;
}

.homepage-title h1 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 64px;
  line-height: 64px;
  text-align: center;
  text-transform: uppercase;
}

.homepage-title-logos {
  display: flex;
  column-gap: 2vw;
  justify-content: center;
  align-items: end;
  height: 64px;
}

#discusions {
  text-align: center;
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  align-self: end;
}

#discusions h3 {
  font-size: 14px;
  margin: 0;
}

.discusions-img {
  margin: 4px 0px 0.9vw 0px;
  height: 35px;
  display: flex;
  column-gap: 3vw;
  justify-content: center;
  align-items: end;
}

#divider {
  justify-self: center;
  grid-column: 2 / 3;
  grid-row: 1 / 4;
  z-index: 1;
}

#product {
  box-sizing: border-box;
  margin-top: 15px;
  align-self: center;
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  line-height: 0;
}

#product img {
  margin: 0;
  padding: 0;
  object-fit: cover;
}

#score {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
  align-self: end;
  margin-bottom: 5vw;
  justify-content: center;
  z-index: 2;
}

.score-table {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  grid-template-rows: 1fr;
  width: 95%;
  min-width: 280px;
  height: 11vw;
  margin: auto;
  background-color: #ffffffe5;
}

.score-table h2 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 8.17vw;
  line-height: 11vw;
}

.score-table .score1 {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  justify-self: end;
  padding-right: 10%;
}

.score-table .score2 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  justify-self: start;
  padding-left: 10%;
}

.score-table .score-divider {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  color: var(--orange-color);
  justify-self: center;
}

.score-table .coming-soon {
  grid-column: 1 / 4;
  grid-row: 1 / 2;
  color: var(--dark-grey-color);
  justify-self: center;
}

.score-table .coming-soon h2 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: clamp(25px, 5vw, 40px);
}

.score-table .score-divider h2 {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 4.5vw;
  line-height: 11vw;
}

#button1 {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
  align-self: end;
  justify-self: center;
  -webkit-box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
  box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
}

#button2 {
  grid-column: 3 / 4;
  grid-row: 3 / 4;
  align-self: end;
  justify-self: center;
  -webkit-box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
  -moz-box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
  box-shadow: 6px 9px 19px -10px rgba(0, 0, 0, 0.9);
}

main {
  margin-top: clamp(40px, 9vw, 90px);
}

.homepage-main {
  margin-top: clamp(20px, 7vw, 60px);
  margin-bottom: clamp(20px, 7vw, 60px);
}

.article-float {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
}

article {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  margin-bottom: 30px;
}

section {
  width: 100%;
  margin-top: 45px;
}

aside {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  margin-top: clamp(10px, 2vw, 25px);
}

.text-header {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  position: relative;
}

.header-diamond {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  color: var(--orange-color);
  font-size: 90px;
  line-height: 90px;
  margin: auto;
}

.header-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  margin-top: 46px;
  width: 100%;
  text-align: center;
  position: absolute;
}

.header-title h3 {
  font-size: 24px;
  line-height: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

.sub-title {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 50px;
}

.homepage-title-text p {
  font-size: 20px;
  font-weight: 300;
  text-align: center;
  margin-top: 20px;
}

.homepage-title-text p:first-child {
  margin-top: 35px;
}

.homepage-title-text p:last-child {
  margin-bottom: 65px;
}

p {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 300;
  text-align: left;
}

h4 {
  margin-top: 35px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

.aside-container {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  grid-template-rows: 1fr;
  margin-top: 25px;
}

.aside-divider {
  justify-self: center;
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.aside-column1 {
  padding-right: 15px;
}

.aside-column2 {
  padding-left: 15px;
}

.aside-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: clamp(40px, 10vw, 50px);
}

.aside-product:last-child {
  margin-bottom: 0;
}

.book-cart-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-top: 50px;
  width: 100%;
}

.bestproduct-container {
  margin-top: 35px;
  margin-bottom: 15px;
}

.book-cart {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  align-items: center;
  width: calc(50% - 15px);
  margin-bottom: 50px;
}

@media screen and (min-width: 576px) {
  .book-cart {
    width: calc(33.3% - 20px);
  }
  .bestproduct-cart {
    width: calc(50% - 15px);
  }
}

.book-cart-img {
  width: 100%;
}

.book-cart-data {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 17px 0 17px 0;
}

.book-cart-data a {
  font-size: 16px;
  font-weight: 600;
  padding-bottom: 3px;
  text-decoration: underline;
  text-align: center;
  color: var(--black-color);
  transition: 0.3s ease-out;
}

.book-cart-data a:hover {
  color: #c65800;
}

.book-button {
  margin-top: 20px;
}

@media screen and (min-width: 740px) {
  .nav-50px {
    height: 50px;
    transition: 0.4s ease-out;
  }

  .nav-logo-img-50px {
    height: 100%;
  }

  .nav-logo-link-50px {
    height: 34px;
    transition: 0.4s ease-out;
  }

  .nav-desktop {
    display: initial;
  }
  .nav-mobile {
    display: none;
  }
  .nav-items {
    display: flex;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    justify-self: end;
  }
  #topic-header {
    grid-template-columns: 1fr 0.85vw 1fr 1fr;
    grid-template-rows: 1fr 8.8vw 5.2vw;
  }

  .homepage-topics-container {
    margin-bottom: 65px;
  }

  .homepage-topics {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 5fr 3fr;
    height: calc(27vw + 25px);
    padding-bottom: 0px;
  }

  .homepage-topics-img {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .homepage-topics-text {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    align-items: start;
    margin-top: 0px;
  }

  .homepage-topics-score {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .homepage-title {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    column-gap: 2vw;
    row-gap: 15px;
    margin-bottom: 15px;
  }

  #title {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
  }

  .title {
    padding-right: 22px;
  }

  .topic-title {
    padding: 0;
  }

  .topic-title p {
    text-align: left;
  }

  #discusions {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    text-align: right;
    padding-right: 22px;
    margin-bottom: calc(5.2vw - 26px);
  }

  .discusions-img {
    justify-content: end;
    column-gap: 22px;
    height: 4.7vw;
    max-height: 47px;
    margin: 4px 0 0 0;
  }

  #product {
    margin-top: 0;
    grid-column: 3 / 5;
    grid-row: 1 / 4;
  }

  #score {
    grid-column: 3 / 5;
    align-self: start;
    margin-bottom: 0;
  }

  .score-table {
    width: 85%;
    height: 7vw;
    grid-template-columns: 1fr 3vw 1fr;
  }

  .score-table h2 {
    font-size: 5.2vw;
    line-height: 7vw;
  }

  .score-table .score-divider h2 {
    font-size: 2.5vw;
    line-height: 7vw;
  }

  .score-table .coming-soon h2 {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: clamp(25px, 3vw, 40px);
  }

  #divider {
    justify-self: center;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
  }
  #button1 {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
    align-self: start;
    -webkit-box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
    -moz-box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
    box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
  }

  #button2 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
    align-self: start;
    -webkit-box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
    -moz-box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
    box-shadow: 6px 9px 19px -3px rgba(0, 0, 0, 1);
  }

  main {
    display: block;
  }

  .article-float {
    display: flow-root;
  }

  article {
    display: block;
  }

  section {
    display: block;
  }

  aside {
    margin-top: 0px;
    margin-bottom: 30px;
    margin-left: 2.44vw;
    display: block;
    width: calc(50% - 2.44vw);
    float: right;
  }

  section .sub-title {
    width: 60%;
    margin: auto;
  }

  .homepage-title-text p {
    width: 60%;
    margin: auto;
    margin-top: 20px;
  }
}

@media screen and (min-width: 740px) and (max-width: 1100px) {
  .homepage-title-text p {
    width: 80%;
    min-width: 605px;
  }
}

@media screen and (min-width: 740px) and (max-width: 1023px) {
  .book-cart {
    width: calc(25% - 22.5px);
  }

  .book-cart-last-r {
    margin-left: calc(25% + 7.5px);
  }

  .book-cart-last-l {
    margin-right: calc(25% + 7.5px);
  }

  .bestproduct-cart {
    width: calc(33.3% - 20px);
  }
}

@media screen and (min-width: 740px) and (max-width: 840px) {
  aside {
    width: calc(50% - 2.44vw);
  }
}

@media screen and (min-width: 1024px) {
  #topic-header {
    grid-template-rows: 1fr 7.5vw 4.29vw;
  }

  .score-table {
    width: 80%;
    height: 5.8vw;
  }

  .score-table h2 {
    font-size: 52px;
    line-height: 5.8vw;
  }

  .score-table .score-divider h2 {
    font-size: 25px;
    line-height: 5.8vw;
  }

  .button {
    height: 30px;
    font-size: 14px;
  }

  .button-disabled {
    height: 30px;
    font-size: 14px;
  }

  .button-books {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #discusions {
    margin-bottom: calc(4.29vw - 28px);
  }

  .book-cart {
    width: calc(16.66% - 25px);
  }

  .bestproduct-cart {
    width: calc(25% - 22.5px);
  }

  .bestproduct-cart-last-r {
    margin-left: calc(25% + 7.5px);
  }

  .bestproduct-cart-last-l {
    margin-right: calc(25% + 7.5px);
  }
}

@media screen and (min-width: 1200px) {
  #topic-header {
    grid-template-rows: 1fr 7.15vw 4.29vw;
  }

  .score-table {
    height: 70px;
  }

  .score-table h2 {
    font-size: 52px;
    line-height: 70px;
  }

  .score-table .score-divider h2 {
    font-size: 25px;
    line-height: 70px;
  }

  #discusions {
    margin-bottom: calc(4.29vw - 28px);
  }
}

@media screen and (min-width: 1400px) {
  #topic-header {
    grid-template-rows: 1fr 100px 60px;
    grid-template-columns: 1fr 12px 1fr 1fr;
  }
  .title h1 {
    font-size: 100px;
    line-height: 100px;
  }

  .topic-title h2 {
    font-size: 67px;
    line-height: 67px;
  }

  .title h1 .smfont {
    font-size: 67px;
  }

  .topic-title h2 .smfont {
    font-size: 45px;
  }

  #discusions {
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 368px) {
  #button1 {
    margin-right: 5px;
    width: calc(100% - 5px);
  }

  #button2 {
    margin-left: 5px;
    width: calc(100% - 5px);
  }
}

@media screen and (min-width: 430px) {
  .score-table {
    width: 88%;
  }
}

@media screen and (max-width: 330px) {
  .book-cart {
    width: calc(50% - 7.5px);
  }

  .aside-column1 {
    padding-right: 8px;
  }

  .aside-column2 {
    padding-left: 8px;
  }
}
