@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Kanit', sans-serif;
}


body{
    background: url(../img/hero-layer.png), #1a2222;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    scroll-behavior: smooth;
}



.container{
    margin: 0 auto;
    width: 90%;
    max-width: 1350px;
}

img {
    width: 100%;
}

.btn{
    padding: 10px 30px;
    background: #00bcd4;
    color: #1a2222;
    border-radius: 5px;
    border: 1px solid #00bcd4;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn:hover{
    background: transparent;
    color:#00bcd4;

}

/* start Header */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

header nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

header nav .logo_name{
    display: flex;
    align-items: center;
    justify-content: start;
}

header nav .logo_name img{
    width: 30%;
    
    padding: 20px;
}

header nav .logo{
    font-size: 30px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    
}

header nav .logo span{
    color: #00bcd4;
}

header nav .nav_links{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    
}

header nav .nav_links a{
    color: #fff;
    transition: all 0.3s ;
}

header nav .nav_links a:hover{
    color: #00bcd4;
    text-decoration: underline;
}


/* start Hero */

.hero{
    height: 100vh;
}

.hero .information h1 .Space_i{
    position: relative;
    margin-right: 20px;
}
/* HTML: <div class="loader"></div> */
.loader {
    width: 12px;
    height: 16px;
    aspect-ratio: 1;
    animation: 
      l2-1 2s infinite linear,
      l2-2 1s infinite steps(1) alternate;
  }
  @keyframes l2-1 {
    0%   {transform: perspective(150px) rotateX(  0deg)}
    100% {transform: perspective(150px) rotateX(360deg)}
  }
  @keyframes l2-2 {
    0% {background:#fff}
    50% {background:#00bcd4}
  }

  


   /* HTML: <div class="loader"></div> */
.loader1 {
    width: 45px;
    height: 45px;
    display: flex;
    color: #00bcd4;
    --c:#0000 calc(130% - 20px),currentColor calc(100% - 19px) 90%,#0000;
    background:
      radial-gradient(farthest-side at left,var(--c)) right /50% 100%,
      radial-gradient(farthest-side at top ,var(--c)) bottom/100% 50%;
    background-repeat: no-repeat;
    animation: l18-0 2s infinite linear .25s;
  }
  .loader1::before{
    content:"";
    width:45%;
    height: 45%;
    background:radial-gradient(farthest-side at bottom right,var(--c));
    animation: l18-1 .5s infinite linear;
  }
  @keyframes l18-0 {
    0%   ,12.49% {transform: rotate(0deg)}
    12.5%,37.49% {transform: rotate(90deg)}
    37.5%,62.49% {transform: rotate(180deg)}
    62.5%,87.49% {transform: rotate(270deg)}
    87.5%,100%   {transform: rotate(360deg)}
  }
  @keyframes l18-1 {
    0%      {transform: perspective(150px) rotateY(0)      rotate(0)} 
    50%     {transform: perspective(150px) rotateY(180deg) rotate(0)} 
    80%,100%{transform: perspective(150px) rotateY(180deg) rotate(90deg)}
  }

.hero .container{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero .information{
    width: 50%;
}

.hero .information h1{
    font-size: 80px;
    color: #fff;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 15px;
    position: relative;
}

.hero .information h1 .loader{
    
    position: absolute;
    top: 32%;
    right: -60%;
}

.hero .information h1 .Space_i{
    position: relative;
   
}

.hero .information h1 .loader1{
    
    position: absolute;
    top: 66%;
    right: 84.5%;
}

.hero .information h1 .Space_m{
    margin-right: 24px;
}

.hero .information p{
    font-size: 18px;
    color: #cccccc;
}

.hero .information .links_section{
    margin-top: 40px;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.hero .information .links_section a{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    text-align: center;
    width: 31%;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-transform: uppercase;
}

.hero .information .links_section a span{
    margin-bottom: 15px;
}

.hero .information .links_section a .icon_list{
    display: flex;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 10px 20px;
}

.hero .information .links_section a .icon_list img{
    width: 40px;
}

.hero .information .icon_about{
    width: 80%;
    margin: 0 auto;
}

/* .hero .information img{
    width: 50px;
} */

.hero .div_img{
    width: 35%;
    position: relative;
}

.hero .div_img::before{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-53%);
    height: 71%;
    width: 90%;
    z-index: -1;
    border-radius: 10px;
    background: #00bcd4;
    opacity: 0.1;

}

.hero .div_img::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 47%;
    transform: translate(-48%, -49%) rotate(11deg);
    background: url(../img/shape1.png);
    height: 100%;
    width: 96%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    margin: 0;
    margin-top: 11%;
    filter: drop-shadow(2px 3px 8px #a5e4fd); 
           

}

.hero .div_img img{
    display: block;
}

.open_menu, .close_menu{
    display: none;
}





/* start About */
#about{
    min-height: 100vh;
    
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: center;
}
#about .container{
    
    margin-top: 50px;
    margin-bottom: 50px;
}
#about h2{
    text-align: center;
    font-size: 50px;
    font-family: 'Kanit', sans-serif;
    margin-bottom: 30px;
    color: #00bcd4;
}
.contactMe ul{
    
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.contactMe ul li{
    background: rgba(194, 195, 199, .05);
    position: relative;
    list-style: none;
    width: 80px;
    height: 80px;
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.5), 
    10px 15px 10px rgba(0, 0, 0, 0.5),
    inset -5px -5px 10px rgba(255, 255, 255, .05);
    border-radius: 20px;
    transition: 0.5s;
}

