* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.body {
    position: relative;
}

/* btn BackToTop Start*/
#BackToTop {
    padding: 1rem;
    background-color: #8b8787;
    border: none;
    position: absolute;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    border-radius: 90%;
    display: none;
    /* transition: opacity 0.3s ease-in-out; */
}

#BackToTop i {
    color: #fff;
    font-size: 12px;
    text-align: center;
}

/* btn BackToTop end */

/* nav start */
.container {
    max-width: 1124px;
    margin: 0 auto;
}

nav {
    /* border: 1px solid blue; */
    /* background: linear-gradient( 45deg, #ffa69e, #faf3dd, #b8f2e6, #aed9e0, #5e6472); */
    background-image: url("สีฟ้า.png");
    /* background-image: url("https://media.istockphoto.com/id/1642868588/th/%E0%B8%A3%E0%B8%B9%E0%B8%9B%E0%B8%96%E0%B9%88%E0%B8%B2%E0%B8%A2/%E0%B8%AA%E0%B8%A3%E0%B8%B0%E0%B8%A7%E0%B9%88%E0%B8%B2%E0%B8%A2%E0%B8%99%E0%B9%89%E0%B9%8D%E0%B8%B2%E0%B8%AD%E0%B8%B4%E0%B8%99%E0%B8%9F%E0%B8%B4%E0%B8%99%E0%B8%B4%E0%B8%95%E0%B8%B5%E0%B9%89%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%A1%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%AB%E0%B9%87%E0%B8%99%E0%B8%97%E0%B8%B0%E0%B9%80%E0%B8%A5%E0%B8%A2%E0%B8%B2%E0%B8%A1%E0%B8%9E%E0%B8%A3%E0%B8%B0%E0%B8%AD%E0%B8%B2%E0%B8%97%E0%B8%B4%E0%B8%95%E0%B8%A2%E0%B9%8C%E0%B8%95%E0%B8%81%E0%B8%94%E0%B8%B4%E0%B8%99%E0%B8%9E%E0%B8%A3%E0%B9%89%E0%B8%AD%E0%B8%A1%E0%B8%97%E0%B9%89%E0%B8%AD%E0%B8%87%E0%B8%9F%E0%B9%89%E0%B8%B2%E0%B8%AA%E0%B8%B5%E0%B8%AD%E0%B9%88%E0%B8%AD%E0%B8%99%E0%B8%A1%E0%B8%B8%E0%B8%A1%E0%B8%A1%E0%B8%AD%E0%B8%87%E0%B8%9A%E0%B8%B8%E0%B8%84%E0%B8%84%E0%B8%A5%E0%B8%97%E0%B8%B5%E0%B9%88.jpg?s=612x612&w=0&k=20&c=I5_D0lyYDpa7pzBadW0yca9yJgXiVtahXbjJcOtQ4dA="); */
    /* background-color: #cccccc; */
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.1);
}

.nav-con {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 10rem; */
}

.logo-img img{
    width: 250px;
    border-radius: 100%;
    object-fit: cover;
    margin-top: 60px;
    margin-left: 110px;
    /* mix-blend-mode: color-burn; */
}

.name {
    list-style: none;
    padding: 1rem;
    align-items: center;
    
}

.name li {
    margin-left: 10px;
    margin-right: 500px;
    margin-top: 90px;
    margin-right: 150px;
}

@font-face {
    font-family: 'MyFont_SukhumvitSet';
    src: url('SukhumvitSet-Thin.ttf') format('truetype');

    font-family: 'MyFont_YesevaOne-Regular';
    src: url('YesevaOne-Regular.ttf') format('truetype');
  }

.name li h4 {
    text-decoration: none;
    color: rgb(248, 248, 248);
    font-size: 50px;
    font-family: 'MyFont_YesevaOne-Regular', sans-serif;
  }

.name li h3 {
    text-decoration: none;
    color: rgb(255, 251, 251);
    font-size: 20px;
    font-family: 'MyFont_SukhumvitSet', sans-serif;
}

.name li h2 {
    text-decoration: none;
    margin-top: 50px;
    color: rgb(255, 251, 251);
    font-size: 20px;
    font-family: 'MyFont_SukhumvitSet', sans-serif;
}

/* nav end */

/* menu start */

.icon, .text {
    color: #222327;
}

.nav-icon {
    position: relative;
    width: 400px;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    margin-left: 780px;
}

