/*Body*/
body{
  margin:0;
  overflow-x: hidden;
}

/*Spacers*/
.s1{
  padding-bottom: 50px;
}

.s2{
  padding-bottom: 25px;
}

.s3{
  padding-bottom: 10px;
}

/*Website Sections*/
.header{
  z-index: 0;
  width: 80%;
  position: absolute;
  top: 0;
  left: 10%;
  align-content: center;
  text-align: center;

  padding-top: 25px;
  padding-bottom: 10px;

  animation-name: float;
  animation-duration: 1.5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}
@keyframes float{
	0% {z-index: 4; top: 40vh; color:white;}
  40% {z-index: 4; top: 40vh; color:white;}
  60% {z-index: 4; top: 40vh; color: transparent;}
  80% {z-index: 4; top: 0; color: transparent;}
  100% {z-index: 4; top: 0; color: black;}
}
.content{
  width: 80%;
  position: absolute;
  margin-top: 140px;
  left: 10%;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
}
.content iframe{
  max-width: 100%;
  display: block;
  margin: 0 auto;
}
.footer{
  padding: 0px;
  align-content: center;
  text-align: center;
}
.footer p{
  padding: 3em 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7em;
}
.leftbar{
  z-index: 0;
  width: 2vw;
  height: 105vh;
  overflow: hidden;
  position: fixed;
  left:0;

  background: linear-gradient(rgba(239,69,115,1),rgba(255,200,69,1));

  animation-name: open;
  animation-duration: 1.5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}
.rightbar{
  z-index: 0;
  width: 2vw;
  height: 105vh;
  overflow: hidden;
  position: fixed;
  right:0;

  background: linear-gradient(rgba(239,69,115,1),rgba(255,200,69,1));

  animation-name: open;
  animation-duration: 1.5s;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}
@keyframes open{
	0% {z-index: 3; width: 55vw;}
  50% {z-index: 3; width: 55vw;}
  100% {z-index: 3; width: 2vw;}
}

/*Navigation*/
.container{
  z-index: 1;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background-color: white;
  width: 102vw;
  overflow: hidden;
}

@keyframes slide{
	0% {height: 0;}
  100% {height: 100%;}
}
@keyframes slide-r{
	0% {visibility: visible; height: 100%;}
  100% {visibility: visible; height: 0;}
}
nav{
  font-size: 1.5em;
}
nav a{
  width: 100%;
}
nav ul{
  width:100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
}
nav li{
  z-index: 1;
  width: 100%;
}
nav li a{
  padding-top: 1em;
  padding-bottom: 1em;
  color: black;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes fade{
	0% {color: transparent;}
  20% {color: transparent;}
  100% {color: black;}
}
@keyframes fade-r{
	0% {visibility: visible; color: black;}
  20% {visibility: visible; color: transparent;}
  100% {visibility: visible; color: transparent;}
}
nav li a:hover, .dropdown:hover .dropbtn{
  background-color: rgba(0,0,0,0.1);
}
.dropdown-content{
  display: none;
}
.dropdown-content a {
  padding-top: 1em;
  padding-bottom: 1em;
  display: block;
  text-align: center;
}
.dropdown-content a:hover{
  background-color: rgba(0,0,0,0.1);
}
.dropdown:hover .dropdown-content {
  display: block;
}
.hamburger {
  position: absolute;
  right: 0vw;
  top: 0vw;
  z-index: 2;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }

.hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: black;
  }

.hamburger-box {
  width: 12vw;
  height: 10vw;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  left: 4vw;
  margin-top: -0.0625vw; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 2vw;
    height: 0.125vw;
    background-color: black;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -0.5vw; }
  .hamburger-inner::after {
    bottom: -0.5vw; }

#mcheck {
    display: none;
}
#mcheck:checked + label > .container{
  visibility: visible;
  height: 110vh;
  overflow: hidden;

  animation-name: slide;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
}
#mcheck:checked + label > .container nav li a{
  visibility: visible;

  animation-name: fade;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
}
#mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner {
  background-color: transparent !important;
  transform: rotateX(180deg) rotateY(180deg) rotateZ(-180deg);
}
#mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::before {
  transform: translate3d(0, 0.5vw, 0) rotate(45deg);
}
#mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::after {
  transform: translate3d(0, -0.5vw, 0) rotate(-45deg);
}

