
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Prompt', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    width: fit-content;
    min-width: 100%;
}


:root{
    --black-tone:  rgb(255, 255, 255);
    --font-tone:rgb(20, 101, 155);
    --font-hover:#3587ba;
    --font-tone2:rgb(0, 0, 0);
    --font-tone3:rgb(103, 130, 151);
    --font-tone3:rgb(58, 90, 114);
    --background: linear-gradient(to bottom, #61bffa, #397fc5,#1d64aa, #06578a);
    --grey-background:rgba(255, 255, 255, 0.1);
    --box-shadow: 0 0 10px rgba(109, 199, 255, 0.9);
    --line-border: #3587ba;
}
html{
    font-size: 14px;
    background: var(--black-tone);
    font-size: 14px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-x: hidden;
    max-width: 100%;
}

.head {
    position: relative;
    padding-top: .5vh;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    border-bottom: .2rem solid var(--font-tone2);
    width: 100%;
    padding-right: .5vh;
    padding-left: .5vh;
    z-index: 100 ;
    
    background-color: white;
}
.text-header a{
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--font-tone2);
    padding: 0 1rem 0 1rem;
    border-radius: 1rem;
}
nav {
    display: flex;
    gap: 3rem;
    justify-content: center;
    color: var(--font-tone2);
    padding: .5rem;
}
.head  nav a{
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--font-tone2);
    padding: 0 1rem 0 1rem;
    border-radius: .5rem;
}
.head  nav a:hover{
    background-color: rgb(131, 156, 158);
    color: white;
    transform: translate(-1%, -1%);
}
.head span {
    font-size: 3rem;
    color: var(--font-tone2);
    margin-left: auto; /* ดันไอคอนไปขวาสุด */
}
.head span:hover {
    color: var(--font-tone);
    background: var(--font-tone2);
    transform: scale(1.01);
    border-radius: .3rem;
}

.icon{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}




.footer {
    position: relative;
    margin-top: 1rem;
    color: var(--font-tone2);
    text-align: center;
    z-index: 98;
    background-color: white;
}

.footer .box-container {
    display: flex;
    flex-wrap: wrap;
}

.box-link{
    display: flex;
    flex-direction: row;
}
.footer .box {
    display: flex;
    flex: 1 1 300px;
    flex-direction: column;
    margin-top: 2rem;
}

.footer .box h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--font-tone2);
}

.footer .box p, 
.footer .box a {
    font-size: 1rem;
    color: var(--font-tone2);
    text-decoration: none;
    margin: 0 .5rem 0 .5rem;
}

.footer .box a:hover {
    color: var(--font-tone2);
    transition: 0.3s ease;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.footer .social-icons a {
    color: var(--font-tone2);
    font-size: 2rem;
    transition: 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--font-tone2);
}

/* ลิขสิทธิ์ */
.footer .credit {
    margin-top: 1rem;
    text-align: center;
    padding-top:.2rem ;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--font-tone2);
    border-top: black 1px solid;
}
.footer .credit span {
    color: var(--font-tone2);
    font-weight: bold;
}



  @media (max-width: 1240px) {
    html {
      font-size: 14px;
    }
    .head #menu{
        display: contents;
    }

    .navbar-header {

        display: none;
    }     

    .home-service{
        width: 50vw;
    }
    .team-member{
        display: flex;
        flex-direction: column;
    }
    .object-contain{
        flex-direction: column;
        align-content: center;
    }
    .container-box {
        display: flex;
        flex-direction: row;
        width: fit-content;
    }
    .box {

        display: flex;
        flex-direction: row;
    }
    .text{
        width: 100px;
    }
    .shop {
        height: 100vh;
        max-height: 0vh;
        position: relative;
    }
    .shop.active {
        height: 100vh;
        max-height: 80vh;
    }
    .box{
        width: 50vw;
    }
    .shop nav{
        display: flex;
        flex-flow: wrap;
        gap: 1rem;
        flex-grow: unset;
        justify-content: center;
        color: var(--font-tone2);
        padding: 1rem;
        margin-top: 2rem;
    }
    .shop nav a{
    font-size: 1.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--font-tone2);
    border-radius: 1rem;
    height: fit-content;
    background: var(--grey-background);
    overflow: hidden;
    border-radius:1rem ;
    box-shadow: var(--box-shadow);
        padding: 0 1rem 0 1rem;
  }
  
  }


  @media (max-width: 991px) {
    
    html {
        font-size: 12px;
      }
    
  }




  @media (max-width: 768px) {
    #menu-icon {
      display: inline-block;
    }

    html {
        font-size: 10px;
      }
    .home-service {
        width: 90vw;
    }
    .home-coming a {
        font-size: 1.2rem;
    }
    

  }
  
  @media (max-width: 445px) {

  }
  
  @media (max-width: 325px) {
    html {
      font-size: 8px;
    }
  }

