@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Noto+Sans+Thai:wght@100..900&display=swap');

*{
    font-family: "Google Sans";
}

@media only screen and (max-width:200px) {
    *{
        visibility: hidden;
    }
}

/* --------------------------------------------------------- */

body{
    max-width: 100vw;
    display: flex;
    justify-content: center;
    margin: initial;
    background-color: rgb(31, 31, 31);
}

#phone{
    box-sizing: border-box;
    border-radius: 40px;
    width: 600px;
    max-width: 600px;
    margin: 20px 0 50px;
    padding: 0 20px 20px;
    background-color: white;
    box-shadow: 15px 10px 0 0;
}

@media only screen and (max-width:600px) {
    #phone{
        margin: 0;
        max-width: 100vw;
        width: 100vw;
        border-radius: initial;
        box-shadow: 0px 10px 0 0;
    }
}

/* --------------------------------------------------------- */

h1, h2, h3, h4, h5, h6{ 
    font-family: "Noto Sans Thai";
    text-decoration: underline;
    cursor: default;
}

h2, h3, h4, h5, h6{
    margin: 0 0 3px;
}

header, .center{
    text-align: center;
}

/* --------------------------------------------------------- */

p{
    margin: 0;
}

a{
    font-weight: bold;
    color: initial;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

a:active{
    font-style: italic;
    color: dimgray;
    text-decoration-color: dimgray;
}

a.blocked{
    color: dimgray;
    cursor: default;
}

a.blocked:hover{
    text-decoration: none;
}

a.blocked:active{
    font-style: normal;
}

img{
    cursor: grab;
}

img:active{
    cursor: grabbing;
}

/* --------------------------------------------------------- */

.boxed{
    border: 2px solid black;
    padding: 10px;
    border-radius: 25px;
    text-align: justify;
    cursor: default;
}

.padding{
    margin-bottom: 10px;
}

.s-padding{
    margin-bottom: 5px;
}

/* --------------------------------------------------------- */

label{
    font-weight: bold;
}

input{
    border: 1px solid gray;
    border-radius: 20px;
    width: 95%;
    height: 10px;
    font-size: initial;
    padding: 10px;
}

button{
    border: none;
    font-weight: bold; 
    background-color: black;
    border-radius: 25px;
    color: white;
    padding: 5px 15px 5px;
    cursor: pointer;
}

/* --------------------------------------------------------- */

#img1{
    width: 100%;
}

#PageChanger{
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}