#mcheck:not(:checked) + label > .container{
  visibility: hidden;
  height: 0;

  animation-name: slide-r;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
}
#mcheck:not(:checked) + label > .container nav li a{
  visibility: hidden;

  animation-name: fade-r;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
}

#mcheck:not(:checked) + label > .hamburger--3dxy-r .hamburger-inner {
  transition: transform 0.15s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#mcheck:not(:checked) + label > .hamburger--3dxy-r .hamburger-inner::before, .hamburger--3dxy-r .hamburger-inner::after {
  transition: transform 0s 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/*Typography*/
h1{
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 3em;
  padding: 0px;
  border: 0px;
  margin: 0px;
  max-width: 100%;
}
hr{
    border: 0;
    height: 1px;
    background: #444444;
    margin: auto;
    padding: 0px;
    max-width: 60%;

    animation-name: float2;
    animation-duration: 1.5s;
    animation-timing-function: ease;
    animation-iteration-count: 1;
  }
  @keyframes float2{
  	0% {z-index: 4; background: white;}
    40% {z-index: 4; background: white;}
    60% {z-index: 4; background: transparent;}
    80% {z-index: 4; background: transparent;}
    100% {z-index: 4; background: black;}
}
h2{
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1.25em;
  padding: 0px;
  margin-top: 10px;
  line-height: 15px;
}
h3{
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 1.25em;
  padding-left: 10px;
  border: 0px;
  margin-top: 10px;
  line-height: 1.1em;
}
p1{
  font-family: 'Montserrat', sans-serif;
  display: inline-block;
  font-size: 0.9em;
  padding-left: 30px;
  line-height: 1.75em;
  text-indent: 30px;
  max-width: 90%;
}
section ul{
  font-family: 'Montserrat', sans-serif;
  list-style-type: circle;
  font-size: 0.9em;
  padding-left: 30px;
  line-height: 1.75em;
  max-width: 90%;
}
section ul li{
  font-family: 'Montserrat', sans-serif;
  list-style-type: circle;
  font-size: 1.05;
  line-height: 1.75em;
}

img{
  max-width: 90%;
  float: right;
  border-radius: 5px;
  padding-right: 10px;
}

@media screen and (max-width: 500px){
  .header,.content, hr{
    max-width: 100%;
  }
  h1{
    font-size: 2em;
  }
  h2{
    font-size: 1em;
  }
  .content{
    margin-top: 120px;
  }
  #headshot{
    display: block;
  }
  nav{
    font-size: 1em;
  }
  .hamburger-box {
    width: 16vw;
    height: 14vw;
  }
  .hamburger-inner {
    left: 6vw;
    margin-top: -0.5px;
  }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 16.5px;
    height: 2px;
  }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -6px;
  }
  .hamburger-inner::after {
    bottom: -6px;
  }
  #mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::before {
    transform: translate3d(0, 6px, 0) rotate(45deg);
  }
  #mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::after {
    transform: translate3d(0, -6px, 0) rotate(-45deg);
  }
}

@media screen and (max-width: 1200px){
  .header,.content, hr{
    max-width: 80%;
  }
  h1{
    font-size: 2.5em;
  }
  h2{
    font-size: 1.5em;
  }
  .content{
    margin-top: 140px;
  }
  #headshot{
    display: block;
  }
  nav{
    font-size: 1.5em;
  }
  .hamburger-box {
    width: 16vw;
    height: 14vw;
  }
  .hamburger-inner {
    left: 6vw;
    margin-top: -0.5px;
  }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 20.5px;
    height: 2px;
  }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
  }
  .hamburger-inner::before {
    top: -8px;
  }
  .hamburger-inner::after {
    bottom: -8px;
  }
  #mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::before {
    transform: translate3d(0, 8px, 0) rotate(45deg);
  }
  #mcheck:checked + label > .hamburger--3dxy-r .hamburger-inner::after {
    transform: translate3d(0, -8px, 0) rotate(-45deg);
  }
}
