.main1 {
  position: relative;
  background: url("../img/section1.jpg") no-repeat center center fixed;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.brand-title {
  position: relative;
}

@media (max-width: 575.98px) {
  .brand-title {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 50px;
  }

  .brand-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    border-top: 4px solid #f4f1e1;
    border-left: 4px solid #f4f1e1;
  }

  /* กรอบขวาล่าง */
  .brand-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 50px;
    border-bottom: 4px solid #f4f1e1;
    border-right: 4px solid #f4f1e1;
  }
}

/* Small devices (sm) - มือถือทั่วไป (576px ขึ้นไป) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .brand-title {
    font-size: 2rem;
    font-weight: bold;
    padding: 80px;
  }

  .brand-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 8px solid #f4f1e1;
    border-left: 8px solid #f4f1e1;
  }

  /* กรอบขวาล่าง */
  .brand-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 8px solid #f4f1e1;
    border-right: 8px solid #f4f1e1;
  }
}

/* Medium devices (md) - แท็บเล็ต (768px ขึ้นไป) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-title {
    font-size: 2rem;
    font-weight: bold;
    padding: 200px;
  }

  .brand-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-top: 15px solid #f4f1e1;
    border-left: 15px solid #f4f1e1;
  }

  /* กรอบขวาล่าง */
  .brand-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-bottom: 15px solid #f4f1e1;
    border-right: 15px solid #f4f1e1;
  }
}

/* Large devices (lg)  */
@media (min-width: 992px) {
  .brand-title {
    font-size: 2.5rem;
    font-weight: bold;
    padding: 300px;
  }

  .brand-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-top: 15px solid #f4f1e1;
    border-left: 15px solid #f4f1e1;
  }

  /* กรอบขวาล่าง */
  .brand-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    border-bottom: 15px solid #f4f1e1;
    border-right: 15px solid #f4f1e1;
  }
}

/* end- หน้า 1 */
