@media (min-width: 500px) {


        .header{
        background-color: white;
      width: 100%;    
      padding-top: .5%;
      padding-bottom: .5%;
    }


    .body{
        background-image: url("bg1.jpg");
        overflow: hidden;
        background-color: darkblue;
    }
     
    .maintext{
        margin-top: 3%;
        margin-bottom: 5%;
        padding: 4%;
        width:70%;
        float:center;
        margin-left: 20%;
        background-color: white;
        align-content: center;
        font-size:150%;
        font-family:Arial, Helvetica, sans-serif;

    }
    
    .title{
        font-family: 'Times New Roman', Times, serif;
        font-size: 200%;
        text-align: left;
        margin-left: 0;
    }

    .titlelogo{
        height:70px;
        float:left
    }

    .icon{
        height: 50px;
        float:center;
        background-color: white;
        border-radius: 10%;
        /* border-color: #BEBEBE;
        border-style: groove; */
    }

        .iconbox{
        width:10%;
        align-items: center 
    }

    .sidemenu{
        color:white;
        vertical-align: middle;
        font-family:'Times New Roman', Times, serif;
        font-size:100%;
        border-spacing: 1px;
        display: float;
        position:fixed;
        width: 10%;
        top:12%;
        left: 0;                   
        padding: 0; 
        margin-left: 0.5%;
        margin-right: 0;               
        margin-top: 3%;
        margin-bottom: 10%;
    }

    .button1{
        border-color: #BEBEBE;
        border-width: 1%;
        border-style: outset;
        font-family: Arial, Helvetica, sans-serif;
        color:white
    }

        .table1{
        background-color: white;
        border: inset;
        border-width: 5px;
        width:100%;
        display:table;
        border-collapse: separate;
        border-spacing: 20px;
        table-layout: fixed;
        position:float;
        float:right;
        /* margin-left: 40%; */
        z-index: 10;
        margin-top: 0;
        font-size: 120%;
        text-align: left;
    }
    

    .tabtable2{
        width: 40%;
        position:fixed;
        top:1;
        right:1;
        box-shadow: 2px 2px 0px 0px #000000; 
        box-sizing: border-box;
        border-style: outset; 
        background-color: #BEBEBE;
        z-index: 10;
        margin-left: 12%;
        margin-top: 1%;
        display: flex;
        flex-direction: column;
      justify-content: center; /* center horizontally */
      align-items: center; 
    }

}

@media (max-width: 500px) {

    /* .header{
        background-color: black;
        max-height:10%;
      width: 100%;    
    } */

        .header{
        background-color: white;
      width: 100%;    
      padding-top: .5%;
      padding-bottom: .5%;
    }


    .body{
        background-image: url("bg1.jpg");
        overflow: hidden;
        background-color: darkblue;
    }
     
    .maintext{
        margin-top: 3%;
        margin-bottom: 5%;
        padding: 4%;
        float:right;
        width:75%;
        position:sticky;
        background-color: white;
        align-content: center;
        font-size:100%;
        font-family:Arial, Helvetica, sans-serif;

    }

        .icon{
        height: 30px;
        float:center;
        background-color: white;
        border-radius: 10%;
        /* border-color: #BEBEBE;
        border-style: groove; */
    }

    .iconbox{
        width:20%;
        align-items: center 
    }

    .titlelogo{
        height:40px;
        float:left
    }
    
    .title{
        text-align: left;
        margin-left: 0;
    }

    .sidemenu{
        color:white;
        vertical-align: middle;
        font-family:'Times New Roman', Times, serif;
        font-size:100%;
        border-spacing: 1px;
        display: float;
        position:fixed;
        width: 10%;
        top:10%;
        left: 0;                   
        padding: 0; 
        margin-left: 1%;
        margin-right: 0;               
        margin-top: 0%;
        margin-bottom: 10%;
    }

    .button1{
        border-color: #BEBEBE;
        border-width: 1%;
        border-style: outset;
        font-family: Arial, Helvetica, sans-serif;
        color:white
    }

        .table1{
        background-color: white;
        border: inset;
        border-width: 5px;
        width:100%;
        display:table;
        border-collapse: separate;
        border-spacing: 20px;
        table-layout: fixed;
        position:float;
        float:right;
        /* margin-left: 40%; */
        z-index: 10;
        margin-top: 0;
        font-size: 100%;
        text-align: left;
    }
    

    .tabtable2{
        width: 80%;
        position:fixed;
        top:1;
        right:1;
        box-shadow: 2px 2px 0px 0px #000000; 
        box-sizing: border-box;
        border-style: outset; 
        background-color: #BEBEBE;
        z-index: 10;
        margin-left: 12%;
        margin-top: 1%;
        display: flex;
        flex-direction: column;
      justify-content: center; /* center horizontally */
      align-items: center; 
    }

}

a:visited {
  color: blue;          /* keep same color after clicking */
  text-decoration: underline;
}
