@media (max-width: 1280px) {
  .products-preview .preview {
    width: 900px;
    height: 95%;
  }
  .info-box .card-top .title,
  .info-box .card .card-btn,
  .table-section {
    margin-right: 1rem;
  }
  .card-top h3 {
    font-size: 2rem;
  }
  .card-top p {
    max-width: 80%;
    font-size: 14px;
  }
  .info-box .card-top img {
    width: 170px;
  }
  table {
    width: 100%;
    margin: 0;
  }
}

/* 991px */

@media (max-width: 991px) {
  figcaption h1 {
    font-size: 3rem;
  }
  .products-preview .preview {
    width: 700px;
    height: 95%;
  }
  .preview .iframe {
    height: 100%;
  }
  .info-box {
    flex: 0 0 65%;
    max-width: 65%;
  }
  .info-box .card-top .title,
  .info-box .card .card-btn,
  .table-section {
    margin-right: 0;
  }
  th,
  td {
    padding: 5px;
    font-size: 12px;
  }
  .card-top span {
    font-size: 12px;
  }
  .card-top h3 {
    font-size: 1.4rem;
  }
  .card-top p {
    max-width: 80%;
    font-size: 12px;
  }
  .info-box .card-top img {
    width: 130px;
  }
  .info-box .card .card-btn button {
    padding: 7px 14px;
  }
  table {
    width: 100%;
    margin: 0;
  }
}

/* 768 */

@media (max-width: 768px) {
  figcaption h1 {
    font-size: 2rem;
  }
  figcaption h1 {
    font-size: 3rem;
  }
  .products-preview .preview {
    width: 400px;
    height: 95%;
  }
  .preview .iframe {
    margin-top: 4rem;
    height: 100%;
  }

  .info-box {
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 50%;
  }
  .info-box .card-top .title,
  .info-box .card .card-btn,
  .table-section {
    margin-right: 0;
  }
  .table-section {
    margin-top: 0;
  }
  th,
  td {
    padding: 5px;
    font-size: 12px;
  }
  .card-top span {
    font-size: 14px;
  }
  .card-top h3 {
    font-size: 1.8rem;
  }
  .card-top p {
    max-width: 90%;
    font-size: 14px;
    margin-bottom: 0.4rem;
  }
  .info-box .card-top img {
    width: 100px;
    margin-top: 2rem;
  }
  .info-box .card .card-btn button {
    padding: 4px 8px;
    font-size: 14px;
    margin-right: 0;
  }
  table {
    width: 100%;
    margin: 0;
  }
  .products-preview .preview.active {
    flex-direction: column-reverse;
  }
  .products-preview .preview img {
    width: 60%;
  }
}

/* 480 */

@media (max-width: 480px) {
  figcaption h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  figcaption ul li a {
    width: 30px;
    height: 30px;
  }
  .products-preview .preview {
    width: 280px;
    height: 95%;
    padding: 2rem 0.5rem 0.5rem 0.5rem;
  }
  .preview .iframe {
    margin-top: 4rem;
    height: 100%;
  }
  .products-preview .preview .fa-times {
    font-size: 2rem;
  }

  .info-box {
    flex: 0 0 100%;
    max-width: 100%;
    max-height: 50%;
  }
  .info-box .card-top .title,
  .info-box .card .card-btn,
  .table-section {
    margin: 0;
  }
  .table-section {
    margin-top: 0;
  }
  th,
  td {
    padding: 3px;
    font-size: 12px;
  }
  .card-top span {
    font-size: 10px;
  }
  .card-top h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }
  .card-top p {
    max-width: 90%;
    font-size: 10px;
    margin-bottom: 0.4rem;
  }
  .info-box .card-top img {
    width: 100px;
    margin-top: 2rem;
  }
  .info-box .card .card-btn button {
    padding: 2px 4px;
    font-size: 10px;
  }
  table {
    width: 100%;
    margin: 0;
  }
  .products-preview .preview.active {
    flex-direction: column-reverse;
  }
  figcaption nav ol li a,
  figcaption nav ol li {
    padding: 0 5px;
    font-weight: 600;
    font-size: 16px;
  }
  figcaption nav ol {
    margin-bottom: 2rem;
  }
  .container {
    max-width: 300px;
    padding: 1rem;
  }
  .container .title {
    font-size: 2rem;
  }
  .container .products-container .product {
    max-width: 80%;
    height: 95%;
  }
  .container .products-container .product img {
    width: 100%;
  }
  .container .products-container .product h3 {
    font-size: 1rem;
  }
  .products-preview .preview img {
    width: 60%;
  }
  .hero-img {
    height: 13rem;
  }
}
