
/* variables to manage all colors on the page */
:root{
    --primary: #dcdcda;
    --dark: #134C32;
    --medium: #94a176;
    --gold: #DDA71F;
    --light: #efeddb;
    --burgundy: #722d3f;
    --green: #94a176;
    --shadow: 0 1px 5px rgba(104,104,104, 0.8);
    }


* {  /* takes all default margins and padding away and no underline for links */
margin: 0;
padding: 0;
text-decoration: none;

}    


body{
    font-family: 'Raleway', sans-serif;
    font-size: 1.1em;
    }

a {

	color: var(--dark);
}
img{
max-width: 100%; /* keep image inside container */
}

video{
max-width: 100%; /* keep video inside container but allow to shrink for phone */
}
/* Header  fixed to top of page    */
header{
position: absolute;
top: 4px;
left: 5px;
z-index: 1;
display: flex;

}

header h1{
    margin: 10px;
    align-self: flex-start;
}

.hamburger{  /* set hamburger to invisible when page is bigger than 550px */
    display: none;
}
/* Navigation*/
.navigation {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-end;
    list-style: none;
    margin: 0; 
    background-color: var(--primary);
    
   
  }
  .navigation a {
    display: block;
    padding: 1em;
    color: var(--burgundy);
   
  }
  .navigation a:hover {
    background: var(--light);
  }
/* Content*/
.wrapper{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2px;
    }
    .sectionHead{
    grid-column: span 4;
     border: 4px outset var(--medium);
    font-size: 1.2em;
    display: flex;
    justify-content: center;
    }
    .textBox{  /* boxes to hold content that spans whole page when > 550 */
    grid-column-start: 1;
    grid-column-end:  5;
	background: var(--light);
	padding: 9px;
	display: flex;
    }
    .alignR{
    align-self: flex-start;
    padding-left: 20px;
    }
    .alignL{
    align-self: flex-end;
     padding-right: 20px;
    }
    
    
    .holdBox{ /* boxes to hold content that spans half the page when > 550 */
    grid-column:span 2;
    background: var(--light);
    padding: 5px;
    }
    .thumbnail{ /* boxes to hold content that spans 25% of the page when > 550 */
   background: var(--light);
   border: 2px solid black;
   display: flex;
   justify-content: center;

    }
    .thumbnail p{
    width: 80%;
    margin: auto;
    
    }
    

/* Footer*/
  .footer {

    display: flex;
  /*   flex-flow: row wrap; */
    justify-content: space-between;
    list-style: none;
    background: var(--green);

  }
  
  .footer a {
    
    display: block;
    padding: 1em;
    color: var(--burgundy);
    font-size: 1.5em;
  }
  .footer a:hover {
    background: var(--gold);
  }
  

  @media all and (max-width: 600px) { /* controls menu on phone */
    /* Header*/
header{
    position: fixed;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 45px;
    background-color: var(--primary);
    justify-content: space-between;
    }
   header h1 {
    font-size: 22pt;
   }
   .hamburger{
       display: flex;
       font-size: 22pt;
       color: var(--burgundy);
   }
   
    .navigation{
        flex-flow:  column wrap;
        padding-top: 60px;
        display: none;
        margin-bottom: -45px;

    }
    .navigation a {
        text-align: center;
        padding: 10px;
        border-top: 1px solid var(--gold);
    }
   
    .wrapper{
        grid-template-columns: repeat(2, 1fr);
        
        }
        .textBox{
        grid-column-start: 1;
        grid-column-end:  3;
        }
        
        .sectionHead{
        grid-column: span 2;
        }
        #bio{
            margin-top: 50px;
        }
    
  }