body {
    display:grid;
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 25% 25% 25% 25%;
    grid-template-areas: 
    "header header header header"
    "main main . sidebar"
    "footer footer footer footer";
    /* background: #F6E8E8; */
    background:white;
    height: 100vh;
    font-family: 'Avenir', sans-serif;

}

.nav-box{
  font-weight: bold;
}

.name-h1{
  font-family: 'Great Vibes';
  font-size: 80px;

}


header{
    display: grid;
    grid-row: 1;
    grid-column:2 / span 2;
    align-items: center;
    justify-content: center;
      
}
h1{
  font-weight: bold;
}

.me {
    display: flex;
    justify-content: center;
    background-color: #FAF2F3;
    border-top: 1px solid #E3D4CD;
    border-bottom: 1px solid #E3D4CD;
    font-family: 'Great Vibes' ;
    font-size: 30px;
}

main {
    grid-row: 2 /span 2;
    grid-column: 1 /span 4;
}
.green-box{
    display:grid;
    z-index:1;
    grid-column:1 / span 1;
    /* background-color: #CEA19B; */
    background: #1C505E;    
    color:white; 
    opacity:0.5;
    line-height: 120%;
    
    margin:0;
    max-width: 30%;
    padding-left: 40px;
    padding-right: 10px;
   
    
    
}




#about{
  padding-left: 250px;
  border-bottom: 1px solid #E3D4CD;
  margin-left: 10px
  
}

.about-h3{
  font-family: 'Great Vibes';
  font-size: 30pt;
  margin: 25px;
  margin-left: 5px;
}
.name{
  color: white;
  padding: 10px;
  margin-right: 10%;
  margin-left: -20px;
  z-index: -1;
  max-width: 10%;
  
  
}
nav{
    grid-row: 1;
    grid-column: 4;
    margin-right: 1%;

    
}
.nav-box{
 
  padding: 10px;
  z-index: 1;
}
h2{
  font-weight: bold;
}
ul{
    list-style-type: none;
    text-decoration: none;
    text-align:right;
    
}

li{
    line-height: 2.3;
}

a {
    text-decoration: none;
}
h3{
  font-family: 'Avenir';
}
.projects{
  /* border: 1px solid red; */
  float: center;
  width: 100%;
  max-width: 100%;
  margin-left: 250px;
  margin-right: 200px;
  display: box;
  border-bottom: 2px solid #E3D4CD;
  

}
.projecth3{
  margin-left: 10px;
  font-family: 'Great Vibes';
  font-size: 30pt;
  margin-bottom: 0;
}
.projecth4{
  margin-left: 10px;
  font-family: 'Avenir', sans-serif;
  font-size: 10pt;

  }
.sl-h2{
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  font-family: 'Great Vibes';
  font-size: 35px;
  font-weight: bold;
}
#intro{
    background-color: #E3D4CD;
    float: left;
    clear: both;
    max-width: 200px;
    min-width: 10%;
    font-family: 'Avenir', serif;
   

}
.skills{
  text-align: left;
  float: left;
  font-family: avenir;
}

.checkout{
  margin-left: 10px;
}


/* -------ACCORDION MENU---------------------------- */
/* Style the buttons that are used to open and close the accordion panel */

.accordion {
    background-color: #C9B5AE;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    font-family: 'Avenir';
    font-weight: bold;
    margin-left: 0px;
    max-width: 90%;
   
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #D08B86;
  }
  
  /* Style the accordion panel. Note: hidden by default */
.panel {
    padding: 0 18px;
    background-color: white;
    display: none;
    overflow: hidden;
  }

/* ---------------------------------------------------------------------- */
  /* -----------------Project Modal Image CSS------------------------- */
/* Style the Image Used to Trigger the Modal */
.project-pic {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
.project-pic:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }

  /* ------------------------------------------------- */
#resume{
    background-color: #FAF2F3;
    height: 150px;
    min-height: 10%;
    border-top: 1px solid #E3D4CD;
    margin-left: 250px;
  
}
.resume-header{
  font-family: 'Great Vibes'; 
  font-size: 30pt;       
  }

.contact-header{
  font-family: 'Great Vibes'; 
  font-size: 30pt;
   
}

#contact{
  margin-left: 250px;
}

a[href^="mailto:"]{
  color: #C08982;
 }

footer{
    grid-row: 4;
    grid-column: 1/ span 4;
      /* border: 1px solid red; */
    padding-bottom: 20px;
}
    
a {
    color:#444;
    margin-right: 2%;
   
}

a:visited {
    color: #C08982;
  }

  @media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="col-"] {
      width: 100%;
    }

    #about{
      
      max-width: 30%;
      text-align: left;
      position: relative;
      
      z-index: 1;
      margin-left: 100px;
    }

  
    .projects{
      margin-left: 10px;
      margin-right: 10px;
    }
    .projecth3{
      margin-top: 30%;
      margin-bottom: 0;
      margin-left: -10px;
      text-align: left; 
    }

    .projecth4{
      margin-left: -10px; 
    }
    .sl-h2{
      text-align:left;
      padding-left: 10px;
      font-size: 16pt;
      
      
    }
    .me{
      max-width: 47.5%;
      font-size: small;
     
    }
    .name-h1{
      text-align: center;
      font-size: 30pt ;
    }
    .name{
      display:none;
    }
    #resume{
      margin-left: 15px;
    }
  }