html, body {
    font-family: 'EB Garamond', serif; 
    background-color: grey;
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

body, main   {
    display: flex;
    flex: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

footer {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

h2 {
    font-size: 200%;
    padding: 10px;
    font-weight: bold;
}

.thispic {
    max-width: 80%;
    box-shadow: 10px 10px 5px #888888;
    border-radius: 5px;
    opacity: 1;
}

a:hover, .title:hover {
    color: RoyalBlue;
}

.title, h2, .titlesmall, .titlemed {
  font-family: 'EB Garamond', serif;
  color: tan;
}

.systemimg {
    box-shadow: none;
    padding-left: 10px;
    padding-right: 10px;
    width: 30px;
}

.systemimg2 {
    box-shadow: none;
    padding-left: 10px;
    padding-right: 10px;
    width: 40px;
}

.about {
  font-family: 'EB Garamond', serif;
  font-size: 120%;
  color: tan;
}

#table 
  {
    align: center;
    display: table; 
    height: 100%;
    width: 100%;
  }

#cell 
  {
    align: center;
    display: table-cell; 
    vertical-align: middle;
  }

#content 
  {
    width: 1000px;
    min-width: 600px;
    text-align: center;
    margin: 0 auto;
  }

/* 320 to 400px */ 
@media screen and (min-width:320px) and (max-width: 400px)   { 
    .thispic {
        max-width: 300px;
    }
    .title, h2 {
        font-size: 125%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 150%;
    }
    header, footer {
        height: 100px;
    }
}

/* 320 to 750px landscape */ 
@media screen and (min-width:320px) and (max-width: 750px) and (orientation:landscape)   { 
    .thispic {
        max-height:200px; 
    }
    .title, h2 {
        font-size: 100%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 120%;
    }
    header, footer {
        height: 50px;
    }
    .systemimg {
        width: 20px;
    }
    .systemimg2 {
        width: 25px;
    }
}
/* 401 to 480px */ 
@media screen and (min-width:401px) and (max-width: 480px)   { 
    .thispic {
        max-width: 350px;
    }
    .title, h2 {
        font-size: 200%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 150%;
    }
    header, footer {
        height: 100px;
    }
}
/* 481 to 640px */ 
@media screen and (min-width:481px) and (max-width: 640px) { 
    .thispic {
        max-width: 460px;
    }
    .title, h2 {
        font-size: 150%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 150%;
    }
    header, footer {
        height: 100px;
    }
}
/* 641 to 800px */ 
@media screen and (min-width:641px) and (max-width: 800px) { 
    .thispic {
        max-width: 500px;
        max-height: 400px; /* new */
    }
    .title, h2 {
        font-size: 150%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 125%;
    }
    header, footer {
        height: 100px;
    }
}
/* apple ipad 1 and 2  portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 1)  { 
    .thispic {
        max-width: 500px;
    }
    .title, h2 {
        font-size: 150%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 125%;
    }
    header, footer {
        height: 100px;
    }
}

/* apple ipad 1 and 2 */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 1)  { 
    .thispic {
        max-height: 400px; /* new */
    }
    .title, h2 {
        font-size: 150%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 125%;
    }
    header, footer {
        height: 100px;
    }
}

/* apple ipad retina portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)
and (-webkit-min-device-pixel-ratio: 2)  { 
    .thispic {
        /* max-width: 500px; */
        max-height: 600px; /* new */
    }
    .title, h2 {
        font-size: 200%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 125%;
    }
    header, footer {
        height: 100px;
    }
}
/* apple ipad retina landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape)
and (-webkit-min-device-pixel-ratio: 2)  { 
    .thispic {
        max-width: 500px;
        /* max-height: 400px; */
    }
    .title, h2 {
        font-size: 150%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 125%;
    }
    header, footer {
        height: 100px;
    }
}

/* 750 to 1023px landscape */ 
@media screen and (min-width:720px) and (max-width: 1023px) and (orientation:landscape)   { 
    .thispic {
        max-height:225px; 
    }
    .title, h2 {
        font-size: 100%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 120%;
    }
    header, footer {
        height: 50px;
    }
    .systemimg {
        width: 20px;
    }
    .systemimg2 {
        width: 25px;
    }
}

/* 801 to 960px */ 
@media screen and (min-width:801px) and (max-width: 960px) { 
    .thispic {
        max-width: 700px;
    }
    .title, h2 {
        font-size: 175%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 150%;
    }
    header, footer {
        height: 100px;
    }
}

/* 961 to 1024px */ 
@media screen and (min-width:961px) and (max-width: 1024px) { 
    .thispic {
        max-width: 850px;
    }
    .title, h2 {
        font-size: 200%;
    }
    .titlesmall {
      font-size: 100%;
    }
    .titlemed {
      font-size: 150%;
    }
    header, footer {
        height: 100px;
    }
}

/* 1025 to 1280px */
@media screen and (min-width:1025px) and (max-width:1280px) { 
    .thispic {
        max-width: 960px;
    }
    .title, h2 {
        font-size: 225%;
    }
    .titlesmall {
      font-size: 150%;
    }
    .titlemed {
      font-size: 200%;
    }
    header, footer {
        height: 150px;
    }
}

/* 1281px to 2048 portrait */
@media screen and (min-width:1281px) and (max-width:2048px) { 
    .thispic {
        max-width: 1000px; 
        max-height: 700px; 
    }
    .title, h2 {
        font-size: 250%;
    }
    .titlesmall {
      font-size: 150%;
    }
    .titlemed {
      font-size: 200%;
    }
    header, footer {
        height: 150px;
    }
}

/* 1024 and up landscape */ 
@media screen and (min-width:1025px) and (orientation:landscape)   { 
    .thispic {
        max-width: 900px; 
        max-height: 550px; 
    }
    .title, h2 {
        font-size: 200%;
    }
    .titlesmall {
      font-size: 150%;
    }
    .titlemed {
      font-size: 175%;
    }
    header, footer {
        height: 100px;
    }
    .systemimg {
        width: 30px;
    }
    .systemimg2 {
        width: 40px;
    }
}

