

.header{
    position: relative !important;
}

.projects {
  display: grid;
  list-style: none;
  grid-gap: 3.5rem;
  line-height: 0;
}

.projects li {
  overflow: hidden;
  height: 33vh;
  box-sizing: border-box;
  position: relative;
  display: block;
  text-decoration: none;
  user-select: none;
  margin-bottom: 2.5vh;
  margin-top: 2.5vh;
}

.projects figure {
  position: relative;
  box-sizing: border-box;
  display: flex;
  -moz-box-align: center;
  align-items: center;
  -moz-box-pack: center;
  justify-content: center;
  height: 100%;
}
.projects .category {
  display: none;
}
.projects img {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  object-fit: cover;
  max-height: 100%;
  max-width: 100%;
  background-color: #f5f5f5;
  padding: 0;
    -moz-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.projects figure:hover img {
  transform: scale(0.98);
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.projects figcaption {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  color: #414042;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5em;
  padding: 0 2rem;
  font-size: 1rem;
  opacity: 0;
  transition: opacity .25s;
  text-align: center;
  background-color: #fff;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.projects figcaption:hover {
    opacity: 0.95;
    padding-bottom: .75rem;
    -moz-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#toggle {
  padding-left: .15rem;
text-decoration: none;
outline-style: none;
border: 0;
background-color: transparent;
font-size: 1rem;
z-index: 999;
line-height: 1.35rem;
transition: opacity 4s;
color: #b0b0b0;
font-family: plato, sans-serif;

}
.button { 
transition: delay 7s; }

#toggle:hover {
  color: #fe5e3a;
  cursor: pointer;
}

#toggle:active {
  color: #f60;
-webkit-animation-name: fade;
  -webkit-animation-duration: .5s;
  animation-duration: 5s;
   animation-name: fade;
   
}

.albums .category {
  display: none;
}
.filters {
  position: relative;
  width: 100%;
  padding: .5rem;
  text-align: center;
  z-index: 99;
}
.filters ul {
  display: inline;
}
.filters li {
  display: inline;
  padding: 0 .25rem;
}

.filters a:hover {
  color:red;
  -moz-transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
}
.active {
  color:red;

}
#thumbs {
  display: block;
  padding: 0 1rem;
}
#index {
  display: none;
  padding: 1.15rem;
}


.index {
margin-top: 2vw;
list-style: none;
}
.index-row-header {
border-bottom: solid 1px #e5e5e5; 
display: flex;
background: #fff;
padding-top: .5rem;
}

.index-row {
border-bottom: solid 1px #e5e5e5; 
display: flex;
}

.index-row:hover {
border-bottom: solid 1px #333;
color: #333;
cursor: pointer;
transition: delay .5s;
opacity: 1;
}

.index-row:hover:after {
 transition: delay .5s;
}

.cell-head {
float: left;
padding: 0 0 .5rem;
font-size: 0.95em;
letter-spacing: 0.02em;
color: #CCC;
text-transform: lowercase;
}
.c-50 {
  width: 50%;
}

.c-description {
   width: 45%;
}
.c-tags {
  width: 25%;
  color: #b0b0b0;
  font-size: .95rem;
  text-align: left;
}

.c-tags ul {
 display: inline;
}
.c-tags li {
 display: inline-block;
}

.c-tags li:not(:last-child):after {
  content: ",";
}
.c-25 {
  width: 25%;
}
.c-45 {
  width: 45%;
}

.c-5 {
  width: 3.5%;
}

.c-year {
  width: 5%;
  float: right;
  text-align: right;
  color: #b0b0b0;
  padding-right: 0 !important;
}
.index-cell {
float: left;
padding: 0.5rem 1rem 0.5rem 0;
}

.index-cell p, h2 {
display: block;
width: auto;
max-width: 40rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 0.95em;
}

/* Follow image */
a:hover .follow-img {
  opacity: 1;
}

.follow-img {
  opacity: 0;
  width: 100%;
  text-align: center;
  height: 2rem;
  box-sizing: border-box;
  transition: ease-in .2s;
  position: fixed;
  z-index: 99;
  object-fit: cover;
  transform: translateY(-50%) translateX(-50%);
top: 40%;
left: 50%;
display: none;
}


.follow-img img {
  max-height: 200px;
  max-width: 200px;
}




@media screen and (max-width: 70rem) {
  .c-tags, .c-year { display: none !important;}
  .c-25, .c-description { width: 50%; }
}

@media screen and (max-width: 50rem) {
  .projects li {height: 100%; margin: 2vh;}  
  .c-tags, .c-year { display: none !important;}
  .c-25, .c-description { width: 50%; }
  .footer ul { width: 100%; }
  .copyright { display: none; }
  .tec_info { width: 100%; }

}
@media screen and (max-width: 35rem) {
.projects {grid-template-columns: repeat(1, 1fr);}
.projects li {height: 100% !important; margin: 0 !important; padding: 0 0 1rem 0 !important; }
.projects figure {display: list-item; text-align: center; font-size:.9rem;}  
.projects img {position:relative !important; ;max-height: 60vh !important;}  
.projects figcaption {position:relative !important;; opacity: 1 !important; padding-top: .15rem;}  

.header .logo {display: none;}
  .c-description, .c-tags { display: none !important;}
  .c-year { width: 5% ; }
  .c-25 { width: 100% !important; }
}

@media screen and (min-width: 20rem) {
  .projects {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media screen and (min-width: 30rem) {
  .projects {
grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (min-width: 40rem) {
  .projects {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (min-width: 60em) {
  .projects {
    grid-template-columns: repeat(5, 1fr);
  }
  .projects [data-even] {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (min-width: 100em) {
  .projects {
    grid-template-columns: repeat(6, 1fr);
  }
  .projects [data-even] {
    grid-template-columns: repeat(6, 1fr);
  }
}