html,
body {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
  line-height: normal;
  color: black;
}

.wrapper {
  flex-grow: 1;
  width: 100%;
  height: 100%;
  padding-top: 50px;
}

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 16px 0 17px;
  background: rgba(22, 22, 23, 0.8);
  color: #ddd;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.home {
  color: #ddd;
  font-size: 15px;
  font-weight: normal;
  padding: 0 10px;
}

a.home {
}

a.home:hover {
  text-decoration: none;
  color: white;
  transition: 750ms;
}

.menu {
  padding: 0;
  margin: 0;
}

.menu-item {
  width: 100%;
  margin: 5px 0;
  position: relative;
}
.menu-item:last-child {
  margin-bottom: 10px;
}
.halfy {
  display: grid;
  grid-template-columns: 50% 50%;
  column-gap: 10px;
}

.item-img {
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.item-text-bottom {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
  width: 100%;
  padding: 10px 10px 0 10px;
}

.item-text-left {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0%, -50%);
  text-align: left;
  padding-right: 10px;
  overflow: hidden;
  padding: 10px 10px 10px 0;
}
.item-text-right {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(0%, -50%);
  text-align: right;
  padding: 10px 0 10px 10px;
}
.item-text-top {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
}
.item-text-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 10px;
}

.item-title {
  font-size: 50px;
  font-weight: normal;
  margin-top: 5px;
}

.item-position {
  font-size: 20px;
  font-weight: normal;
  margin-top: 5px;
}
.item-description {
  font-size: 20px;
  font-weight: normal;
  color: #888;
}

.inv {
  color: white;
}

img {
  height: auto;
}

.footer {
  position: relative;
  flex-shrink: 0;
  height: 300px;
  width: 100%;
  background: #eee;
}
.footer a {
  color: #666;
}
.footer a:hover {
  text-decoration: none;
  color: black;
  transition: 750ms;
}

a {
  color: #888;
  text-decoration: none;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

a:hover {
  text-decoration: none;
  color: #666;
  transition: 750ms;
}
a.headline {
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

.project {
  margin: 0;
}
.project img {
  max-width: 100%;
}
.project-item {
  width: 100%;
  padding: 50px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  row-gap: 50px;
  column-gap: 50px;
}
.bg-grey {
  background: #f5f5f5;
}
.bg-white {
  background: #fff;
}

.bg-black-0 {
  background: #000;
}

.bg-black-1 {
  background: #111;
}

.space {
  height: 100px;
  background: #f5f5f5;
}

.project-info-item {
  display: flex;
  flex-direction: column;
  max-width: 850px;
  padding: 30px 20px 50px;
}
.project-info {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.project-info-header {
  margin-bottom: 15px;
}
.project-info-title {
  font-size: 50px;
  font-weight: normal;
  margin-bottom: 15px;
}
.project-info-date {
  font-size: 20px;
  font-weight: normal;
  color: #888;
  margin-bottom: 5px;
}
.project-info-roles {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 5px;
}
.project-info-description {
  font-size: 20px;
  font-weight: normal;
}
.project-text {
  text-align: center;
}

.about {
  margin: 0;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 850px;
  flex-wrap: wrap;
  padding: 30px 20px 50px;
  align-items: center;
}
.about-item-header {
}
.profile-img {
  max-width: 250px;
  margin: 20px 0;
}
.about-description {
  font-size: 20px;
  font-weight: normal;
}
.cv {
  margin: 0;
  display: flex;
  justify-content: center;
}
.cv-content {
  max-width: 850px;
  flex-grow: 1;
  padding: 20px;
}

@media only screen and (max-width: 1100px) {
  .halfy {
    display: grid;
    grid-template-columns: 100%;
    column-gap: 10px;
  }
  .project-item {
    padding: 20px;
    row-gap: 20px;
    column-gap: 20px;
  }
  /*  .item-title {
    font-size: 30px;

  }
  
  .item-position {
    font-size: 15px;

  }
  .item-description {
    font-size: 15px;

  }
  .project-info-title {
    font-size: 30px;

  }
  .project-info-date {
    font-size: 15px;

  }
  .project-info-roles {
    font-size: 15px;

  }
  .project-info-description {
    font-size: 15px;

  }*/
}
