:root {
    --base-font-size: 18px;
    --base-margin: 18px;
}

body {
    background-color: #000;
    color: #bbb;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin: 0;
    letter-spacing: 1.5;                
    padding: none;
    margin: 20px 10px 20px 10px;
}

.hidden {
    display:none;
}

h1{
    font-weight: 100;
}

a {
        text-decoration: none;
}
a { color:orangered; }
a:hover { color:#FF6A33; }
a:visited { color:#CC3700; }

.material-icons.md-48 { font-size: 48px; }

.title {
    width: 200px;
    margin-left: -10px;
    margin-bottom: 20px;
}

.selected-icon {
    position: absolute;
    left: -30px;
    top: 9px;
}

.container{     
   /* height: 98%; */
    display: grid;
    grid-gap: 1vw;
    grid-template-columns: 220px 1fr;
    grid-template-areas: "nav main";
}

.projects {
	width: 95%;
}
/* Navbar styling */
                
.nav {    
    padding: 0 18px;
    grid-area: nav;
    background-color: black;
}

.nav a {
    color: #bbb;
    text-decoration: none;
}

.nav a:hover {
    color: white;
}

a.selected {
    color: white;
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0 20px;
    line-height: 2.8;
}

.nav ul li {
    position: relative;
}

.nav ul ul {
    list-style: none;
    padding: 0 0 0 20px;
    margin: 0;
    line-height: 1;
    font-size: 0.8em;
    border-left: 1px solid white;
}

.nav ul ul li {
    margin-bottom: 1em;
}

/* Main area styling */
            
#main {
    grid-area: main;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.photo {
    flex-grow: 0;
    padding: 2px;
    margin: 4px;
    overflow: hidden;
    height: 45vh;
    text-align: center;     
}

.photo img {
    transition: all .2s ease;
    transform: scale(1,1);
    height: 100%;
}

.photo:hover img {
    transform: scale(1.1,1.1);
    filter: brightness(120%);
}

@media 
screen and (max-width: 720px) and (-webkit-min-device-pixel-ratio: 2),
screen and (max-width: 680px) {
      
    .container{
        grid-template-columns: 100%;
        grid-template-rows: 0fr 1fr;
        grid-template-areas: "nav" "main";

    }
      
    .selected-icon {
    }
    
    .photo {
        height: auto;
        width: 100%;
    }
    
    .photo img {
        height: auto;
        width: 100%;
    }
    

}

            
/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 30px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);;
}

/* Modal Content */
#modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 95%;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
    z-index: 100;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
  text-align: center;    
}
            
.mySlides img {
    max-height: 90vh;
    max-width: 85vw;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50vh;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  display: none;
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
  height: 100%;
  margin-right: 10px;
}
        
.active,
.column:hover {
  opacity: 1;
}              

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  height: 8vh;
    width: 8vh;
    opacity: 0.6;
    margin-right: 10px;
}

.main-about {
    text-align: center;
}

.about {
    background-color: black;
    width: 80%;
    display: block;
    margin: 50px auto;
    line-height: 1.8em;
    font-weight: 300;

}

#thumbnails {
    position: fixed;
    bottom:20px;
}

.project-header {
    width: 100%;
    margin-bottom: 30px;
}

.project-tile {
    height: 200px;
    width: 98%;
	margin-bottom: 20px;
    display: flex;
	align-items: center;
	justify-content: center;
    text-align: center;
    vertical-align: middle;
    color: white;
    transform: scale(1,1);
    filter: brightness(80%);
    transition: all .2s ease;
    background-size: cover;
}

.project-tile:hover {
    transform: scale(1.01,1.01);
    filter: brightness(100%);
    filter: blur(0);
}
#footer {
  background-color: black;
  text-align: center;
  padding: 5px;
  font-size: 20px;
}

/* Added by Rebecca */

table {
		width:100%
}

table, td {
	border:none;
	border-collapse:collapse;
}

td {
	padding: 20px;
	border-bottom: solid 1px grey;
	vertical-align: center;
}



.tablephoto {
	height:500px;
}
