/*mobile version*/
nav,
li,
ul,
.nav-item,
.nav-link,
.nav-menu,
body {
  padding: 0;
  box-sizing: border-box;
  margin: 0;
}

.page {
  display: flex;
  flex-direction: column;
}

.personalia {
  background-color: #f9fffe;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile {
  background-color: #cffcf7;
  width: 100%;
}

.person-logo {
  border: 4px solid black;
  border-radius: 50%;
  margin: 15px 0px 15px 0px;
  width: 20%;
  animation: glow 3s ease alternate;
}

.person-name {
  padding: 15px;
  font-size: 20px;
}

.profile-content {
  padding: 15px;
  font-size: 20px;
}

.profile-content__category-title {
  color: #59ce8f;
}

.profile-content__category--hidden-mobile {
  display: none;
}

.profile-content__element {
  display: flex;
  flex-direction: column;
}

.profile-content__element--hidden-mobile {
  display: flex;
  flex-direction: column;
  display: none;
}

.profile-content__title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 2px;
  margin-top: 6px;
}

.profile-content__period {
  display: none;
}

.profile-content__institute {
  color: rgba(39, 140, 39, 0.96);
  margin-top: 0px;
  font-size: 14px;
}

@media only screen and (min-width: 800px) {
  .page {
    flex-direction: row;
  }

  .person-name {
    order: -1;
  }

  .profile-content__category--hidden-mobile {
    display: flex;
    flex-direction: column;
  }

  /*fix: anders als stipje zichtbaar*/
  .profile-content__category--hidden-mobile hr {
    width: 100%;
  }

  .profile-content__element--hidden-mobile {
    display: flex;
  }

  .profile-content__element-header {
    display: flex;
    justify-content: space-between;
  }

  .profile-content__period {
    font-size: 12px;
    color: #5c6166;
    display: flex;
  }
}

/*GDPR styles*/

.container {
  display: flex;
  flex-direction: column;
  font-family: Arial;
  position: fixed;
  bottom: 0;
}

.gdpr-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  margin: 5px;
  border: 2px solid gray;
  background-color: #cecece;
  border-radius: 15px 15px 15px 15px;
  z-index: 999;
}

.gdpr-consent__description {
  display: flex;
  justify-content: center;
}

.gdpr-consent__choice {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
  width: 100%;
}

.gdpr-consent__button--accept {
  background-color: #d5f5d5;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid gray;
}

.gdpr-consent__button--accept:hover {
  background-color: #c5e3c5;
}

.gdpr-consent__button--reject {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid gray;
}

.hide {
  display: none;
}

.show {
  display: block;
}

/* header styles */
html {
  font-size: 62.5%;
  font-family: "Roboto", sans-serif;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.header {
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8f8ff;
  height: 40px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.hamburger {
  display: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #101010;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item {
  margin-left: 5rem;
}

.nav-link {
  font-size: 1.6rem;
  font-weight: 400;
  color: #475569;
}

.nav-link:hover {
  color: #482ff7;
}

.nav-logo {
  font-size: 2.1rem;
  font-weight: 500;
  color: #482ff7;
}

@media only screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #fafafa;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 2.5rem 0;
    border-bottom: 2px solid rgb(211, 213, 223);
  }

  .hamburger {
    display: block;
    cursor: pointer;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
