:root {
  --primary-color: #9c8273;
}

@media (max-width: 768px) {
  .container {
    max-width: 100% !important;
  }
  /* INDEX.HTML*/

  .navbar-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
  }

  .navbar-nav li {
    border-style: solid;
    border: none;
    border-bottom: 1px solid var(--primary-color);
  }

  .btn-brown {
    margin-left: 0 !important;
  }

  /* Hero Section */
  .hero-section {
    background-image: none;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-img-mobile {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Project Section*/
  .project-images > div {
    width: 100%;
    max-width: 500px;
  }

  .smaller-img,
  .bigger-img {
    width: 100%;
    object-fit: cover;
  }

  .gallery-btn {
    right: 12px;
    bottom: 10px;
  }

  /* Vystavba */
  .vystavba-text {
    width: 100% !important;
  }

  /*Contact */
  /*.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem !important;
  }*/

  .contact-info {
    display: flex;
    flex-direction: column;
  }
  .contact-info li {
    display: flex;
  }

  /* Footer */
  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-column {
    flex: 0 0 48%;
    text-align: center;
  }

  .footer-columns h6 {
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin: 0 auto;
  }

  /* .footer-column h6 {
    font-size: 1.6rem;
  }*/

  /*.footer-columns {
    flex-direction: column !important;
    justify-self: center;
  }

  .footer-column {
    width: 100% !important;
  }*/

  /*WHOLEBUIDLING*/
  /*Image*/
  .floorplan-image img {
    max-width: 100%;
  }

  .table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-header,
  .table-row {
    min-width: 1500px;
  }

  .table-header-download,
  .table-row-download {
    min-width: 1000px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
  }
  h2 {
    font-size: 2.5rem !important;
    text-align: start;
  }

  /*INDEX.HTML */

  /* HERO PAGE */
  .hero-section h1 {
    font-size: 3rem;
  }
  /* Vystavba */
  .vystavba-text {
    width: 100% !important;
    text-align: start;
  }

  /* APARTMENTS*/
  .header-controls {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  /* Footer*/
  .footer-column h6 {
    font-size: 1.6rem;
  }

  .footer-columns {
    flex-direction: column !important;
    justify-self: center;
  }

  .footer-column {
    width: 100% !important;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem !important;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
  }
  .contact-info li {
    display: flex;
  }
}
