@media screen and (min-width: 800px) {
  
    body {
        background-color: #092f76;
        margin:-.5em;
        background-position: top;
        font-family: Arial, Helvetica, sans-serif;
    }

    h1, h2 {
        border: red solid 1px;
    }

    a {
        color: black;
        text-decoration: none;
    }

    p {
        vertical-align: middle;
    }

    #top {
        border: none;
        background-image: url("assets/bg.jpg");
        background-size: cover;
    }

    #top-mobile {
        display: none;
    }

    /* TITLE BLOCK */


    #title-block {
        
        text-align: center;  
        border: none; 
        margin-bottom: 3em;
    }

    #title {
        height: inherit;
        width: 60%;
    }

    /* MIDDLE BLOCK, 2 QUOTES, 1 PICTURE */

    #quotes {
        display: flex;
        align-items: center;
        padding: 1em;
        border: none;
    }

    #einstein-quote {
        text-align: center;
        width: 60%;
        height: auto;
        border: none;
    }

    #einstein {
        height: inherit;
        width: inherit;

    }

    #toppic {
        width: 40%;
    }

    #theory-blurb {
        text-align: center;
        margin: 1em;
        width: 60%;
        height: auto;
        border: none;
    }

    #theory {
        height: inherit;
        width: inherit;
    }

    #gravitywell {
        text-align: center;  
        border: none;
        margin: 2.5em 0;

    }

    #gravitywell-caption {
        width: 30%;
        height: auto;
    }

    /* LINKS BLOCK */

    #links {
        display: flex;
        justify-content: center;
        align-items:center;
        

    }

    #contact-price {
        padding: 0 1em;
        text-align: center;
        width: 75%;
        margin-left: ;
    }

    
    #contact-photo {
        width: 80%;
        padding: 2.5em 1em;
    }
    

    .formore {
        
        line-height: 0.1;
    }

    .email {
        
        line-height: 0.2;
        font-weight: bolder;
    }

    .email:hover {
        text-decoration: underline;
    }


    #eddie-pic {
        padding: 0 1em;
        width: 20%;
    }

    #eddie {
        width:100%;
    }

    #meso-pic {
        padding: 0 1em;
        width: 10%;       
    }

    #meso {
        width: 100%;
    }

    #demo-btn {
        text-align: center;
        
    }

    #btn {
        width: 70%;
    }

    /* BOTTOM HALF OF PAGE */

    #bottom {
        background-image: url("assets/bottom-bg.jpg");
        background-size: cover;
        background-clip: border-box;
    } 


    .mode-images {
        display:flex;
        justify-content: space-between;
    }

    #standalone {
        width:45%;
    }

    #demo {
        width: 40%;
    }

    #description-text {
        display:flex;
        justify-content: space-between;
    }

    #standalone-text {
        width:35%;
    }

    #bestexhibit {
        width:30%;
    }

    #demo-text {
        width: 35%;
    }

    #bottom-row {
        display:flex;
        justify-content: space-between;
        padding-bottom: 2%;
    }

    #x {
        width:35%;
    }

    #y {
        width:30%;
    }

    #z {
        width:30%;
        height: auto;
    }

    #bestexhibit-mobile {
        display: none;
    }

    #bottom-mobile {
        display: none;
    }

    #third {
        background-image: url("assets/beige-bg.jpg");
        background-size: cover;
        background-clip: border-box;
        /* margin-top:-2%; */
    }

    #third-mobile {
        display:none;
    }

    #fiske {
        width: 100%;
    }

    #render {
        width: 100%;
    }

    #fourth {
        background-image: url("assets/pink-bg.jpg");
        background-size: cover;
        background-clip: border-box;
        /* margin-top:-2%; */
    }

    #fourth-mobile {
        display: none;
    }

    .mode-images-pink, .mode-images-beige {
        display:flex;
        
        /* justify-content: center; */
        align-items: center;
        padding-top: 5%;
        /* align-items: center; */
    }

    #slideapart {
        width: 80%;
        padding-left: 5%;
    }

    #frontview {
        width: 80%;
    }

    #rear {
        width: 80%;
        padding-left: 5%;
    }

    #sideview {
        width: 80%;
    }
}

/* LARGE SCREEN ABOVE */
/* -------------------------------- */
/* -------------------------------- */
/* -------------------------------- */
/* -------------------------------- */
/* SMALL SCREEN BELOW */

