
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
}
body{
    background: #ecf0f3;
}

a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}





/*   NAV-BAR    */


nav{
    width: 100%;
    padding: 12px 0;
    background: #ecf0f3;
    box-shadow: -6px -6px 16px #fff,
                6px 6px 16px #d1cdc7;
    animation: top-to-bottom ease-out;
    animation-duration: 2s;
}
nav ul{
    padding-right: 55px;
}

.logo{
    width: 60px;
}
.navbar-brand{
    background: #ecf0f3;
    box-shadow: inset -3px -3px 7px #ffffff,
                inset 7px 3px 5px #ceced1;
    padding: 5px 10px;
    margin-left: 30px;
    border-radius: 8px; 
    border: 2px solid transparent;
    outline: none;
    transition: border 0.5s ease-in;
}

.navbar-brand:hover {
    border: 2px solid var(--skin-color);
    outline: none;
 }

nav ul a{
    margin:0 8px;
    text-decoration: none;
    font-size: 18px;
    color: #31344b;
    font-weight: 400;
    display: inline-flex;
    padding: 10px 12px;   
    position: relative;
    transition: all 0.3s ease;
  }
  nav ul li a:hover{
    color: var(--skin-color) !important;
  }

nav ul a:hover:before{
    color: var(--skin-color);
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset -3px -3px 7px #ffffff,
                inset 3px 3px 5px #ceced1;
}


.menu-icon-fa{
    font-size: 25px;
}

  .menu-btn {
	box-shadow: 6px 6px 5px #cbced1, -6px -6px 6px #fff;
	cursor: pointer;
	z-index: 1000;
    border: 2px solid rgba(255,255,255,.3);
    box-shadow: 4px 4px 6px 0 rgba(0,0,0,.1), -4px -4px 6px rgba(255,255,255,1);
}
.menu-btn:hover:focus{
    outline: none;
    transform: scale(0.95);
    box-shadow: 4px 4px 10px 0 rgba(0,0,0,.1), -4px -4px 10px rgba(255,255,255,1), 4px 4px 10px 0 rgba(0,0,0,.1) inset, -4px -4px 10px rgba(255,255,255,1) inset;
    
    transition: color 0.2s ease-out, transform 0.2s ease-out;
    color: var(--skin-color) !important;
}


.main{
    overflow: hidden;
}




@media screen and (max-width : 700px) {
    nav ul li a{
        padding-left: 12px;
        width: 80px;
        margin-left: 10px;
        text-align: center;

    }
    .navbar{
        width: 100% !important;
        overflow: hidden;
        display: flex;
        justify-content: space-between;
        
    }
    .navbar-brand{
        margin: 0 !important;
        padding: 0 !important;
    }
}


.button-all{
---color: var(--skin-color);
 font-family: inherit;
 display: inline-block;
 width: 8em;
 height: 2.6em;
 line-height: 2.5em;
 margin: 20px;
 position: relative;
 overflow: hidden;
 border: 2px solid var(--skin-color);
 transition: color .5s;
 z-index: 1;
 font-size: 17px;
 text-align: center;
 border-radius: 6px;
 font-weight: 500;
 color: var(--color);
 box-shadow: -3px -3px 7px #ffffff,
               3px 3px 5px #ceced1,
               inset -3px -3px 7px #ffffff,
               inset 3px 3px 5px #ceced1;
}

.button-all:before {
 content: "";
 position: absolute;
 z-index: -1;
 background: var(--skin-color);
 height: 150px;
 width: 200px;
 border-radius: 50%;
}

.button-all:hover {
 color: #fff;
 text-decoration: none;
 text-align: center;
}

.button-all:before {
 top: 100%;
 left: 100%;
 transition: all 1s;
}

.button-all:hover:before {
 top: -30px;
 left: -30px;
}






/* banner container */




.banner-container{
    min-height: 90vh;
    display: flex;    
    align-items: center;
    width: 100%;
    transition: all 0.5s ease-out;
    margin-top: 62px !important;
}
.banner-container .name{
    font-size: 52px;
    color: var(--skin-color);
}

.banner-container span{
    font-size: 30px;
    color: var(--skin-color);
    width: 100%;
}
.banner-container h1{
    font-size: 50px;
}



