/* Medium Devices (501px and up) */
@media screen and (min-width: 501px) { 
    .menubutton {
         display: none;
     }

    table, tr, th {
         color:black; 
         border: 1px solid #f3f5e9;
         background-color: #BED8D4;
         margin-left: auto;                
         margin-right: auto;
         }
           
    table {
          width: 50%;
          margin-left: auto;
          margin-right: auto;
           }

    .navigation {
    
            display: inline-block;
            text-align : center;
            font-family: 'Sarabun', sans-serif;
            font-size : 1rem;
            color : #656565;
            background: #BED8D4;
            width: 90%;
        }

    nav li {
        display:inline-block;
        background-color: #BED8D4;
        font-size: 25px;
        
    }

    nav a {
        display: inline-block;
        padding: .5rem;
        color: #656565;
        background: #BED8D4;
        text-decoration: none;
        }

    .navlinks{
            display: block;
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

    .navlinks_show{
            display: block;
            list-style-type: none;
            margin: 0;
            padding: 0;
        }

        .wrapper {
            margin: 0 .5rem .5rem .5rem;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            grid-column-gap: 1rem;
        }
        .foreTitle {
            text-align: center;
            margin: 1rem;
        }
        .forecast {
            display: grid;
            grid-template-columns: repeat(5, 2fr);
           width: 80%;
           height: auto;
           margin: 1rem auto;
           justify-content: center;
         }
         
         .forecast article{
           display: flex;
           flex-flow: column nowrap;
           margin: 10px;
           text-align: center;
           width: 80%;
           height: auto;
   
         }
         
         .forecast h2{
           text-align: center;
           font-size: 20px;
         }
       
         .forecast p {
           font-size: 16px;
           text-align: center;
         }
       
         .forecast img {
           
           width: 80%;
           height: auto;
         
         }

         .summary {
            width: 200px;
            height: 200px;
          
        }
        
        .summary p {
            font-size: .5rem;
        }
        
        .summary h2 {
            font-size: 2rem;
        }
    }