#logo{
  height: 30px;
  width: auto;
}

#bar{
  position: relative;
}

.stripe{
  position: absolute;
  height: 0px;
  width: 100%;
  background-color: red;
  bottom: 1.5px;
  z-index:80;
}

.navfont {
  vertical-align: center;
  text-align: center;
}

html, body {
  margin: 0;
  
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: white;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: black;
  height: 80px;
  padding: 1em 0;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: white;
  z-index: 99;
}

.menu ul{
  z-index: 99;
  background-color: white;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu li a{
  font-family:dm-serif-reg;
  text-decoration: none;
  font-size:20px; 
  z-index: 99;
  color: black;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: black;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid white;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: white;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid white;
  }
}

.margintop{
  padding: 30px 0 100px 0;
}

.slide-img{
  height: 100%;
  width:100%;
  }

#img1{
  background-image: url(../img/1.jpg);
  background-size: cover;
  background-position: center;
}

#img2{
  background-image: url(../img/2.jpg);
  background-size: cover;
  background-position: center;
}

#img3{
  background-image: url(../img/3.jpg);
  background-size: cover;
  background-position: center;
}

#img4{
  background-image: url(../img/4.jpg);
  background-size: cover;
  background-position: center;
}

#img5{
  background-image: url(../img/5.jpg);
  background-size: cover;
  background-position: center;
}

.aboutme{

}

.am-text{
  padding-left: 20%;
}

.am-headline{
  padding-bottom: 18px;
}

.am-text h2{
  padding-bottom: 16px;
}

.avatar{
  width: 100%;
}

/*.height450{
  height: 450px;
}*/

.aboutmespace{
  margin: 24px 0 112px 0;
}

.spline{
  width: 70%;
  height: 500px;
}

.aboutmeh1{
  position: relative;
  display: inline-block;
}

.recentworkh1{
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.navbar{
  position: relative;
}

.block{
  position: absolute;
  height: 22px;
  width: 100%;
  background-color:#C5CEDF;
  bottom: 2px;
  z-index: -1;
}

.blocknav{
  position: absolute;
  height: 10px;
  width: 100%;
  background-color:#C5CEDF;
  bottom: 2px;
  z-index: -1;
}