* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

::selection {
  background-color: #656565;
  color: #FDFCFA;
}

html {
  font-size: 16px;
}

body {
  height: 100%;
  width: 100%;
  display: flex;
}

nav {
  background: #FDFCFA;
  min-height: 100vh;
  width: 100%;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6.25rem;
}

main {
  position: relative;
  background: #FDFCFA;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 6.25rem;
}

.webcontainer {
  list-style: none;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.webcontainer li {
  margin: 0 1.25rem 2.25rem 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  max-width: 720px;
}

a {
  position: relative;
}

a > h1 {
  font-family: 'open sans condensed', sans-serif;
  color: #fdfcfa;
  letter-spacing: .15rem;
  word-spacing: .15rem;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, .5);
  outline: 1rem white solid;
  outline-offset: -6rem;
  line-height: 1rem;
}

video {
  display: block;
  height: 100%;
  width: 100%;
}

.webcontainer a:last-child {
  text-decoration: none;
  color: #656565;
  font-family: linotype-didot-headline, serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .1rem;
  word-spacing: .07rem;
  font-size: 1rem;
  padding-top: .5rem;
}

.photo-toggler > label:hover,
.about > a:hover,
.home > a:hover {
  text-decoration: line-through;
}

.webdesign {
  text-indent: 1rem;
  border-left: 1px #656565 solid;
}

.photography,
.videography,
.about,
.home {
  padding: 0;
  transition: padding 1s ease;
}

.photography:hover,
.videography:hover,
.about:hover,
.home:hover {
  /*
  outline: 1px #656565 solid;
  outline-offset: -1px;
*/
  padding: 0 1rem;
  transition: padding .5s ease;
}

.inner-photo > li,
.inner-video > li,
.inner-web > li {
  padding: 0;
  transition: padding 1s ease;
}

.inner-photo > li:hover:nth-child(n),
.inner-video > li:hover,
.inner-web > li:hover {
  text-decoration: line-through;
  padding: 0 1rem;
  transition: padding .5s ease;
}

.inner-web > li {
  text-decoration: line-through;
  padding: 0 1rem;
}

.mob-webdesign > a > label {
  text-decoration: line-through
}

.mob-inner-web > li:nth-child(1) > a {
  text-decoration: line-through;
}

@media only screen and (max-width: 768px) {
  nav {
    display: none;
  }
  .webcontainer li {
    margin: 0 1.25rem 2.25rem 1.25rem;
  }
  a > h1 {
    outline: .5rem white solid;
    outline-offset: -3rem;
  }
}