.icon {
    margin-top: 25px;
}

.icon a {
    padding: 10px 15px;
    margin-right: 18px;
    transition:  all 0.5s ease;
    position: relative;
    display:  inline-block;
}


.icon a {
    transition: 0.5s;
    background: #efeeee;
    border-radius: 10px;
    box-shadow: -6px -6px 16px #fff,
                6px 6px 16px #d1cdc7;
}

.icon a:active {
    box-shadow: inset -6px -6px 16px #fff,
                inset 6px 6px 16px #d1cdc7
}

.twitter {
    color: #19a9dd;
}

.github {
    color: #010101;
}
.linked-in{
    color: #19a9dd;
}
.icon a:hover{
    background-color: var(--skin-color);
    color: #ffffff;
    transform: translateY(-10px);
}


.right-side {
    margin-left: 80px;
    animation: right-to-left 5s ease-out;
    animation-duration: 2s;    
}





.banner-img{
    width: 400px;
    border-radius: 8px;
    box-shadow: -6px -6px 16px #fff,
                6px 6px 16px #d1cdc7;
    animation: mover 1s infinite  alternate;
    
}

.right-side::after{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-bottom: 10px solid var(--skin-color);
    border-right: 10px solid var(--skin-color);
    right: 95px;
    bottom: -40px;
    margin: 0;
}
.right-side::before
{
    content: '';
    position: absolute;
    height: 80px;
    width: 80px;
    border-top: 10px solid var(--skin-color);
    border-left: 10px solid var(--skin-color);
    left: -20px;
    top: -40px;
    
}







.typing{
    font-size: 40px !important;
    color:var(--skin-color) !important;
}
.my-profession{
    color: #02022c;
}



    
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}


/*  media quires for home and banner */

