@media only screen and (min-width: 768px){
    html{
        scroll-behavior: smooth;
    }


    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
    }

    body{
        background-color: #141619;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
        margin: 0;
    }


    .nav-bar{
        overflow: hidden;
         margin-top: 20px;
    }

    .nav-bar a{
        text-decoration: none;
        color: white;
        margin: 10px 10px 10px 10px;
        font-size: 20px;
    }

  

    .test{
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 70px;
        align-items: center;
    }
    
    .home{
        display: flex;
        width: 400px;
        min-width: fit-content;
        justify-content: center;
        margin: 0;
    }



    .home h1{
        display: flex;
        justify-content: center;
        height: fit-content;
        width: 500px;
        font-weight: 300;
        color: white;
    }

    
    .visit-counter{
        display: flex;
        justify-content: center;
        color: white;
        font-size: 14px;
        margin-bottom: 200px;
    }


    #counter{
        margin: 0;
        margin-left: 10px;
    }

    .about{
        display: flex;
        min-height: 20vh;
        flex-direction: column;
        justify-content: center;
        background-color: #050a44;
        width: 100%;
        margin-bottom: -20px;
    }

    .about h2{
        display: flex;
        justify-content: center;
        width: 735px;
        color: white;
    }

    .about p{
        display: flex;
        justify-content: center;
        align-self: center;
        flex-wrap: wrap;
        flex-basis: 0;
        width: 50%;
        height: 100%;
        color: white;

    
    }



    .projects{
        display: flex;
        height: 100vh;
        justify-content: center;
        flex-direction: column;
        background-color: #2c2e3a;
        width: 100%;
    }




    .projects h2{
        display: flex;
        justify-content: center;
        color: white;
        width: 735px;
        
    }


    .projects a {
        display: flex;
        align-self: center;
    }

    .projects img{
        height: 300px;
        width: 400px;
    }

    .footer{
        display: flex;
        color: #141619;
        height: 5vh;
        justify-content: center;
        width: 100%;
    }



    .footer p{
        color: white;
    }


    i:hover{
        color: white;
        transition: 0.4s;
        cursor: pointer;
    }


    .fa-github{
        margin: 10px 0px 0px 30px;
    }
    .fa-linkedin-square{
        margin: 10px 0px 0px 10px;
    }
    
}



@media only screen  and (min-width : 1824px) {
    html{
        scroll-behavior: smooth;
    }
    
    
    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
    }
    
    body{
        background-color: #141619;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
        margin: 0;
    }
    
    
    .nav-bar{
        overflow: hidden;
        margin-top: 20px;
    }
    
    .nav-bar a{
        text-decoration: none;
        color: white;
        margin: 10px 10px 10px 10px;
        font-size: 20px;
    }
    
    .test{
        display: flex;
        min-height: 100vh;
        justify-content: center;
        flex-direction: column;
    }
    
    
    .home{
        display: flex;
        min-height: fit-content;
        width: 500px;
        
    }
    
    .visit-counter{
        display: flex;
        justify-content: center;
        margin-bottom: 500px;
        color: white;
        font-size: 22px;
    }

    

    #counter{
        margin: 0;
        margin-left: 10px;
    }
    
    .home h1{
        display: flex;
        font-size: 56px;
        height: 200px;    
        width: 600px;   
        margin: 0; 
        font-weight: 300;
        color: white;
    }
    
    .about{
        display: flex;
        min-height: 57vh;
        flex-direction: column;
        justify-content: center;
        background-color: #050a44;
        width: 100%;
        margin-bottom: -20px;
    }
    
    .about h2{
        display: flex;
        justify-content: center;
        width: 1860px;
        font-size: 34px;
    }
    
    .about p{
        display: flex;
        justify-content: center;
        font-size: 34px;
        align-self: center;
        flex-wrap: wrap;
        flex-basis: 0;
        width: 50%;
        height: 100%;
    
       
    }
    
    
    
    .projects{
        display: flex;
        height: 50vh;
        flex-direction: column;
        justify-content: center;
        background-color: #2c2e3a;
        width: 100%;
    }
    

    .projects a{
        display: flex;
        align-self: center;
    }

    .projects h2{
        display: flex;
        justify-content: center;
        width: 1815px;
        font-size: 34px;
    }

    .footer{
        display: flex;
        color: #141619;
        height: 2vh;
        justify-content: center;
        width: 100%;
    }
    
    
    
    .footer p{
        color: white;
    }
    
    
    i:hover{
        color: white;
        transition: 0.4s;
        cursor: pointer;
    }
    
    
    .fa-github{
        margin: 10px 0px 0px 30px;
    }
    .fa-linkedin-square{
        margin: 10px 0px 0px 10px;
    }
    
    
    
    }



