/**
* Template Name: MeFamily
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/family-multipurpose-html-bootstrap-template-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,900;1,400;1,900&family=Mitr:wght@300;400&display=swap');

.btn-x{
  border-radius: 50px;
  box-shadow: 2px 4px 4px rgba(255,255,255,0.2);
  border: 1px solid #ffffff;
  padding-left: 20px;
  padding-right: 20px;
  color:#ffffff;
  font-size: 38px;

}
.btn-x:hover{
  border: 1px solid #ff3131;
  color:#ffffff;
}
.btn-x2{

  font-size: 18px;
  color:#ffffff;
  text-shadow: 2px 4px 4px rgba(255,68,0,0.2);
}
.btn-x2:hover{
  color:#ff3131;
}
#heronoslide h2 { margin-bottom: 20px;}

.card .card strong, .card .card b
  {
    color:#f57c19;font-weight: 700;
  }

  .card .card{
    background-color: #f5f5f5;
  }

  .card .card .card{
    background-color: #dedede;
  }


@media (min-width: 1441px) {
  #heronoslide {
    height: 100vh;
  }
  #heronoslide h1 {
    font-size: 2rem;
    padding-top: 1rem;
  }
  .btn-x{
  }
  .btn-x2{
    margin: 0;padding: 0;
  }
  #heronoslide h2 { margin-bottom: 20px;}
  #header .logo img {
    max-height: 40px;
  }

}

@media (max-width: 1440px) {
  #heronoslide h1 {
    font-size: 2rem;
    padding-top: 2rem;
  }
  #heronoslide {
    height: 100vh;
    margin-bottom: 0.05vh;
  }
  .btn-x{
    font-size: 25px;
  }
  .btn-x2{

    font-size: 18px;
  }
  #heronoslide h2 { margin-bottom: 10px;}
}

@media (max-width: 1024px) {
  #hero {
    width: 100%;
    height: 49.2vh;
  }
  #heronoslide h1 {
    font-size: 1.5rem;
    padding-top: 1.5rem;
  }
  #heronoslide {
    height: 70vh;
    margin-bottom: 0.05vh;
  }
  #heronoslide h2 {
    margin-top: 0;
    margin-bottom: 5px;
  }
  .btn-x{
    font-size: 23px;
  }
  .btn-x2{
    font-size: 18px;
  }
}

@media (max-width:768px){
  #heronoslide h1 {
    font-size: 1.8rem;
    padding-top: 1rem;
  }
  #heronoslide {
    height: 72vh;
    margin-bottom: 0.05vh;
  }
  .btn-x{
    font-size: 23px;
  }
  .btn-x2{
    font-size: 18px;
  }
}

@media (max-width:425px){
  #heronoslide h1 {
    font-size: 1.3rem;
    padding-top: 0rem;
    margin-bottom: 0rem;
  }
  #heronoslide {
    /* height: 80vh;
    margin-bottom: 0.1vh; */
  }
  .btn-x{
    font-size: 23px;
  }
  .btn-x2{
    margin-top: 0px;
    padding-top:0px;
    font-size: 16px;
  }
  #heronoslide h2 { margin-bottom: 15px;}
}

@media (max-width:375px){
  .btn-x{font-size: 18px;}
  .btn-x2{font-size: 15px;}
}

@media (max-width:320px){
  .btn-x{
    font-size: 18px;
  }
  .btn-x2{font-size: 12px;}
}
/* --------------------------------หน้าแรก th+en------------------------------ จบ */
@media (max-width: 1440px) {
  .sixbutton .card-body h3 {
    font-size: 1.3rem;
  }
  
  
}

@media (max-width: 1024px) {
  .navbar a{
    font-size: 11px;
  }
  .sixbutton .card-body h3 {
    font-size: 0.95rem;
  }
}

.portfolio-info ul{
  padding: 0vh;
  margin: 0vh;
}


.portfolio-info ul li {
  padding-top: 1vh;
}

.portfolio-info ul li:first-child {
  padding-top: 0vh;
}

.portfolio-info ul li:last-child {
  padding-bottom: 0vh;
}



