body {
    overflow: hidden;
    background: url(src/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

html {
    scroll-behavior: smooth;
}

.page {
    height: 100vh;
    padding-top: 20%;
}

nav {
    position: fixed;
    top: 0;
}

h1 {
    font-size: 4vw;
}

p {
    font-size: 1.2vw;
}

.subName {
    font-size: 5em;
}

.fullName {
    font-size: 1.4em;
}

#welcome {
    font-size: 1em;
    color: grey;
}

.contentAbout {
    margin: 0 5%;
}

@media screen and (min-width: 1025px) {
    .titleAbout {
        font-size: 4em;
    }
    .contentAbout {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 1024px) {
    .titleAbout {
        font-size: 3em;
    }
    .contentAbout {
        font-size: 1.25em;
    }
}


/* If the screen size is 600px wide or less, set the font-size of <div> to 30px */

@media screen and (max-width: 600px) {
    .titleAbout {
        font-size: 2.5em;
    }
    .contentAbout {
        font-size: 1em;
    }
}


/* font */

html,
body {
    font-family: 'Sarabun', sans-serif;
}


/* Button */

button {
    color: whitesmoke;
    border: none;
    border-radius: 10%;
    background-color: black;
    font-size: 1.3em;
}

button:hover {
    background-color: rgb(255, 208, 56);
    color: black;
}

.direction {
    cursor: pointer;
}