.contactMe ul li::before{
    content: "";
    position: absolute;
    inset: 4px;
    box-shadow: inset 4px 4px 0 #00bcd4;
    z-index: 1;
    border-radius: 20px;
    filter: blur(5px);
    pointer-events: none;
}

.contactMe ul li:hover{
    transform: translateY(-20px);
}


.contactMe ul li a{
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2.5em;
    color: var(--clr);

}

@media (max-width:1500px) {
    .hero .information h1 .Space_m{
        position: relative;
        margin-right: 20px;
    }

    .hero .information h1 .loader1{
        width: 40px;
        height: 40px;
        position: absolute;
        top: 42%;
        right: -29%;
    }

}

@media (max-width:1024px) {
    header {
        background: #1a2222;
        
    }
    header nav .nav_links{
        position: fixed;
        top: 0;
        right: -400px;
        bottom: 0;
        width: 400px;
        background: #1a2222;
        border-left: 1px solid rgba(122, 122, 122, 0.2);
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        /* padding-top: 100px; */
        transition: 0.3s ease-in-out;
    }

    .btn{
        padding: 8px 12px;
        font-size: 12px;
    }

    header nav .nav_links.active{
        right: 0;
    }

    .close_menu{
        display:block;
        color: #00bcd4;
        font-size: 25px;
        position: absolute;
        top: 30px;
        left: 30px;
        cursor: pointer;
    }

    .btns{
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .open_menu{
        display: block;
        font-size: 35px;
        color: #00bcd4;
        cursor: pointer;
    }

    .hero .container{
        flex-direction: column;
        gap: 70px;
        padding-top: 120px;
    }

    .hero .container .information{
        width: 100%;
        
    }

    
    .hero .container .links_section span{
        font-size: 15px;
        text-align: center;
    }

    .hero .div_img {
        width: 50%;
    }

    .hero .information h1 .Space_i{
        position: relative;
        
    }
    

    .hero .information h1 .loader{
        width: 13px;
        height: 16px;
        position: absolute;
        top: 32%;
        right: -60%;
    }
    
    .hero .information h1 .Space_m{
        position: relative;
        margin-right: 20px;
    }

    .hero .information h1 .loader1{
        width: 40px;
        height: 40px;
        position: absolute;
        top: 42%;
        right: -29%;
    }
    
    
}


@media (max-width:600px){
    header nav .nav_links{
        width: 100%;
        right: -100%;

    }
    header .btn{
        display: none;
    }

    .hero .information h1{
        font-size: 45px;
    }
    .hero .information p{
        font-size: 16px;
    }
    .hero .information .links_section{
        width: 100%;
        
    }
    .hero .information .links_section a{
        padding: 10px;
    }
    .hero .information .links_section a span{
        font-size: 12px;
        
    }
    .hero .information .links_section a .icon_list{
        padding: 0;
        border: none;
    }
    .hero .information .links_section a .icon_list img{
        width: 45%;
    }
    .hero .div_img{
        width: 70%;
    }

    .hero .information h1 .Space_i{
        position: relative;
        
    }

    .hero .information h1 .loader{
        width: 9px;
        height: 10px;
        position: absolute;
        top: 32%;
        right: -85%;
    }
    
    .hero .information h1 .loader1{
        width: 25px;
        height: 25px;
        position: absolute;
        top: 40%;
        right: -36%;
    }
    
    .hero .information h1 .Space_m{
        position: relative;
        margin-right: 20px;
    }
}


@media (max-width:420px){
    .hero .information h1 .Space_i{
        position: relative;
        
    }
    
    .hero .information h1 .loader{
        width: 9px;
        height: 10px;
        position: absolute;
        top: 32%;
        right: -85%;
    }
    
    .hero .information h1 .loader1{
        width: 25px;
        height: 25px;
        position: absolute;
        top: 40%;
        right: -36%;
    }
    
    .hero .information h1 .Space_m{
        position: relative;
        margin-right: 20px;
    }
}