@media screen and (max-width: 799px) {
    body {
        background-color: #092f76;
        background-position: top;
        font-family: Arial, Helvetica, sans-serif;
        margin: 0em;
    }

    h1, h2 {
        border: red solid 1px;
    }

    a {
        color: black;
        text-decoration: none;
    }

    p {
        vertical-align: middle;
    }

    #top {
        display: none;
    }

    #top-mobile {
        
        background-image: url("assets/bg.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* TITLE BLOCK */


    #title-block {
        
        text-align: center;  
        border: none; 
    
    }

    #title {
        height: inherit;
        width: 100%;
    }

    /* MIDDLE BLOCK, 2 QUOTES, 1 PICTURE */

    #quotes {
        display: flex;
        flex-direction: column;
        align-items: center;
        border: none;
    }

    #einstein-quote {
        text-align: center;
        width: 90%;
        height: auto;
        border: none;
        margin-bottom: 2em;
    }

    #einstein {
        height: inherit;
        width: inherit;

    }

    #toppic {
        width: 100%;
        margin-top: 1em;
        order: -1;
    }

    #theory-blurb {
        text-align: center;
        width: 90%;
        height: auto;
        border: none;
    }

    #theory {
        height: inherit;
        width: inherit;
    }

    #gravitywell {
        text-align: center;  
        border: none;
        margin-top: 2.5em;
        margin-bottom: 2em;

    }

    #gravitywell-caption {
        width: 100%;
        height: auto;
    }

    /* LINKS BLOCK */

    #links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        
    }

    #contact-price {

        text-align: center;
        width: 80%
    }

    
    #contact-photo {
        width: 100%;
        margin-bottom: 3em;
        
    }


    .formore {
        
        line-height: 0.1;
    }

    .email {
        width:90%;

        line-height: 0.2;
        font-weight: bolder;
        text-align: center;
    }

    .email:hover {
        text-decoration: underline;
    }


    #eddie-pic {
        padding: 0 2em;
        
        width: 60%;
        order: 2;
        margin-bottom: 2em;
    }

    #eddie {
        width:100%;
    }

    #meso-pic {
        padding: 0 2em;
        text-align: center;
        width:70%;  
        order: 3;     
    }

    #meso {
        width: 70%;

    }

    #demo-btn {
        text-align: center;
        order: -11;
        margin-bottom: 2em;
    }

    #btn {
        width: 70%;
    }

    /* BOTTOM HALF OF PAGE */

    #bottom {
        background-image: url("assets/bottom-bg.jpg");
        background-size: cover;
        background-clip: border-box;
        display: none;
        flex-direction: column;
    } 

    #bottom-mobile {
        display: flex;
        background-image: url("assets/bottom-bg.jpg");
        background-size: cover;
        background-clip: border-box;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        
        
    }


    .mode-images {
        display:flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    #standalone {
        width:90%;
        padding-top: 1em;
    }

    #demo {
        width: 90%;
        padding-top: 1em;
    }


    #standalone-text {
        width:90%;
        padding-top: 1em;
    }

    #bestexhibit {
        width: 90%;
        margin-top: 1em;
    }

    #demo-text {
        width: 90%;
        padding-top: 1em;
    }


    #x {
        width: 90%;
        padding-top: 1em;
    }

    #y {
        width: 75%;
        padding-top: 1em;
    }

    #z {
        width: 90%;
        padding-top: 1em;
    }

    #video-div {
        width: 90vw;
    }

    #video-div > iframe {
        width: inherit;
        height: 60vh;
      }

      .video-page-title {
        width: 90%;
        margin-bottom: 2vh;
      }

      #third {
        display:none;
      }

      #third-mobile {
        background-image: url("assets/beige-bg.jpg");
        background-size:contain;
        background-clip: border-box;
      }

      #fiske {
        width: 100%;
      }

      #render {
        width: 60%;
      }

      #render-mobile {
        text-align: center;
      }

      #mode-images-beige, #mode-images-pink {
        display: flex;
        flex: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        
      }

     .mode-images-pink-row {
        display: flex;
        flex: row;
        justify-content: center;
        align-items: center;
        text-align: center;
        
      }

      #fourth {
        display: none;
      }

      #fourth-mobile {
        background-image: url("assets/pink-bg.jpg");
        background-size:auto;
        background-clip: border-box;
        background-repeat: none;
        padding-top: 3%;
        
      }

      #slideapart {
        width: 100%;
      }

      #frontview {
        width: 100%;
      }

      #frontview-mobile {
        text-align: center;
      }

      #rear {
        width: 100%;
      }

      #sideview {
        width: 100%;
      }

      #sideview-mobile {
        text-align:center;
      }
      
  }



  

  #video-page-title-block {
    display: flex;
    flex-direction: column;
    text-align: center;  
    border: none; 
    justify-content: center;
  }

  .video-page-title {
    width: 60%;
    margin-bottom: 1em;
  }

  .back-btn {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2em;
    line-height: 0.2;
    font-weight: bolder;
    padding: 1em 1em;
    text-align: center;
    
  }

  #bbtn {
    padding: 0 1em;
    background-color: rgb(255,255,255,0.4);
    
  }

  #bbtn:hover {
    text-decoration: underline;
  }

  #video-div {
    width: 100%;
  }

  #video-div > iframe {
    width: 60vw;
    height: 50vh;
  }

  #linkpage {
    background-image: url("assets/bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    
    background-position: top;
    font-family: Arial, Helvetica, sans-serif;
    height: 110vh;
  }