@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&family=Merriweather:wght@700&display=swap');

 /* general style */

  body {
    margin: 0;
    padding: 0px;
    min-height: calc(100vh - 5px);
    background-color: #f8f8f8;
    border-top: 5px solid #798A7A;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  h1, h2, h3, h4, p, a, i, tr, th, td, li, figcaption, button, aside, footer, table {
    font-family: 'Assistant', sans-serif;
    color: #333333;
  }

  a {
    font-size: 19px;
    color: #798A7A;
    font-weight: 700;
    text-decoration: none;
  }

  a:hover {
    border-bottom: 3px solid #798A7A;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
    margin-top: 0px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 19px;
    margin: 0;
  }

  p {
    font-size: 19px;
    line-height: 28px;
    margin: 0 0 16px 0;
    font-weight: 400;
  }

  i {
    font-weight: 500;
  }

  ul {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  li {
    font-size: 19px;
    line-height: 32px;
    font-weight: 400;``
  }

  /* front page content */

  .hero {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    max-width: 1100px;
    padding: 0px 50px 0px 50px;
    margin: 75px auto 75px;
    gap: 50px;
  }

  .heroprofile {
    object-fit: cover;
    width: 45%;
  }

  .intro {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
    width: 55%;
    min-width: 100px;
  }

  .intro > h1 {
    font-size: 75px;
    line-height: 95px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .intro > p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
    margin: 0 0 0px 0;
    /* border-left: 5px solid #798A7A;
    padding: 10px 25px 10px 25px; */
  }

  .intro > button {
    max-width: 60%;
    min-width: 275px;
  }

  button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 5px 25px 5px 25px;
    border: 2px solid #798A7A;
    background-color: white;
    color: #798A7A;
    font-size: 22px;
    font-weight: 600;
    line-height: 50px;
    gap: 15px;
  }

  .LinkedInicon {
    object-fit: contain;
    object-position: top;
    width: 28px;
    display: inline-block;
    content:url("icons/linkedinlogo.png");
  }

  button:hover {
    background-color: #798A7A;
    color: white;
    cursor: pointer;
    transition: 0.2s;
  }

  button:hover .LinkedInicon {
    content:url("icons/linkedinlogo-white.png");
  }

  /* front page portfolio / experience / about links */

  .frontpageitems {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin: 75px 0px 75px 0px;
  }

  .frontitems {
    width: 33%;
    text-align: center;
  }

  .frontitems img {
    display: inline;
    text-align: center;
    height: 60px;
    margin-bottom: 20px;
  }

  .frontitems img a:hover {
    border-bottom: 0;
  }

  .frontitems h2 a{
    font-size: 32px;
    color: #333333;
  }

  .frontitems h2 a:hover {
    color: #798A7A;
  }

  /* skills table */

  ul.listofskills {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    color: red;
  }

  table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 20px 10px;
    border: 0;
  }

  th, td {
    text-align: left;
    width: 25%;
    font-size: 22px;
    border: 0;
  }

  th {
    font-size: 28px;
    height: 50px;
    font-weight: 700;
    border-bottom: 3px solid #798A7A;
  }

  /* top navigation plus menu */

  .topnav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px 30px 50px;
    margin: auto;
    max-width: 1200px;
    overflow: hidden;
  }

  .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .hamburger {
    display: none;
    padding: 0px;
    margin: 0px;
  }

  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #798A7A;
  }

  .nav-menu {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .nav-item {
      margin-left: 5rem;
      list-style: none;
  }

  .nav-link{
      font-size: 1.6rem;
      font-weight: 400;
      color: #475569;
  }

  .nav-link:hover{
      color: #482ff7;
  }

  .nav-logo {
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 56px;
    border-bottom: 3px solid #f8f8f8;
    color: #333;
  }

  .nav-logo:hover {
    border-bottom: 3px solid #f8f8f8;
    color: #798A7A;
  }

  ul.nav {
    list-style-type: none;
    max-width: 1000px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    min-width: 400px;
  }

  ul.nav a {
    font-size: 19px;
    color: #333333;
    line-height: 56px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 3px solid #f8f8f8;
  }

  ul.nav a:hover {
    color: #566c57;
    border-bottom: 3px solid #798A7A;
  }

  ul.nav a:active {
    color: #798A7A;
    background-color: #f8f8f8;
    border-bottom: 3px solid #798A7A;
  }

  ul.nav a.active {
    border-bottom: 3px solid #798A7A;
  }

  ul.nav li.right {
    float: right;
    padding-left: 20px;
  }

  ul.nav li.left {
    float: left;
  }

  ul.nav li.menu {
    display:none;
  }

  ul.nav a.title {
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 56px;
  }

  ul.nav a.title:hover {
    border-bottom: 3px solid #f8f8f8;
  }

  /* footer */

  .footercontent {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: flex-end;
    padding: 30px 50px 30px 50px;
    margin: auto;
    max-width: 1100px;
    gap: 50px;
  }

  footer {
    width: 100%;
    margin-top: 100px;
    background-color: #798A7A;
    color: white;
  }

  footer p {
    color: white;
    text-align: left;
    line-height: 32px;
  }

  footer ul {
    list-style-type: none;
    color: white;
    text-align: left;
    min-width: 150px;
    padding-left: 15px;
    margin: 16px 0px 16px 0px;
    border-left: 2px solid white;
  }

  footer li {
    color: white;
  }

  footer a {
    font-weight: 500;
    color: white;
    border-bottom: 1px solid #798A7A;
  }

  footer a:hover {
    border-bottom: 1px solid white;
  }

  /* content and containers */

  main {
    max-width: 1000px;
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    margin: auto;
    display: flex;
    flex-direction: column;
  }

  .content {
    max-width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
    margin: auto;
    position: relative;
  }

  .regulartext {
    margin: auto;
    width: 80%;
    margin-bottom: 50px;
  }

  .imagecontainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 50px;
  }

  .fullsizedimg {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .wideimg {
    width: 100%;
    height: 475px;
    min-width: 0;
    min-height: 0;
  }

  .smallimg {
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 475px;
    transition: 0.5s
  }

  section {

  }

  figure {
    margin: 0;
    width: 100%;
  }

  figcaption {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 16px;
    border-bottom: 1px solid #a4a4a4;
    vertical-align: middle;
  }

  img {
    object-fit: cover;
    display: block;
  }

  svg {
  }

  /* experience pages */

  .employer {
    margin-bottom: 40px;
  }

  .employer h2 {
    margin-bottom: 10px;
  }

  .jobcontainer {
    margin-bottom: 20px;
  }

  .role {
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    min-width: 35%;
  }

  .job {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    border-left: 5px solid #798A7A;
    padding-left: 24px;
    margin-left: 3px;
  }

  .roledescription {
    width: 60%;
  }

  .roledescription p {
    margin: 0 0 12px 0;
  }

  .jobtitle {
    font-family: 'Assistant';
    font-weight: 600;
    font-size: 22px;
    line-height: 28px;
  }

  .dates {
    font-family: 'Assistant';
    font-weight: normal;
    font-size: 16px;
    line-height: 21px;
  }

  .duration {
    font-family: 'Assistant';
    font-weight: 300;
    font-size: 16px;
    line-height: 21px;
  }

  /* Portfolio pages */

  .portfolioitem {
    padding: 30px;
    position: relative;
    align-items: center;
    background-color: white;
    box-shadow: 0px 0px 20px rgba(136, 136, 136, 0.25);
    margin-bottom: 50px;
    transition: 0.3s;
    overflow: hidden;
    border-left: 5px solid #798A7A;
  }

  .portfolioitem:hover {
    cursor: pointer;
    box-shadow: 0px 0px 2px rgba(136, 136, 136, 0.25);
    background-color: rgba(130, 168, 150, 0.1);
  }

  .portfolioitem:active {
    cursor: pointer;
    box-shadow: 0px 0px 2px rgba(136, 136, 136, 0.25);
    background-color: rgba(130, 168, 150, 0.1);
  }

  .portfolio tag {
    background-color: red;
    color: white;
  }

  .portfoliointrotext {
    width: 55%;
  }

  .portfolio p {
    font-weight: 300;
  }

  .portfolioitem img {
    position: absolute;
    left: 60%;
    top: 20px;
    min-width: 0;
    min-height: 0;
    height: 100%;
    margin: 20px;
    box-shadow: 0px 0px 20px rgba(136, 136, 136, 0.25);
  }

  .moreportfolioitem {
    padding: 40px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: white;
    border-top: 5px solid #798A7A;
    box-shadow: 0px 0px 20px rgba(136, 136, 136, 0.25);
    margin-top: 25px;
    margin-bottom: 50px;
    transition: 0.3s;
    min-width: 0;
    min-height: 0;
    flex-shrink: 1;
  }

  .moreportfolioitem:hover {
    background-color: #f8f8f8;
    cursor: pointer;
    box-shadow: 0px 0px 2px rgba(136, 136, 136, 0.25);
    background-color: #FFF4F7;
  }

  .moreportfoliointrotext {
    padding:0;
    width: 100%;
  }

  .moreportfoliointrotext h2 {

  }

  .moreportfoliointrotext p {
    font-size: 17px;
    line-height: 24px;
  }

  .moreportfolioitem img {
    position: static;
    min-width: 0;
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }

  .portfolioheader {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }

  .portfolioheader p {
    margin: 0;
    font-size: 32px;
    font-weight: 200;
    border-left: 5px solid #798A7A;
    padding-left: 15px;
    line-height: 52px;
  }

  .line {
    border-left: 5px solid #798A7A;
    height: 52px;
  }

  aside {
    width: 30%;
    padding: 10px 25px 10px 25px;
    float: right;
    font-size: 24px;
    font-weight: 600;
    border-left: 5px solid #798A7A;
    margin-left: 20px;
  }


/* for screens between 600px and  wide */
@media screen and (max-width: 1050px) {

  main {
    padding-left: 50px;
    padding-right: 50px;
  }

  .hero {
    gap: 50px;
    margin: 50px auto 50px;
    padding: 0px 50px 0px 50px;
  }

  .heroprofile {
    width: 50%;
  }

  .intro {
    justify-content: center;
    width: 50%;
  }

  .intro > h1 {
    font-size: 50px;
    line-height: 64px;
  }

  .intro > p {
    font-size: 21px;
    line-height: 30px;
    /* padding: 10px 20px 10px 20px; */
  }

}

/* for screens up to 650px wide */
@media screen and (max-width: 650px) {

  /* general style - MOBILE */

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 21px;
  }

  /* front page content - MOBILE */

  .hero {
    flex-direction: column;
    align-items: center;
    margin: 0px 0px 50px 0px;
    padding: 0px 30px 0px 30px;
    gap: 0px;
  }

  .heroprofile {
    display: block;
    width: 100%;
    margin-bottom: 40px;
  }

  .intro {
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
  }

  .intro > h1 {
    font-size: 42px;
    line-height: 60px;
  }

  .intro > p {
    font-size: 22px;
    line-height: 32px;
  }

  .intro > button {
    max-width: 100%;
  }

  /* front page portfolio / experience / about links - MOBILE */

  .frontpageitems {
    flex-direction: column;
    margin: 10px 0px 10px 0px;
    gap: 30px;
  }

  .frontitems {
    width: 100%;
    margin-bottom: 50px;
  }

  /* skills table - MOBILE */

    /* to be designed */

  /* top navigation plus menu - MOBILE */

  nav {
    display: block;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
  }

  .topnav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: normal;
    align-content: center;
    padding: 20px 30px 20px 30px;
    gap: 0;
  }

  .title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
  }

  .hamburger {
    display: block;
    border: 0;
    background-color: #f8f8f8;
  }

  .hamburger:hover {
    display: block;
    border: 0;
    background-color: #f8f8f8;
  }

  .nav-logo {
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
    font-size: 45px;
    line-height: 56px;
    border-bottom: 3px solid #f8f8f8;
    color: #333;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .nav-logo:hover {
    border-bottom: 3px solid #f8f8f8;
    color: #798A7A;
  }

  ul.nav {
    display: none;
    list-style-type: none;
    width: 100%;
    max-width: 100%;
    padding: 0px 0px 15px 0px;
    align-items: center;
    overflow: hidden;
    border-bottom: 3px solid #ebebeb;
    transition: 1s;
    min-width: auto;
  }

  ul.nav a {
    font-size: 19px;
    color: #333333;
    line-height: 56px;
    font-weight: 500;
    text-decoration: none;
  }

  ul.nav a:hover {
    color: #798A7A;
    border-bottom: 3px solid #798A7A;
  }

  ul.nav a:active {
    color: #798A7A;
    background-color: #f8f8f8;
    border-bottom: 3px solid #798A7A;
  }

  ul.nav a.active {
    border-bottom: 3px solid #798A7A;
  }

  ul.nav li.right {
    display: block;
    margin: 0;
    float: none;
    text-align: right;
    padding-left: 0px;
    padding-right: 0px;
  }

  ul.nav li.left {
    width: 100%;
    float: none;
    text-align: center;
    margin-bottom: 40px;
  }

  ul.nav a.title {
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 38px;
    float: none;
    border-bottom: 0px;
    max-width: 100%;
  }

  ul.nav a.menutext {
    border: 0;
    color: white;
  }

  ul.nav a.menutext:hover {
    border: 0;
    color: white;
    cursor: pointer;
  }

  ul.nav li.menu {
    display: block;
    margin: 0;
    float: none;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #798A7A;
  }

  ul.nav a.title:hover {
    border-bottom: 0px;
  }

  /* footer - MOBILE */

  footer {
    margin-top: 0px;
  }

  .footercontent {
    flex-direction: column;
    align-items: center;
  }

  footer p {
    text-align: center;
    margin-bottom: 40px;
  }

  footer ul {
    text-align: center;
    padding: 0;
    margin-bottom: 75px;
    border: 0;
  }

  footer li {
    line-height: 60px;
  }

  .disclaimer {
    width: 100%;
  }

  /* content and containers - MOBILE */

  main {
    margin-bottom: 100px;
    padding: 0px 30px 0px 30px;
  }

  .frontbackground {
    padding: 50px 50px 50px 50px;
    background-color: #ececec;
    box-shadow: rgb(248, 248, 248) 0px 2px 0px 0px inset;
  }

  .content {
    padding-left: 30px;
    padding-right: 30px;
  }

  .imagecontainer {
    flex-direction: column;
    overflow: visible;
    gap: 20px;
    margin-bottom: 20px;
  }

  .smallimg {
    height: 250px;
  }

  .wideimg {
    height: 250px;
  }

  .regulartext {
    margin: auto;
    width: 100%;
    margin-bottom: 40px;
  }

  /* experience pages - MOBILE */

  .role {
    gap: 2px;
    width: 100%;
    margin-bottom: 10px;
  }

  .job {
    flex-direction: column;
    padding-left: 20px;
    width: 90%;
    gap: 12px;
    padding-top: 10px;
  }

  .roledescription {
    width: 80%;
  }

  .jobtitle {
    font-weight: 700;
  }

  .employer h2 {
    margin-top: 40px;
    margin-bottom: 20px;
  }

  /* portfolio pages - MOBILE */

  .portfoliointrotext{
    width: 100%;
    margin-bottom: 30px;
  }

  .portfoliointrotext p {
    font-size: 17px;
    line-height: 24px;
  }

  .portfolioitem img {
    position: static;
    margin: 10px;
    box-shadow: 0px 0px 10px rgba(136, 136, 136, 0.25);
  }

  .portfolioheader {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    margin-bottom: 30px;
  }

  .portfolioheader h1 {
    margin-bottom: 0px;
  }

  .portfolioheader p {
    font-size: 26px;
    font-weight: 300;
    border-left: 3px solid #798A7A;
    margin-left: 5px;
    line-height: 40px;
  }

  .moreportfolioitem {
    width: auto;
  }

  aside {
    display: none;
    width: 100%;
    margin: 0;
  }

  figure {
    margin-bottom: 0px;
  }

}
