/* media query */
@media (max-width: 768px) {

  /* NAVBAR */
  nav {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  nav .brand img {
    display: block;
    margin: 0 auto;
  }

  nav .brand #nav-logo-name {
    margin-bottom: 12px;
  }

  /* nav #nav-logo-name {
    display: none;
  } */

  /* FOOTER */
  .copyright {
    flex-wrap: wrap;
    flex-direction: column;
    text-align: center;
  }

  .copyright h4 {
    margin-bottom: 10px;
  }

  /* HOME */
  #home .hero {
    min-height: 400px;
  }

  #home .hero-text h1 {
    font-size: 2.7rem;
  }

  #home .hero-text p {
    font-size: 1.2rem;
  }

  #home .content h1 {
    font-size: 2rem;
  }

  #home .row {
    flex-direction: column;
  }

  #home .col {
    width: 70%;
    text-align: start;
  }

  #home .image-col {
    text-align: start;
  }

  #home .row.reverse .image-col {
    text-align: start;
  }

  #home .row.reverse .text {
    text-align: start;
  }

  /* ABOUT */
  #about .hero {
    min-height: 400px;
  }

  #about .hero-text h1 {
    font-size: 2.7rem;
  }

  #about .hero-text h3 {
    font-size: 1.8rem;
  }

  #about .col-45 {
    display: none;
  }

  #about .col-55 {
    width: 100%;
  }

  #about .text .image {
    display: block;
  }

  #about .text h2 {
    font-size: 2rem;
  }

  /* CONTACT */

  #contact .hero {
    min-height: 400px;
  }

  #contact .hero-text h1 {
    font-size: 2.7rem;
  }

  #contact .hero-text h3 {
    font-size: 1.8rem;
  }

  #contact .row {
    flex-direction: column;
    align-items: center;
  }

  #contact .row .box {
    width: 90%;
    max-width: 100%;
    margin-bottom: 42px;
}
}

@media (max-width: 490px) {

  nav {
    padding: 10px;
  }

  nav .brand #nav-logo {
    width: 45px;
    height: 45px;
  }

  nav .brand #nav-logo-name {
    height: 45px;
  }

  nav ul li {
    margin: 5px;
  }

  nav ul li img {
    width: 20px;
  }

  nav ul li a {
    font-size: 15px;
  }
}