@media only screen and (max-width: 768px) {

    header {
        padding: 1em;
    }

    .intro {
        display: grid;
        grid-template-columns: 100%;
    }

    .portrait {
        display: none;
    }

    .logo {
        grid-area: 1/1/2/2;
        width: 100%;
        height: 100vh;
        padding-top: .5em;
    }

    nav {
        z-index: 1;
        position: absolute;
        background: black;
        padding: 2em;
        width: calc(100% - 4em);
        height: 100vh;
        display: none;
        transform: scaleX(0);
        transform-origin: right;
      }
      
      nav .close-btn {
        width: 18px;
        float: right;
        cursor: pointer;
        opacity: 0;
      }
      
      nav ul {
        list-style-type: none;
        margin: auto;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(4, auto);
        width: 100%;
      }
      
      nav a:nth-of-type(4){
        width: 100%;
        color: white;
        font-weight: bold;
        font-size: 2.8em;
      }
    
      
      nav span {
        color: white;
        display: block;
        font-size: 1em;
        margin-top: 5px;
        margin-left: 5px;
      }
      
      nav li {
        opacity: 0;
        width: 100%;
        height: 25vh;
        padding-bottom: 2em;
        padding-top: 3em;
        cursor: pointer;
      }

      .show-menu li:nth-of-type(1) {
        background-blend-mode: difference;
          background-position-y: 20%;
          height: auto;
      }
      .show-menu li:nth-of-type(2) {
        background-blend-mode: difference;
          height: auto;

      }
      .show-menu li:nth-of-type(3) {
        background-blend-mode: difference;
        background-position-y: 50%;
        height: auto;

      }
      .show-menu li:nth-of-type(4) {
        background-blend-mode: screen;
        background-position-y: 15%;
        height: auto;

      }

      .bio {
        color: white;
        background-color:rgb(46, 44, 44, .9);
        font-size: 1em;
        width: 100%;
        height: calc(100vh - 4em);
        margin: 1 0;
    }
  
    p {
        padding: 0 1em;
    }

    .contact .form {
        width: 100%;
        margin: auto auto auto auto;
        background-color:rgb(46, 44, 44, .9);
        position: relative;
      }
  

}   
    