.nav-icon ul {
    display: flex;
    width: 350px;
    padding: 0;
}

.nav-icon li {
    position: relative;
    list-style: none;
    width: 70px;
    height: 70px;
    z-index: 1;
}

.nav-icon li.active {
    background-color: transparent;
} 

.nav-icon li a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.nav-icon a .icon {
    position: relative;
    display: block;
    line-height: 75px;
    font-size: 1.5em;
    text-align: center;
    transition: 0.5s;
}

.nav-icon li.active a .icon {
    transform: translateY(-35px);
}

.nav-icon a .text {
    position: absolute;
    font-weight: 400;
    font-size: 0.75em;
    letter-spacing: 0.05em;
    transition: 0.5s;
    opacity: 0;
    transform: translateY(20px);
}

.nav-icon li.active a .text {
    opacity: 1;
    transform: translateY(10px);
}

.indicator {
    position: absolute;
    top: -50%;
    width: 70px;
    height: 70px;
    background: tomato;
    border-radius: 50%;
    border: 6px solid #222327;
    transition: 0.5s;
}

.indicator:before, .indicator:after {
    content: " ";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: transparent;
}

/* .indicator:before {
    left: -22px;
    border-top-right-radius: 20px;
    box-shadow: 1px -10px 0 0 #222327;
}

.indicator:after {
    right: -22px;
    border-top-left-radius: 20px;
    box-shadow: -1px -10px 0 0 #222327;
} */

.nav-icon li.active~.indicator {
    --x: 0;
    transform: translateX(var(--x));
}

.nav-icon li:nth-child(2).active~.indicator {
    --x: 70px;
}

.nav-icon li:nth-child(3).active~.indicator {
    --x: 140px;
}

.nav-icon li:nth-child(4).active~.indicator {
    --x: 210px;
}

.nav-icon li:nth-child(5).active~.indicator {
    --x: 280px;
}

/* .menu {
    display: flex;
    list-style: none;
    padding: 1rem;
}

.menu li {
    margin-left: 10px;
}

.menu li a {
    text-decoration: none;
    color: white;
} */
/* nav end*/

/* CSs slide start */

/* Css slid end */


/* about me start */
.aboutme-con {
    display: flex;
    margin-top: 5px;
    /* background-color: #ece4d4; */
}

.aboutme-info {
    margin-top: 1rem;
    padding: 2rem;
    width: 100%;
}

.aboutme-info h3 {
    font-size: 2rem;
}

.aboutme-info p {
    margin: 1rem 0;
    text-indent: 30px;
    text-align: justify;
    word-spacing: -4px;
}

