*{
    margin: 0;
    padding: 5px;
    box-sizing: border-box;
}

@font-face {
    font-family: fonts1;
    src: url(./NotoSansThai/RobotoCondensed-Regular.woff);
    src: url(./NotoSansThai/AnyConv.com__NotoSansThai_Condensed-Regular.woff);
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

/*************** Desktop RESPONSIVE ****************/

body {
    width: auto;
    font-family: fonts1;
    /* border: 3px solid black; */
    user-select: none;
}

/*ส่วน Header*/

.header {
    height: 100px;
    /*border: 2px solid black;*/
    display: flex;
    justify-content: center;
}

.header a img {
    margin-left: 1%;
    width: 150px;
    height: 75px;
    margin-top: 8%;
}

.header .headerhiddenblock2 {
    width: 700px;
    /*border: 2px solid black;*/
}


.header .navbar {
    margin-top: 50px;
    /*border: 2px solid black;*/
}


.header .navbar a{
    font-size: 22px;
    color: black;
}
.header .navbar a:hover{
    color: rgba(0, 0, 0, .3);
}

/*จบส่วน Header*/


/*ส่วน block1*/

.block1 {
    height: auto;
    /*border: 2px solid black;*/ /*open here*/
    display: flex;
    justify-content: center;
}

/*ส่วน block1 history*/

.history {
    /*border: 2px solid black;*/ /*open here*/
    width: 640px;
    height: auto;
}

.history .history_hiddenblock {
    height: 120px;
}

.history #Topic1 {
    text-align: center;
    font-size: 25px;
}

.history #Topic2 {
    font-size: 21px;
}

.history #subTopic1 {
    font-size: 19.5px;
}

.history #subTopic2 {
    font-size: 19.5px;
}

.history #subTopic3 {
    font-size: 19.3px;
    margin-left: 66%;
}


/*จบส่วน block1 history*/


/*ส่วน block1 myprofilePic*/

.myprofilePic {
    /*border: 2px solid black;*/ /*open here*/
    width: 660px;
    height: 800px;
    /* position: relative; */
} 

.myprofilePic .myprofilePic_hiddenblock {
    height: 150px;
}

.myprofilePic .PictureSlide {
    width: 660px;
    height: 365px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.PictureSlide figure img {
    width: 20%;
    height: 365px;
    float: left;
}

.PictureSlide figure {
    position: relative;
    width: 501%;
    margin: 0px;
    left: 0px;
    animation: AboutPic 20s infinite linear;
}
@keyframes AboutPic{
    0%{left: -0%;}
    15%{left: -0%;}
    20%{left: -100%;}
    35%{left: -100%;}
    40%{left: -200%;}
    60%{left: -200%;}
    65%{left: -300%;}
    80%{left: -300%;}
    85%{left: -400%;}
    100%{left: -400%;}
}


/*จบส่วน block1 myprofilePic*/

/*จบส่วน block1*/



/*ส่วน footer*/

.footer {
    text-align: center;
    /* border: 2px solid black; */ /*open here*/
    display: flex;
    justify-content: center;
}

.footer .hiddenblock4 {
    width: 180px;
    /* border: 2px solid black; */
}

.footer .block2 {
    text-align: left;
}
.footer .block2 a {
    color: black;
}

.footer .block3 {
    text-align: left;
}
.footer .block3 a {
    color: black;
}

.footer .block4 {
    text-align: left;
}
.footer .block4 {
    color: black;
}

.footer .hiddenblock5 {
    width: 180px;
    /* border: 2px solid black; */
}


.footer .hiddenblock3 {
    width: 180px;
    /* border: 2px solid black; */
}

/*ซ่อนส่วน mobile footer*/
.Mobilefooter {
    display: none;
}
/*ซ่อนส่วน mobile footer*/


/*จบส่วน footer*/
.TheEndblock {
    width: auto;
    display: flex;
    justify-content: center;
    /*border: 2px solid black;*/
}

.TheEndblock .hiddenblock6 {
    width: 10px;
    /*border: 2px solid black;*/
}

.CPYBlock {
    width: 200px;
    /*border: 2px solid black;*/
}
#CPY {
    font-size: 12px;
}

@media only screen and (max-width: 1329px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        height: 100px;
        /* border: 2px solid black; */ /*open here*/
        display: flex;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 1%;
        width: 150px;
        height: 75px;
        margin-top: 8%;
    }
    
    .header .headerhiddenblock2 {
        width: 600px;
        /* border: 2px solid black; */
    }
    
    
    .header .navbar {
        margin-top: 50px;
        /*border: 2px solid black;*/
    }
    
    
    .header .navbar a{
        font-size: 22px;
        color: black;
    }
    .header .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/
    
    /* ส่วน content */

    .history {
        width: 55%;
    }

    .myprofilePic {
        width: 45%;
    }

    /* จบส่วน content */
    


    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 10.5%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: 32%;
        margin-left: 10%;

    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


/*************** MOBILE RESPONSIVE ****************/

