
body {
    background  :#fff;
    font-family: 'Sarabun', sans-serif;
    padding: 0px;
    margin: 0px;
}
:root{
    --text-gray:#3f4954;
}
a{
    text-decoration: none;
}
.nav{
    background: #33D1FF;
    padding: 0 2rem;
    height: 0.2rem;
    min-height: 13vh;
    overflow: hidden;
}
.nav .nav-brand a{
    font-size:2rem;
    padding: 3rem 0;
    display: block;
    text-align: center;
}
.footer{
    font-family: 'Sarabun', sans-serif;
    background: #23b3df;
    text-align: center;
    font-size:1rem;
    clear: both;
    margin-top: 40.5%;
    position:absolute;
    bottom:0;
    width: 100%;
}
h3{
    color:whitesmoke;
    text-align: center;
    font-size:2rem;
}
table, th, td {
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center;
  }
p1{
    color: #fff;
    font-size: 100%;
}

@media only screen and (max-width: 500px) {
    .nav{
        background: #33D1FF;
        padding: 10%;
        height: 10%;
        min-height: 10%;
        overflow: hidden;
    }
    .nav .nav-brand a{
        font-size:40%;
        padding: 5%;
        display: block;
        text-align: center;
    }
    .footer{
        font-family: 'Sarabun', sans-serif;
        background: #23b3df;
        min-height: 10%;
        text-align: center;
        font-size:100%;
        margin-top: 50%;
    }
    h3{
        color:whitesmoke;
        text-align: center;
        font-size:30%;
    }
  
}

@media only screen and (max-width: 568px) {
    .nav{
        background: #33D1FF;
        padding: 10%;
        height: 10%;
        min-height: 10%;
        overflow: hidden;
    }
    .nav .nav-brand a{
        font-size:40%;
        padding: 5%;
        display: block;
        text-align: center;
    }
    .footer{
        font-family: 'Sarabun', sans-serif;
        background: #23b3df;
        min-height: 10%;
        text-align: center;
        font-size:100%;
        margin-top: 50%;
    }
    h3{
        color:whitesmoke;
        text-align: center;
        font-size:100%;
    }
  
}

@media only screen and (max-width: 650px) {
    .nav{
        background: #33D1FF;
        padding: 10%;
        height: 10%;
        min-height: 10%;
        overflow: hidden;
    }
    .nav .nav-brand a{
        font-size:40%;
        padding: 5%;
        display: block;
        text-align: center;
    }
    .footer{
        font-family: 'Sarabun', sans-serif;
        background: #23b3df;
        min-height: 10%;
        text-align: center;
        font-size:100%;
        margin-top: 34.5%;
    }
    h3{
        color:whitesmoke;
        text-align: center;
        font-size:100%;
    }
  
}

@media only screen and (max-width: 700px) {
    .nav{
        background: #33D1FF;
        padding: 10%;
        height: 10%;
        min-height: 10%;
        overflow: hidden;
    }
    .nav .nav-brand a{
        font-size:40%;
        padding: 5%;
        display: block;
        text-align: center;
    }
    .footer{
        font-family: 'Sarabun', sans-serif;
        position:absolute;
        background: #23b3df;
        min-height: 10%;
        text-align: center;
        font-size:100%;
        margin-top: 34.5%;
        
    }
    h3{
        color:whitesmoke;
        text-align: center;
        font-size:100%;
    }
  
}