@media screen and (max-width: 768px) {
    
    .banner-container{
        width: 100%;
        text-align: center;
        flex-direction: column;
        margin-top: 50px;
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    .banner-container h1{
        font-size: 30px;
        margin-top: 70px;
        margin-bottom: 25px;
    }
    .banner-container h1 span{
        font-size: 28px !important;
    }
    .left-side{
        margin-bottom: 25px;
        text-align: left;
        width: 100% !important;
    }
    .right-side{
        margin-top: 85px !important;
        align-items: center;
        margin: 0;
    }
    .right-side img{
        width: 350px;
        margin-left: 10px;
    }


    .right-side::after{
        content: '';
        position: absolute;
        height: 80px;
        width: 80px;
        border-bottom: 5px solid var(--skin-color);
        border-right: 5px solid var(--skin-color);
        right: -30px;
        bottom: -10px;
        margin: 0;
    }
    .right-side::before
    {
        content: '';
        position: absolute;
        height: 80px;
        width: 80px;
        border-top: 5px solid var(--skin-color);
        border-left: 5px solid var(--skin-color);
        left: 10px;
        top: -25px;
        
    }
    .left-side h1{
        margin-bottom: 0;
        margin-top: 0;
    }
    .left-side{
        margin-top: 150px;
    }
    
}




            /*  ABOUT SECTION */


.abuot-section{
    margin-top: 100px;
    min-height: 100vh;
    padding-bottom: 70px;
}

.about-heading-container h1{
    font-size: 40px;
    text-align: left;
}

.about-heading-container h1::before
{
    content: '';
    height: 4px;
    width: 100px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-left: 20px;
    animation: left-to-right 3s infinite;
    
}
.about-heading-container h1::after
{
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    margin-left: 20px;
    animation: left-to-right 3s infinite;
}

@keyframes left-to-right {
    100%{
        transform: translateX(1px);
        
    }
    0%{
        transform: translateX(-1px);
        width: 0;
    }
}


.about-text{
    margin-top: 35px;
    padding: 0 16px;
}
.personal-info{
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
    margin-top: 35px;
}
.personal-info i {
    font-size: 25px;
    color: var(--skin-color);
    margin-right: 15px;
    cursor: pointer;
}
.personal-info a {
    font-size: 22px;
    color: #02022c;
    margin-right: 15px;
    cursor: pointer;
}

.personal-info .location{
    font-size: 22px;
    color: #02022c;
    margin-right: 15px;
    cursor: pointer;
}
hr{
    color: #02022c;
    width: 90%;
    margin: 30px 0;
}
.hire-me-btn{
    margin-left: 15px;
}
.hire-me-btn a{
    font-size: 18px;
    letter-spacing: 1px;
}
.education{
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px;
    border-radius: 8px;
    box-shadow: -6px -6px 16px #fff,
                6px 6px 16px #d1cdc7;
}
.edu_cont{
    width: 50%;
}
.edu_cont p{
    font-size: 20px;
    color: #5a5a88;
    font-weight: 300;
}
.hr-line{
    margin: 10px 0px !important;
    display: none;
}
.edu_cont h4{
    color: #0e0e38;
}

.edu_cont {
    /* margin-bottom: 10px; */
    
    border-left: 4px solid var(--skin-color);
    padding-left: 19px;
}


@media screen and (max-width: 768px) {
    .edu_cont{
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 0px;
        margin-bottom: 0;
        border-bottom: 1px solid var(--skin-color);
        
    }
    .hr-line{
        display: flex;
        margin-bottom: 35px !important;
        margin-top: 15px !important;
    }
    .education{
        width: 90%;
    }
}





/* sills section */
.skill-section{
    min-height: 100vh;
    max-width: 100%;
}
.sikll-container{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 100px;
}

.skill-card{
    background-color: #ecf0f3;
    position: relative;
    height: 200px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    border-radius: 8px;
    transition: all 0.5s;
    border: 2px solid transparent;
    box-shadow: -6px -6px 13px #fff,
                6px 6px 13px #d1cdc7;
    
}

.skill-card:hover{
    /* border: 2px solid var(--skin-color); */
    outline: none;
    color: #02022c !important;
    cursor: pointer;
    box-shadow: inset -6px -6px 12px #fff,
                inset 6px 6px 12px #d1cdc7
}
.skill-card h4{
    color: var(--skin-color);
    margin-top: 15px;
    letter-spacing: 1px;
    font-family: 'Righteous', cursive;
}

.skill-card img{
    height: 70px;
    width: 70px;
    
}




/* .skill-card::after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--skin-color);
    z-index: 1;
    position: absolute;
    border-radius: 8px;
} */







  


 .containers {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    min-height: 100vh;
    padding: 10px 20px;
  }
  
  .containers .cards {
    position: relative;
    max-width: 400px;
    min-height: 500px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.05),
      inset -5px -5px 5px rgba(255, 255, 255, 0.5),
      5px 5px 5px rgba(0, 0, 0, 0.05), -5px -5px 5px rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    cursor: pointer;
    padding: 0;
  }
  
  .containers  .cards .boxs {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #ebf5fc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    transition: transform 500ms linear, box-shadow 500ms linear,
      background 500ms linear;
  }
  
  .containers  .cards:hover .boxs {
    transform: translateY(-50px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, #b95ce4, #4f29cd);

  }
  
  .containers  .cards .boxs .contents {
    padding: 20px;
    text-align: center;
  }
  
  .containers  .cards .boxs .contents h2 {
    position: absolute;
    top: -10px;
    right: 30px;
    font-size: 8em;
    color: rgba(0, 0, 0, 0.02);
    transition: color 500ms linear;
  }
  
  .containers  .cards:hover .boxs .contents h2 {
    color: rgba(0, 0, 0, 0.05);
  }
  
  .containers  .cards .boxs .contents h3 {
    font-size: 1.8em;
    color: #777;
    z-index: 1;
    transition: color 500ms linear;
  }
  
  .containers .cards .boxs .contents p {
    font-size: 1em;
    font-weight: 300;
    color: #777;
    z-index: 1;
    transition: color 500ms linear;
    text-align: left;
    margin-top: 15px;
  }
  
  .containers .cards:hover .boxs .contents h3,
  .containers .cards:hover .boxs .contents p {
    color: #fff;
  }
  
  .containers .cards .boxs .contents a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    background: #03a9f4;
    margin-top: 15px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    margin-bottom: 55px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .containers .cards:hover .boxs .contents a {
    background: var(--skin-color);
  }

.cards-heading{
    font-size: 1.5em;
    font-weight: 600;
    color: #031c33;
    z-index: 1;
    transition: color 500ms linear;
    margin-bottom: 10px;
}
.crads-span{
    display: inline-block;
    font-size: 23px;
    font-weight: bold;
    color: #031c33;
    border-bottom: 2px solid var(--skin-color);
    margin-bottom: 10px;
    transition: color 500ms linear;

}

  

.project-card-img{
    width: 90%;
    margin-bottom: 25px;
    margin-top: 25px;
}
.wiki{
    width: 100px;
}
.clacu{
    width: 45%;
}
.food-much-logo{
    width: 50%;
}









.form-main-container{
    min-height: 100vh;
    background-color: #ecf0f3;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-family: "Poppins" , sans-serif;
    max-width: 100%;
  }
  .form-container{
    width: 85%;
    border-radius: 6px;
    padding: 20px 60px 30px 40px;
    
  }
  .form-container .form-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .form-content .form-left-side .details{
    margin: 14px;
    text-align: center;
  }
  .form-content .form-left-side .details i{
    font-size: 30px;
    color: var(--skin-color);
    margin-bottom: 20px;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 6px 6px 12px #b8b9be,-6px -6px 12px #fff!important;
  }
  .form-content .form-left-side .details .topic{
    font-size: 18px;
    font-weight: 500;
  }
  .form-content .form-left-side .details .text-one,
  .form-content .form-left-side .details .text-two{
    font-size: 16px;
    color: #393942;
    letter-spacing: 1px;
  }
  
  
  .form-container .form-content .form-right-side{
    width: 75%;
    margin-left: 75px;
  }
  .form-content .form-right-side .topic-text{
    font-size: 23px;
    font-weight: 600;
    color: var(--skin-color);
  }
  .form-right-side .input-box{
    height: 50px;
    width: 80%;
    margin: 12px 0;
    border-radius: 0.55rem;
    box-shadow: inset 2px 2px 5px #b8b9be,
                inset -3px -3px 7px #fff;
  }
  .form-right-side .input-box input,
  .form-right-side .input-box textarea{
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    background: #F0F1F8;
    border-radius: 0.55rem;
    padding: 0 15px;
    resize: none;
    box-shadow: inset 2px 2px 5px #b8b9be,
                inset -3px -3px 7px #fff;
  }
  .form-right-side .message-box{
    min-height: 110px;
    border-radius: 0.55rem;
    box-shadow: inset 2px 2px 5px #b8b9be,
                inset -3px -3px 7px #fff;
  }
  
  .form-right-side .input-box textarea{
    padding-top: 6px;
    border-radius: 8px;
    font-size: 1rem;  
    border-radius: 0.55rem;
    box-shadow: inset 2px 2px 5px #b8b9be,
                inset -3px -3px 7px #fff;
  }
  .form-right-side .button{
    display: inline-block;
    margin-top: 12px;
  }
  .button input[type="button"]:hover{
    background: #5029bc;
  }
  
  @media (max-width: 950px) {
    .form-container{
      width: 90%;
      padding: 30px 40px 40px 35px ;
    }
    .form-container .form-content .form-right-side{
     width: 75%;
     margin-left: 55px;
  }
  }
  @media (max-width: 700px) {
    .form-container{
      margin: 40px 0;
      height: 100%;
      width: 100%;
    }
    .form-container .form-content{
      flex-direction: column-reverse;
    }
   .form-container .form-content .form-left-side{
     width: 100%;
     flex-direction: row;
     margin-top: 40px;
     justify-content: center;
     flex-wrap: wrap;
   }
   .form-container .form-content .form-left-side::before{
     display: none;
   }
   .form-container .form-content .form-right-side{
     width: 100%;
     margin-left: 0;
   }
   .input-box input{
    width: 300px !important;
   }
   .input-box textarea{
    width: 300px !important;
   }




  }
  
  .form-container input:focus{
    border: 2px solid var(--skin-color);
  }
  .form-container textarea:focus{
    border: 2px solid var(--skin-color);
  }
  

  #form-heading{
    position: relative;;
    margin-left: 50px;
  }

 