@media only screen and (max-width: 1200px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 43.5%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 100%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/ /*open here*/
        text-align: center;
        width: 65%;
        margin-left: 18%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 25px;
    }

    .history #Topic2 {
        font-size: 21px;
    }

    .history #subTopic1 {
        font-size: 19.5px;
    }

    .history #subTopic2 {
        font-size: 19.5px;
    }

    .history #subTopic3 {
        font-size: 19.3px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -10%;
        margin-left: 24%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 10.5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 1024px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 43.5%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 100%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 72%;
        margin-left: 15%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 25px;
    }

    .history #Topic2 {
        font-size: 21px;
    }

    .history #subTopic1 {
        font-size: 19.5px;
    }

    .history #subTopic2 {
        font-size: 19.5px;
    }

    .history #subTopic3 {
        font-size: 19.3px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -10%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 9%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 900px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 41%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 100%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 85%;
        margin-left: 7%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 25px;
    }

    .history #Topic2 {
        font-size: 21px;
    }

    .history #subTopic1 {
        font-size: 19.5px;
    }

    .history #subTopic2 {
        font-size: 19.5px;
    }

    .history #subTopic3 {
        font-size: 19.3px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -10%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-left: 7.5%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 18px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 768px) {
    
    body {
        width: 100%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 100%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 40.2%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 100%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 90%;
        margin-left: 7%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 20px;
    }

    .history #Topic2 {
        font-size: 18px;
    }

    .history #subTopic1 {
        font-size: 17px;
    }

    .history #subTopic2 {
        font-size: 17px;
    }

    .history #subTopic3 {
        font-size: 17px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -22%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        margin-top: -40%;
        margin-left: 6%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: -2%;
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: auto;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 12px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 600px) {
    
    body {
        width: 125%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 125%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 38%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 125%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 100%;
        margin-left: 0%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 20px;
    }

    .history #Topic2 {
        font-size: 18px;
    }

    .history #subTopic1 {
        font-size: 17px;
    }

    .history #subTopic2 {
        font-size: 17px;
    }

    .history #subTopic3 {
        font-size: 17px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -22%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        width: 125%;
        margin-top: -40%;
        margin-left: 3%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: -2%;
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: 125%;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 25px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 480px) {
    
    body {
        width: 150%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 125%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 38%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 125%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 100%;
        margin-left: 0%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 20px;
    }

    .history #Topic2 {
        font-size: 18px;
    }

    .history #subTopic1 {
        font-size: 17px;
    }

    .history #subTopic2 {
        font-size: 17px;
    }

    .history #subTopic3 {
        font-size: 17px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -22%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        width: 125%;
        margin-top: -40%;
        margin-left: 3%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: 16px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: -2%;
        margin-left: 111%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: 125%;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 25px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}


@media only screen and (max-width: 320px) {
    
    body {
        width: 155%;
        font-family: fonts1;
        /*border: 3px solid black;*/
        user-select: none;
    }

    .header {
        width: 125%;
        height: 0%;
        /*border: 2px solid black;*/
        display: inline-block;
        justify-content: center;
    }
    
    .header a img {
        margin-left: 38%;
        width: 140px;
        height: 70px;
    }
    
    .navbar {
        /*border: 2px solid black;*/
        text-align: center;
    }
    
    .navbar a{
        font-size: 22px;
        color: black;
    }
    .navbar a:hover{
        color: rgba(0, 0, 0, .3);
    }
    
    /*จบส่วน Header*/

    /* ส่วน CONTENT */
    
    .block1{
        width: 125%;
        height: 960px;
        /*border: 2px solid black;*/
        display: block;
        justify-content: center;
    }

    .history {
        /*border: 2px solid black;*/
        text-align: center;
        width: 100%;
        margin-left: 0%;
    }

    .history .history_hiddenblock {
        height: auto;
    }

    .history #Topic1 {
        text-align: center;
        font-size: 20px;
    }

    .history #Topic2 {
        font-size: 18px;
    }

    .history #subTopic1 {
        font-size: 17px;
    }

    .history #subTopic2 {
        font-size: 17px;
    }

    .history #subTopic3 {
        font-size: 17px;
        margin-left: 0%;
    }


    /*จบส่วน block1 history*/


    /*ส่วน block1 myprofilePic*/

    .myprofilePic {
        /*border: 2px solid black;*/
        width: 50%;
        height: 500px;
        margin-top: -22%;
        margin-left: 25.5%;
        object-fit: cover;
    } 

    .myprofilePic .myprofilePic_hiddenblock {
        height: 150px;
    }

    .myprofilePic .PictureSlide {
        width: 100%;
        height: 75%;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .PictureSlide figure img {
        width: 20%;
        height: 75%;
        float: left;
    }

    .PictureSlide figure {
        position: relative;
        width: 501%;
        margin: 0px;
        left: 0px;
        animation: AboutPic 20s infinite linear;
    }
    @keyframes AboutPic{
        0%{left: -0%;}
        15%{left: -0%;}
        20%{left: -100%;}
        35%{left: -100%;}
        40%{left: -200%;}
        60%{left: -200%;}
        65%{left: -300%;}
        80%{left: -300%;}
        85%{left: -400%;}
        100%{left: -400%;}
    }

    /* จบส่วน CONTENT */
    
    
    /*ซ่อนส่วน footer ปกติ*/
    .footer {
        display: none;
    }
    /*ซ่อนส่วน footer ปกติ*/

    /*ส่วน Mobilefooter*/
    .Mobilefooter {
        width: 125%;
        margin-top: -58%;
        margin-left: 15%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* grid-gap: 1px; */
    }

    .Mobileblock2 {
        font-size: 14px;
        font-weight: bold;
    }

    .Mobileblock3 {
        font-size: 14px;
        font-weight: bold;
    }

    .Mobilefooter .Mobileblock2 a {
        color: black;
    } 

    .Mobilefooter .Mobileblock3 a {
        color: black;
    } 

    .Mobileblock4 {
        font-size: px;
        font-weight: bold;
    }

    .Mobileblock5 {
        margin-top: 22%;
        margin-left: 7%;
    }
    /*จบส่วน Mobilefooter*/

    .TheEndblock {
        width: 125%;
        display: flex;
        justify-content: center;
        /*border: 2px solid black;*/
    }
    
    .TheEndblock .hiddenblock6 {
        width: 25px;
        /*border: 2px solid black;*/
    }
    
    .CPYBlock {
        width: 199px;
        /*border: 2px solid black;*/
    }
    #CPY {
        font-size: 12px;
    }
}