@media screen and (min-width : 1920px){
    html{
        scroll-behavior: smooth;
    }


    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
    }

    body{
        background-color: #141619;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
        margin: 0;
    }


    .nav-bar{
        overflow: hidden;
         margin-top: 20px;
    }

    .nav-bar a{
        text-decoration: none;
        color: white;
        margin: 10px 10px 10px 10px;
        font-size: 20px;
    }

  

    .test{
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 70px;
        align-items: center;
    }
    
    .home{
        display: flex;
        width: 400px;
        min-width: fit-content;
        justify-content: center;
        margin: 0;
    }



    .home h1{
        display: flex;
        font-size: 2rem;
        justify-content: center;
        margin: 0;
        height: fit-content;
        font-weight: 300;
        color: white;
    }

    
    .visit-counter{
        display: flex;
        justify-content: center;
        color: white;
        font-size: 1rem;
        margin-bottom: 200px;
    }


    #counter{
        margin: 0;
        margin-left: 10px;
    }

    .about{
        display: flex;
        min-height: 20vh;
        flex-direction: column;
        justify-content: center;
        background-color: #050a44;
        width: 100%;
        margin-bottom: -20px;
    }

    .about h2{
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        width: 735px;
        color: white;
    }

    .about p{
        display: flex;
        justify-content: center;
        align-self: center;
        flex-wrap: wrap;
        flex-basis: 0;
        font-size: 1.5rem;
        width: 50%;
        height: 100%;
        color: white;

    
    }



    .projects{
        display: flex;
        height: 100vh;
        justify-content: center;
        flex-direction: column;
        background-color: #2c2e3a;
        width: 100%;
    }




    .projects h2{
        font-size: 1.5rem;
        display: flex;
        justify-content: center;
        color: white;
        width: 735px;
        
    }


    .projects a {
        display: flex;
        align-self: center;
    }

    .projects img{
        height: 300px;
        width: 400px;
    }

    .footer{
        display: flex;
        color: #141619;
        height: 5vh;
        justify-content: center;
        width: 100%;
    }



    .footer p{
        color: white;
    }


    i:hover{
        color: white;
        transition: 0.4s;
        cursor: pointer;
    }


    .fa-github{
        margin: 10px 0px 0px 30px;
    }
    .fa-linkedin-square{
        margin: 10px 0px 0px 10px;
    }
    
}

@media screen and (max-width: 844px) {
    html{
        scroll-behavior: smooth;
    }


    .container{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
    }

    body{
        background-color: #141619;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
        margin: 0;
    }


    .nav-bar{
        overflow: hidden;
         margin-top: 20px;
    }

    .nav-bar a{
        text-decoration: none;
        color: white;
        margin: 10px 10px 10px 10px;
        font-size: 20px;
    }

  

    .test{
        display: flex;
        min-height: 100vh;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 70px;
        align-items: center;
    }
    
    .home{
        display: flex;
        width: 50%;
        min-width: fit-content;
        justify-content: center;
        margin: 0;
    }



    .home h1{
        display: flex;
        justify-content: center;
        font-size: 1rem;
        height: fit-content;
        font-weight: 300;
        color: white;
    }

    
    .visit-counter{
        display: flex;
        justify-content: center;
        color: white;
        font-size: 14px;
        margin-bottom: 200px;
    }


    #counter{
        margin: 0;
        margin-left: 10px;
    }

    .about{
        display: flex;
        min-height: 20vh;
        flex-direction: column;
        justify-content: center;
        background-color: #050a44;
        margin-bottom: -20px;
    }

    .about h2{
        display: flex;
        color: white;
        width: fit-content;
    }

    .about p{
        display: flex;
        justify-content: center;
        align-self: center;
        font-size: 12px;
        width: 55%;
        color: white;

    
    }



    .projects{
        display: flex;
        height: 100vh;
        justify-content: center;
        flex-direction: column;
        background-color: #2c2e3a;
    }




    .projects h2{
        display: flex;
        justify-content: center;
        width: fit-content;
        align-items: center;
        color: white;
        
    }


    .projects a {
        display: flex;
        flex-direction: column;
        width:80%;
        color: white;

    }

    .projects img{
        width: 100%;
    }

    .footer{
        display: flex;
        color: #141619;
        height: 5vh;
        justify-content: center;
    }



    .footer p{
        color: white;
    }


    i:hover{
        color: white;
        transition: 0.4s;
        cursor: pointer;
    }


    .fa-github{
        margin: 10px 0px 0px 30px;
    }
    .fa-linkedin-square{
        margin: 10px 0px 0px 10px;
    }
}