@import url('https://fonts.googleapis.com/css2?family=Kanit: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');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
}

body {
    width: 100%;
    height: 100vh;
    background-color: #121212;
    color: #fff;
    font-family: "Kanit", sans-serif;
}

a {
    text-decoration: none;
    color: #000;
}

header {
    background-color: black;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    text-transform: uppercase;
    font-weight: 700;
}

.homeBtn a {

    /* color: #fff; */
    background-color: #fff;
    padding: 8px    30px;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: all 0.3s ease
}

.homeBtn {
    text-align: center;
    margin-top: 2rem
}

.homeBtn a:hover {
    /* text-decoration: underline; */
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;

}

.page h1 {
    text-transform: capitalize;
    font-size: 30px;
}

.social_media {
    display: flex;
    gap: 10px;
}

.social_media i {
    height: 35px;
    width: 35px;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: black;
    transition: all 0.3s ease;
}

.social_media i:hover {
    background-color: #121212;
    color: #fff;
}

.project_container {
    margin-block: 2rem 3rem;
}

.project_box {

    text-align: center;
    font-weight: 500;
    margin-top: 1rem;
}

.project_box a {
    background-color: #fff;
    padding: 20px;
    border-radius: 7px;
    display: block;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.project_box a {
    font-size: 20px;
}

.home_sec {
    display: flex;
    justify-content: center;
    align-items: center;
}

#home::-webkit-scrollbar {
    display: none;
}

/* .project_box a:hover{
    transform: scale(0.95);
} */

footer {
    text-align: center;
    background-color: #000;
    padding: 10px;

}

.home_footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

footer p {
    margin-bottom: 0;
}

.custom_cursor {
    height: 25px;
    width: 25px;
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;

    mix-blend-mode: difference;
    transition: all 0.3s linear;
}

@media screen and (max-width:510px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }

    .social_media {
        gap: 15px;
    }
}