.aboutme-info p1 {
    display: flex;
    margin: 1rem 0;
    text-indent: 30px;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.about-img img {
    padding: 1rem;
    width: 100%;
    height: 60%;
    object-fit: cover;
    margin-top: 2rem;
    border-radius: 40px;
    margin-left: 3rem;
    box-shadow: 46px 47px 68px 0px rgba(0, 0, 0, 1);;
}

/* about me end */

/* Start blog บริการ ติดต่อ*/
.blog {
    margin-top: -14rem;
    background-image: linear-gradient(to right bottom, #f4f4f4, #dbdce9, #bdc6df, #9bb1d4, #8eb5da);
}

.blog-con {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    /* border: 1px solid blue; */
}


.blog-info h4 {
    margin-top: 1rem;
    font-size: 1.0rem;
    right: 50%;
    text-align: center;
}

.blog-info ul p {
    margin: 1rem 0;
    margin-top: 10px;
    text-align: left;
    /* word-spacing: 5px; */
    line-height: 0.6cm;
    /* hyphens: auto; */
    /* white-space: pre-line; */
}

.blog-info p {
    margin: 1rem 0;
    margin-top: 10px;
    text-align: center;
    /* border: 1px solid blue; */
}

.blog-info img {
    width: 100%;
    height: 360px;
    border-radius: 10%;
    object-fit: cover;
    object-position: center;
    margin-top: 40px;
}

.blog-info ul {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* end blog บริการ ติดต่อ*/

/*  blog ผลงาน start */

.blog2 {
    /* min-height: 100vh;
    background-image: url(64413_0.jpg);
    background-size: cover; */
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
}

.blog2 ul {
    text-align: left;
    font-size: 17.5px;
    padding-right: 15px;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 80px;
}

.blog2 p {
    margin-top: 20px;
}

.blog2 p:first-of-type, p:nth-of-type(2) {
    text-indent: 25px;
}

.blog2 h3:first-of-type {
    margin-top: 50px;
}

/* รูปหมุน start */

/* รูปหมุน end */

/* card start */
.container-card {
    height: 100%;
    width: 100%;
    padding: 1rem 0;
    display: grid;
    place-content: center;
    margin-top: 5rem;
    
    .cards {    
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.75rem;
      pointer-events: none;
    }
    
    .card {
      max-width: 18rem;
      color: #ffffffda;
      padding: 1.5rem;
      background-image: linear-gradient(to bottom, #e2e2e3, #d3d4dc, #c4c6d4, #b3b9cd, #a2acc6, #97a3c2, #8c9bbe, #8192ba, #7c8ab8, #7782b6, #7579b3, #7370af);
      
      pointer-events: auto;
      
      transform: scale(1);
      opacity: 1;
      transition: all 150ms ease-in-out; 
      
      display: flex;
      flex-direction: column;
      
      .card-title {
        margin-left: 6.7rem;
        margin-top: -0.8rem;
        margin-bottom: 0.5rem;
        content: "";
        height: 1.5rem;
        width: 1.5rem;
        border-radius: 50%;
        /* box-shadow: inset 0 0 3px #bb86fc; */
        box-shadow: inset 0 0 3px #470180;
        background-color: transparent;
      }
      
    .card-pic {
        object-fit: cover;
    }

    .date {
        color: #bb86fc;
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
      }
      
    .description {
        font-size: 0.9rem;
      }
      
    &:nth-child(even) {
        transform: translateY(8px);
      }
      
    &:nth-child(n) {
        transform: rotate(-5deg);
      }
    }
}

.cards:hover > .card:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  z-index: 10;
}
.cards:hover > .card:not(:hover) {
  opacity: 0.5;
}
/* card end */

 /*  blog ผลงาน end */


/* social icon start */
.social-icon {
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-icon li {
    position: relative;
    display: inline-block;
    margin: 0.15em;
    font-size: 1.2em;
}

.social-icon li i {
    position: absolute;
    top: 21px;
    left: 21px;
    transition: all 265ms ease-out;
    color: #fff;
    margin-left: 100px;
}

.social-icon li a {
    display: inline-block;
}

.social-icon li p {
    margin-left: 80px;
    margin-top: -40px;
    margin-left: 190px;
}

.social-icon li a:before {
    display: block;
    margin-left: 100px;
    width: 60px;
    height: 60px;
    content: " ";
    /* background: linear-gradient(45deg, #ff003c, #c648c8); */
    background: linear-gradient(45deg, #0105ff, #7e80e0);
    transform: scale(1);
    border-radius: 100%;
    transition: all 265ms ease-out;
}

.social-icon li a:hover:before {
    transform: scale(0);
    transition: all 265ms ease-in;
}

.social-icon li a:hover i {
    transform: scale(2.2);
    color: blue;
    background: linear-gradient(45deg, #0105ff, #7e80e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 265ms ease-in;
}

/* social icon end*/

/* blog end */

/* .main-con {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #d9e1e2;
}

.main-info {
    padding: 20px;
}


.main-info p{
    margin-top: 10px;
}

.main-info img {
    width: 100%;
    margin-top: 10px;
    border-radius: 10%;
} */

footer{
    background-color: #333;
    color: white;
    padding: 20px;
    margin-top: 3rem;
    text-align: center;
}



/* resposive mobile 360px - 520px start*/
@media only screen and (min-width: 360px) and (max-width: 520px){
    
    /* nav resposive start */
    .container {
        display: flex;
        flex-wrap: wrap;
    }

    nav {
        height: 400px;
        background-repeat: no-repeat;
        object-fit: cover;
        width: 100vw;
        /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3); */
    }

    .nav-con {
        display: flex;
        justify-content: center;
        /* margin-bottom: 10rem; */
    }
    
    .logo-img img{
        width: 30vw;
        border-radius: 100%;
        object-fit: cover;
        margin-left: 35vw;
        margin-bottom: 14rem;
        /* margin-left: 140px; */
        /* mix-blend-mode: color-burn; */
    }
    
    .name {
        display: flex;
        justify-content: center;
        /* border: 1px solid rgb(255, 81, 0);  */
        max-width: 100vw;
        margin-left: -78vw;
    }

    .name li {
        width: 100vw;
        /* border: 1px solid rgb(255, 81, 0);  */
        /* margin-left: 65vw; */
        margin-left: 58vw;
    }

    .name li h4 {
        display: flex;
        width: 66vw;
        text-decoration: none;
        font-size: 20px;
        font-family: 'MyFont_YesevaOne-Regular', sans-serif;
        /* margin-left: 14vw; */
        margin-left: 20vw;
        margin-top: 30px;
        /* border: 1px solid rgb(255, 81, 0);  */

    }
    
    .name li h3 {
        display: flex;
        width: 75vw;
        margin-top: 10px;
        margin-left: 15.5vw;
        font-size: 16px;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    
    .name li h2 {
        display: flex;
        width: 60vw;
        margin-left: 21vw;
        margin-top: 20px;
        font-size: .8rem;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    /* nav respo end */
    
    /* menu respo start */
    .nav-icon {
        margin-left: -2px;
        margin-top: -3rem;
        width: 101vw;
    }
    /* menu respo end */

    /* about me respo start */
    .aboutme-con {
        display: flex;
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 30px;
        /* background-color: #ece4d4; */
    }

    .about-img img {
        display: flex;
        padding: 2rem;
        width: 100vw;
        object-position: center;
        object-fit: cover;
    }

    .aboutme-con > .aboutme-info:nth-child(1) {
        order: 2; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-con > .aboutme-img:nth-child(2) {
        order: 1; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-info {
        text-align: justify;
        padding: 2rem;
        width: 96%;
        margin-top: -6rem;
    }

    .aboutme-info p1 {
        margin-top: 30px;
        margin-bottom: -20px;
    }

    .about-img img {
        padding: 0.2rem;
        width: 80%;
        height: 60%;
        object-fit: cover;
        margin-top: 10vw;
        border-radius: 40px;
        margin-left: 2.5rem;
        box-shadow: 46px 47px 68px -30px rgba(0, 0, 0, 1);;
        background-color: #ffffff;
    }
    
    /* about me respo end */

    /* back to top respo start */
    #BackToTop {
        display: flex;
        transform: translate(-50%, -50%);
        z-index: 10;
        /* border: 10px solid rgb(255, 102, 0); */
    }
    /* back to top respo end*/

    /* blog บริการ ติดต่อ respo start */
    .blog {
        margin-top: 30px;
    }
    
    .blog-con {
        display: flex;
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 2rem;
        /* border: 1px solid blue; */
    }

    .blog-info h4 {
        margin-top: 1rem;
        font-size: 1.0rem;
        right: 50%;
        text-align: center;
    }
    
    .blog-info ul p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: left;
        line-height: 0.6cm;
    }
    
    .blog-info p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: center;
    }
    
    .blog-info img {
        width: 70vw;
        height: 260px;
        border-radius: 10%;
        object-fit: cover;
        object-position: center;
        margin-top: 40px;
        margin-left: 15vw;
    }
    /* blog บริการ ติดต่อ respo end */

    /* social icon respo start */
    .social-icon {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        align-items: center;
        margin-left: -30px;
        margin-bottom: 10px;
    }

    .social-icon li p {
        margin-left: 80px;
        margin-top: -40px;
        margin-left: 190px;
        font-size: 16px;
    }
    /* social icon respo end*/

    /*  blog ผลงาน respo start */
    .blog2 {
        margin-top: 80px;
        text-align: center;
        font-size: 20px;
    }
    /* รุปหมุน start */
    
    /* รุปหมุน end */

    /* card start */
    .container-card {
        height: 100%;
        width: 100%;
        padding: 1rem 0;
        display: grid;
        place-content: center;
        margin-top: 5rem;
        
        .cards {    
          display: grid;
          grid-template-columns: repeat(1, 1fr);
          gap: 0.75rem;
          pointer-events: none;
        }
        
        .card {
          max-width: 18rem;
          color: #ffffffda;
          padding: 1.5rem;
          /* background-color: #c0d2d6; */
          background-image: linear-gradient(to bottom, #e2e2e3, #d3d4dc, #c4c6d4, #b3b9cd, #a2acc6, #97a3c2, #8c9bbe, #8192ba, #7c8ab8, #7782b6, #7579b3, #7370af);

          pointer-events: auto;
          
          transform: scale(1);
          opacity: 1;
          transition: all 150ms ease-in-out; 
          
          display: flex;
          flex-direction: column;
          
          .card-title {
            margin-left: 6.7rem;
            margin-top: -0.8rem;
            margin-bottom: 0.5rem;
            content: "";
            height: 1.5rem;
            width: 1.5rem;
            border-radius: 50%;
            /* box-shadow: inset 0 0 3px #bb86fc; */
            box-shadow: inset 0 0 3px #470180;
            background-color: transparent;
          }
        } 
        .card-pic {
            object-fit: cover;
        }
    }
    /* card end */
    /*  blog ผลงาน respo end */

    /* slide image respo start*/

    /* slide image respo end*/

    /* foot respo start */

    
    /* foot respo end */
}
/* respo mobile 360px - 520px end */


/* respo ipad or mobile-Horizontal start */
@media only screen and (min-width: 521px) and (max-width: 760px) {
    /* nav resposive start */
    .container {
        display: flex;
        flex-wrap: wrap;
    }

    nav {
        height: 400px;
        background-repeat: no-repeat;
        object-fit: cover;
        width: 100vw;
        /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3); */
    }

    .nav-con {
        display: flex;
        justify-content: center;
        /* margin-bottom: 10rem; */
    }
    
    .logo-img img{
        width: 30vw;
        border-radius: 100%;
        object-fit: cover;
        margin-left: 35vw;
        margin-bottom: 14rem;
        margin-top: 2vw;
        /* margin-left: 140px; */
        /* mix-blend-mode: color-burn; */
    }
    
    .name {
        display: flex;
        justify-content: center;
        align-items: center;
        /* border: 1px solid rgb(255, 81, 0);  */
        width: 100vw;
        margin-left: -79vw;
        margin-bottom: -5vw;
    }

    .name li {
        width: 20vw;
        /* border: 1px solid rgb(255, 81, 0);  */
        margin-left: 5vw;
        margin-top: 10vw;
    }

    .name li h4 {
        display: flex;
        width: 60vw;
        text-decoration: none;
        font-size: 20px;
        font-family: 'MyFont_YesevaOne-Regular', sans-serif;
        /* margin-left: 14vw; */
        margin-left: 15vw;
        margin-top: 30px;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    
    .name li h3 {
        display: flex;
        width: 60vw;
        margin-top: 10px;
        margin-left: 12vw;
        font-size: 16px;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    
    .name li h2 {
        display: flex;
        width: 60vw;
        margin-left: 16.6vw;
        margin-top: 20px;
        font-size: .8rem;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    /* nav respo end */
    
    /* menu respo start */
    .nav-icon {
        margin-left: -2px;
        margin-top: -10vw;
        width: 101vw;
    }
    /* menu respo end */

    /* about me respo start */
    .aboutme-con {
        display: flex;
        justify-content: center;
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20vw;
        /* background-color: #ece4d4; */
    }

    .aboutme-con > .aboutme-info:nth-child(1) {
        order: 2; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-con > .aboutme-img:nth-child(2) {
        order: 1; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-info {
        text-align: justify;
        padding: 2rem;
        width: 96%;
        margin-top: -13rem;
    }

    .aboutme-info p1 {
        margin-top: 30px;
        margin-bottom: -20px;
    }

    .about-img img {
        display: flex;
        justify-content: center;
        object-position: center;
        padding: 0.2rem;
        width: 80%;
        height: 60%;
        object-fit: cover;
        margin-top: 2rem;
        border-radius: 40px;
        margin-left: 10vw;
        box-shadow: 46px 47px 68px -30px rgba(0, 0, 0, 1);;
        background-color: #ffffff;
    }
    
    /* about me respo end */

    /* back to top respo start */
    #BackToTop {
        display: flex;
        transform: translate(-50%, -50%);
        z-index: 10;
        /* border: 10px solid rgb(255, 102, 0); */
    }
    /* back to top respo end*/

    /* blog บริการ ติดต่อ respo start */
    .blog {
        margin-top: 30px;
    }
    
    .blog-con {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 2rem;
        /* border: 1px solid blue; */
    }

    .blog-info ul{
        display: flex;
        justify-content: center;
        /* border: 1px solid blue; */
        width: 100vw;
    }

    .blog-info h4 {
        margin-top: 1rem;
        font-size: 1.0rem;
        right: 50%;
        text-align: center;
    }
    
    .blog-info ul p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: left;
        line-height: 0.6cm;
    }
    
    .blog-info p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: center;
    }
    
    .blog-info img {
        display: flex;
        width: 70vw;
        height: 300px;
        border-radius: 10%;
        object-fit: cover;
        object-position: center;
        margin-top: 40px;
        margin-left: 15vw;
    }
    /* blog บริการ ติดต่อ respo end */

    /* social icon respo start */
    .social-icon {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        justify-content: center;
        margin-left: -10vw;
        margin-bottom: 10px;
    }

    .social-icon li p {
        margin-left: 80px;
        margin-top: -40px;
        margin-left: 190px;
        font-size: 16px;
    }
    /* social icon respo end*/

    /*  blog ผลงาน respo start */
    .blog2 {
        margin-top: 80px;
        text-align: center;
        font-size: 20px;
    }
    /* รุปหมุน start */
    
    /* รุปหมุน end */

    /* card start */
    .container-card {
        height: 100%;
        width: 100%;
        padding: 1rem 0;
        display: grid;
        place-content: center;
        margin-top: 5rem;
        
        .cards {    
          display: grid;
          grid-template-columns: repeat(1, 1fr);
          gap: 0.75rem;
          pointer-events: none;
        }
        
        .card {
          max-width: 18rem;
          color: #ffffffda;
          padding: 1.5rem;
          /* background-color: #c0d2d6; */
          background-image: linear-gradient(to bottom, #e2e2e3, #d3d4dc, #c4c6d4, #b3b9cd, #a2acc6, #97a3c2, #8c9bbe, #8192ba, #7c8ab8, #7782b6, #7579b3, #7370af);

          pointer-events: auto;
          
          transform: scale(1);
          opacity: 1;
          transition: all 150ms ease-in-out; 
          
          display: flex;
          flex-direction: column;
          
          .card-title {
            margin-left: 6.7rem;
            margin-top: -0.8rem;
            margin-bottom: 0.5rem;
            content: "";
            height: 1.5rem;
            width: 1.5rem;
            border-radius: 50%;
            /* box-shadow: inset 0 0 3px #bb86fc; */
            box-shadow: inset 0 0 3px #470180;
            background-color: transparent;
          }
        } 
        .card-pic {
            object-fit: cover;
        }
    }
    /* card end */
    /*  blog ผลงาน respo end */

        /* slide image respo start*/

    
        /* slide image respo end*/

    /* foot respo start */

    
    /* foot respo end */

}
/* respo ipad or mobile-Horizontal end */

/* respo ipad or mobile-Horizontal start */
@media only screen and (min-width: 761px) and (max-width: 1123px) {
    /* nav resposive start */
    .container {
        display: flex;
        flex-wrap: wrap;
    }

    nav {
        height: 400px;
        background-repeat: no-repeat;
        object-fit: cover;
        width: 100vw;
        /* box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.3); */
    }

    .nav-con {
        display: flex;
        justify-content: space-between;
        /* border: 1px solid rgb(255, 0, 255);  */
        /* margin-bottom: 10rem; */
    }
    
    .logo-img img{
        width: 30vw;
        border-radius: 100%;
        object-fit: cover;
        margin-bottom: 12rem;
        margin-top: 2vw;
        /* margin-left: 140px; */
        /* mix-blend-mode: color-burn; */
    }
    
    .name {
        /* border: 1px solid rgb(255, 81, 0);  */
        width: 50vw;
        margin-left: -10vw;
        margin-bottom: -5vw;
    }

    .name li {
        width: 40vw;
        /* border: 1px solid rgb(255, 81, 0);  */
        margin-left: 15vw;
        margin-top: 13vw;
    }

    .name li h4 {
        display: flex;
        width: 45vw;
        text-decoration: none;
        font-size: 30px;
        font-family: 'MyFont_YesevaOne-Regular', sans-serif;
        /* margin-left: 14vw; */
        /* margin-left: 15vw; */
        margin-top: 30px;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    
    .name li h3 {
        display: flex;
        width: 40vw;
        margin-top: 10px;
        /* margin-left: 12vw; */
        font-size: 16px;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    
    .name li h2 {
        display: flex;
        width: 40vw;
        /* margin-left: 16.6vw; */
        margin-top: 20px;
        font-size: 1rem;
        /* border: 1px solid rgb(255, 81, 0);  */
    }
    /* nav respo end */
    
    /* menu respo start */
    .nav-icon {
        /* border: 1px solid rgb(255, 81, 0);  */
        margin-left: 46vw;
        margin-top: -20vw;
        width: 50vw;
    }
    /* menu respo end */

    /* about me respo start */
    .aboutme-con {
        display: flex;
        justify-content: center;
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 20vw;
        /* background-color: #ece4d4; */
    }

    .aboutme-con > .aboutme-info:nth-child(1) {
        order: 2; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-con > .aboutme-img:nth-child(2) {
        order: 1; /* ลำดับของคอลัมน์ที่ 1 เป็น 2 */
    }

    .aboutme-info {
        text-align: justify;
        padding: 2rem;
        width: 96%;
        margin-top: -40vw;
    }

    .aboutme-info p1 {
        margin-top: 30px;
        margin-bottom: -20px;
    }

    .about-img img {
        display: flex;
        justify-content: center;
        object-position: center;
        padding: 0.2rem;
        width: 80%;
        height: 60%;
        object-fit: cover;
        margin-top: -7vw;
        border-radius: 40px;
        margin-left: 10vw;
        box-shadow: 46px 47px 68px -30px rgba(0, 0, 0, 1);;
        background-color: #ffffff;
    }
    
    /* about me respo end */

    /* back to top respo start */
    #BackToTop {
        display: flex;
        transform: translate(-50%, -50%);
        z-index: 10;
        /* border: 10px solid rgb(255, 102, 0); */
    }
    /* back to top respo end*/

    /* blog บริการ ติดต่อ respo start */
    .blog {
        margin-top: 30px;
    }
    
    .blog-con {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 2rem;
        /* border: 1px solid blue; */
    }

    .blog-info h4 {
        margin-top: 1rem;
        font-size: 1.0rem;
        right: 50%;
        text-align: center;
    }
    
    .blog-info ul{
        display: flex;
        justify-content: center;
        /* border: 1px solid blue; */
        width: 100vw;
    }

    .blog-info ul p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: left;
        line-height: 0.6cm;
    }
    
    .blog-info p {
        margin: 1rem 0;
        margin-top: 10px;
        text-align: center;
    }
    
    .blog-info img {
        display: flex;
        width: 70vw;
        height: 360px;
        border-radius: 10%;
        object-fit: cover;
        object-position: center;
        margin-top: 40px;
        margin-left: 15vw;
    }
    /* blog บริการ ติดต่อ respo end */

    /* social icon respo start */
    .social-icon {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        justify-content: center;
        margin-left: -10vw;
        margin-bottom: 10px;
    }

    .social-icon li p {
        margin-left: 80px;
        margin-top: -40px;
        margin-left: 190px;
        font-size: 16px;
    }
    /* social icon respo end*/

    /*  blog ผลงาน respo start */
    .blog2 {
        margin-top: 80px;
        text-align: center;
        font-size: 20px;
    }
    /* รุปหมุน start */
    
    /* รุปหมุน end */

    /* card start */
    .container-card {
        height: 100%;
        width: 100%;
        padding: 1rem 0;
        display: grid;
        place-content: center;
        margin-top: 5rem;
        
        .cards {    
          display: grid;
          grid-template-columns: repeat(2, 1fr);
          gap: 0.75rem;
          pointer-events: none;
        }
        
        .card {
          max-width: 18rem;
          color: #ffffffda;
          padding: 1.5rem;
          /* background-color: #c0d2d6; */
          background-image: linear-gradient(to bottom, #e2e2e3, #d3d4dc, #c4c6d4, #b3b9cd, #a2acc6, #97a3c2, #8c9bbe, #8192ba, #7c8ab8, #7782b6, #7579b3, #7370af);

          pointer-events: auto;
          
          transform: scale(1);
          opacity: 1;
          transition: all 150ms ease-in-out; 
          
          display: flex;
          flex-direction: column;
          
          .card-title {
            margin-left: 6.7rem;
            margin-top: -0.8rem;
            margin-bottom: 0.5rem;
            content: "";
            height: 1.5rem;
            width: 1.5rem;
            border-radius: 50%;
            /* box-shadow: inset 0 0 3px #bb86fc; */
            box-shadow: inset 0 0 3px #470180;
            background-color: transparent;
          }
        } 
        .card-pic {
            object-fit: cover;
        }
    }
    /* card end */
    /*  blog ผลงาน respo end */

        /* slide image respo start*/
    
        /* slide image respo end*/

    /* foot respo start */

    
    /* foot respo end */

}
/* respo end */